/* =====================================================================
   Smart Calendar — home
   A fixed, editorial "cream" landing page. Modeled on the best:
   Fraunces serif display + Inter, warm ivory canvas, deep-green bands,
   lavender + amber accents, Athena violet as the product tie-in.
   NOTE: this theme is intentionally fixed (it does NOT follow the OS
   light/dark preference). It is responsive to screen size only.
   ===================================================================== */

:root {
  /* canvas + ink */
  --cream:        #FDFBF0;   /* page background — warm ivory */
  --cream-2:      #F5F0DF;   /* slightly deeper panels */
  --paper:        #FFFFFF;   /* white cards */
  --ink:          #1B1813;   /* near-black, warm */
  --ink-soft:     #43403A;   /* body text */
  --muted:        #807A6B;   /* secondary text */
  --line:         #E7E0CD;   /* hairlines */
  --line-strong:  #D8CFB6;

  /* accents */
  --violet:       #7C5CFF;   /* Athena — primary accent */
  --violet-deep:  #6442F0;
  --lavender:     #ECE3FF;   /* soft violet fills / pills */
  --lavender-2:   #E0D2FF;
  --green:        #0F4A3C;   /* deep green band */
  --green-2:      #0B3A2F;
  --green-soft:   #DCEAE2;
  --amber:        #FFAE52;   /* marker / highlight */
  --amber-ink:    #B5701A;

  /* type */
  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* shape */
  --r-pill: 999px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  /* layout */
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);

  /* shadow */
  --shadow-sm: 0 1px 2px rgba(27,24,19,.05), 0 6px 18px rgba(27,24,19,.06);
  --shadow-md: 0 8px 24px rgba(27,24,19,.08), 0 24px 60px rgba(27,24,19,.10);
  --shadow-lift: 0 18px 50px rgba(27,24,19,.14);
}

/* ----------------------------- reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--amber); color: var(--ink); }

/* ------------------------- shared structure -------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(72px, 11vw, 150px); }
.eyebrow {
  font-family: var(--sans);
  font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.serif { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; letter-spacing: -.01em; }

/* fluid display sizes */
.display {
  font-family: var(--serif); font-weight: 380; font-optical-sizing: auto;
  font-size: clamp(44px, 8.2vw, 104px);
  line-height: .98; letter-spacing: -.025em; color: var(--ink);
}
.h2 {
  font-family: var(--serif); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.02; letter-spacing: -.02em;
}
.h3 {
  font-family: var(--serif); font-weight: 450;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1; letter-spacing: -.01em;
}
.lead { font-size: clamp(17px, 2.1vw, 21px); line-height: 1.55; color: var(--ink-soft); }
.muted { color: var(--muted); }
.italic { font-style: italic; }

/* amber hand-drawn underline on a key word */
.mark {
  position: relative; white-space: nowrap;
}
.mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .34em;
  background: var(--amber); border-radius: 999px; z-index: -1;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .7s cubic-bezier(.2,.7,.2,1) .25s;
}
.in .mark::after, .mark.lit::after { transform: scaleX(1); }
.violet-word { color: var(--violet); }

/* ------------------------------ buttons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 16px; line-height: 1;
  padding: 15px 24px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .arw { transition: transform .2s ease; }
.btn:hover .arw { transform: translateX(3px); }

.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 8px 22px rgba(124,92,255,.32); }
.btn-primary:hover { background: var(--violet-deep); box-shadow: 0 12px 28px rgba(124,92,255,.40); transform: translateY(-1px); }

.btn-lav { background: var(--lavender); color: var(--violet-deep); border-color: var(--lavender-2); }
.btn-lav:hover { background: var(--lavender-2); transform: translateY(-1px); }

.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #000; transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); transform: translateY(-1px); }

.btn-on-green { background: #fff; color: var(--green); }
.btn-on-green:hover { background: var(--lavender); color: var(--violet-deep); transform: translateY(-1px); }

.btn-google { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-google:hover { background: #fff; border-color: var(--ink); transform: translateY(-1px); }
.btn-google svg { width: 20px; height: 20px; }

.btn-sm { padding: 11px 18px; font-size: 15px; }

/* =========================== NAVBAR ================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(253,251,240,.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 9px 14px; border-radius: var(--r-pill); font-weight: 500; font-size: 15px; color: var(--ink-soft);
  transition: background-color .15s ease, color .15s ease;
}
.nav-link:hover { background: rgba(27,24,19,.06); color: var(--ink); }
.nav-cta { margin-left: 6px; }
.nav-burger {
  display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: transparent; align-items: center; justify-content: center;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }

/* mobile menu sheet */
.mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 999;
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 16px var(--pad) 24px; display: none; flex-direction: column; gap: 10px;
  transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: 16px; }
