/* SitePe – colours sampled from the official logo (icon background): #641D95.
   Everything else is white / neutral grey, or the brand colour at reduced opacity. */
:root {
  --brand: #641D95;
  --brand-08: rgba(100, 29, 149, 0.08);
  --brand-16: rgba(100, 29, 149, 0.16);
  --white: #ffffff;
  --bg-alt: #f6f6f7;
  --ink: #1b1b1f;
  --muted: #55555d;
  --line: #e3e3e7;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.site-header :focus-visible, .final :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--brand); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: 0 6px 16px var(--brand-16); }
.btn-primary:hover { box-shadow: 0 10px 22px var(--brand-16); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand-08); }
.btn-light { background: var(--white); color: var(--brand); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--brand); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 34px; width: auto; }
.nav { display: none; align-items: center; gap: 28px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }
.nav .btn-light { color: var(--brand); min-height: 42px; padding: 0 20px; }
.menu-btn { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-content: center; gap: 5px; cursor: pointer; border-radius: 10px; }
.menu-btn:focus-visible { outline-color: var(--white); }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 68px; left: 0; right: 0; background: var(--brand); padding: 8px 20px 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.nav.open a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.nav.open .btn { margin-top: 16px; min-height: 48px; }

/* Sections */
.section { padding: 72px 0; }
.alt { background: var(--bg-alt); }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); margin-bottom: 16px; }
h3 { font-size: 1.15rem; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.2rem); color: var(--muted); margin-top: 8px; }

/* Hero */
.hero { padding: 48px 0 64px; background: var(--white); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); margin-bottom: 16px; }
.hero .lead { margin-bottom: 28px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { flex: 1 1 200px; }
.center-row { justify-content: center; margin-top: 28px; }
.center-row .btn { flex: 0 1 auto; }
.price-line { margin-top: 20px; color: var(--muted); }
.price-line strong { color: var(--ink); font-size: 1.15rem; }

.hero-visual { margin: 0; }
.hero-visual figcaption { margin-top: 14px; font-size: 0.85rem; color: var(--muted); text-align: center; }
.browser { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding-bottom: 8px; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-bar .url { margin-left: 10px; flex: 1; background: var(--bg-alt); border-radius: 999px; padding: 3px 12px; font-size: 0.75rem; color: var(--muted); }
.browser-body { padding: 16px; display: grid; gap: 16px; }
.m-nav { display: flex; align-items: center; gap: 10px; }
.m-nav b { color: var(--brand); margin-right: auto; font-size: 0.95rem; }
.m-nav span { width: 34px; height: 6px; border-radius: 4px; background: var(--line); }
.m-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; }
.m-text { display: grid; gap: 8px; }
.line { height: 8px; border-radius: 4px; background: var(--line); }
.line.dark { height: 12px; background: var(--ink); }
.w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.m-btn { width: 76px; height: 24px; border-radius: 999px; background: var(--brand); margin-top: 6px; }
.m-photo { aspect-ratio: 1; border-radius: 12px; background: var(--brand-16); }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-cards div { height: 56px; border-radius: 10px; background: var(--brand-08); border: 1px solid var(--brand-16); }
.phone { position: absolute; right: -8px; bottom: -20px; width: 28%; min-width: 96px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 10px; display: grid; gap: 7px; }
.p-top { width: 30%; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 2px; }
.p-photo { aspect-ratio: 4/3; border-radius: 8px; background: var(--brand-16); }
.phone .m-btn { width: 100%; height: 18px; }

/* Steps */
.steps { display: grid; gap: 20px; margin: 40px 0; counter-reset: s; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 800; margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Cards */
.cards { display: grid; gap: 18px; margin-top: 40px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--brand-08); stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); }

