/* Upsellano marketing site. Tokens: brand/BRAND_SYSTEM.md. No external fonts or scripts. */
:root {
  /* Official palette: orange, ink, cream (Upsellano, owner-approved). */
  --orange: #ff6b35;
  --orange-hover: #f05a22;
  --orange-text: #b93f12;  /* orange for text and links: 5.2:1 on cream, 5.6:1 on white */
  --orange-soft: #ffd2bf;
  --orange-wash: #fff1e8;
  --cream: #fff5eb;
  --canvas: #fffaf6;       /* page tint between white and cream */
  --ink: #20232b;
  --text: #2e313a;
  --muted: #555863;
  --line: #efe2d4;
  --line-cool: #e6e3df;
  --surface: #ffffff;
  /* Feature accents: icon tiles only, used sparingly. Text on them is never smaller than the icon. */
  --acc-orange: #b93f12; --acc-orange-bg: #fff1e8;
  --acc-violet: #6b46c1; --acc-violet-bg: #f3effc;
  --acc-teal: #0f766e;   --acc-teal-bg: #e8f6f4;
  --acc-rose: #be185d;   --acc-rose-bg: #fdecf3;
  --acc-blue: #1d5fc4;   --acc-blue-bg: #eaf1fc;
  --acc-green: #227a3d;  --acc-green-bg: #eaf6ee;
  --acc-amber: #a15c07;  --acc-amber-bg: #fdf3e2;
  --acc-slate: #475166;  --acc-slate-bg: #eef0f4;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(32, 35, 43, 0.05);
  --shadow: 0 1px 2px rgba(32, 35, 43, 0.05), 0 8px 24px rgba(32, 35, 43, 0.07);
  --shadow-lg: 0 2px 6px rgba(32, 35, 43, 0.05), 0 24px 60px rgba(32, 35, 43, 0.12);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --max: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--surface); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-text); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 var(--s4); }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.028em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s4); }
figure { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 560px) { :root { --gutter: 16px; } }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: var(--s2) var(--s4); z-index: 10; }
.skip:focus { left: var(--s4); top: var(--s4); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--orange-text); margin-bottom: var(--s3); }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: var(--s7); }
.section-head .lead { margin-bottom: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid rgba(239, 226, 212, 0.8); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); height: 68px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { width: auto; height: 32px; }
.site-footer .brand img { height: 56px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--orange-text); }
.nav-links .btn { margin-left: var(--s2); }
/* Mobile menu: a native <details> disclosure, so it works without scripts and with the keyboard. */
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-weight: 700; font-size: 0.95rem; color: var(--ink); cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s var(--ease); }
.nav-menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.nav-menu ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; margin: 0; padding: var(--s2); list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.nav-menu li a { display: block; padding: 11px var(--s4); border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.nav-menu li a:hover, .nav-menu li a:focus-visible { color: var(--ink); background: var(--cream); }
@media (max-width: 860px) {
  .nav { gap: var(--s3); }
  .nav-links { margin-left: auto; }
  .nav-links a:not(.btn) { display: none; }
  .nav-links .btn { white-space: nowrap; margin: 0; }
  .nav-menu { display: block; }
}
/* Narrow phones: the header keeps the logo and the menu; the hero repeats the App Store button. */
@media (max-width: 420px) { .nav-links .btn { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s var(--ease); }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 1px 2px rgba(185, 63, 18, 0.18), 0 6px 16px rgba(255, 107, 53, 0.22); }
a.btn-primary:hover { background: var(--orange-hover); color: var(--ink); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(185, 63, 18, 0.2), 0 10px 24px rgba(255, 107, 53, 0.28); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-cool); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--orange-soft); color: var(--orange-text); transform: translateY(-1px); }
.btn[aria-disabled="true"] { cursor: default; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.92rem; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1.02rem; }
@media (max-width: 480px) { .hero-cta .btn { width: 100%; } }

