/* onecommerce.tech: the oneCommerce family site. One stylesheet for every page, in Studio's look (brand board:
   onecommerce-wa/docs/brand/palette.html). Pale blue-white pages with a soft blue glow, ink text, royal-blue buttons,
   white cards with a soft blue shadow. Light for everyone; dark (navy) only for a visitor who picks it with the moon
   button (data-theme="dark" on <html>, set by theme.js before the page draws). */

/* Geist (SIL Open Font License, fonts/Geist-LICENSE.txt), served from this site: nothing loads from other sites. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/geist-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/geist-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --paper: #F8FAFF; --wash: #EEF3FF; --card: #FFFFFF; --ink: #0B1424; --soft: #5B6B84; --line: #E2E8F0;
  --blue: #1447E6; --blue-hover: #0F3BC4; --blue-soft: #E6EEFF; --on-blue: #FFFFFF; --bright: #5B8CFF; --alert: #B42318;
  --shadow: 0 1px 2px rgb(15 23 42 / .04), 0 12px 32px -14px rgb(20 71 230 / .18);
  --shadow-lg: 0 2px 6px -2px rgb(15 23 42 / .08), 0 30px 70px -30px rgb(20 71 230 / .35);
  --radius: 14px; --gutter: clamp(18px, 4vw, 32px);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --glow: color-mix(in oklab, var(--blue) 18%, transparent);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #0A1230; --wash: #0D1638; --card: #111B42; --ink: #E8EEFF; --soft: #9AA8C7; --line: #1F2B55;
  --blue: #5B8CFF; --blue-hover: #7AA2FF; --blue-soft: #16244A; --on-blue: #06102A; --bright: #7AA2FF; --alert: #F97066;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px -14px rgb(0 0 0 / .6);
  --shadow-lg: 0 2px 6px -2px rgb(0 0 0 / .4), 0 30px 70px -30px rgb(0 0 0 / .8);
  --glow: color-mix(in oklab, #1447E6 30%, transparent);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper) radial-gradient(ellipse 90% 560px at 50% -100px, var(--glow), transparent) no-repeat; color: var(--ink); font: 17px/1.6 var(--font); }
::selection { background: var(--blue-soft); color: var(--blue); }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.4rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: var(--gutter); }
.soft { color: var(--soft); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--soft); max-width: 38em; }
.fine { font-size: 0.9rem; color: var(--soft); }
.accent { color: var(--blue); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--blue); color: var(--on-blue); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }

/* Buttons and chips. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border-radius: 6px; padding: 11px 20px; border: 1px solid var(--blue); box-shadow: 0 1px 2px rgb(15 23 42 / .08); transition: background-color .2s, border-color .2s, transform .2s cubic-bezier(.2, .8, .2, 1); }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.primary { background: var(--blue); color: var(--on-blue); }
.btn.primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn.ghost { color: var(--ink); background: var(--card); border-color: var(--line); }
.btn.ghost:hover { background: var(--wash); }
.btn .wa { width: 20px; height: 20px; flex: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 4px 12px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); }
.eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }

/* Header. */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.bar { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: flex; flex: none; }
.logo img { height: 28px; width: auto; }
.lockup-dark { display: none !important; }
:root[data-theme="dark"] .lockup-light { display: none !important; }
:root[data-theme="dark"] .lockup-dark { display: block !important; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav > a, .drop > summary { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: 8px 12px; border-radius: 8px; cursor: pointer; list-style: none; }
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary::after { content: "▾"; font-size: 0.75em; margin-left: 6px; color: var(--soft); }
.nav > a:hover, .drop > summary:hover { background: var(--wash); }
.nav > a[aria-current] { color: var(--blue); }
.drop { position: relative; }
.panel { position: absolute; top: calc(100% + 10px); left: 0; width: min(380px, 90vw); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; display: grid; }
.panel a { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.panel a:hover { background: var(--wash); }
.panel a span { display: grid; gap: 1px; font-size: 0.9rem; color: var(--soft); }
.panel a b { color: var(--ink); font-size: 0.97rem; font-weight: 600; }
.panel img { width: 36px; height: 36px; border-radius: 10px; }
.actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.actions .btn { min-height: 42px; padding: 8px 16px; }
.theme, .menu-btn > summary { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; list-style: none; }
.theme[hidden] { display: none; }
.menu-btn > summary::-webkit-details-marker { display: none; }
.theme svg, .menu-btn svg { width: 20px; height: 20px; }
.theme .sun, :root[data-theme="dark"] .theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: block; }
.menu-btn { display: none; position: relative; }
.sheet { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, 88vw); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; display: grid; gap: 2px; }
.sheet a:not(.btn) { padding: 11px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.sheet a:not(.btn):hover { background: var(--wash); }
.sheet .btn { margin-top: 8px; }
@media (max-width: 900px) { .nav, .actions > .btn { display: none; } .menu-btn { display: block; } }
@media (max-width: 400px) { .logo img { height: 24px; } }

/* Breadcrumbs. */
.crumbs { padding-top: 20px; font-size: 0.9rem; color: var(--soft); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* Sections. */
section { padding-block: clamp(56px, 9vw, 112px); }
.band { background: var(--wash); border-block: 1px solid var(--line); }
.head { display: grid; gap: 14px; margin-bottom: clamp(28px, 5vw, 48px); max-width: 46em; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.page-head { display: grid; gap: 18px; justify-items: start; padding-block: clamp(32px, 6vw, 72px) clamp(8px, 2vw, 16px); }

/* Home hero. */
.hero { display: grid; justify-items: center; text-align: center; gap: 24px; padding-block: clamp(48px, 9vw, 112px) clamp(32px, 5vw, 56px); }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 34em; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-size: 0.92rem; box-shadow: var(--shadow); }
.pill b { background: var(--blue); color: var(--on-blue); border-radius: 99px; padding: 2px 10px; font-size: 0.8rem; }
.pill:hover { border-color: var(--blue); text-decoration: none; }
.family { display: flex; gap: clamp(12px, 3vw, 22px); margin-top: 12px; }
.family a, .family span { display: block; width: clamp(64px, 12vw, 92px); border-radius: 28%; box-shadow: var(--shadow-lg); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.family a:hover { transform: translateY(-4px) rotate(-3deg); }
.family span { opacity: .45; }
.family img { width: 100%; height: auto; border-radius: 28%; }

/* Product cards. */
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product { position: relative; display: grid; gap: 14px; align-content: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 30px); color: var(--ink); text-decoration: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s; }
a.product:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-lg); text-decoration: none; }
.product img { width: 56px; height: 56px; border-radius: 16px; }
.product h3 { font-size: 1.4rem; }
.product h3 small { display: block; font-size: 0.85rem; font-weight: 500; color: var(--soft); letter-spacing: 0; margin-top: 4px; }
.product p { color: var(--soft); }
.product ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 0.97rem; }
.product li { padding-left: 24px; position: relative; }
.product li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.product .price { font-weight: 600; }
.product .go { color: var(--blue); font-weight: 600; }
.product.soon { background: transparent; border-style: dashed; box-shadow: none; }
@media (max-width: 960px) { .products-grid { grid-template-columns: minmax(0, 1fr); } }