/* Examples */
.examples { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
.examples p { margin-top: 10px; font-weight: 600; text-align: center; }
.mini { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.mini-bar { height: 22px; background: var(--brand); }
.mini-hero { height: 78px; margin: 10px; border-radius: 8px; background: var(--brand-16); }
.mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 10px 10px; }
.mini-row i { height: 30px; border-radius: 6px; background: var(--brand-08); border: 1px solid var(--brand-16); }

/* Pricing */
.price-card { margin-top: 32px; background: var(--white); border: 2px solid var(--brand); border-radius: 22px; padding: 32px 24px; box-shadow: var(--shadow); text-align: left; }
.price-cols { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: center; margin-bottom: 24px; }
.amt { font-size: clamp(2.2rem, 8vw, 3.2rem); font-weight: 800; color: var(--brand); line-height: 1; }
.sub { color: var(--muted); margin-top: 6px; }
.plus { font-size: 2rem; color: var(--muted); }
.ticks { display: grid; gap: 12px; margin-bottom: 28px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 6px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Comparison */
.cmp-table { display: block; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr 1fr; }
.cmp-row > div { padding: 16px 20px; border-top: 1px solid var(--line); }
.cmp-head > div { border-top: 0; font-weight: 800; background: var(--bg-alt); }
.cmp-row [role="rowheader"] { font-weight: 600; }
.cmp-row .hl { background: var(--brand-08); color: var(--ink); font-weight: 600; }
.cmp-head .hl { background: var(--brand); color: var(--white); }
.cmp-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cmp-card.hl { border: 2px solid var(--brand); background: var(--brand-08); }
.cmp-card h3 { margin-bottom: 12px; }
.cmp-card dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-top: 12px; }
.cmp-card dd { margin: 2px 0 0; font-weight: 600; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-weight: 700; position: relative; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* Final CTA */
.final { background: var(--brand); color: var(--white); padding: 72px 0; }
.final h2 { color: var(--white); }
.final .lead { color: rgba(255, 255, 255, 0.9); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.82); padding: 56px 0 24px; }
.foot-grid { display: grid; gap: 32px; }
.site-footer img { height: 36px; width: auto; margin-bottom: 14px; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.site-footer a { display: block; color: rgba(255, 255, 255, 0.82); text-decoration: none; padding: 5px 0; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.9rem; }

/* Tablet and up */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .examples { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .price-card { padding: 40px; }
}
@media (min-width: 860px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .cta-row .btn { flex: 0 0 auto; }
  .section { padding: 96px 0; }
  .cmp-table { display: block; }
  }
@media (min-width: 1000px) {
  .examples { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Demo tiles + popup preview */
.mini > span, .mini-row > i { display: block; }
.mini { display: block; }
.ex-btn { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; text-align: center; border-radius: 12px; }
.ex-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.ex-thumb { position: relative; display: block; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.ex-btn:hover .ex-thumb { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); }
.ex-thumb .mini { height: 100%; border: 0; box-shadow: none; border-radius: 0; }
.ex-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ex-name { display: block; margin-top: 10px; font-weight: 700; }
.ex-cta { display: inline-block; margin-top: 2px; color: var(--brand); font-weight: 600; font-size: 0.92rem; }
.ex-btn:hover .ex-cta { text-decoration: underline; text-underline-offset: 4px; }

.demo { width: min(1180px, 96vw); height: min(840px, 92vh); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--white); color: var(--ink); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4); }
.demo[open] { display: flex; flex-direction: column; }
.demo::backdrop { background: rgba(0, 0, 0, 0.6); }
.demo-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 20px; background: var(--brand); color: var(--white); }
.demo-bar h2 { margin: 0; font-size: 1.05rem; letter-spacing: 0; color: var(--white); flex: 1; }
.demo-open { color: var(--brand); background: var(--white); text-decoration: none; font-weight: 700; font-size: 0.9rem; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.demo-open:focus-visible, .demo-close:focus-visible { outline-color: var(--white); }
.demo-close { all: unset; box-sizing: border-box; width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.8rem; line-height: 1; cursor: pointer; border-radius: 50%; color: var(--white); }
.demo-close:hover { background: rgba(255, 255, 255, 0.16); }
.demo-close:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.demo-status { padding: 8px 20px; font-size: 0.9rem; color: var(--muted); background: var(--bg-alt); }
.demo-status:empty { display: none; }
.demo iframe { flex: 1; width: 100%; border: 0; background: var(--white); }
.demo-help { padding: 8px 20px; font-size: 0.8rem; color: var(--muted); background: var(--bg-alt); border-top: 1px solid var(--line); }
@media (max-width: 639px) {
  .demo { width: 100vw; height: 100dvh; border-radius: 0; }
  .demo-open { padding: 8px 10px; font-size: 0.8rem; }
}

/* Hero illustration */
.hero-visual img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); }