/* Sections */
section { padding: 96px 0; }
@media (max-width: 760px) { section { padding: 64px 0; } }
section.tint { background: var(--canvas); border-top: 1px solid #f6ebe0; border-bottom: 1px solid #f6ebe0; }

/* Frames: real app and storefront captures */
.frame { position: relative; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line-cool); overflow: hidden; }
.frame-bar { height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #faf8f6; border-bottom: 1px solid var(--line-cool); }
.frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: #e2dcd5; }
.frame-bar b { margin-left: 8px; font-size: 0.75rem; font-weight: 600; color: var(--muted); letter-spacing: 0.01em; }
.frame img { width: 100%; }
/* .crop: on narrow screens show the left part of a wide capture at full size instead of
   shrinking it until it's unreadable. */
@media (max-width: 640px) {
  .crop { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .crop img { width: auto; max-width: none; }
  .crop-end { direction: rtl; }
  .crop-end img { direction: ltr; }
}
figcaption { font-size: 0.86rem; color: var(--muted); margin-top: var(--s4); }

/* Hero */
.hero { position: relative; padding: 80px 0 96px; overflow: hidden; background:
  radial-gradient(900px 420px at 50% -8%, #ffe9db 0%, rgba(255, 233, 219, 0) 70%),
  linear-gradient(180deg, #fffaf6 0%, #ffffff 62%); }
.hero-copy { text-align: center; max-width: 940px; margin: 0 auto; }
.hero-copy .lead { margin: 0 auto; font-size: 1.22rem; max-width: 700px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin: var(--s6) 0 var(--s4); }
.value-line { font-size: 0.96rem; font-weight: 700; color: var(--ink); margin: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); margin: var(--s5) 0 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.88rem; font-weight: 600; color: var(--text); box-shadow: var(--shadow-sm); }
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero-stage { position: relative; max-width: 1110px; margin: 64px auto 0; padding-right: 270px; }
.hero-admin { max-width: 830px; }
.hero-store { position: absolute; right: 0; bottom: 40px; width: 300px; border-radius: 18px; box-shadow: 0 2px 6px rgba(32, 35, 43, 0.06), 0 30px 70px rgba(32, 35, 43, 0.2); }
.hero-stage figcaption { text-align: left; }
.hero-stage::before { content: ""; position: absolute; z-index: -1; inset: 12% 4% -6% 8%; background: radial-gradient(closest-side, rgba(255, 107, 53, 0.16), rgba(255, 107, 53, 0)); filter: blur(10px); }
@media (max-width: 1000px) {
  .hero-stage { padding-right: 0; }
  .hero-store { width: 240px; right: -8px; bottom: 40px; }
}
@media (max-width: 640px) {
  .hero { padding: 48px 0 64px; }
  .hero-stage { margin-top: 44px; }
  .hero-store { position: relative; right: auto; bottom: auto; width: min(320px, 88%); margin: -64px 0 0 auto; }
}

/* Value pillars */
.pillars-section { padding: 0 0 var(--s9); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.pillars li { padding: var(--s5); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.pillars h3 { margin: var(--s4) 0 var(--s2); font-size: 1.08rem; }
.pillars p { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; gap: var(--s3); } .pillars-section { padding-bottom: var(--s8); } }

/* Icon tiles */
.ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--acc-orange-bg); color: var(--acc-orange); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Product showcase: CSS-only tabs (radio inputs), no script needed */
.showcase { border: 0; margin: 0; padding: 0; min-width: 0; }
.sc-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto var(--s6); padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.sc-tabs label { padding: 9px 18px; border-radius: 999px; font-weight: 650; font-size: 0.94rem; color: var(--muted); cursor: pointer; user-select: none; transition: background-color 0.2s ease, color 0.2s ease; }
.sc-tabs label:hover { color: var(--ink); background: var(--cream); }
#sc-qb:checked ~ .sc-tabs [for="sc-qb"], #sc-upsells:checked ~ .sc-tabs [for="sc-upsells"], #sc-bundles:checked ~ .sc-tabs [for="sc-bundles"],
#sc-cart:checked ~ .sc-tabs [for="sc-cart"], #sc-testing:checked ~ .sc-tabs [for="sc-testing"], #sc-analytics:checked ~ .sc-tabs [for="sc-analytics"], #sc-style:checked ~ .sc-tabs [for="sc-style"] { background: var(--ink); color: #fff; }
#sc-qb:focus-visible ~ .sc-tabs [for="sc-qb"], #sc-upsells:focus-visible ~ .sc-tabs [for="sc-upsells"], #sc-bundles:focus-visible ~ .sc-tabs [for="sc-bundles"],
#sc-cart:focus-visible ~ .sc-tabs [for="sc-cart"], #sc-testing:focus-visible ~ .sc-tabs [for="sc-testing"], #sc-analytics:focus-visible ~ .sc-tabs [for="sc-analytics"], #sc-style:focus-visible ~ .sc-tabs [for="sc-style"] { outline: 3px solid var(--ink); outline-offset: 2px; }
.sc-panel { display: none; grid-template-columns: 0.8fr 1.45fr; gap: var(--s7); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: var(--s7); box-shadow: var(--shadow); }
#sc-qb:checked ~ .sc-panels .p-qb, #sc-upsells:checked ~ .sc-panels .p-upsells, #sc-bundles:checked ~ .sc-panels .p-bundles,
#sc-cart:checked ~ .sc-panels .p-cart, #sc-testing:checked ~ .sc-panels .p-testing, #sc-analytics:checked ~ .sc-panels .p-analytics, #sc-style:checked ~ .sc-panels .p-style { display: grid; animation: panel-in 0.24s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sc-copy h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; }
.sc-copy p { color: var(--muted); }
.sc-panel .frame { box-shadow: var(--shadow); }
/* Widget-sized images: shown at most at their own size, never stretched. */
.sc-widget { max-width: 560px; justify-self: center; width: 100%; }
.sc-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: start; }
@media (max-width: 640px) { .sc-duo { grid-template-columns: 1fr; } }

/* Customization */
.warm { background: var(--cream); }
.style-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin: 0 0 var(--s7); padding: 0; list-style: none; align-items: start; }
.style-gallery figure { margin: 0; }
.style-gallery figcaption { padding: 10px 14px; font-size: 0.88rem; font-weight: 650; color: var(--ink); border-top: 1px solid var(--line-cool); background: #fff; }
.custom-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s7); align-items: center; }
.custom-points li { margin-bottom: var(--s3); }
@media (max-width: 1000px) { .style-gallery { grid-template-columns: repeat(2, 1fr); } .custom-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .style-gallery { grid-template-columns: 1fr; } }
.checks { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 0.97rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23B93F12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
@media (max-width: 900px) {
  .sc-panel { grid-template-columns: 1fr; gap: var(--s5); padding: var(--s5); border-radius: var(--radius-lg); }
}
@media (max-width: 640px) {
  .sc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 18px; gap: 4px; }
  .sc-tabs label { padding: 9px 4px; text-align: center; font-size: 0.86rem; border-radius: 12px; }
  .sc-panel { padding: var(--s4); }
}

/* Feature cards (Quick actions language: icon tile, title, one line) */
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.feature-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease; }
.feature-grid li:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #f1dccb; }
.feature-grid h3 { font-size: 1.05rem; margin: var(--s4) 0 var(--s1); }
.feature-grid p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.acc-violet .ico { background: var(--acc-violet-bg); color: var(--acc-violet); }
.acc-teal .ico { background: var(--acc-teal-bg); color: var(--acc-teal); }
.acc-rose .ico { background: var(--acc-rose-bg); color: var(--acc-rose); }
.acc-blue .ico { background: var(--acc-blue-bg); color: var(--acc-blue); }
.acc-green .ico { background: var(--acc-green-bg); color: var(--acc-green); }
.acc-amber .ico { background: var(--acc-amber-bg); color: var(--acc-amber); }
.acc-slate .ico { background: var(--acc-slate-bg); color: var(--acc-slate); }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; gap: var(--s3); }
  .feature-grid li { display: grid; grid-template-columns: 42px 1fr; column-gap: var(--s4); padding: var(--s4); }
  .feature-grid .ico { grid-row: span 2; }
  .feature-grid h3 { margin: 0 0 2px; }
}

