:root {
  --ink: #21142c;
  --muted: #655e69;
  --edge: #e3dce5;
  --paper: #fff;
  --wash: #faf8fb;
  --violet: #6424a2;
  --dark: #431367;
  --tint: #f1e8fa;
  --mint: #256751;
  --radius: 18px;
  font:
    16px/1.55 'DM Sans',
    'Inter',
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: var(--violet);
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
button,
a.primary,
a.secondary {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #9753d9;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  z-index: 7;
  top: -100px;
  left: 8px;
  background: white;
  padding: 8px;
}
.skip:focus {
  top: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.1;
}
h1,
h2 {
  letter-spacing: -0.055em;
}
h3 {
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.6rem, 5.1vw, 4.95rem);
  font-weight: 650;
}
h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.25rem);
  font-weight: 650;
}
h3 {
  font-size: 1.35rem;
}
a {
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}
.wrap,
.app-wrap {
  width: min(1220px, calc(100% - clamp(32px, 8vw, 112px)));
  margin-inline: auto;
}
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--edge);
}
.toprow {
  min-height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #311341;
  font-size: 1.75rem;
  letter-spacing: -0.065em;
  font-weight: 800;
  line-height: 1;
}
.brand-icon {
  display: inline-block;
  width: 31px;
  height: 34px;
  flex: none;
  background: conic-gradient(from 48deg, #bd8be5 0 15%, #6900be 15% 42%, #4f006c 42% 68%, #8200ac 68% 100%);
  clip-path: polygon(
    50% 0,
    100% 25%,
    100% 75%,
    50% 100%,
    0 75%,
    0 25%,
    50% 0,
    50% 33%,
    21% 50%,
    50% 66%,
    79% 50%,
    50% 33%
  );
}
.brand-suffix {
  font-size: 0.72em;
}
.topnav,
.actions,
.session,
.period,
.section-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topnav {
  gap: 28px;
}
.topnav a:not(.primary):not(.secondary) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 580;
}
.topnav a:hover {
  text-decoration: underline !important;
}
.topnav .primary,
.topnav .secondary {
  margin-left: 4px;
}
.primary,
.secondary,
.outline-light,
.plain {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  text-decoration: none;
  border-radius: 9px;
  padding: 10px 17px;
  min-height: 44px;
  line-height: 1.32;
  border: 1px solid transparent;
}
.primary {
  background: var(--violet);
  color: white;
}
.primary:hover {
  background: var(--dark);
}
.secondary {
  background: white;
  color: var(--ink);
  border-color: #d8cddd;
}
.secondary:hover {
  background: var(--wash);
  border-color: #bdabc6;
}
.plain {
  color: var(--violet);
  background: transparent;
  padding-inline: 0;
}
.small {
  font-size: 0.85rem;
  padding: 6px 11px;
  min-height: 36px;
}
.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  color: var(--violet);
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--muted);
  line-height: 1.55;
}
.hero {
  padding: clamp(45px, 6vw, 88px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
}
.hero-copy {
  display: grid;
  gap: 22px;
}
.hero-copy h1 {
  max-width: 13ch;
}
.hero-copy .lead {
  max-width: 45ch;
}
.hero .actions {
  margin-top: 7px;
}
.hero-art {
  background: linear-gradient(135deg, #dccde4, #b898cf);
  min-height: 365px;
  aspect-ratio: 1.38;
  position: relative;
  overflow: hidden;
  border-radius: 23px;
}
.hero-art img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.hero-art.fallback {
  display: grid;
  place-content: center;
  background: linear-gradient(135deg, #efe8f2, #d9c2ea);
}
.stock-preview {
  background: #fff;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 38px #34114718;
}
.stock-preview p {
  color: var(--muted);
  font-size: 0.88rem;
}
.stock-preview h3 {
  margin-block: 8px 15px;
}
.preview-row {
  border-top: 1px solid var(--edge);
  padding-block: 9px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.88rem;
}
.band {
  background: var(--wash);
  border-block: 1px solid var(--edge);
}
.section {
  padding-block: clamp(44px, 6vw, 82px);
  scroll-margin-top: 20px;
}
.section-toolbar {
  justify-content: space-between;
  align-items: end;
  margin-bottom: 25px;
}
.section-heading {
  display: grid;
  gap: 10px;
  max-width: 65ch;
}
.section-heading p,
.sectionhead p,
.workspace-heading p,
.muted,
.field small {
  color: var(--muted);
}
.period {
  padding: 3px;
  gap: 0;
  background: #ede7ef;
  border: 1px solid #ded5e4;
  border-radius: 10px;
  width: max-content;
}
.period button {
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  min-height: 38px;
  padding: 7px 15px;
  font-size: 0.91rem;
  font-weight: 650;
}
.period button[aria-pressed='true'] {
  background: white;
  color: var(--dark);
  box-shadow: 0 1px 4px #35154428;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
  padding: 23px;
  background: white;
  border: 1px solid var(--edge);
  border-radius: 15px;
}
.plan p {
  color: var(--muted);
  font-size: 0.91rem;
}
.plan h3 {
  min-height: 2.2em;
}
.plan .amount {
  margin-top: auto;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.plan .amount small {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}
.plan .smallcap {
  color: var(--violet);
  font-size: 0.84rem;
  font-weight: 650;
}
.plan ul {
  margin: 0 0 6px;
  padding-left: 18px;
  font-size: 0.93rem;
}
.plan .secondary {
  align-self: start;
}
.onboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
}
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--edge);
}
.steps li:before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-content: center;
  height: 30px;
  background: var(--tint);
  color: var(--violet);
  font-weight: 700;
  border-radius: 50%;
}
.steps p {
  color: var(--muted);
  margin-top: 4px;
}
.footer {
  padding-block: 30px;
  border-top: 1px solid var(--edge);
}
.footer .wrap {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer .brand {
  font-size: 1.3rem;
}
.footer .brand-icon {
  width: 22px;
  height: 25px;
}
.footer small {
  color: var(--muted);
}
.stack,
.sectionhead {
  display: grid;
  gap: 16px;
}
.sectionhead {
  gap: 8px;
}
.sectionhead h2 {
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
}
.panel {
  background: white;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: clamp(16px, 2.5vw, 30px);
  min-width: 0;
  display: grid;
  gap: 16px;
  align-content: start;
}
.notice,
.empty {
  background: #f6f1f8;
  color: var(--muted);
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}
.error {
  background: #fff0ee;
  color: #8c2825;
}
.ok {
  background: #edf7f1;
  color: #21543c;
}
.workpage {
  background: var(--wash);
  min-height: 100vh;
}
.workpage .app-wrap {
  padding-block: 36px 80px;
}
.workspace-heading {
  margin-bottom: 26px;
  display: grid;
  gap: 9px;
}
.workspace-heading h1,
.login-layout h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
}
.workspace {
  display: grid;
  grid-template-columns: clamp(145px, 17vw, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--edge);
  background: white;
  padding: 7px;
  border-radius: 12px;
}
.rail-tab {
  padding: 10px 12px;
  text-align: left;
  background: none;
  border: 0;
  color: var(--muted);
  border-radius: 6px;
  font-weight: 570;
  min-height: 42px;
}
.rail-tab[aria-current='page'] {
  color: #591888;
  background: var(--tint);
}
.workbody,
.stack > * {
  min-width: 0;
}
.session {
  font-size: 0.88rem;
  color: var(--muted);
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6vw;
  max-width: 1000px;
  margin: 8vh auto;
}
.login-layout h1 {
  margin: 14px 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 18px;
}
.field {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  font-weight: 630;
  gap: 5px;
}
.field input,
.field select,
.field textarea {
  border: 1px solid #cfc5d4;
  padding: 9px 11px;
  min-height: 42px;
  min-width: 0;
  border-radius: 7px;
  background: white;
  color: var(--ink);
}
.field textarea {
  resize: vertical;
}
.field small {
  font-weight: 450;
  line-height: 1.4;
}
.field input[type='file'] {
  font-size: 0.85rem;
}
.login-layout .form-grid,
.narrow-form .form-grid {
  grid-template-columns: 1fr;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.91rem;
  text-align: left;
}
th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--edge);
  vertical-align: top;
}
th {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--wash);
}
.key-values {
  padding: 0;
  margin: 0;
  display: grid;
}
.key-values div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--edge);
}
.key-values dd {
  margin: 0;
  text-align: right;
  font-weight: 650;
}
.key-values dt {
  color: var(--muted);
}
dialog {
  padding: 0;
  background: white;
  color: var(--ink);
  border: 1px solid var(--edge);
  border-radius: 17px;
  width: min(600px, calc(100vw - 24px));
  max-height: 90dvh;
  box-shadow: 0 14px 70px #20102938;
}
dialog::backdrop {
  background: #21142c75;
}
dialog .inside {
  padding: clamp(18px, 4vw, 32px);
  display: grid;
  gap: 15px;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.dialog-top h2 {
  font-size: 1.9rem;
}
.x {
  border: 1px solid var(--edge);
  border-radius: 50%;
  background: white;
  width: 35px;
  height: 35px;
  line-height: 1;
  font-size: 1.4rem;
}
.block {
  margin-top: 12px;
}
details {
  border-top: 1px solid var(--edge);
  padding: 12px 0 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--violet);
}
details[open] > summary {
  margin-bottom: 12px;
}
.wizard {
  max-width: 850px;
  margin-inline: auto;
}
.wizard progress {
  width: 100%;
  accent-color: var(--violet);
}
.tag {
  display: inline-block;
  color: var(--violet);
  border-radius: 6px;
  background: var(--tint);
  padding: 2px 7px;
  font-size: 0.82rem;
}
.demo-content {
  padding: 20px;
  background: var(--wash);
  border-radius: 10px;
  min-height: 130px;
}
.checkout-note {
  font-size: 0.9rem;
  color: var(--muted);
}
@media (max-width: 860px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    gap: 26px;
  }
  .hero-art {
    min-height: 295px;
    aspect-ratio: 1.1;
  }
  .topnav {
    gap: 15px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .rail {
    flex-direction: row;
    overflow-x: auto;
  }
  .rail-tab {
    white-space: nowrap;
  }
  .onboard-grid {
    gap: 30px;
  }
}
@media (max-width: 650px) {
  .toprow {
    min-height: 65px;
    gap: 8px;
  }
  .brand {
    font-size: 1.4rem;
  }
  .brand-icon {
    width: 25px;
    height: 28px;
  }
  .topnav a:not(.primary):not(.secondary) {
    display: none;
  }
  .topnav .secondary {
    padding: 7px 12px;
    min-height: 38px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 38px 30px;
    gap: 25px;
  }
  .hero-copy {
    gap: 15px;
  }
  .hero-copy h1 {
    max-width: 15ch;
  }
  .hero-art {
    aspect-ratio: 1.65;
    min-height: 215px;
  }
  .plans-grid,
  .onboard-grid,
  .login-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .plan h3 {
    min-height: 0;
  }
  .section-toolbar {
    align-items: start;
  }
  .login-layout {
    margin: 3vh auto;
  }
  .section {
    padding-block: 38px;
  }
  .session > span {
    max-width: 36vw;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .workpage .app-wrap {
    padding-top: 22px;
  }
  .actions {
    gap: 9px;
  }
  .key-values div {
    align-items: start;
  }
  .topnav {
    gap: 5px;
  }
  .plan {
    padding: 19px;
  }
  .section-heading p {
    font-size: 0.96rem;
  }
}

.delivery-line {
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 12px 15px 16px;
  min-width: 0;
  margin: 0;
}
.delivery-line legend {
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--muted);
  padding: 0 7px;
}

.key-values dd { min-width: 0; overflow-wrap: anywhere; }