/* ===== Modern theme (brand purple #641D95 + neutrals only) ===== */
:root { --brand-04: rgba(100, 29, 149, 0.04); --brand-24: rgba(100, 29, 149, 0.24); --white-12: rgba(255, 255, 255, 0.12); --white-24: rgba(255, 255, 255, 0.24); --ease: cubic-bezier(.2, .7, .2, 1); }
body { font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; }
h1, h2 { font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 5.2vw, 3.1rem); }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--brand-08); letter-spacing: 0.06em; }
.pill { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--white-12); border: 1px solid var(--white-24); color: var(--white); font-weight: 600; font-size: 0.88rem; margin-bottom: 20px; }

/* Buttons */
.btn { min-height: 52px; padding: 0 28px; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 1.05rem; }
.btn-primary:hover { box-shadow: 0 14px 30px var(--brand-24); }
.btn-light { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28); }
.btn span[aria-hidden] { margin-left: 8px; transition: transform .2s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }

/* Header: frosted brand purple */
.site-header { background: rgba(100, 29, 149, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--white-12); }
.nav.open { background: var(--brand); }

/* Hero on brand purple */
.hero { position: relative; overflow: hidden; background: var(--brand); color: var(--white); padding: 56px 0 88px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--white-12) 1px, transparent 1px), linear-gradient(90deg, var(--white-12) 1px, transparent 1px); background-size: 56px 56px; opacity: .35; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 4.6rem); line-height: 1.02; letter-spacing: -0.045em; color: var(--white); }
.hero .mark { position: relative; white-space: nowrap; }
.hero .mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.16em; background: var(--white); opacity: .9; border-radius: 4px; transform-origin: left; animation: draw .9s .5s var(--ease) both; }
.hero .lead { color: rgba(255, 255, 255, 0.88); font-size: clamp(1.08rem, 2.5vw, 1.25rem); }
.hero .price-line { color: rgba(255, 255, 255, 0.85); }
.hero .price-line strong { color: var(--white); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-0.6deg); } 50% { transform: translateY(-10px) rotate(0.6deg); } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Ticker */
.ticker { background: var(--ink); color: var(--white); overflow: hidden; padding: 16px 0; border-top: 1px solid var(--white-12); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { white-space: nowrap; padding: 0 28px; font-weight: 700; letter-spacing: 0.02em; position: relative; }
.ticker span::after { content: "✦"; position: absolute; right: -6px; color: var(--white); opacity: .5; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Stats */
.stats { background: var(--white); padding: 56px 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stats-grid li { text-align: center; padding: 28px 12px; border-radius: 20px; background: var(--brand-04); border: 1px solid var(--brand-16); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); }
.stats-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--brand-08); }
.stats-grid strong { display: block; font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; letter-spacing: -0.04em; color: var(--brand); line-height: 1.05; }
.stats-grid span { color: var(--muted); font-weight: 500; }

/* Sections */
.section { padding: 88px 0; }
.section.why { padding: 72px 0 40px; }
.section.why h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
.alt { background: var(--bg-alt); }

/* Steps: big numbers + connector */
.steps { position: relative; counter-reset: none; }
.steps li { position: relative; overflow: hidden; border-radius: 24px; padding: 32px 28px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.steps li:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 18px 40px var(--brand-16); }
.step-n { width: 52px; height: 52px; border-radius: 16px; font-size: 1.2rem; box-shadow: 0 8px 20px var(--brand-24); }