/* Analytics / value */
.value-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s8); align-items: center; }
.metrics { margin: var(--s5) 0 var(--s4); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s5); }
.metrics div { padding-top: var(--s3); border-top: 2px solid var(--orange-soft); }
.metrics dt { font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.metrics dd { margin: 0; font-size: 0.94rem; color: var(--muted); line-height: 1.5; }
.fineprint { font-size: 0.86rem; color: var(--muted); margin: 0; }
.value-stage { position: relative; }
.value-plan { width: 58%; margin: -20px 0 0 -40px; box-shadow: 0 2px 6px rgba(32, 35, 43, 0.06), 0 30px 70px rgba(32, 35, 43, 0.18); }
@media (max-width: 1000px) {
  .value-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .value-plan { margin-left: 0; }
}
@media (max-width: 640px) {
  .metrics { grid-template-columns: 1fr; }
  .value-plan { width: 100%; margin: var(--s4) 0 0; }
}

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin: 0; padding: 0; }
.steps li { position: relative; padding: var(--s5) var(--s5) var(--s5) 0; border-top: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin: calc(-1 * var(--s5) - 20px) 0 var(--s4); border-radius: 50%; background: var(--orange); color: var(--ink); font-weight: 800; box-shadow: 0 0 0 6px #fff; }
.steps h3 { margin-bottom: var(--s2); }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: var(--s6); } }

