@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/CormorantGaramond-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/CormorantGaramond-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/CormorantGaramond-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Manrope-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/Manrope-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/Manrope-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/Manrope-Bold.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --surface: #fffdf8;
  --surface-card: #ffffff;
  --surface-sunken: #f5f3ec;
  --ink: #1a1a18;
  --ink-muted: #5c5c55;
  --ink-faint: #8a8a80;
  --line: #e4e2da;
  --line-strong: #c5c7bd;
  --teal: #476f6b;
  --teal-hover: #3b5d5a;
  --teal-dark: #315551;
  --teal-pale: #e8efed;
  --warn: #b4462f;
  --warn-soft: #fbeae4;
  --paper: var(--surface);
  --paper-strong: var(--surface-card);
  --muted: var(--ink-muted);
  --muted-deep: #3f4c47;
  --sand: #f1eee7;
  --alert: var(--warn);
  --shadow: 0 24px 70px rgb(27 32 32 / 10%);
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ui: "Manrope", "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 64px;
  --radius-control: 8px;
  --radius-panel: 12px;
  --focus-ring: 2px solid var(--teal);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ui); font-size: 16px; line-height: 1.55; font-synthesis: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: 10px; transform: translateY(-180%); padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; transition: transform .18s ease; }
.skip-link:focus { transform: translateY(0); }
.site-container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--teal-dark); font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.eyebrow-rule { width: 44px; height: 1px; background: var(--teal); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.wordmark em { color: var(--teal); font-family: var(--display); font-size: 18px; font-style: italic; font-weight: 400; letter-spacing: 0; }
.wordmark-mark { display: inline-grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--display); font-size: 17px; font-weight: 400; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: var(--radius-control); font-size: 13px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 38px; padding-inline: 16px; }
.button-ink { background: var(--ink); color: #fff; }
.button-ink:hover { background: #2a3332; }
.button-teal { background: var(--teal); color: #fff; }
.button-teal:hover { background: var(--teal-dark); }
.button-outline { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--ink); background: #fff; }
.button:disabled { transform: none; border-color: var(--line); background: var(--surface-sunken); color: var(--ink-faint); opacity: 1; }
.text-button { border: 0; background: transparent; color: var(--muted-deep); font-size: 13px; font-weight: 700; text-decoration: none; }
.text-button:hover { color: var(--teal); }
.inline-link { display: inline-flex; align-items: center; gap: 9px; color: var(--teal-dark); font-size: 13px; font-weight: 800; text-decoration: none; }
.inline-link:hover { color: var(--ink); }

/* Public marketing surface */
.marketing-page { overflow-x: hidden; }
.marketing-header { display: flex; align-items: center; min-height: 84px; border-bottom: 1px solid var(--line); gap: 34px; }
.marketing-header .wordmark { margin-right: auto; }
.marketing-nav { display: flex; align-items: center; gap: 26px; }
.marketing-nav a, .mobile-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted-deep); font-size: 12px; font-weight: 700; text-decoration: none; }
.marketing-nav a:hover, .mobile-nav a:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.locale-picker select { min-height: 44px; border: 0; background: transparent; color: var(--muted-deep); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid transparent; border-radius: var(--radius-control); background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; }
.menu-toggle:hover { border-color: var(--line-strong); background: var(--paper-strong); }
.mobile-nav { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; min-height: 690px; gap: clamp(50px, 8vw, 130px); padding-block: 78px 92px; }
.hero h1, .section h2 { max-width: 750px; margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 { max-width: 590px; font-size: clamp(64px, 7.8vw, 108px); line-height: .88; }
.hero-lede { max-width: 510px; margin: 28px 0 32px; color: var(--muted-deep); font-size: 17px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.micro-note { display: flex; align-items: center; gap: 9px; margin: 28px 0 0; color: var(--muted); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #5b9b70; box-shadow: 0 0 0 4px rgb(91 155 112 / 14%); }
.hero-stage { position: relative; min-height: 480px; padding: 32px; background: var(--sand); }
.hero-stage::before { position: absolute; left: -14px; top: 44px; width: 2px; height: 140px; background: var(--teal); content: ""; }
.stage-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.stage-label-top { position: absolute; left: 32px; top: 19px; }
.tryon-frame { position: absolute; inset: 76px 32px 45px; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid var(--line-strong); background: var(--paper-strong); box-shadow: 12px 17px 0 rgb(71 111 107 / 13%); }
.tryon-frame-bar, .tryon-frame-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 17px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tryon-frame-bar { border-bottom: 1px solid var(--line); }
.tryon-frame-foot { border-top: 1px solid var(--line); letter-spacing: 0; text-transform: none; }
.frame-state { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); }
.frame-state i { width: 6px; height: 6px; border-radius: 50%; background: #5b9b70; }
.tryon-visual { display: grid; grid-template-columns: 1fr 38px 1fr; align-items: center; min-height: 280px; padding: 28px 24px; background: linear-gradient(125deg, #f8f6f0 0%, #e6efec 100%); }
.visual-before, .visual-after { position: relative; display: grid; min-height: 238px; place-items: center; border: 1px solid rgb(71 111 107 / 20%); background: rgb(255 255 255 / 45%); }
.visual-after { background: rgb(255 255 255 / 68%); }
.visual-arrow { display: grid; place-items: center; color: var(--teal); font-size: 23px; }
.visual-tag { position: absolute; left: 12px; bottom: 10px; color: var(--muted-deep); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.silhouette { position: relative; width: 118px; height: 196px; }
.silhouette::before { position: absolute; left: 42px; top: 0; width: 34px; height: 42px; border-radius: 50%; background: #c2a58d; content: ""; }
.silhouette::after { position: absolute; left: 22px; top: 31px; width: 76px; height: 103px; border-radius: 36px 36px 10px 10px; background: #899895; content: ""; }
.silhouette span { position: absolute; left: 40px; bottom: 0; width: 38px; height: 77px; border-left: 8px solid #5e6966; border-right: 8px solid #5e6966; content: ""; }
.silhouette-shirt::after { background: var(--teal); }
.silhouette-shirt::before { background: #b18d77; }
.stage-note { position: absolute; bottom: 16px; color: var(--muted-deep); font-size: 11px; font-weight: 700; }
.stage-note-left { left: 32px; }
.stage-note-right { right: 32px; }
.section { padding-block: 112px; }
.section-rule { border-top: 1px solid var(--line); }
#product { padding-bottom: 80px; }
#integrations { padding-top: 80px; }
.section-tint { background: var(--teal-pale); }
.section-intro { display: block; max-width: 760px; }
.section h2 { font-size: clamp(46px, 5.2vw, 76px); line-height: .94; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 78px; }
.process-step { position: relative; padding: 25px 30px 30px 0; border-top: 1px solid var(--ink); }
.step-number { display: block; margin-bottom: 47px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.process-step h3 { margin: 0 0 12px; font-family: var(--display); font-size: 32px; font-weight: 400; letter-spacing: -.025em; }
.process-step p { max-width: 300px; margin: 0; color: var(--muted-deep); font-size: 14px; }
.step-line { display: block; width: 48px; height: 2px; margin-top: 28px; background: var(--teal); }
.section-split { display: grid; grid-template-columns: minmax(190px, .32fr) minmax(0, .68fr); gap: clamp(34px, 7vw, 100px); }
.section-lede { max-width: 570px; margin: 23px 0 27px; color: var(--muted-deep); font-size: 16px; line-height: 1.65; }
.integration-list { border-top: 1px solid var(--ink); }
.integration-row { display: grid; grid-template-columns: 48px minmax(110px, 1fr) auto; align-items: center; min-height: 73px; gap: 13px; border-bottom: 1px solid var(--line-strong); }
.integration-index { color: var(--muted); font-size: 11px; font-weight: 700; }
.integration-row strong { font-family: var(--display); font-size: 27px; font-weight: 500; }
.integration-status { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.integration-status.live { background: var(--teal-pale); color: var(--teal-dark); }
.integration-status.beta { background: #f2ede5; color: #665b4a; }
.integration-status.planned { background: #eef0ee; color: var(--muted-deep); }
.pricing-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(330px, .95fr); align-items: center; gap: clamp(50px, 11vw, 160px); }
.pricing-specimen { padding: 28px 0 0; border-top: 1px solid var(--ink); }
.pricing-line { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; padding: 17px 0; border-bottom: 1px solid rgb(71 111 107 / 28%); }
.pricing-line span { color: var(--muted-deep); }
.pricing-line strong { font-family: var(--display); font-size: 28px; font-weight: 400; }
.pricing-footnote { margin: 25px 0 0; color: var(--muted); font-size: 13px; }
.privacy-section { align-items: start; }
.privacy-points { display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted-deep); font-size: 12px; }
.privacy-points span { display: inline-flex; align-items: center; gap: 7px; }
.privacy-points i { display: inline-grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-size: 11px; font-style: normal; }
.docs-cta { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 50px; }
.docs-cta .section-lede { margin-top: 0; }
.marketing-footer { display: grid; grid-template-columns: 1fr auto; gap: 35px; padding-block: 44px 54px; border-top: 1px solid var(--line); }
.marketing-footer p { max-width: 290px; margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 20px; align-items: start; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted-deep); font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--teal); }
.marketing-footer small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.legal-nav { display: flex; align-items: center; gap: 24px; }
.legal-nav a { color: var(--muted-deep); font-size: 13px; text-decoration: none; }
.legal-nav a:hover { color: var(--ink); }
.legal-main { padding-block: clamp(54px, 8vw, 108px); }
.legal-hero { max-width: 900px; padding-bottom: clamp(38px, 6vw, 70px); border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: 13ch; margin: 18px 0 24px; font-family: var(--display); font-size: clamp(52px, 8vw, 92px); font-weight: 500; letter-spacing: -.04em; line-height: .9; text-wrap: balance; }
.legal-hero > p:not(.eyebrow) { max-width: 720px; margin: 0 0 20px; color: var(--muted-deep); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.legal-hero small { color: var(--muted); font-size: 12px; }
.legal-content { max-width: 900px; }
.legal-content section { display: grid; grid-template-columns: minmax(210px, 270px) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); padding-block: clamp(34px, 5vw, 58px); border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0; font-family: var(--display); font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1; }
.legal-content section > p, .legal-content section > ul, .legal-content section > dl { grid-column: 2; margin: 0; color: var(--muted-deep); font-size: 15px; line-height: 1.7; }
.legal-content section > p + p, .legal-content section > p + ul { margin-top: -14px; }
.legal-content ul { padding-left: 21px; }
.legal-content li + li { margin-top: 8px; }
.legal-content a { color: var(--teal-dark); text-underline-offset: 3px; }
.legal-details { display: grid; gap: 0; }
.legal-details div { display: grid; grid-template-columns: minmax(150px, .8fr) 1.4fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal-details div:first-child { padding-top: 0; }
.legal-details div:last-child { border-bottom: 0; }
.legal-details dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.legal-details dd { margin: 0; color: var(--ink); }

/* Merchant console */
.console-page { background: var(--paper); }
.console-root { min-height: 100vh; }
.app-loading { display: grid; place-items: center; min-height: 100vh; color: var(--muted-deep); }
.spinner { display: inline-block; width: 18px; height: 18px; margin-right: 10px; border: 2px solid var(--line-strong); border-top-color: var(--teal); border-radius: 50%; vertical-align: -4px; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.console-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.console-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 24px 16px 18px; border-right: 1px solid var(--line); background: var(--paper); }
.console-sidebar .wordmark { padding: 0 12px 27px; border-bottom: 1px solid var(--line); }
.console-kicker { padding: 23px 12px 9px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.console-nav { display: grid; gap: 3px; }
.console-nav a { display: flex; align-items: center; min-height: 44px; gap: 10px; padding: 0 12px; border-radius: var(--radius-control); color: var(--muted-deep); font-size: 13px; font-weight: 700; text-decoration: none; }
.console-nav a { position: relative; }
.console-nav a:hover { background: var(--teal-pale); color: var(--teal-dark); }
.console-nav a[aria-current="page"] { background: var(--teal-pale); color: var(--teal-dark); font-weight: 800; }
.console-nav a[aria-current="page"]::before { position: absolute; left: 0; top: 9px; bottom: 9px; width: 2px; border-radius: 2px; background: var(--teal); content: ""; }
.nav-index { width: 22px; color: var(--muted); font-size: 10px; font-weight: 800; }
.console-sidebar-foot { margin-top: auto; padding: 15px 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.console-sidebar-foot strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 12px; }
.console-main-wrap { display: flex; min-width: 0; min-height: 100vh; flex-direction: column; }
.console-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0 clamp(24px, 4vw, 54px); border-bottom: 1px solid var(--line); background: rgb(255 253 248 / 90%); }
.console-breadcrumb { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.console-breadcrumb strong { color: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.topbar-store { display: flex; align-items: center; gap: 9px; color: var(--muted-deep); font-size: 13px; font-weight: 700; }
.store-status { width: 7px; height: 7px; border-radius: 50%; background: #5b9b70; }
.console-content { width: 100%; max-width: 1460px; flex: 1; padding: 48px clamp(24px, 4vw, 54px) 72px; }
.console-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: clamp(24px, 5vw, 72px); margin-bottom: 36px; }
.console-heading__copy { min-width: 0; }
.console-heading__aside { display: grid; width: min(420px, 42%); min-width: 260px; gap: 16px; padding-top: 8px; }
.console-section-context { display: block; margin-bottom: 13px; color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.console-heading h1 { max-width: 12ch; margin: 0; font-family: var(--display); font-size: clamp(42px, 4.2vw, 62px); font-weight: 500; letter-spacing: -.035em; line-height: .94; text-wrap: balance; }
.console-heading p { max-width: 44ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.console-heading .hero-actions { margin-top: 0; }
.console-heading .hero-actions .button { width: 100%; }
.console-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px clamp(24px, 4vw, 54px) 22px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 12px; }
.console-section-label { margin: 42px 0 13px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.console-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.console-panel { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--paper-strong); }
.console-panel h2, .console-panel h3 { margin: 0; font-size: 15px; letter-spacing: -.02em; }
.console-panel h2 { font-size: 17px; }
.console-panel p { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.panel-wide { grid-column: span 8; }
.panel-narrow { grid-column: span 4; }
.panel-half { grid-column: span 6; }
.panel-full { grid-column: 1 / -1; }
.section-stack { margin-top: 24px; }
.section-gap { margin-top: 16px !important; }
.field-spaced { margin-top: 16px; }
.limits-grid { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; min-width: 0; }
.limits-grid > .console-panel { width: 100%; min-width: 0; }
.limits-grid > .panel-half, .limits-grid > .panel-narrow { grid-column: span 1; }
.limits-grid > .panel-full { grid-column: 1 / -1; }
.metric-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 15px; margin-top: 24px; }
.metric-value { font-family: var(--display); font-size: 40px; line-height: .95; }
.metric-value-nowrap { white-space: nowrap; }
.metric-label { color: var(--muted); font-size: 13px; line-height: 1.45; }
.metric-badge { align-self: start; }
.metric-note { color: var(--teal-dark); font-size: 12px; font-weight: 700; }
.usage-rail { height: 7px; margin: 18px 0 9px; overflow: hidden; border-radius: 999px; background: var(--teal-pale); }
.usage-rail span { display: block; width: 38%; height: 100%; border-radius: inherit; background: var(--teal); }
.usage-rail-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.usage-rail-caption strong { color: var(--teal-dark); font-size: 13px; }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.panel-link { color: var(--teal-dark); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.panel-link:hover { color: var(--ink); }
.attention-list { display: grid; gap: 11px; margin-top: 21px; }
.attention-item { display: flex; align-items: flex-start; gap: 10px; color: var(--muted-deep); font-size: 13px; }
.attention-marker { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--alert); }
.attention-marker.ok { background: #5b9b70; }
.status-table { width: 100%; margin-top: 19px; border-collapse: collapse; font-size: 13px; }
.status-table th, .status-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.status-table th { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.status-table td:last-child, .status-table th:last-child { text-align: right; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--teal-pale); color: var(--teal-dark); font-size: 12px; font-weight: 700; }
.pill.warn { background: var(--warn-soft); color: var(--alert); }
.pill.muted { background: #eceeeb; color: var(--muted); }
.console-login { display: grid; min-height: 100svh; place-items: center; padding: clamp(24px, 5vw, 56px) 20px; background: var(--paper); overflow: visible; }
.login-card { width: min(520px, 100%); padding: clamp(28px, 5vw, 46px); border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--paper-strong); box-shadow: var(--shadow); }
.login-card h1 { max-width: 12ch; margin: 35px 0 20px; font-family: var(--display); font-size: clamp(48px, 7vw, 70px); font-weight: 500; letter-spacing: -.035em; line-height: .88; text-wrap: balance; }
.login-card p { margin: 0 0 26px; color: var(--muted-deep); font-size: 14px; }
.login-form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { color: var(--muted-deep); font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); background: var(--paper-strong); color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgb(71 111 107 / 18%); outline: 0; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
.field textarea { min-height: 90px; padding-block: 10px; resize: vertical; }
.check-row { display: flex; align-items: flex-start; gap: 10px; color: var(--muted-deep); font-size: 13px; line-height: 1.45; }
.check-row input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--teal); }
.color-field { position: relative; }
.color-field .field-color-swatch { position: absolute; z-index: 1; left: 13px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); border: 1px solid rgb(26 26 24 / 20%); border-radius: 6px; background: var(--teal); }
.color-field input { padding-left: 48px; }
.field-hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.form-note { min-height: 22px; color: var(--alert); font-size: 13px; line-height: 1.45; }
.form-note.is-loading { color: var(--teal-dark); }
.login-form > .button { width: 100%; }
.login-foot { margin-top: 24px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.auth-switch { width: 100%; margin-top: 18px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.google-auth-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; }
.google-mark { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: #4285f4; font: 700 13px/1 Arial, sans-serif; }
.legal-consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: var(--muted-deep); font-size: 13px; line-height: 1.45; }
.legal-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--teal); }
.legal-consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.console-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.button-compact { min-height: 40px; padding-inline: 14px; font-size: 12px; }
.product-access-form > .console-panel { width: 100%; }
.access-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; border: 0; }
.choice-grid legend, .choice-stack legend, .check-cluster legend { grid-column: 1 / -1; margin-bottom: 2px; color: var(--muted-deep); font-size: 13px; font-weight: 700; }
.choice-stack { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; border: 0; }
.choice-card { display: flex; min-width: 0; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); background: var(--paper); cursor: pointer; }
.choice-card:has(input:checked) { border-color: var(--teal); background: var(--teal-pale); box-shadow: inset 0 0 0 1px var(--teal); }
.choice-card input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--teal); }
.choice-card span { display: grid; min-width: 0; gap: 4px; }
.choice-card strong { color: var(--ink); font-size: 13px; line-height: 1.35; }
.choice-card small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.check-cluster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-inline: 0; padding: 0; border: 0; }
.access-note { display: grid; gap: 4px; margin-top: 16px; padding: 13px 14px; border-left: 3px solid var(--teal); background: var(--teal-pale); color: var(--muted-deep); font-size: 12px; line-height: 1.45; }
.access-note.warn { border-left-color: var(--alert); background: var(--warn-soft); }
.access-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 20px 0 16px; }
.access-summary div { display: grid; gap: 4px; padding: 13px; border: 1px solid var(--line); background: var(--paper); }
.access-summary strong { font-family: var(--ui); font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.access-summary span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.access-history { display: grid; margin-top: 18px; border-top: 1px solid var(--line); }
.access-history__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.access-history__row > div { display: flex; align-items: center; gap: 10px; }
.access-history__row > div:first-child { display: grid; gap: 3px; }
.access-history__row strong { font-size: 13px; }
.access-history__row span:not(.pill) { color: var(--muted); font-size: 12px; line-height: 1.4; }
.catalog-product-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 18px 0 14px; }
.catalog-product-toolbar .field { width: min(420px, 100%); }
.field-label { color: var(--muted-deep); font-size: 13px; font-weight: 700; }
.product-access-table .table-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.product-access-table .table-check input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; accent-color: var(--teal); }
.product-access-table .table-check span { display: grid; gap: 3px; }
.product-access-table .table-check small { color: var(--muted); font-size: 11px; font-weight: 400; }
.empty-state.compact { padding-block: 24px; }
.product-access-form .hero-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-access-form .hero-actions .button { width: 100%; }
.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
.data-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.data-table .numeric-cell { font-variant-numeric: tabular-nums; text-align: right; }
.data-table th { background: var(--paper); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.data-table tr.is-selected td { background: #f1f6f3; }
.data-table tr:last-child td { border-bottom: 0; }
.empty-state { padding: 38px 20px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 14px; line-height: 1.55; text-align: center; }
.empty-state strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 14px; }
.code-block { overflow-x: hidden; overflow-wrap: anywhere; word-break: break-word; white-space: pre-wrap; margin: 14px 0 0; padding: 15px; border-radius: 6px; background: #202726; color: #d8e7e2; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.55; }
.instruction-list { margin: 16px 0 0; padding-left: 20px; color: var(--muted-deep); font-size: 13px; line-height: 1.6; }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 20; display: grid; gap: 8px; width: min(360px, calc(100vw - 40px)); }
.toast { padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--paper-strong); box-shadow: var(--shadow); color: var(--muted-deep); font-size: 13px; }
.toast.error { border-color: #d5a18f; }
.mobile-console-nav { display: none; }
.widget-preview-layer { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px; background: rgb(27 32 32 / 52%); }
.widget-preview-card { width: min(880px, 100%); max-height: min(820px, calc(100vh - 48px)); overflow: auto; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 28px 90px rgb(27 32 32 / 22%); }
.widget-preview-card h2 { margin: 0; font-family: var(--display); font-size: 34px; font-weight: 400; letter-spacing: -.03em; }
.widget-preview-switcher { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.widget-preview-stage { display: grid; grid-template-columns: minmax(240px, .9fr) minmax(220px, .6fr); gap: 20px; margin-top: 22px; padding: 20px; background: var(--sand); }
.preview-store-card { display: grid; gap: 12px; min-height: 360px; padding: 18px; border: 1px solid var(--line-strong); background: #fff; }
.preview-store-card strong { color: var(--preview-accent); font-size: 16px; }
.preview-store-card p { margin: 0; color: var(--muted); font-size: 12px; }
.preview-cta { border-color: var(--preview-accent); }
.preview-cta.button-teal { background: var(--preview-accent); }
.preview-cta.button-outline { color: var(--preview-accent); }
.preview-product-image { min-height: 190px; background: linear-gradient(145deg, #d9e4e1, #f8f6f0 55%, #c3d4cf); }
.preview-summary { display: grid; align-content: start; gap: 12px; }
.preview-summary p { margin: 0; color: var(--muted-deep); font-size: 12px; }
.preview-warning, .preview-success { padding: 12px; border: 1px solid var(--line); background: #fff; color: var(--muted-deep); font-size: 12px; }
.preview-warning { border-color: #d5a18f; color: var(--alert); }
.widget-preview-stage[data-preview-mode="mobile"] { grid-template-columns: minmax(220px, 340px); justify-content: center; }
.widget-preview-stage[data-preview-mode="mobile"] .preview-summary { display: none; }
.widget-preview-stage[data-preview-mode="storefront"] { grid-template-columns: minmax(0, 1fr); background: var(--paper); }
.widget-preview-stage[data-preview-mode="storefront"] .preview-store-card { width: min(100%, 720px); min-height: 260px; margin: 0 auto; }
@media (max-width: 720px) {
  .widget-preview-layer { padding: 12px; }
  .widget-preview-card { max-height: calc(100vh - 24px); padding: 20px; }
  .widget-preview-stage { grid-template-columns: 1fr; }
  .widget-preview-stage .preview-summary { display: block; }
}

@media (max-width: 1000px) {
  .marketing-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav:not([hidden]) { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-block: 18px 22px; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-stage { width: min(680px, 100%); }
  .section-intro, .section-split, .pricing-layout, .docs-cta { grid-template-columns: 1fr; gap: 35px; }
  .process-grid { margin-top: 50px; }
  .console-shell { grid-template-columns: 206px minmax(0, 1fr); }
  .console-nav a { padding-inline: 9px; }
  .panel-wide { grid-column: span 7; }
  .panel-narrow { grid-column: span 5; }
}

@media (max-width: 960px) {
  .console-shell { display: block; }
  .console-sidebar { position: static; display: block; height: auto; padding: 17px 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .console-sidebar .wordmark { padding: 0; border: 0; }
  .console-kicker, .console-nav, .console-sidebar-foot { display: none; }
  .mobile-console-nav { display: flex; overflow-x: auto; gap: 4px; margin-top: 14px; padding-bottom: 1px; }
  .mobile-console-nav a { display: inline-flex; align-items: center; min-height: 44px; flex: 0 0 auto; padding: 0 12px; border-radius: var(--radius-control); color: var(--muted-deep); font-size: 12px; font-weight: 700; text-decoration: none; }
  .mobile-console-nav a[aria-current="page"] { background: var(--teal-pale); color: var(--teal-dark); }
  .console-topbar { min-height: 64px; padding-inline: 24px; }
  .console-content { padding: 38px 24px 56px; }
  .console-heading { align-items: stretch; flex-direction: column; gap: 18px; }
  .console-heading__aside { width: 100%; min-width: 0; padding-top: 0; }
  .console-heading h1 { max-width: 14ch; }
  .console-grid { display: block; }
  .console-panel { margin-bottom: 16px; }
  .limits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid { grid-template-columns: 1fr; }
  .console-footer { padding-inline: 24px; }
}

@media (max-width: 720px) {
  .site-container { width: min(100% - 34px, 1240px); }
  .marketing-header { min-height: 70px; gap: 16px; }
  .marketing-header .wordmark { flex: 0 0 auto; font-size: 15px; }
  .marketing-header .wordmark em { font-size: 17px; }
  .menu-toggle { border-color: var(--line); }
  .header-actions { gap: 10px; }
  .header-actions .text-button { display: none; }
  .hero { gap: 48px; padding-block: 59px 70px; }
  .hero h1 { max-width: 15ch; font-size: clamp(48px, 15vw, 74px); line-height: .9; }
  .hero-lede { font-size: 15px; }
  .hero-copy .hero-actions { align-items: stretch; }
  .hero-copy .hero-actions .button { width: 100%; }
  .hero-stage { min-height: 410px; padding: 22px; }
  .tryon-frame { inset: 60px 22px 38px; }
  .tryon-visual { grid-template-columns: 1fr 23px 1fr; padding: 17px 10px; }
  .visual-before, .visual-after { min-height: 198px; }
  .silhouette { transform: scale(.8); }
  .stage-note { display: none; }
  .section { padding-block: 74px; }
  #product { padding-bottom: 54px; }
  #integrations { padding-top: 54px; }
  .section h2 { font-size: clamp(44px, 12vw, 62px); line-height: .94; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-step { padding-right: 0; }
  .step-number { margin-bottom: 25px; }
  .integration-row { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; }
  .integration-row strong { font-size: 22px; }
  .integration-status { min-height: 26px; padding-inline: 8px; font-size: 10px; }
  .marketing-footer { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { flex-wrap: wrap; }
  .marketing-footer small { grid-column: auto; }
  .legal-page .marketing-header > .button, .legal-nav { display: none; }
  .legal-main { padding-block: 52px; }
  .legal-hero h1 { font-size: clamp(46px, 15vw, 68px); }
  .legal-content section { grid-template-columns: 1fr; gap: 20px; }
  .legal-content section > p, .legal-content section > ul, .legal-content section > dl { grid-column: 1; }
  .legal-details div { grid-template-columns: 1fr; gap: 6px; }
  .console-sidebar { padding: 15px 17px; }
  .console-topbar { min-height: 58px; padding-inline: 17px; }
  .console-content { padding: 34px 20px 60px; }
  .console-heading { gap: 16px; margin-bottom: 28px; }
  .console-heading h1 { font-size: clamp(36px, 12vw, 52px); }
  .console-heading__aside { gap: 14px; }
  .console-panel { margin-bottom: 13px; padding: 20px; }
  .panel-wide, .panel-narrow, .panel-half { grid-column: auto; }
  .limits-grid { display: block; }
  .access-fields, .check-cluster, .access-summary { grid-template-columns: 1fr; }
  .catalog-product-toolbar, .access-history__row { align-items: stretch; flex-direction: column; }
  .access-history__row > div { align-items: flex-start; flex-direction: column; gap: 7px; }
  .product-access-form .hero-actions { grid-template-columns: 1fr; }
  .limits-grid > .console-panel { margin-bottom: 13px; }
  .console-footer { align-items: flex-start; flex-direction: column; gap: 4px; padding: 16px 20px 20px; }
  .topbar-actions { gap: 10px; }
  .topbar-store { max-width: 44vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .console-login { display: block; min-height: auto; padding: 24px 16px 48px; }
  .login-card { width: 100%; padding: 0 4px 28px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .login-card h1 { max-width: 10ch; font-size: clamp(46px, 14vw, 64px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