/* Feature cards */
.card { border-radius: 22px; padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, background .3s; }
.card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 18px 40px var(--brand-16); }
.card svg { width: 52px; height: 52px; border-radius: 16px; transition: background .3s, stroke .3s; }
.card:hover svg { background: var(--brand); stroke: var(--white); }

/* Example tiles */
.ex-thumb { border-radius: 20px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ex-btn:hover .ex-thumb { transform: translateY(-8px) scale(1.01); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18); }
.ex-thumb img { transition: transform .6s var(--ease); }
.ex-btn:hover .ex-thumb img { transform: scale(1.06); }
/* Pricing on brand purple */
#pricing { background: var(--brand); color: var(--white); position: relative; overflow: hidden; }
#pricing::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--white-12) 1px, transparent 1px), linear-gradient(90deg, var(--white-12) 1px, transparent 1px); background-size: 56px 56px; opacity: .3; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%); pointer-events: none; }
#pricing .wrap { position: relative; }
#pricing h2 { color: var(--white); }
#pricing .eyebrow { background: var(--white-12); color: var(--white); }
.price-card { border: 0; border-radius: 28px; color: var(--ink); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.amt { font-size: clamp(2.6rem, 9vw, 3.8rem); letter-spacing: -0.04em; }

/* Comparison */
.cmp-table { border-radius: 24px; box-shadow: var(--shadow); }
.cmp-row .hl { background: var(--brand-08); }
.cmp-card { border-radius: 22px; }

/* FAQ */
.faq details { border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.faq details:hover { border-color: var(--brand); }
.faq details[open] { border-color: var(--brand); box-shadow: 0 12px 30px var(--brand-16); }
.faq summary { padding: 20px 56px 20px 22px; }
.faq summary::after { width: 32px; height: 32px; right: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-08); font-size: 1.3rem; line-height: 1; transition: background .2s, color .2s, transform .25s var(--ease); }
.faq details[open] summary::after { background: var(--brand); color: var(--white); }

/* Final CTA */
.final { position: relative; overflow: hidden; padding: 96px 0; }
.final::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--white-12) 1px, transparent 1px), linear-gradient(90deg, var(--white-12) 1px, transparent 1px); background-size: 56px 56px; opacity: .3; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%); pointer-events: none; }
.final .wrap { position: relative; }
.final h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (min-width: 860px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 96px 0 120px; }
  .section { padding: 112px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .hero-visual img, .hero .mark::after { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
.cmp-head .hl { background: var(--brand); color: var(--white); }

/* Animated header logo (the supplied logo, split into icon + wordmark; unchanged artwork) */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; display: block; }
.logo-icon { transform-origin: 50% 55%; animation: logo-pop .9s .15s cubic-bezier(.3, 1.6, .5, 1) both; }
.logo-word { animation: logo-slide .7s .55s var(--ease) both; }
.logo:hover .logo-icon, .logo:focus-visible .logo-icon { animation: logo-wiggle .7s ease both; }
.logo:hover .logo-word { transform: translateX(3px); transition: transform .25s var(--ease); }
@keyframes logo-pop { 0% { opacity: 0; transform: scale(.3) rotate(-200deg); } 100% { opacity: 1; transform: none; } }
@keyframes logo-slide { 0% { opacity: 0; transform: translateX(-14px); clip-path: inset(0 100% 0 0); } 100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes logo-wiggle { 0%, 100% { transform: none; } 25% { transform: rotate(-14deg) scale(1.08); } 55% { transform: rotate(10deg) scale(1.08); } 80% { transform: rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .logo-icon, .logo-word { animation: none !important; } .logo:hover .logo-word { transform: none; } }

/* Client brief form */
.brief-hero { background: var(--brand); color: var(--white); padding: 56px 0 64px; text-align: center; }
.brief-hero h1 { color: var(--white); font-size: clamp(2.2rem, 7vw, 3.4rem); letter-spacing: -0.04em; margin-bottom: 12px; }
.brief-hero .lead { color: rgba(255, 255, 255, 0.9); }
.brief-hero .pill { margin-bottom: 16px; }
.alt-link { margin-top: 18px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); }
.linkish { all: unset; cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; color: var(--white); }
.linkish:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 4px; }
.brief-sec { padding-top: 48px; }
.brief { display: grid; gap: 24px; }
.group { border: 1px solid var(--line); border-radius: 22px; padding: 28px 22px 12px; margin: 0; min-width: 0; background: var(--white); box-shadow: var(--shadow); }
.group legend { display: flex; align-items: center; gap: 12px; padding: 0 8px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.gn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand); color: var(--white); font-size: 0.95rem; }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field > label, fieldset.field > legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; font-size: 1rem; letter-spacing: 0; }
.req { color: var(--brand); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="url"], .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #c9c9d1; border-radius: 12px; padding: 13px 14px; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--brand); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-16); }
.field [aria-invalid="true"] { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(27, 27, 31, 0.12); }
.hint { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.err { font-size: 0.88rem; font-weight: 700; color: var(--ink); margin-top: 6px; }
.err:empty { display: none; }
.err::before { content: "⚠ "; }
.chk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.chk { display: flex; align-items: center; gap: 10px; border: 1.5px solid #c9c9d1; border-radius: 12px; padding: 12px 14px; cursor: pointer; min-height: 48px; transition: border-color .15s, background .15s; }
.chk:hover { border-color: var(--brand); }
.chk input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.chk:has(input:checked) { border-color: var(--brand); background: var(--brand-08); font-weight: 600; }
.chk:has(input:focus-visible) { box-shadow: 0 0 0 4px var(--brand-16); }
.status { min-height: 1.5em; font-weight: 700; padding: 0; }
.status.ok { color: var(--brand); }
.status.bad { color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn { flex: 1 1 200px; }
.fine { font-size: 0.85rem; color: var(--muted); }
@media (min-width: 640px) { .group { padding: 32px 32px 14px; } }
.final-alt { margin-top: 22px; color: rgba(255, 255, 255, 0.9); }
.final-alt a { color: var(--white); font-weight: 700; text-underline-offset: 4px; }

/* --- Round 3 tweaks --- */
/* Hero illustration now has its own floating elements, so no card around it */
.hero-visual img { border-radius: 0; box-shadow: none; animation: none; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.18)); overflow: visible; }

/* Logo loops continuously, one full cycle every 3 seconds: spin in, hold, wiggle, spin out, repeat */
.logo-icon { transform-origin: 50% 55%; animation: logo-icon-loop 3s ease-in-out infinite; }
.logo-word { animation: logo-word-loop 3s ease-in-out infinite; }
.logo:hover .logo-icon, .logo:focus-visible .logo-icon { animation: logo-icon-loop 3s ease-in-out infinite; }
@keyframes logo-icon-loop {
  0%   { opacity: 0; transform: scale(.3) rotate(-180deg); }
  14%  { opacity: 1; transform: scale(1.1) rotate(6deg); }
  20%, 50% { opacity: 1; transform: none; }
  57%  { transform: rotate(-14deg) scale(1.1); }
  65%  { transform: rotate(10deg) scale(1.1); }
  72%  { transform: rotate(-3deg); }
  78%, 90% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: scale(.3) rotate(180deg); }
}
@keyframes logo-word-loop {
  0%, 8%   { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-12px); }
  28%      { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
  78%      { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
  96%, 100% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-12px); }
}
@media (prefers-reduced-motion: reduce) { .logo-icon, .logo-word, .logo:hover .logo-icon { animation: none !important; } }