/* Pricing */
.included { max-width: 980px; margin: 0 auto var(--s6); padding: var(--s5); border-radius: var(--radius-lg); background: linear-gradient(135deg, #fff 0%, #fff3ea 100%); border: 1px solid var(--orange-soft); text-align: center; }
.included-title { margin: 0 0 var(--s4); font-weight: 700; color: var(--ink); }
.included-badge { display: inline-block; margin-right: 8px; padding: 3px 12px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.02em; }
.included ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.included li { position: relative; padding-left: 26px; font-weight: 600; font-size: 0.95rem; color: var(--text); }
.included li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23B93F12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; border: 1px solid var(--orange-soft); }
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s4); }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); transition: transform 0.2s var(--ease), box-shadow 0.2s ease; }
.plan:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.plan h3 { margin: 0; font-size: 1.05rem; }
.plan p { margin: 0; }
.price { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.price small { font-size: 0.88rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.limit { font-size: 0.93rem; color: var(--muted); line-height: 1.45; }
.limit strong { color: var(--ink); }
.plan-tag { margin-top: auto !important; padding-top: var(--s3); font-size: 0.8rem; font-weight: 700; color: var(--orange-text); }
.plan-tag::before { content: ""; display: block; width: 100%; margin-bottom: var(--s3); border-top: 1px solid var(--line); }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .plan { padding: var(--s4); }
  .plan:first-child { grid-column: 1 / -1; }
  .price { font-size: 1.6rem; }
}
.usd-note { text-align: center; margin: var(--s5) auto 0; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.pricing-facts { max-width: 820px; margin: var(--s5) auto 0; padding-left: 1.2em; color: var(--muted); font-size: 0.95rem; }
.pricing-facts li { margin-bottom: 6px; }
.billing-details, .faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.billing-details { max-width: 820px; margin: var(--s4) auto 0; padding: var(--s4) var(--s5); }
.billing-details summary, .faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); }
.billing-details summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.billing-details summary::after, .faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); font-size: 1.15rem; line-height: 1; color: var(--orange-text); transition: transform 0.2s var(--ease); }
.billing-details[open] summary::after, .faq details[open] summary::after { content: "–"; }
.billing-details ul { margin: var(--s3) 0 0; padding-left: 1.2em; color: var(--muted); font-size: 0.95rem; }
.billing-details li { margin-bottom: 6px; }

