/* ===========================================================
   SamayShift — landing page styles
   Aesthetic: warm editorial "dawn of a shift" — sunrise palette,
   characterful serif display (Fraunces) + clean grotesque body
   (Public Sans), asymmetry, soft depth, restrained motion.
   =========================================================== */

:root {
  /* Dawn palette */
  --ink:        #1d1a17;   /* near-black warm */
  --ink-soft:   #4b443d;
  --paper:      #fbf6ef;   /* warm off-white */
  --paper-2:    #f3ebe0;
  --line:       #e6dccd;

  --amber:      #e8842b;   /* sunrise primary */
  --amber-deep: #c9651a;
  --rose:       #d9536a;   /* accent */
  --plum:       #5b3a52;   /* deep accent */
  --sky:        #3f7d8c;   /* cool counterpoint */
  --gold:       #f0b429;

  --shadow-sm: 0 1px 2px rgba(40,28,16,.06), 0 2px 6px rgba(40,28,16,.05);
  --shadow-md: 0 8px 24px rgba(40,28,16,.10), 0 2px 6px rgba(40,28,16,.06);
  --shadow-lg: 0 24px 60px rgba(40,28,16,.16), 0 6px 16px rgba(40,28,16,.08);

  --r:   14px;
  --r-lg: 22px;
  --maxw: 1140px;

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Public Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* subtle grain */
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(232,132,43,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(217,83,106,.07), transparent 55%);
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--amber-deep); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  color: var(--amber-deep);
  margin-bottom: .9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: .55rem 1.1rem; font-size: .92rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: #fff;
  box-shadow: 0 6px 18px rgba(201,101,26,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201,101,26,.42); }
.btn-ghost { color: var(--ink); border-color: transparent; }
.btn-ghost:hover { color: var(--amber-deep); }
.btn-outline {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  max-width: var(--maxw); margin: 0 auto;
  padding: 1.1rem 1.5rem;
  backdrop-filter: blur(8px);
}
.nav::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251,246,239,.72);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .55rem; }
.brand-mark { color: var(--amber-deep); display: flex; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.brand-accent { color: var(--amber-deep); }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; font-weight: 500; font-size: .96rem; }
.nav-links a { color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--amber-deep); }
.nav .btn-primary { margin-left: .25rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
}
.hero-glow {
  position: absolute; top: -10%; right: -5%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(240,180,41,.25), transparent 65%);
  filter: blur(20px); z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.hero-title span { display: block; }
.hero-sub { font-size: 1.18rem; color: var(--ink-soft); max-width: 34ch; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.8rem; }
.trust { font-size: .92rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; max-width: 42ch; }
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(63,125,140,.18); flex: none; }

/* Hero visual: week card + overlapping phone */
.hero-visual { position: relative; z-index: 1; padding-bottom: 1rem; }
.hero-card {
  position: relative; z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem;
  transform: rotate(1.2deg);
  max-width: 420px;
  margin-left: auto;
}
.hero-phone {
  position: absolute;
  left: -18px; bottom: -28px;
  width: 168px; height: auto; z-index: 2;
  filter: drop-shadow(0 18px 36px rgba(40,28,16,.22));
  transform: rotate(-3deg);
}
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.card-title { font-family: var(--sans); font-weight: 700; font-size: .95rem; }
.pill { font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; letter-spacing: .03em; }
.pill-live { background: rgba(63,125,140,.14); color: var(--sky); }
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.day { display: flex; flex-direction: column; gap: .4rem; }
.dn { font-size: .72rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.chip { font-size: .74rem; font-weight: 600; padding: .4rem .5rem; border-radius: 8px; line-height: 1.2; }
.c1 { background: rgba(232,132,43,.14); color: var(--amber-deep); border: 1px dashed rgba(232,132,43,.5); }
.c2 { background: var(--paper-2); color: var(--ink); }
.c3 { background: rgba(217,83,106,.14); color: var(--rose); }
.c4 { background: rgba(63,125,140,.16); color: var(--sky); }
.card-foot { display: flex; align-items: center; gap: .35rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.mini-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--plum), var(--rose)); color: #fff; font-size: .66rem; font-weight: 700; display: grid; place-items: center; margin-left: -6px; border: 2px solid #fff; }
.mini-avatar:first-child { margin-left: 0; }
.card-foot-text { font-size: .8rem; color: var(--ink-soft); margin-left: .5rem; }