/* Long product rows on /products/. */
.prow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 5vw, 56px); }
.prow + .prow { border-top: 1px solid var(--line); }
.prow-text { display: grid; gap: 16px; justify-items: start; }
.prow-text img { width: 64px; height: 64px; border-radius: 18px; }
.prow .facts { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 880px) { .prow { grid-template-columns: minmax(0, 1fr); } }

/* Facts grid. */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.facts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); }
.facts p { color: var(--soft); font-size: 0.97rem; }
@media (max-width: 880px) { .facts, .facts.two { grid-template-columns: minmax(0, 1fr); } }

/* Steps. */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--on-blue); font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--soft); font-size: 0.97rem; }
@media (max-width: 880px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Two programs side by side on the home page. */
.programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.program { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; justify-items: start; box-shadow: var(--shadow); }
.program strong.big { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 600; letter-spacing: -0.04em; color: var(--blue); line-height: 1; }
.program p { color: var(--soft); }
@media (max-width: 880px) { .programs { grid-template-columns: minmax(0, 1fr); } }

/* Earnings calculator. */
.earn { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.earn-in { padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; align-content: start; }
.earn-in h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.earn fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.earn legend { font-size: 0.85rem; font-weight: 600; color: var(--soft); margin-bottom: 8px; width: 100%; }
.seg label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 0.95rem; }
.seg label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.seg input { accent-color: var(--blue); }
.range { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-weight: 500; }
.range input { grid-column: 1 / -1; accent-color: var(--blue); min-height: 36px; }
.range output { font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.earn-out { background: var(--wash); border-left: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); display: grid; gap: 10px; align-content: center; justify-items: start; }
.earn-total { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -0.04em; color: var(--blue); font-variant-numeric: tabular-nums; line-height: 1.05; }
.earn-month { font-weight: 500; }
@media (max-width: 820px) { .earn { grid-template-columns: minmax(0, 1fr); } .earn-out { border-left: 0; border-top: 1px solid var(--line); } }

/* Forms (they become a WhatsApp message: this site has no server). */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.card-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(20px, 3vw, 32px); }
.wa-form { display: grid; gap: 14px; }
.wa-form h2 { font-size: 1.4rem; }
.wa-form label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 500; }
.wa-form input, .wa-form select, .wa-form textarea { font: inherit; font-size: 16px; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); }
.wa-form textarea { min-height: 84px; resize: vertical; }
.wa-form input:focus, .wa-form select:focus, .wa-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.wa-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.wa-form .check input { min-height: 0; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.wa-form .btn { width: 100%; margin-top: 4px; }
.apply-box { display: grid; gap: 12px; align-content: start; }
.apply-box .btn { width: 100%; }
@media (max-width: 880px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* Lists with ticks, rules with crosses. */
.ticks, .rules { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li, .rules li { position: relative; padding-left: 30px; }
.ticks li::before, .rules li::before { position: absolute; left: 0; top: 0.15em; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; }
.ticks li::before { content: "✓"; background: var(--blue-soft); color: var(--blue); }
.rules li::before { content: "✕"; background: color-mix(in srgb, var(--alert) 12%, transparent); color: var(--alert); }

/* FAQ. */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--soft); padding-bottom: 16px; }

/* Long text (about, legal). */
.prose { max-width: 760px; padding-block: clamp(32px, 6vw, 72px) clamp(56px, 9vw, 104px); }
.prose h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 12px; }
.prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 40px 0 12px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose .meta { color: var(--soft); }
.legal-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.legal-list > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.legal-list h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.legal-list h2 img { width: 32px; height: 32px; border-radius: 9px; }
.legal-list ul { list-style: none; padding: 0; display: grid; gap: 6px; }
@media (max-width: 760px) { .legal-list { grid-template-columns: minmax(0, 1fr); } }

/* Closing call to action. */
.close-cta { display: grid; justify-items: center; text-align: center; gap: 18px; }
.close-cta .lede { margin-inline: auto; }

/* Footer. */
.foot { border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand p { color: var(--soft); max-width: 26em; }
.foot h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--soft); margin-bottom: 12px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot nav a:hover { color: var(--blue); }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--soft); font-size: 0.85rem; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* Not found. */
.lost { display: grid; justify-items: center; text-align: center; gap: 18px; padding-block: 96px; }

/* Gentle rise as sections scroll in (site.js adds .rise only when motion is welcome). */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1); }
  .rise.in { opacity: 1; transform: none; }
}
.hero .ctas { justify-content: center; }
