/* Weborite Studio website.
 * Brand colours live in the first block: swap them for weborite.com's palette and everything follows. */
:root {
  --brand: #a36566;        /* primary: buttons, links, highlights */
  --brand-deep: #8a4f51;   /* hover */
  --brand-ink: #7a4546;    /* brand text on light */
  --night: #21121a;        /* hero and footer background */
  --night-2: #2f1a24;      /* raised surfaces on dark */
  --blush: #f7eeee;        /* tinted sections */
  --sand: #fbf6f1;
  --coral: #ef8f6f;        /* second accent for the closing block */

  --bg: #ffffff;
  --text: #17121a;
  --text-2: #4d4550;
  --muted: #7b7280;
  --line: #ece6ea;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .72);
  --good: #2f8a57;
  --shadow-lg: 0 40px 80px -30px rgba(33, 18, 26, .45), 0 12px 30px -12px rgba(33, 18, 26, .25);
  --shadow: 0 1px 2px rgba(33, 18, 26, .06), 0 10px 30px -14px rgba(33, 18, 26, .22);

  --display: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  color-scheme: light;
}

*, *::before, *::after { 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(--bg); color: var(--text); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }
@media (max-width: 640px) { .wrap { padding-inline: 20px; } }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; border: 1.5px solid transparent; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-deep); }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: var(--blush); }
.btn-ghost-dark { color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-dark:hover { border-color: #fff; }
.btn-ghost { color: var(--text); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--text-2); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--brand-ink); display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--brand); color: #fff; text-align: center; font-size: 14px; padding: 10px 16px; }
.announce a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.site-head { position: relative; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; gap: 36px; height: 80px; }
.site-head.dark { background: var(--night); color: #fff; }
.site-head:not(.dark) { border-bottom: 1px solid var(--line); background: #fff; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 23px; height: auto; }
.nav { display: flex; gap: 30px; font-size: 15.5px; font-weight: 500; }
.nav a { text-decoration: none; opacity: .82; }
.nav a:hover { opacity: 1; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 15.5px; font-weight: 500; }
.head-actions > a:not(.btn) { text-decoration: none; opacity: .82; }
@media (max-width: 900px) { .nav, .head-actions > a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--night); color: #fff; padding-block: 56px 0; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% 30%; height: 90%; background: radial-gradient(closest-side, rgba(163, 101, 102, .55), transparent); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--on-dark-2); }
.pill b { color: #fff; font-weight: 600; }
.hero h1 { font-size: clamp(40px, 5vw, 66px); margin-top: 24px; }
.hero-sub { margin-top: 24px; font-size: 19px; color: var(--on-dark-2); max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .55); }
.hero-shot { margin-right: -180px; }
.window { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); }
.window-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding-inline: 14px; background: #f3eff1; border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ddd5da; }
.window-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.works { margin-top: 72px; padding-block: 28px 36px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.works p { font-size: 14px; color: rgba(255, 255, 255, .55); }
.works ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.works li { font: 700 19px/1 var(--display); letter-spacing: -.02em; color: rgba(255, 255, 255, .8); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-shot { margin-right: 0; } }

/* ---------- Section scaffolding ---------- */
.section { padding-block: 120px; }
.section.tight { padding-block: 88px; }
.section.blush { background: var(--blush); }
.section.sand { background: var(--sand); }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--brand-ink); margin-bottom: 18px; }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.split-head h2, .center-head h2 { font-size: clamp(36px, 4.6vw, 60px); }
.split-head p { font-size: 18px; color: var(--text-2); max-width: 34em; }
.center-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.center-head p { margin-top: 20px; font-size: 18px; color: var(--text-2); }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } .section { padding-block: 80px; } }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.intro-text { font: 600 clamp(24px, 2.6vw, 32px)/1.3 var(--display); letter-spacing: -.02em; }
.intro-text span { color: var(--muted); }
.checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; font-weight: 500; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3 9.6 14.3 15.5 8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 480px) { .checks { grid-template-columns: 1fr; } }