/* Comparison: one real table on every screen size, compact and readable on phones */
.cmp-table { overflow: hidden; }
@media (max-width: 639px) {
  .cmp-row { grid-template-columns: .85fr 1.1fr 1fr 1fr; }
  .cmp-row > div { padding: 12px 8px; font-size: 0.8rem; line-height: 1.35; display: flex; align-items: center; hyphens: auto; overflow-wrap: anywhere; }
  .cmp-row [role="rowheader"] { font-size: 0.78rem; font-weight: 800; padding-left: 10px; }
  .cmp-head > div { font-size: 0.78rem; font-weight: 800; align-items: flex-end; padding-top: 14px; padding-bottom: 14px; }
  .cmp-head .hl { font-size: 0.85rem; }
  .cmp-row .hl { font-weight: 700; }
  .cmp-table { border-radius: 18px; margin-left: -8px; margin-right: -8px; }
}

/* Link inside a "What you get" card (same look as the other cards) */
.card-link { display: inline-block; margin-top: 16px; color: var(--brand); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--brand-24); padding-bottom: 2px; transition: border-color .2s; }
.card-link:hover { border-bottom-color: var(--brand); }
.card-link span { display: inline-block; transition: transform .2s var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* Floating chat button (brand purple, bottom-right on every page) */
.chat-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 0; text-decoration: none; color: var(--white); }
.chat-fab-icon { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--brand); box-shadow: 0 10px 28px rgba(100, 29, 149, 0.45), 0 2px 6px rgba(0, 0, 0, 0.18); border: 2px solid var(--white); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.chat-fab-icon::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: fab-ring 3s ease-out infinite; }
.chat-fab-icon svg { width: 28px; height: 28px; fill: var(--white); }
.chat-fab-icon .dot { fill: var(--brand); }
.chat-fab-label { order: -1; max-width: 0; overflow: hidden; white-space: nowrap; background: var(--white); color: var(--ink); font-weight: 700; font-size: 0.92rem; border-radius: 999px; padding: 0; opacity: 0; margin-right: 0; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2); transition: max-width .3s var(--ease), padding .3s var(--ease), opacity .2s, margin .3s var(--ease); }
.chat-fab:hover .chat-fab-label, .chat-fab:focus-visible .chat-fab-label { max-width: 160px; padding: 11px 16px; opacity: 1; margin-right: 10px; }
.chat-fab:hover .chat-fab-icon { transform: translateY(-3px) scale(1.06); box-shadow: 0 16px 34px rgba(100, 29, 149, 0.5), 0 2px 6px rgba(0, 0, 0, 0.2); }
.chat-fab:active .chat-fab-icon { transform: scale(.96); }
.chat-fab:focus-visible { outline: none; }
.chat-fab:focus-visible .chat-fab-icon { outline: 3px solid var(--ink); outline-offset: 3px; }
@keyframes fab-ring { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 639px) { .chat-fab-icon { width: 54px; height: 54px; } .chat-fab-icon svg { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .chat-fab-icon, .chat-fab-label { transition: none; } }
@media print { .chat-fab { display: none; } }

/* Article pages */
.article { background: var(--white); }
.article .narrow { max-width: 760px; }
.article h2 { font-size: clamp(1.4rem, 3.6vw, 1.9rem); letter-spacing: -0.02em; margin: 44px 0 12px; color: var(--ink); }
.article p, .article li { font-size: 1.05rem; line-height: 1.75; color: #3a3a42; }
.article p { margin: 0 0 14px; }
.article ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 6px; list-style: disc; }
.article li::marker { color: var(--brand); }
.article a:not(.btn) { color: var(--brand); font-weight: 600; }
.article .note { background: var(--brand-08); border: 1px solid var(--brand-16); border-radius: 14px; padding: 16px 18px; }
.article .tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.art-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.art-table th, .art-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.art-table thead th { background: var(--brand); color: var(--white); }
.art-table tbody tr:last-child td { border-bottom: 0; }
.art-table td:first-child { font-weight: 800; color: var(--brand); width: 56px; }
.art-cta { margin-top: 48px; background: var(--brand); color: var(--white); border-radius: 20px; padding: 32px 24px; text-align: center; }
.art-cta h2 { color: var(--white); margin: 0 0 8px; }
.art-cta p { color: rgba(255, 255, 255, 0.92); }
.art-cta .btn-primary { background: var(--white); color: var(--brand); box-shadow: none; }

/* Blog index */
.blog-sec { background: var(--white); }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-link { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.post-link:hover, .post-link:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 34px var(--brand-16); border-color: var(--brand); }
.post-link h2 { font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.02em; margin: 0; }
.post-link p { margin: 0; color: var(--muted, #55555D); line-height: 1.65; }
.post-meta { font-size: 0.85rem; font-weight: 700; color: var(--brand); }
.post-more { margin-top: auto; font-weight: 700; color: var(--brand); }
.blog-soon { text-align: center; color: #55555D; margin: 32px 0 0; }
.blog-sec .art-cta { max-width: 760px; margin: 40px auto 0; }
.crumb { color: inherit; text-decoration: none; font-weight: 700; }
.crumb:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .post-link { transition: none; } .post-link:hover { transform: none; } }

/* Sample previews: browser-style tiles and picture preview in the popup */
.ex-thumb { padding-top: 22px; background: #E3E3E7; }
.ex-thumb::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 22px; background: #F6F6F7 radial-gradient(circle at 12px 11px, #cfcfd6 3.5px, transparent 4px) no-repeat; background-image: radial-gradient(circle at 12px 11px, #cfcfd6 3.5px, transparent 4px), radial-gradient(circle at 26px 11px, #cfcfd6 3.5px, transparent 4px), radial-gradient(circle at 40px 11px, #cfcfd6 3.5px, transparent 4px); border-bottom: 1px solid var(--line); }
.ex-thumb img { top: 22px; height: calc(100% - 22px); }
.ex-thumb .mini { margin-top: 0; }
.demo-view { flex: 1; overflow: auto; background: var(--bg-alt); padding: 16px; }
.demo-view[hidden], .demo iframe[hidden], .demo-live[hidden] { display: none; }
.demo-browser { max-width: 980px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.demo-dots { display: flex; gap: 7px; padding: 10px 14px; background: #F6F6F7; border-bottom: 1px solid var(--line); }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: #cfcfd6; }
.demo-browser img { width: 100%; height: auto; display: block; }
.demo-live { all: unset; box-sizing: border-box; cursor: pointer; color: var(--white); border: 2px solid rgba(255,255,255,.7); font-weight: 700; font-size: 0.9rem; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.demo-live:hover { background: rgba(255,255,255,.16); }
.demo-live:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
@media (max-width: 639px) { .demo-live { padding: 6px 10px; font-size: 0.8rem; } .demo-view { padding: 8px; } }

/* Demo popup loading screen */
.demo-loading { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; color: var(--white); background: radial-gradient(70% 60% at 50% 40%, rgba(255,255,255,.14), transparent 70%), var(--brand); }
.demo-loading[hidden] { display: none; }
.dl-logo { width: min(240px, 60vw); height: auto; animation: dl-pulse 1.6s ease-in-out infinite; }
.dl-bar { width: min(260px, 60vw); height: 6px; border-radius: 999px; background: rgba(255,255,255,.22); overflow: hidden; }
.dl-bar i { display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--white); animation: dl-slide 1.2s ease-in-out infinite; }
.dl-text { font-size: 1.15rem; font-weight: 700; margin: 0; }
.dl-sub { font-size: 0.92rem; margin: -10px 0 0; color: rgba(255,255,255,.8); }
.dl-dots b { animation: dl-blink 1.2s infinite both; }
.dl-dots b:nth-child(2) { animation-delay: .2s; } .dl-dots b:nth-child(3) { animation-delay: .4s; }
@keyframes dl-pulse { 0%, 100% { opacity: .75; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.03); } }
@keyframes dl-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes dl-blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dl-logo, .dl-bar i, .dl-dots b { animation: none; } .dl-bar i { width: 100%; opacity: .5; } .dl-dots b { opacity: 1; } }