/* ---------- Demo band (animated, no video) ---------- */
.demo { padding-top: 1rem; }
.demo-shell {
  max-width: 880px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.demo-toolbar {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem 1rem; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.demo-toolbar .dot { width: 11px; height: 11px; border-radius: 50%; }
.demo-toolbar .r { background: #e0625b; } .demo-toolbar .y { background: #e8b94b; } .demo-toolbar .g { background: #5aa86f; }
.demo-url { margin-left: .8rem; font-size: .8rem; color: var(--ink-soft); font-family: var(--sans); }
.demo-stage { position: relative; padding: 1.5rem; display: flex; flex-direction: column; gap: .8rem; min-height: 230px; }
.demo-row { display: grid; grid-template-columns: 90px repeat(4, 1fr); gap: .6rem; align-items: center; }
.demo-name { font-weight: 700; font-size: .9rem; color: var(--ink); }
.demo-slot {
  font-size: .8rem; font-weight: 600; padding: .55rem .4rem; border-radius: 9px; text-align: center;
}
.demo-slot.filled { background: var(--paper-2); color: var(--ink); }
.demo-slot.ghost { background: repeating-linear-gradient(45deg, #faf4ec 0 6px, #f3ebe0 6px 12px); color: transparent; }
.demo-slot.open-target { background: rgba(232,132,43,.12); color: var(--amber-deep); border: 1.5px dashed rgba(232,132,43,.55); }
.demo-drag {
  position: absolute; top: 26px; left: 110px;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep)); color: #fff;
  font-size: .8rem; font-weight: 700; padding: .55rem .8rem; border-radius: 9px;
  box-shadow: var(--shadow-md); z-index: 3;
  animation: dragShift 6s ease-in-out infinite;
}
.demo-cursor {
  position: absolute; width: 16px; height: 16px; top: 30px; left: 150px; z-index: 4;
  background: var(--ink); clip-path: polygon(0 0, 0 75%, 27% 58%, 45% 100%, 60% 92%, 42% 52%, 75% 50%);
  animation: dragCursor 6s ease-in-out infinite;
}
.demo-toast {
  position: absolute; bottom: 18px; right: 18px;
  background: var(--sky); color: #fff; font-size: .82rem; font-weight: 700;
  padding: .5rem .9rem; border-radius: 999px; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(8px); z-index: 5;
  animation: toastIn 6s ease-in-out infinite;
}
.demo-cap { text-align: center; color: var(--ink-soft); font-size: .92rem; margin-top: 1rem; }

@keyframes dragShift {
  0%, 12%   { transform: translate(0,0) scale(1); opacity: 1; }
  45%       { transform: translate(290px, 150px) scale(1.04); opacity: 1; }
  55%       { transform: translate(290px, 150px) scale(1); opacity: 1; }
  62%, 100% { transform: translate(290px, 150px) scale(1); opacity: 0; }
}
@keyframes dragCursor {
  0%, 12%   { transform: translate(0,0); }
  45%, 100% { transform: translate(300px, 150px); }
}
@keyframes toastIn {
  0%, 58%   { opacity: 0; transform: translateY(8px); }
  66%, 92%  { opacity: 1; transform: translateY(0); }
  100%      { opacity: 0; transform: translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .demo-drag, .demo-cursor { display: none; }
  .demo-toast { opacity: 1; transform: none; animation: none; }
}

/* ---------- AI conversational scheduling ---------- */
.ai {
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(91,58,82,.10), transparent 60%),
    linear-gradient(180deg, transparent, rgba(243,235,224,.5));
}
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.ai-copy h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.ai-lede { color: var(--ink-soft); font-size: 1.1rem; margin: 1.2rem 0 1.6rem; }
.ai-points { list-style: none; display: flex; flex-direction: column; gap: .85rem; margin-bottom: 2rem; }
.ai-points li { position: relative; padding-left: 1.7rem; color: var(--ink-soft); }
.ai-points li::before { content: "✦"; position: absolute; left: 0; top: .05rem; color: var(--plum); font-weight: 700; }
.ai-points strong { color: var(--ink); }

/* Chat widget */
.ai-chat {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; min-height: 440px; display: flex; flex-direction: column;
}
.chat-head {
  display: flex; align-items: center; gap: .6rem;
  padding: .9rem 1.1rem; color: #fff;
  background: linear-gradient(135deg, var(--plum), #3a2433);
}
.chat-spark { font-size: 1.1rem; color: var(--gold); }
.chat-title { font-family: var(--sans); font-weight: 700; font-size: .95rem; }
.pill-ai { margin-left: auto; background: rgba(240,180,41,.22); color: var(--gold); }
.chat-body {
  flex: 1; padding: 1.1rem; display: flex; flex-direction: column; gap: .7rem;
  overflow: hidden; background:
    radial-gradient(400px 200px at 20% 0%, rgba(232,132,43,.05), transparent 70%);
}
.msg { display: flex; }
.msg-user { justify-content: flex-end; }
.msg-ai { justify-content: flex-start; }
.bubble {
  max-width: 85%; padding: .7rem .95rem; border-radius: 16px;
  font-size: .92rem; line-height: 1.45; min-height: 1.2em;
}
.msg-user .bubble { background: linear-gradient(135deg, var(--amber), var(--amber-deep)); color: #fff; border-bottom-right-radius: 5px; }
.msg-ai .bubble { background: var(--paper-2); color: var(--ink); border-bottom-left-radius: 5px; }

/* typing dots */
.bubble-typing { display: inline-flex; gap: 5px; align-items: center; }
.bubble-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); opacity: .4; animation: blink 1.2s infinite; }
.bubble-typing span:nth-child(2) { animation-delay: .2s; }
.bubble-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* proposed schedule card inside a bubble */
.bubble-sched { max-width: 95%; width: 100%; background: #fff; border: 1px solid var(--line); padding: .8rem; }
.sched-head { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; font-weight: 700; margin-bottom: .6rem; }
.sched-ok { color: var(--sky); background: rgba(63,125,140,.12); padding: .15rem .5rem; border-radius: 999px; font-size: .72rem; }
.sched-rows { display: flex; flex-direction: column; gap: .35rem; }
.sched-row {
  display: grid; grid-template-columns: 46px 1fr 1fr; gap: .4rem; align-items: center;
  animation: schedRow .35s ease both;
}
@keyframes schedRow { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sched-row .sd { font-size: .74rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; }
.sched-row .sc { font-size: .78rem; font-weight: 600; background: var(--paper-2); border-radius: 7px; padding: .35rem .45rem; text-align: center; }
.sched-actions { display: flex; gap: .5rem; margin-top: .8rem; }
.sched-btn { font-family: var(--sans); font-weight: 700; font-size: .8rem; padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.sched-btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Learn more (full capabilities) ---------- */
.learn-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.learn-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.learn-col:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.learn-cat { font-size: 1.15rem; margin-bottom: 1rem; }
.learn-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.learn-list li { position: relative; padding-left: 1.4rem; font-size: .92rem; color: var(--ink-soft); }
.learn-list li::before { content: "›"; position: absolute; left: 0; top: -1px; color: var(--amber-deep); font-weight: 800; font-size: 1.05rem; }
.learn-list strong { color: var(--ink); }
.learn-cta { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }

/* ---------- Integrations ---------- */
.soon-badge {
  display: inline-block; vertical-align: middle;
  font-family: var(--sans); font-weight: 700; font-size: .62em;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--amber-deep); background: rgba(232,132,43,.12);
  border: 1px solid rgba(232,132,43,.35);
  padding: .3em .7em; border-radius: 999px;
  margin-left: .5rem; transform: translateY(-.18em);
}
.integration-hero {
  display: flex; gap: 1.8rem; align-items: center;
  background: linear-gradient(135deg, #fff, #f7fbf5);
  border: 1px solid #d8ead2; border-left: 5px solid #2CA01C;
  border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow-md);
  margin-bottom: 1.6rem;
}
.integration-hero-mark {
  flex: none; width: 84px; height: 84px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.integration-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #2CA01C; }
.integration-hero-copy h3 { font-size: 1.7rem; margin: .25rem 0 .5rem; }
.integration-hero-copy p { color: var(--ink-soft); max-width: 56ch; margin-bottom: .9rem; }
.integration-bullets { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem .8rem; }
.integration-bullets li { font-size: .85rem; font-weight: 600; color: var(--ink); background: rgba(44,160,28,.10); padding: .3rem .7rem; border-radius: 999px; }

.integration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.integration-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.integration-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.integration-ic { font-size: 1.5rem; display: block; margin-bottom: .6rem; }
.integration-card h4 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: .35rem; }
.integration-card p { font-size: .9rem; color: var(--ink-soft); }
.integration-card--more { background: var(--paper-2); border-style: dashed; }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) 1.5rem; }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section-lede { margin-top: 1rem; font-size: 1.1rem; color: var(--ink-soft); }

/* Problem */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.problem-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-num { font-family: var(--serif); font-size: 2.4rem; color: var(--amber); font-weight: 600; display: block; margin-bottom: .6rem; }
.problem-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.problem-card p { color: var(--ink-soft); font-size: .98rem; }

/* Features */
.features { background:
  linear-gradient(180deg, transparent, rgba(243,235,224,.6) 40%, transparent);
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature.wide { grid-column: span 2; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(232,132,43,.4); }
.feature-icon { font-size: 1.8rem; margin-bottom: .9rem; }
.feature h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.feature p { color: var(--ink-soft); }

/* How */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 1rem; }
.step-num {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
  color: #fff; background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  box-shadow: 0 6px 16px rgba(201,101,26,.32);
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { color: var(--ink-soft); }
.step::before {
  content: ""; position: absolute; top: 26px; left: 52px; right: -1.5rem;
  height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step:last-child::before { display: none; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.price-card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price-card--featured {
  border: 1.5px solid var(--amber);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #fff, #fffaf3);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper);
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  padding: .35rem .9rem; border-radius: 999px; text-transform: uppercase;
}
.price-name { font-size: 1.5rem; }
.price-for { color: var(--ink-soft); font-size: .9rem; margin-bottom: 1.2rem; }
.price-amt { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .5rem; }
.price-num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--ink); }
.price-unit { color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.price-flat { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1.4rem; min-height: 2.4em; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.8rem; flex: 1; }
.price-list li { position: relative; padding-left: 1.6rem; font-size: .95rem; color: var(--ink); }
.price-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--amber-deep); font-weight: 800;
}
.price-cta { width: 100%; }

/* CTA band */
.cta-band {
  margin: 0 auto;
  max-width: var(--maxw);
}
.cta-inner {
  background: linear-gradient(135deg, var(--plum), #3a2433);
  color: var(--paper);
  border-radius: 28px;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ""; position: absolute; top: -40%; right: -10%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(240,180,41,.28), transparent 60%);
}
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 2.8rem); position: relative; }
.cta-inner > p { color: rgba(251,246,239,.82); margin: 1rem 0 2rem; position: relative; font-size: 1.1rem; }
.cta-form { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-form input {
  font-family: var(--sans); font-size: 1rem;
  padding: .85rem 1.2rem; border-radius: 999px; border: none;
  width: min(360px, 80vw); background: rgba(255,255,255,.95); color: var(--ink);
}
.cta-form input:focus { outline: 3px solid var(--gold); }
.cta-fine { font-size: .82rem; color: rgba(251,246,239,.6); margin-top: 1.1rem; position: relative; }

/* Footer */
.footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  display: grid; grid-template-columns: 1.5fr 2fr; gap: 2rem;
  border-top: 1px solid var(--line); margin-top: 4rem;
}
.footer-brand p { color: var(--ink-soft); margin-top: .5rem; max-width: 28ch; }
.footer-cols { display: flex; gap: 3rem; }
.footer-cols h4 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: .8rem; }
.footer-cols a { display: block; color: var(--ink); margin-bottom: .5rem; font-size: .95rem; transition: color .15s; }
.footer-cols a:hover { color: var(--amber-deep); }
.footer-copy { grid-column: 1 / -1; color: var(--ink-soft); font-size: .85rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

.section, .problem-card, .feature, .step, .price-card { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.section.in, .problem-card.in, .feature.in, .step.in, .price-card.in { opacity: 1; transform: none; }
/* nav/hero are not observed as .section so they show immediately */
.hero, .nav { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .section, .problem-card, .feature, .step, .price-card { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .hero-card { transform: none; max-width: 480px; margin: 0 auto; }
  .hero-phone { left: auto; right: 8px; bottom: -20px; width: 140px; }
  .feature.wide { grid-column: span 3; }
}
@media (max-width: 920px) {
  .ai-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .learn-cols { grid-template-columns: repeat(2, 1fr); }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .problem-grid, .feature-grid, .steps, .price-grid,
  .learn-cols, .integration-grid { grid-template-columns: 1fr; }
  .integration-hero { flex-direction: column; text-align: center; }
  .integration-bullets { justify-content: center; }
  .feature.wide { grid-column: span 1; }
  .step::before { display: none; }
  .footer { grid-template-columns: 1fr; }
  .footer-cols { flex-wrap: wrap; gap: 2rem; }
}