.mobile-menu a:hover { background: rgba(27,24,19,.05); }

/* =========================== HERO =================================== */
/* overflow:hidden clips the decorative ::before/::after glow blobs (right:-80px /
   left:-100px) — on mobile body{overflow-x:hidden} doesn't reliably contain them,
   so they caused a sideways scroll. */
.hero { position: relative; overflow: hidden; padding-top: clamp(120px, 16vw, 184px); padding-bottom: clamp(40px, 7vw, 80px); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy { max-width: 600px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; max-width: 30ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; font-weight: 500; }
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }

/* soft decorative blobs behind hero */
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; opacity: .55; }
.hero::before { width: 380px; height: 380px; background: var(--lavender); top: 40px; right: -80px; }
.hero::after { width: 300px; height: 300px; background: #FFE6C2; bottom: -40px; left: -100px; opacity: .45; }

/* ---- animated chat → schedule demo card ---- */
.demo {
  position: relative; background: var(--green); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-md); color: #EAF3EE;
  border: 1px solid rgba(255,255,255,.06);
}
.demo-head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.demo-owl { width: 26px; height: 26px; border-radius: 8px; background: var(--violet); display: grid; place-items: center; }
.demo-owl img { width: 20px; height: 20px; }
.demo-title { font-weight: 600; font-size: 14px; color: #fff; }
.demo-now { margin-left: auto; font-size: 12px; color: rgba(234,243,238,.6); }
.demo-now b { color: #7ee0b0; font-weight: 600; }

.demo-thread { display: flex; flex-direction: column; gap: 10px; min-height: 132px; }
.bubble {
  max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45;
  opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease;
}
.bubble.show { opacity: 1; transform: none; }
.bubble.user { align-self: flex-end; background: var(--violet); color: #fff; border-bottom-right-radius: 6px; }
.bubble.ai { align-self: flex-start; background: rgba(255,255,255,.10); color: #EAF3EE; border-bottom-left-radius: 6px; }
.typing { display: inline-flex; gap: 4px; align-items: center; height: 1em; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(234,243,238,.7); animation: blink 1.2s infinite; }
.typing i:nth-child(2){ animation-delay: .2s; } .typing i:nth-child(3){ animation-delay: .4s; }
@keyframes blink { 0%,60%,100%{opacity:.25; transform: translateY(0);} 30%{opacity:1; transform: translateY(-3px);} }

/* mini calendar inside demo */
.demo-cal {
  margin-top: 14px; background: rgba(0,0,0,.18); border-radius: 14px; padding: 12px 12px 12px 44px;
  position: relative; overflow: hidden;
}
.demo-cal .row { height: 30px; border-top: 1px solid rgba(255,255,255,.08); position: relative; }
.demo-cal .row:first-child { border-top: 0; }
.demo-cal .tlabel { position: absolute; left: -34px; top: -8px; font-size: 11px; color: rgba(234,243,238,.5); }
.cal-event {
  position: absolute; left: 6px; right: 10px; border-radius: 8px; padding: 6px 10px;
  font-size: 12.5px; font-weight: 600; color: #fff; z-index: 1; box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transform: scale(.92); opacity: 0; transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.cal-event.show { opacity: 1; transform: scale(1); }
.cal-event small { display: block; font-weight: 500; opacity: .85; font-size: 11px; }
.cal-event.violet { background: linear-gradient(135deg, #8B7CFF, #6f5cf0); }
.cal-event.green  { background: linear-gradient(135deg, #2bb673, #1f9d61); }
.cal-event.ontop  { z-index: 5; box-shadow: 0 12px 26px rgba(124,92,255,.45); }

/* =========================== LOGO CLOUD ============================== */
.logos { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.logos-label { text-align: center; color: var(--muted); font-weight: 500; font-size: 15px; margin-bottom: 26px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: clamp(36px, 6vw, 80px); width: max-content; animation: scrollx 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.wordmark { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.6vw, 30px); color: var(--ink); opacity: .45; white-space: nowrap; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 11px; }
.wordmark i { font-size: .8em; opacity: .9; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================== GREEN BAND (how it works) =============== */
.band-green { background: var(--green); color: #EAF3EE; border-radius: clamp(24px, 4vw, 40px); }
.band-green .eyebrow { color: #84cda9; }
.band-green .h2 { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: var(--r-md); padding: 24px; }
.step-num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--amber); margin-bottom: 14px; }
.step h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.step p { color: rgba(234,243,238,.78); font-size: 15px; }
.step .chip { display:inline-flex; align-items:center; gap:7px; margin-top:14px; padding:7px 12px; border-radius:999px; background: rgba(255,255,255,.08); font-size:13px; font-weight:600; color:#cdeede; }

/* =========================== FEATURE ROWS =========================== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 11vw, 140px); }
.feature.flip .feature-art { order: -1; }
.feature-copy { max-width: 480px; }
.feature-copy .eyebrow { color: var(--violet); margin-bottom: 16px; display: block; }
.feature-copy .h2 { margin-bottom: 18px; }
.feature-copy .lead { margin-bottom: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-soft); }
.feature-list .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lavender); color: var(--violet-deep); display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 1px; }

/* generic mock surface */
.mock { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 20px; position: relative; }
.mock-cream { background: var(--cream-2); }
.mock-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-label { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 600; }

/* brain-dump mock */
.bd-input { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.bd-input .cur { display:inline-block; width:2px; height:1em; background: var(--violet); vertical-align:-2px; animation: blink2 1s steps(1) infinite; }
@keyframes blink2 { 50%{opacity:0;} }
.bd-arrow { text-align: center; color: var(--muted); font-size: 20px; margin: 12px 0; }
.bd-tasks { display: flex; flex-direction: column; gap: 9px; }
.bd-task { display: flex; align-items: center; gap: 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
.bd-check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.bd-task .t { font-weight: 600; font-size: 14.5px; }
.bd-task .meta { margin-left: auto; font-size: 12px; font-weight: 600; }
.pill-time { color: var(--violet-deep); background: var(--lavender); padding: 4px 9px; border-radius: 999px; }
.pill-due { color: var(--amber-ink); background: #FFF0DC; padding: 4px 9px; border-radius: 999px; }

/* breakdown mock */
.bk-top { background: var(--cream); border:1px solid var(--line); border-radius:14px; padding:14px 16px; display:flex; align-items:center; gap:12px; }
.bk-top .big { font-weight:700; font-size:15px; }
.bk-top .tag { margin-left:auto; font-size:12px; font-weight:600; color:var(--amber-ink); background:#FFF0DC; padding:4px 9px; border-radius:999px; }
.bk-line { width: 2px; height: 16px; background: var(--line-strong); margin: 4px 0 4px 26px; }
.bk-sub { display:flex; flex-direction:column; gap:8px; padding-left: 22px; }
.bk-sub .s { display:flex; align-items:center; gap:10px; background: var(--paper); border:1px solid var(--line); border-radius:11px; padding:10px 12px; box-shadow: var(--shadow-sm); }
.bk-sub .s .n { width:20px; height:20px; border-radius:50%; background:var(--lavender); color:var(--violet-deep); font-size:11px; font-weight:800; display:grid; place-items:center; flex:none; }
.bk-sub .s .t { font-size:14px; font-weight:600; }
.bk-sub .s .when { margin-left:auto; font-size:12px; color:var(--muted); font-weight:600; }

/* now / next mock */
.nn { display:flex; flex-direction:column; gap:10px; }
.nn-row { display:flex; align-items:center; gap:12px; background: var(--cream); border:1px solid var(--line); border-radius:12px; padding:12px 14px; }
.nn-row.now { background: var(--lavender); border-color: var(--lavender-2); }
.nn-tag { font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--violet-deep); background:#fff; border-radius:999px; padding:5px 10px; flex:none; }
.nn-tag.next { color: var(--muted); }
.nn-body { display:flex; flex-direction:column; line-height:1.2; }
.nn-body b { font-size:14.5px; font-weight:700; }
.nn-body small { font-size:12px; color:var(--muted); margin-top:3px; }
.nn-live { margin-left:auto; display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:700; color:var(--violet-deep); }
.nn-live i { width:7px; height:7px; border-radius:50%; background:var(--violet); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:.3 } }
.nn-ask { margin-top:12px; text-align:center; font-size:13px; font-weight:600; color:var(--muted); background:var(--cream); border:1px dashed var(--line-strong); border-radius:999px; padding:9px 14px; }

/* reflow mock — two day columns with a moved block */
.rf { display:grid; grid-template-columns: 1fr 1fr; gap:14px; }
.rf-col { background: var(--cream); border:1px solid var(--line); border-radius:14px; padding:10px; position:relative; }
.rf-col .day { font-size:11px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; text-align:center; }
.rf-evt { border-radius:9px; padding:8px 10px; font-size:12.5px; font-weight:600; color:#fff; margin-bottom:7px; }
.rf-evt small { display:block; font-weight:500; opacity:.85; font-size:11px; }
.rf-evt.blue { background:#3f7df0; } .rf-evt.green{ background:#2bb673; } .rf-evt.violet{ background:#8B7CFF; }
.rf-evt.ghost { background: transparent; border:1.5px dashed var(--line-strong); color: var(--muted); }
.rf-evt.moved { box-shadow: 0 0 0 2px var(--violet), 0 10px 22px rgba(124,92,255,.3); }
.rf-note { display:flex; align-items:center; gap:8px; margin-top:8px; font-size:13px; color:var(--ink-soft); font-weight:600; }
.rf-note .dot { width:8px;height:8px;border-radius:50%; background: var(--violet); }

/* =========================== STATS STRIP ============================ */
.stats { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stat { text-align:center; padding: 14px; }
.stat .num { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6vw, 76px); line-height: 1; color: var(--ink); letter-spacing:-.02em; }
.stat .num em { font-style: normal; color: var(--violet); }
.stat .lbl { margin-top: 10px; color: var(--muted); font-size: 15px; font-weight: 500; max-width: 24ch; margin-left:auto; margin-right:auto; }

/* =========================== TESTIMONIALS =========================== */
.tcols { columns: 3; column-gap: 22px; margin-top: 44px; }
.tcard {
  break-inside: avoid; margin-bottom: 22px; border-radius: var(--r-md); padding: 22px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.tcard.lav { background: var(--lavender); border-color: var(--lavender-2); }
.tcard.grn { background: var(--green); color:#EAF3EE; border:0; }
.tcard.grn p { color:#EDF5F0; }
.tcard.grn .tname { color:#fff; } .tcard.grn .trole{ color: rgba(234,243,238,.72); }
.tcard p { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.tcard.lav p { color: #3c2e6b; }
.tquote { font-family: var(--serif); }
.tperson { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.tavatar { width: 38px; height: 38px; border-radius: 50%; flex: none; display:grid; place-items:center; font-weight:700; color:#fff; font-size:14px; }
.tname { font-weight: 700; font-size: 14px; }
.trole { font-size: 13px; color: var(--muted); }

/* =========================== EVERYWHERE / SYNC ====================== */
.duo { display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { border-radius: var(--r-lg); padding: clamp(28px,4vw,44px); border:1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-sm); }
.panel.cream { background: var(--cream-2); }
.panel .h3 { margin-bottom: 12px; }
.panel p { color: var(--ink-soft); margin-bottom: 22px; }
.platforms { display:flex; flex-wrap:wrap; gap:10px; }
.plat { display:inline-flex; align-items:center; gap:8px; padding:9px 15px; border-radius:999px; border:1.5px solid var(--ink); font-weight:600; font-size:14px; }
.gsync { display:flex; align-items:center; gap:14px; }
.gsync .gicon { width:46px; height:46px; border-radius:12px; background:#fff; border:1px solid var(--line); display:grid; place-items:center; box-shadow: var(--shadow-sm); }
.gsync .arrows { color: var(--muted); font-size:22px; }
.gsync .sicon { width:46px; height:46px; border-radius:12px; }

/* =========================== FINAL CTA ============================== */
/* translateZ(0) forces a compositing layer so the rounded corners actually clip the
   blurred ::before/::after glows on iOS Safari — without it the purple glow leaked
   past the top-right corner as a square edge. */
.cta-final { background: var(--green); color:#fff; border-radius: clamp(28px, 5vw, 48px); text-align:center; padding: clamp(56px, 9vw, 110px) var(--pad); position:relative; overflow:hidden; transform: translateZ(0); }
.cta-final::before { content:""; position:absolute; width:420px; height:420px; border-radius:50%; background: rgba(124,92,255,.4); filter: blur(80px); top:-140px; right:-80px; }
.cta-final::after { content:""; position:absolute; width:360px; height:360px; border-radius:50%; background: rgba(255,174,82,.3); filter: blur(80px); bottom:-160px; left:-60px; }
.cta-final .inner { position:relative; z-index:1; max-width: 760px; margin:0 auto; }
.cta-final .h2 { color:#fff; margin-bottom: 18px; }
.cta-final p { color: rgba(234,243,238,.82); font-size: 19px; margin-bottom: 30px; }
.cta-final .hero-ctas { justify-content:center; }
.cta-final .trust-line { justify-content:center; color: rgba(234,243,238,.7); }
.cta-final .trust-dot { background: var(--amber); }

/* =========================== FOOTER ================================= */
/* vertical-only padding so .wrap's horizontal --pad isn't clobbered (was `padding: … 0 …`,
   which zeroed left/right and pushed footer content flush to the screen edge on mobile) */
.footer { padding-top: clamp(48px,7vw,80px); padding-bottom: 40px; border-top:1px solid var(--line); }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer .brand { margin-bottom: 14px; }
.footer-tag { color: var(--muted); font-size: 15px; max-width: 30ch; }
.footer h4 { font-size: 13px; letter-spacing:.1em; text-transform:uppercase; color: var(--muted); margin-bottom: 14px; font-weight:700; }
.footer-col a { display:block; padding: 5px 0; color: var(--ink-soft); font-size: 15px; }
.footer-col a:hover { color: var(--violet); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top: 44px; padding-top: 24px; border-top:1px solid var(--line); flex-wrap:wrap; }
.footer-bottom .legal { color: var(--muted); font-size: 14px; }
.footer-bottom .legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
/* On phones the split layout pushed the copyright to the left edge — stack and
   center it (legal text over the social icons) so it reads as one centered block. */
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
}
.socials { display:flex; gap: 14px; }
.socials a { color: var(--muted); font-size: 20px; transition: color .15s ease, transform .15s ease; }
.socials a:hover { color: var(--violet); transform: translateY(-2px); }

/* =========================== VIDEO MODAL ============================ */
.vmodal { position: fixed; inset: 0; z-index: 2000; display: none; place-items: center; padding: 24px;
  background: rgba(20,18,12,.72); backdrop-filter: blur(8px); }
.vmodal.open { display: grid; }
.vmodal-box { width: min(960px, 100%); aspect-ratio: 16/9; background:#000; border-radius: 16px; overflow:hidden; position: relative; box-shadow: var(--shadow-lift); }
.vmodal-box iframe { width:100%; height:100%; border:0; }
.vmodal-close { position:absolute; top:-46px; right:0; color:#fff; font-size:15px; font-weight:600; display:flex; align-items:center; gap:8px; }
.vmodal-close:hover { color: var(--amber); }

/* =========================== REVEAL ANIM ============================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* =========================== RESPONSIVE ============================= */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .lead { max-width: 46ch; }
  .demo { max-width: 440px; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-art { order: 0; }
  .feature-art { order: -1; }
  .duo { grid-template-columns: 1fr; }
  .tcols { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .mobile-menu { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 30px; }
  .stat .lbl { max-width: none; }
  .tcols { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .rf { grid-template-columns: 1fr; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .mark::after { transition: none; transform: scaleX(1); }
}