/* ---------- Showcase panels ---------- */
.panel { position: relative; border-radius: 28px; padding: 64px 64px 0; overflow: hidden; }
.panel.g1 { background: linear-gradient(135deg, #f3c9bd 0%, #d99a9b 45%, #a36566 100%); }
.panel.g2 { background: linear-gradient(135deg, #2f1a24 0%, #6b3a45 55%, #c47d73 100%); }
.panel.g3 { background: linear-gradient(135deg, #fbe3d3 0%, #f2b8a2 50%, #d98b8c 100%); padding-bottom: 64px; }
.panel .window { max-width: 1040px; margin-inline: auto; border-radius: 16px 16px 0 0; border-bottom: 0; }
@media (max-width: 700px) { .panel { padding: 28px 20px 0; border-radius: 20px; } .panel.g3 { padding-bottom: 28px; } }

.float-card { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px 22px; font-size: 14px; color: var(--text); }
.float-card h4 { font: 700 15px/1.2 var(--display); letter-spacing: -.01em; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 12px; }
.float-card h4 span { font: 600 12px var(--body); color: var(--good); background: #e5f3ea; padding: 3px 9px; border-radius: 999px; }
.float-card ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.float-card li { display: flex; gap: 10px; align-items: center; color: var(--text-2); }
.float-card li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.2 7.8 11.6 12.8 6.6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.gate-card { right: 40px; top: 50%; transform: translateY(-50%); width: 270px; z-index: 1; }
#pitch .carousel { max-width: 790px; margin-left: 0; }
@media (max-width: 1100px) { .gate-card { position: relative; right: auto; top: auto; transform: none; width: auto; margin: 0 auto 24px; max-width: 420px; } #pitch .carousel { max-width: 1040px; margin-inline: auto; } }

/* WordPress panel: UI cards drawn in HTML */
.ui-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; max-width: 1040px; margin-inline: auto; align-items: start; }
.ui-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 26px; font-size: 14.5px; }
.ui-card h4 { font: 700 18px/1.2 var(--display); letter-spacing: -.02em; }
.ui-card .sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.steps-ui { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 4px; }
.steps-ui li { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.steps-ui li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3 9.6 14.3 15.5 8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; }
.steps-ui li.run::before { background: conic-gradient(var(--brand) 0 65%, var(--line) 65% 100%); -webkit-mask: radial-gradient(circle, transparent 6px, #000 7px); mask: radial-gradient(circle, transparent 6px, #000 7px); }
.steps-ui li b { font-weight: 600; }
.steps-ui li span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.pay-list { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 10px; }
.pay-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; }
.toggle { width: 38px; height: 22px; border-radius: 999px; background: var(--brand); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.meter { margin-top: 18px; }
.meter div { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.meter div i { display: block; height: 100%; width: 74%; background: var(--brand); border-radius: 99px; }
.meter p { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .ui-grid { grid-template-columns: 1fr; } }

/* ---------- Feature grids ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 48px; margin-top: 72px; }
.feature { display: grid; gap: 10px; align-content: start; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blush); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: 8px; }
.section.blush .feature .ico { background: #fff; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 22px; letter-spacing: -.02em; }
.feature p { color: var(--text-2); font-size: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; margin-top: 48px; } }

/* Retention cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: 22px; padding: 32px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow); }
.card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--night); color: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 24px; }
.card p { color: var(--text-2); font-size: 16px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- How it works (dark block) ---------- */
.how { background: var(--night); color: #fff; border-radius: 32px; padding: 80px 64px; position: relative; overflow: hidden; }
.how::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(239, 143, 111, .35), transparent); pointer-events: none; }
.how h2 { font-size: clamp(34px, 4.2vw, 54px); max-width: 16em; position: relative; }
.how > p { margin-top: 18px; color: var(--on-dark-2); max-width: 36em; font-size: 18px; position: relative; }
.flow { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; position: relative; }
.flow li { counter-increment: step; background: var(--night-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; padding: 28px; display: grid; gap: 8px; align-content: start; }
.flow li::before { content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 16px/36px var(--display); text-align: center; margin-bottom: 8px; }
.flow b { font: 700 21px/1.2 var(--display); letter-spacing: -.02em; }
.flow span { color: var(--on-dark-2); font-size: 15.5px; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .how { padding: 56px 28px; border-radius: 24px; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* ---------- Requirements ---------- */
.reqs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.req { display: grid; gap: 10px; }
.req .num { font: 700 15px/1 var(--display); color: var(--brand-ink); }
.req h3 { font-size: 24px; }
.req p { color: var(--text-2); font-size: 16px; }
@media (max-width: 800px) { .reqs { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin-inline: auto; align-items: stretch; }
.plan { background: #fff; border-radius: 26px; padding: 40px; display: flex; flex-direction: column; gap: 22px; border: 1px solid var(--line); }
.plan.main { background: var(--night); color: #fff; border-color: var(--night); box-shadow: var(--shadow-lg); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { font-size: 26px; }
.plan .tag { font-size: 13px; font-weight: 600; background: var(--brand); color: #fff; padding: 5px 12px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price b { font: 700 60px/1 var(--display); letter-spacing: -.04em; }
.price span { font-size: 16px; opacity: .7; }
.plan .alt { font-size: 15px; color: var(--text-2); margin-top: -10px; }
.plan.main .alt { color: var(--on-dark-2); }
.plan ul { list-style: none; padding: 0; display: grid; gap: 12px; font-size: 16px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3 9.6 14.3 15.5 8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.plan .btn { width: 100%; margin-top: auto; }
.limits { width: 100%; border-collapse: collapse; font-size: 15px; }
.limits td { padding: 9px 0; border-top: 1px solid var(--line); color: var(--text-2); }
.limits td:last-child { text-align: right; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.fine { text-align: center; font-size: 14.5px; color: var(--muted); margin: 28px auto 0; max-width: 720px; }
.fine a { color: var(--brand-ink); }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } .plan { padding: 30px 24px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.faq-grid h2 { font-size: clamp(36px, 4.4vw, 56px); }
.faq-grid .aside p { margin-top: 20px; color: var(--text-2); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 44px 24px 0; font: 600 19px/1.35 var(--display); letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 26px; width: 22px; height: 22px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6.5v9M6.5 11h9' stroke='%237a4546' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/22px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--text-2); max-width: 62ch; }
.faq a { color: var(--brand-ink); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Closing block ---------- */
.closer { background: linear-gradient(120deg, var(--coral), #d8797b 60%, var(--brand)); color: #fff; border-radius: 32px; padding: 72px 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.closer h2 { font-size: clamp(34px, 4.4vw, 58px); }
.closer p { margin-top: 16px; font-size: 18px; opacity: .92; max-width: 34em; }
@media (max-width: 800px) { .closer { grid-template-columns: 1fr; padding: 48px 28px; border-radius: 24px; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--night); color: #fff; padding-block: 88px 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.foot-top h2 { font-size: clamp(26px, 2.6vw, 34px); max-width: 14em; }
.foot-top .btn { margin-top: 28px; }
.foot-col h4 { font: 600 14px/1 var(--body); color: rgba(255, 255, 255, .5); margin-bottom: 18px; }
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 12px; font-size: 15.5px; }
.foot-col a { text-decoration: none; color: rgba(255, 255, 255, .85); }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .55); }
.foot-bottom a { color: inherit; }
@media (max-width: 900px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { padding-block: 72px 96px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(40px, 5vw, 60px); }
.legal .updated { margin-top: 14px; color: var(--muted); font-size: 15px; }
.legal .summary { margin-top: 32px; background: var(--blush); border-radius: 18px; padding: 22px 24px; font-size: 16.5px; }
.legal h2 { font-size: 26px; margin-top: 48px; letter-spacing: -.025em; }
.legal h3 { font-size: 19px; margin-top: 28px; letter-spacing: -.015em; }
.legal p, .legal li { color: var(--text-2); max-width: 68ch; font-size: 16.5px; }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--brand-ink); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-top: 1px solid var(--line); color: var(--text-2); }
.legal th { color: var(--text); font-weight: 600; }
.legal .eyebrow { margin-bottom: 14px; }
.table-scroll { overflow-x: auto; }
@media (max-width: 480px) { .pill-extra { display: none; } }

/* ---------- Feature tabs (list left, illustrated pane right) ---------- */
.tabs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: stretch; }
.tab-list { display: grid; align-content: start; }
.tab { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; column-gap: 6px; padding: 22px 18px; border-top: 1px solid var(--line); border-radius: 0; transition: background .2s, border-color .2s; }
.tab:last-child { border-bottom: 1px solid var(--line); }
.tab-num { font: 600 12px/1 var(--display); color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.tab-title { font: 600 20px/1.3 var(--display); letter-spacing: -.03em; color: var(--text); transition: color .2s; }
.tab-arrow { color: var(--brand-ink); font-size: 18px; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.tab-text { grid-column: 1 / -1; font-size: 15.5px; line-height: 1.6; color: var(--text-2); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .25s ease, margin .25s; }
.tab-text b { color: var(--text); font-weight: 600; }
.tab:hover .tab-title { color: var(--brand-ink); }
.tab[aria-selected="true"] { background: var(--sand); border-color: transparent; border-radius: 16px; }
.tab[aria-selected="true"] + .tab { border-top-color: transparent; }
.tab[aria-selected="true"] .tab-arrow { opacity: 1; transform: none; }
.tab[aria-selected="true"] .tab-text { max-height: 12em; opacity: 1; margin-top: 12px; }
.tab:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; border-radius: 16px; }

.tab-panes { position: relative; min-height: 520px; }
.pane { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; display: grid; place-items: center; padding: 40px; animation: pane-in .35s ease; }
@keyframes pane-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.p-mint { background: #e8f6ee; }
.p-sand { background: #f4eeee; }
.p-rose { background: #ffe6e2; }
.p-yellow { background: #fff5d6; }
.p-blue { background: #e4f1ff; }
.p-dark { background: radial-gradient(90% 80% at 100% 100%, #6b3a45, var(--night) 70%); }

.note { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: 14px; min-width: 0; }
.note div { display: grid; min-width: 0; flex: 1; }
.note b { font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note em { font-style: normal; font: 700 12px/1 var(--body); padding: 6px 9px; border-radius: 999px; background: var(--sand); color: var(--text-2); white-space: nowrap; }
.note em.hot, .note em.ok { background: #d9fbe3; color: #0b6e2c; }
.note em.warn { background: #fff0cc; color: #8a5a00; }
.av { width: 36px; height: 36px; border-radius: 10px; background: var(--sand); display: grid; place-items: center; font-weight: 700; flex: none; }
.av.ok { background: #d9fbe3; color: #0b6e2c; }
.av.warn { background: #fff0cc; color: #8a5a00; }

.map { position: absolute; inset: 0; background-image: radial-gradient(#a9d9bd 1.4px, transparent 1.6px); background-size: 18px 18px; -webkit-mask: radial-gradient(70% 60% at 50% 50%, #000 40%, transparent 75%); mask: radial-gradient(70% 60% at 50% 50%, #000 40%, transparent 75%); }
.map i { position: absolute; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--text-2); box-shadow: 0 6px 12px -4px rgba(0, 0, 0, .3); }
.map i.hot { background: var(--brand-deep); }
.p-mint .note { position: absolute; width: min(340px, 78%); }
.p-mint .n1 { top: 16%; right: 8%; }
.p-mint .n2 { top: 44%; left: 7%; }
.p-mint .n3 { bottom: 14%; right: 12%; }

.score-card { width: min(440px, 100%); }
.score-top { display: flex; gap: 16px; align-items: center; }
.ring { --v: 0; width: 72px; height: 72px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--brand-deep) calc(var(--v) * 1%), var(--line) 0); }
.ring b { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 700 22px var(--display); letter-spacing: -.03em; }
.grade { color: #0b6e2c; font-weight: 700; }
.reasons { list-style: none; padding: 0; margin-top: 18px; display: grid; }
.reasons li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.reasons b { color: #0b6e2c; font-variant-numeric: tabular-nums; }

.pane-window { width: 100%; border: 0; }
.stack { display: grid; gap: 14px; width: min(420px, 100%); }

.campaign { width: min(420px, 100%); }
.prompt { font: 600 18px/1.35 var(--display); letter-spacing: -.02em; display: grid; gap: 6px; }
.prompt span { font: 600 12px/1 var(--body); color: var(--muted); letter-spacing: .02em; }
.items { list-style: none; padding: 0; margin-top: 16px; display: grid; }
.items li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.items em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.items em.ok { color: #0b6e2c; }
.items em.run { color: #8a5a00; }

.switches { width: min(440px, 100%); display: grid; gap: 0; padding: 8px 24px; }
.sw { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.sw:first-child { border-top: 0; }
.sw .toggle { margin-top: 2px; background: var(--brand-deep); }
.sw b { font-weight: 700; font-size: 15px; }
.sw p { font-size: 14px; color: var(--text-2); margin-top: 3px; }

@media (max-width: 960px) {
  .tabs { grid-template-columns: 1fr; gap: 28px; }
  .tab-panes { min-height: 440px; }
  .pane { padding: 24px; border-radius: 22px; }
}
@media (max-width: 480px) { .p-mint .note { width: 86%; } .p-mint .n1 { right: 4%; } .p-mint .n2 { left: 4%; } .p-mint .n3 { right: 4%; } }

/* ---------- Carousels: slides in a window frame, a frosted-glass pill to switch ---------- */
.carousel { position: relative; max-width: 1040px; margin-inline: auto; }
.panel .carousel .window { border-radius: 16px 16px 0 0; border-bottom: 0; }
.car-view { overflow: hidden; aspect-ratio: 16 / 10; background: #f3eff1; touch-action: pan-y; }
.panel.g2 .car-view, .carousel.compact .car-view { aspect-ratio: 4 / 3; }
.car-track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.22, .8, .24, 1); }
.car-slide { flex: 0 0 100%; margin: 0; height: 100%; }
.car-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.car-pill { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 2px; padding: 5px; max-width: calc(100% - 24px); border-radius: 999px;
  background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .65); box-shadow: 0 12px 32px -12px rgba(23, 18, 26, .45), inset 0 1px 0 rgba(255, 255, 255, .85); }
.car-pill button { all: unset; box-sizing: border-box; cursor: pointer; position: relative; overflow: hidden; flex: none; height: 36px; padding: 0 16px; border-radius: 999px; display: grid; place-items: center;
  font: 500 14px/1 var(--body); color: rgba(23, 18, 26, .72); white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s, width .3s; }
.car-pill button:hover { color: var(--text); background: rgba(255, 255, 255, .45); }
.car-pill button:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.car-pill .car-tab[aria-selected="true"] { background: rgba(255, 255, 255, .92); color: var(--text); box-shadow: 0 2px 10px -2px rgba(23, 18, 26, .25); }
.car-pill .car-tab::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.carousel.run .car-tab[aria-selected="true"]::after { animation: car-progress var(--car-dur, 5s) linear forwards; }
.carousel.paused .car-tab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes car-progress { to { transform: scaleX(1); } }
.car-pill .car-arrow { width: 36px; padding: 0; color: var(--text); }
.car-pill .car-arrow svg { width: 16px; height: 16px; }

/* Compact: dots that stretch into a progress pill (narrow spaces and phones) */
.carousel.compact .car-pill, .carousel.tight .car-pill { gap: 6px; padding: 6px 10px; background: rgba(255, 255, 255, .74); }
.carousel.compact .car-tab, .carousel.tight .car-tab { width: 8px; height: 8px; padding: 0; font-size: 0; background: rgba(23, 18, 26, .28); }
.carousel.compact .car-tab[aria-selected="true"], .carousel.tight .car-tab[aria-selected="true"] { width: 34px; background: rgba(23, 18, 26, .18); box-shadow: none; }
.carousel.compact .car-tab::after, .carousel.tight .car-tab::after { left: 0; right: 0; top: 0; bottom: 0; height: auto; border-radius: inherit; background: var(--text); }
.carousel.compact .car-tab:not([aria-selected="true"])::after, .carousel.tight .car-tab:not([aria-selected="true"])::after { display: none; }
.carousel.compact .car-arrow, .carousel.tight .car-arrow { width: 26px; height: 26px; }
.pane .carousel { width: 100%; }
.pane .carousel .window { border-radius: 14px; border-bottom: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .car-track { transition: none; } }

/* ---------- Sub-page hero (buy, demo) ---------- */
.page-hero { background: var(--night); color: #fff; padding-block: 64px 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(163, 101, 102, .5), transparent); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); margin-top: 22px; max-width: 16em; }
.page-hero .hero-sub { max-width: 36em; }
.crumbs { font-size: 14px; color: rgba(255, 255, 255, .55); }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Buy page ---------- */
.buy-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 32px; align-items: start; margin-top: -40px; position: relative; }
.buy-card { background: #fff; border-radius: 24px; padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.buy-card h2 { font-size: 24px; letter-spacing: -.025em; }
.buy-card h2 + p { color: var(--text-2); margin-top: 6px; font-size: 15.5px; }
.buy-step { display: grid; gap: 16px; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.buy-step:first-of-type { border-top: 0; margin-top: 28px; padding-top: 0; }
.buy-step h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; letter-spacing: -.02em; }
.buy-step h3 span { width: 26px; height: 26px; border-radius: 50%; background: var(--night); color: #fff; font: 700 13px/26px var(--display); text-align: center; flex: none; }
.choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: grid; gap: 4px; padding: 18px 18px 16px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.choice:hover { border-color: #d9c9cb; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--blush); box-shadow: 0 0 0 3px rgba(163, 101, 102, .14); }
.choice:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.choice b { font: 700 16px/1.2 var(--display); letter-spacing: -.015em; }
.choice .amt { font: 700 26px/1.1 var(--display); letter-spacing: -.03em; margin-top: 6px; }
.choice .amt small { font: 500 14px var(--body); color: var(--muted); letter-spacing: 0; }
.choice span { font-size: 13.5px; color: var(--text-2); }
.choice .save { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 700; color: #fff; background: var(--brand); padding: 3px 9px; border-radius: 999px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field.full { grid-column: 1 / -1; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { font: 400 16px var(--body); color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(163, 101, 102, .16); }
.field [aria-invalid="true"] { border-color: #c24b4b; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-2); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.agree a { color: var(--brand-ink); }
.form-err { color: #b23a3a; background: #fbeaea; border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.buy-submit { margin-top: 24px; display: grid; gap: 12px; }
.buy-submit .btn { width: 100%; height: 56px; font-size: 17px; }
.buy-submit p { font-size: 13.5px; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { position: sticky; top: 24px; display: grid; gap: 16px; }
.sum-card { background: var(--night); color: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); }
.sum-card h3 { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .6); font-family: var(--body); letter-spacing: 0; }
.sum-plan { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.sum-plan b { font: 700 22px var(--display); letter-spacing: -.02em; }
.sum-plan span { font: 700 34px var(--display); letter-spacing: -.03em; }
.sum-card .per { color: rgba(255, 255, 255, .6); font-size: 14px; text-align: right; }
.sum-card ul { list-style: none; padding: 20px 0 0; margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.sum-card li { display: flex; gap: 10px; }
.sum-card li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3 9.6 14.3 15.5 8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.next-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.next-card h3 { font-size: 18px; letter-spacing: -.02em; }
.next { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 16px; counter-reset: n; }
.next li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 15px; color: var(--text-2); }
.next li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; background: var(--blush); color: var(--brand-ink); font: 700 14px/30px var(--display); text-align: center; }
.next li b { color: var(--text); display: block; }
.done { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 20px 0; }
.done .tick { width: 64px; height: 64px; border-radius: 50%; background: #e3f3ea; color: var(--good); display: grid; place-items: center; }
.done .tick svg { width: 30px; height: 30px; }
.done h2 { font-size: 30px; }
.done p { color: var(--text-2); max-width: 30em; }
@media (max-width: 960px) { .buy-grid { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 600px) { .buy-card { padding: 24px 20px; } .fields, .choice-row, .choice-row.three { grid-template-columns: 1fr; } }

/* ---------- Demo page ---------- */
.dl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 34px; }
.dl-row .btn { height: 58px; padding: 0 30px; font-size: 17px; }
.dl-meta { font-size: 14px; color: rgba(255, 255, 255, .6); }
.allow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.allow div { background: #fff; border-radius: 20px; padding: 24px; display: grid; gap: 4px; box-shadow: var(--shadow); }
.allow b { font: 700 40px/1 var(--display); letter-spacing: -.04em; }
.allow span { color: var(--text-2); font-size: 15px; }
.allow small { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .allow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.install { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.install li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.install li::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 16px/38px var(--display); text-align: center; margin-bottom: 6px; }
.install h3 { font-size: 20px; }
.install p { color: var(--text-2); font-size: 15px; }
.install code { font-size: 13.5px; background: var(--blush); padding: 2px 6px; border-radius: 6px; }
@media (max-width: 1000px) { .install { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .install { grid-template-columns: 1fr; } }