/* Trust */
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.trust li { position: relative; padding: var(--s5) var(--s5) var(--s5) 64px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.trust li::before { content: ""; position: absolute; left: var(--s5); top: 26px; width: 26px; height: 26px; border-radius: 8px; background: var(--orange-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23B93F12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.trust h3 { font-size: 1.04rem; margin-bottom: var(--s1); }
.trust p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; gap: var(--s3); } .trust li { padding: var(--s4) var(--s4) var(--s4) 56px; } .trust li::before { left: var(--s4); top: 18px; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: var(--s2); }
.faq details { padding: var(--s4) var(--s5); }
.faq details p { margin: var(--s3) 0 0; color: var(--muted); }

/* Final CTA */
.final-section { padding-top: var(--s8); }
.final { position: relative; overflow: hidden; text-align: center; border-radius: var(--radius-xl); padding: var(--s8) var(--s6); border: 1px solid var(--orange-soft); background:
  radial-gradient(700px 300px at 50% 0%, #ffe3d2 0%, rgba(255, 227, 210, 0) 70%),
  linear-gradient(180deg, #fff7f1 0%, #ffffff 100%); }
.final-mark { width: 56px; height: 56px; margin: 0 auto var(--s5); }
.final .lead { margin: 0 auto; font-size: 1.2rem; }
@media (max-width: 560px) { .final { padding: var(--s7) var(--s4); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: var(--s8) 0 var(--s5); font-size: 0.93rem; color: var(--muted); background: var(--canvas); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s6); }
.footer-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 0 0 var(--s3); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--orange-text); text-decoration: underline; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-blurb { margin: var(--s4) 0 0; max-width: 300px; }
.footer-legal { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); font-size: 0.86rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Gentle reveal while scrolling, only where scroll-driven animations exist; content is
   fully visible without them. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pillars li, .feature-grid li, .trust li, .plan, .steps li, .value-stage, .sc-panels {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 30%;
    }
    @keyframes reveal { from { opacity: 0.35; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  }
}

/* Document pages (legal, support) */
.doc-hero { padding: var(--s8) 0 var(--s7); background: radial-gradient(800px 320px at 20% -20%, #ffe9db 0%, rgba(255, 233, 219, 0) 70%), var(--canvas); border-bottom: 1px solid #f6ebe0; }
.doc-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); letter-spacing: -0.03em; margin-bottom: var(--s3); }
.doc-hero .doc-meta { color: var(--muted); font-size: 0.96rem; max-width: 760px; }
.doc-hero .doc-meta p { margin: 0 0 4px; }
.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: var(--s8); padding-top: var(--s7); padding-bottom: var(--s9); }
.toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; padding-right: var(--s2); font-size: 0.9rem; }
.toc-title { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 0 0 var(--s3); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc li a:hover { color: var(--ink); border-left-color: var(--orange); }
.toc-mobile { display: none; }
.doc { max-width: 760px; min-width: 0; }
.doc > :first-child { margin-top: 0; }
.doc h2 { font-size: 1.4rem; margin-top: var(--s7); padding-top: var(--s2); }
.doc h3 { margin-top: var(--s5); }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: separate; border-spacing: 0; margin: var(--s4) 0 var(--s5); font-size: 0.92rem; display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; min-width: 120px; }
.doc tr:last-child td { border-bottom: 0; }
.doc th { background: var(--cream); color: var(--ink); font-weight: 700; }
.doc tbody tr:nth-child(even) td { background: #fffcf9; }
.doc code { font-size: 0.9em; background: var(--cream); padding: 1px 5px; border-radius: 4px; }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: 1fr; gap: var(--s5); padding-top: var(--s5); }
  .toc { display: none; }
  .toc-mobile { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: var(--s3) var(--s4); font-size: 0.93rem; }
  .toc-mobile summary { display: flex; justify-content: space-between; align-items: center; min-height: 32px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary::after { content: "+"; color: var(--orange-text); font-size: 1.2rem; }
  .toc-mobile[open] summary::after { content: "–"; }
  .toc-mobile ol { list-style: none; margin: var(--s3) 0 0; padding: 0; }
  .toc-mobile li a { display: block; padding: 8px 0; color: var(--text); text-decoration: none; border-top: 1px solid var(--line); }
}
.doc-single { max-width: 820px; margin: 0 auto; padding: var(--s7) var(--gutter) var(--s9); }

/* Support */
.support-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.topics a { display: block; height: 100%; padding: var(--s5); border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease; }
.topics a:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #f1dccb; color: var(--text); }
.topics strong { display: block; color: var(--ink); font-size: 1.04rem; margin: var(--s3) 0 var(--s1); }
.topics span:last-child { font-size: 0.93rem; color: var(--muted); }
.topics-section { padding: var(--s7) 0 0; }
@media (max-width: 900px) { .topics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .topics { grid-template-columns: 1fr; gap: var(--s3); } }

.draft-banner { background: #fff1e6; border: 1px solid var(--orange-soft); color: #7a2e17; border-radius: var(--radius); padding: var(--s4) var(--s5); margin-bottom: var(--s6); font-size: 0.95rem; }
.placeholder { background: #fff4ef; color: #7a2e17; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.showcase + .fineprint, .custom-grid + .fineprint { margin-top: var(--s5); }
.custom-grid > *, .sc-duo > *, .value-grid > * { min-width: 0; }
/* Phones: the Storefront style screenshot is shown whole, scaled to the column (no sideways scroll). */
@media (max-width: 640px) {
  .custom-editor .crop { overflow: visible; }
  .custom-editor .crop img { width: 100%; max-width: 100%; height: auto; }
}
@media (max-width: 360px) { .plans { grid-template-columns: 1fr; } }
/* App Store buttons outside the header row: mobile menu, pricing */
.nav-menu li.nav-menu-cta { margin-top: var(--s2); }
.nav-menu li a.btn { display: flex; padding: 0 16px; color: var(--ink); }
.nav-menu li a.btn:hover, .nav-menu li a.btn:focus-visible { color: var(--ink); background: var(--orange-hover); }
.pricing-cta { justify-content: center; margin: var(--s6) 0 var(--s4); }
