/* =========================================================================
   Avanzu — clean, calm, modern marketing site
   Plain CSS. Restrained palette tied to the app (indigo #4f46e5).
   ========================================================================= */

/* ----- Fonts ----- */
@font-face { font-family:'Clash Grotesk'; src:url('../assets/fonts/ClashGrotesk-Bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'Clash Grotesk'; src:url('../assets/fonts/ClashGrotesk-Medium.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:'Satoshi'; src:url('../assets/fonts/Satoshi-Bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'Satoshi'; src:url('../assets/fonts/Satoshi-Medium.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:'Satoshi'; src:url('../assets/fonts/Satoshi-Regular.woff2') format('woff2'); font-weight:400; font-display:swap; }

/* ----- Tokens ----- */
:root {
  --indigo: #4f46e5;
  --indigo-600: #4338ca;
  --emerald: #10b981;
  --emerald-600: #059669;
  --amber: #f59e0b;
  --amber-600: #d97706;
  --coral: #fb7185;
  --coral-600: #e11d64;
  --sky: #38bdf8;
  --violet: #7c3aed;

  /* Soft pastel fills for friendly accents */
  --c-indigo: #eceafe;
  --c-emerald: #e1f7ee;
  --c-amber: #fdefd3;
  --c-coral: #ffe7ec;
  --c-sky: #e2f2fd;
  --c-violet: #efe8fd;

  --ink: #17171f;
  --ink-soft: #45464f;
  --muted: #79776f;
  --line: #ece7dd;
  --line-soft: #f2ede3;
  --bg: #faf6ee;        /* warm cream page */
  --card: #ffffff;
  --panel: #f4eee2;     /* deeper cream for alternating sections */
  --tint: #f0eefb;      /* faint indigo wash */

  --font-display: 'Clash Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(23,23,31,.05);
  --shadow-md: 0 12px 30px -16px rgba(23,23,31,.18);

  --wrap: 1080px;
  --gutter: clamp(20px, 5vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

/* Layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
}

.section-head { max-width: 600px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 14px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 13px 24px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px -12px rgba(79,70,229,.6); }
.btn-primary:hover { background: var(--indigo-600); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* =========================================================================
   Nav
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,238,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--ink); }
.brand img { width: 27px; height: 27px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--ink-soft); padding: 8px 14px; border-radius: var(--r-pill); transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle span + span { margin-top: 6px; }

/* =========================================================================
   Hero (centered, airy)
   ========================================================================= */
.hero { padding-top: clamp(48px, 8vw, 92px); padding-bottom: clamp(20px, 4vw, 40px); text-align: center; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 7vw, 74px); line-height: 1.02; max-width: 15ch; margin-inline: auto; }
.hero .lead { margin: 24px auto 0; font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 52ch; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-note { margin-top: 20px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.hero-note b { color: var(--ink); font-weight: 700; }

.hero-shot-wrap { margin-top: clamp(40px, 6vw, 68px); }
.hero-shot {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(23,23,31,.30);
  background: #fff;
  margin-inline: auto;
  max-width: 960px;
}

/* =========================================================================
   USP — clean compare
   ========================================================================= */
.usp .section-head { margin-bottom: 40px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 30px 34px; background: #fff; }
.compare-col.good { background: var(--c-emerald); border-color: #bfe9d7; }
.compare-col h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 18px; }
.compare-col.good h3 { color: var(--emerald-600); }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-size: 16px; color: var(--ink-soft); }
.compare-col li .m { flex: none; font-size: 18px; line-height: 1.4; }
.compare-col.bad li .m { filter: grayscale(1); opacity: .7; }

/* =========================================================================
   Steps — minimal
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: 52px; }
.step { --accent: var(--indigo); --accent-soft: var(--c-indigo); }
.step:nth-child(1) { --accent: var(--indigo);      --accent-soft: var(--c-indigo); }
.step:nth-child(2) { --accent: var(--emerald-600); --accent-soft: var(--c-emerald); }
.step:nth-child(3) { --accent: var(--amber-600);   --accent-soft: var(--c-amber); }
.step .feat-mark { margin-bottom: 22px; }
.step .n { font-family: var(--font-display); font-weight: 700; font-size: 20px; width: 54px; height: 54px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; transition: transform .25s ease; }
.step:hover .n { transform: translateY(-3px) rotate(-3deg); }
.step:hover .feat-slash { transform: skewX(-11deg) scaleY(1.12); }
.step h3 { font-size: 21px; margin-bottom: 10px; transition: color .2s ease; }
.step:hover h3 { color: var(--accent); }
.step p { color: var(--muted); font-size: 15.5px; }

/* =========================================================================
   Features — borderless, colour-slash + line-art object
   ========================================================================= */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px, 5vw, 56px) clamp(40px, 6vw, 72px); margin-top: 56px; }
.feat {
  --accent: var(--indigo);
  --accent-soft: var(--c-indigo);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
}
.feat:nth-child(6n+1) { --accent: var(--indigo);      --accent-soft: var(--c-indigo); }
.feat:nth-child(6n+2) { --accent: var(--emerald-600); --accent-soft: var(--c-emerald); }
.feat:nth-child(6n+3) { --accent: var(--amber-600);   --accent-soft: var(--c-amber); }
.feat:nth-child(6n+4) { --accent: #0ea5e9;            --accent-soft: var(--c-sky); }
.feat:nth-child(6n+5) { --accent: var(--coral-600);   --accent-soft: var(--c-coral); }
.feat:nth-child(6n+6) { --accent: var(--violet);      --accent-soft: var(--c-violet); }

/* left cluster: the colour slash + the object */
.feat-mark { display: flex; align-items: center; gap: 16px; }
.feat-slash {
  width: 8px; height: 66px; border-radius: 8px;
  background: var(--accent);
  transform: skewX(-11deg);
  box-shadow: 0 8px 18px -8px var(--accent);
  transition: transform .25s ease, height .25s ease;
}
.feat-obj {
  position: relative;
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: transform .25s ease;
}
.feat-obj svg { width: 28px; height: 28px; display: block; }
.feat-body h3 { font-size: 20px; margin-bottom: 9px; transition: color .2s ease; }
.feat-body p { color: var(--muted); font-size: 15px; }
.feat:hover .feat-slash { transform: skewX(-11deg) scaleY(1.12); }
.feat:hover .feat-obj { transform: translateY(-3px) rotate(-3deg); }
.feat:hover .feat-body h3 { color: var(--accent); }

/* =========================================================================
   Split (dashboard / feature detail)
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split-media { border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); overflow: hidden; background: #fff; }
.split.rev .split-media { order: -1; }
.split h2 { font-size: clamp(26px, 3.6vw, 38px); }
.split .lead { color: var(--muted); margin-top: 14px; font-size: 18px; }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-soft); }
.checks li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #e7fbf3; color: var(--emerald-600); font-weight: 700; font-size: 12px; display: grid; place-items: center; margin-top: 2px; }

/* =========================================================================
   Testimonials
   ========================================================================= */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.quote { --accent: var(--indigo); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 16px; }
.quote:nth-child(1) { --accent: var(--indigo); }
.quote:nth-child(2) { --accent: var(--emerald-600); }
.quote:nth-child(3) { --accent: var(--coral-600); }
.quote::before { content: ''; width: 38px; height: 7px; border-radius: 7px; background: var(--accent); transform: skewX(-11deg); }
.quote .hl { font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: 18px; line-height: 1.35; letter-spacing: -.01em; }
.quote .body { color: var(--muted); font-size: 14.5px; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.quote .who b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 15px; }
.quote .who span { font-size: 13px; color: var(--muted); }

/* =========================================================================
   Pricing
   ========================================================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; align-items: start; }
.plan { --accent: var(--indigo); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px; background: #fff; position: relative; }
.plan:nth-child(1) { --accent: var(--emerald-600); }
.plan:nth-child(2) { --accent: var(--indigo); }
.plan:nth-child(3) { --accent: var(--amber-600); }
.plan::before { content: ''; display: block; width: 44px; height: 7px; border-radius: 7px; background: var(--accent); transform: skewX(-11deg); margin: 0 0 20px 2px; }
.plan.pop { border-color: var(--indigo); box-shadow: var(--shadow-md); }
.plan-badge { position: absolute; top: -12px; left: 30px; background: var(--indigo); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; padding: 5px 13px; border-radius: var(--r-pill); text-transform: uppercase; }
.plan h3 { font-size: 20px; }
.plan .desc { color: var(--muted); font-size: 14px; margin-top: 8px; min-height: 40px; }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; }
.plan .price .amt { font-family: var(--font-display); font-size: 46px; color: var(--ink); line-height: 1; }
.plan .price .per { color: var(--muted); font-weight: 500; font-size: 14px; }
.plan ul { margin: 22px 0; display: grid; gap: 11px; }
.plan li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.plan li::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; background: #e7fbf3; color: var(--emerald-600); font-weight: 700; font-size: 11px; display: grid; place-items: center; flex: none; }
.plan .btn { width: 100%; justify-content: center; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-list { max-width: 760px; margin: 44px auto 0; display: grid; gap: 8px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 4px; font-family: var(--font-display); font-weight: 500; font-size: 17.5px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; font-size: 22px; color: var(--muted); transition: transform .2s ease, color .2s ease; line-height: 1; }
.faq[open] summary .ic { transform: rotate(45deg); color: var(--indigo); }
.faq .ans { padding: 0 4px 22px; color: var(--muted); font-size: 15.5px; max-width: 68ch; }

/* =========================================================================
   Stats (light)
   ========================================================================= */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { text-align: center; padding: 20px; }
.stat .num { font-family: var(--font-display); font-size: clamp(36px, 5vw, 50px); line-height: 1; color: var(--ink); }
.stat:nth-child(1) .num { color: var(--indigo); }
.stat:nth-child(2) .num { color: var(--emerald-600); }
.stat:nth-child(3) .num { color: var(--coral-600); }
.stat .lbl { margin-top: 10px; color: var(--muted); font-weight: 500; font-size: 15px; }

/* =========================================================================
   CTA — flat, light
   ========================================================================= */
.cta-band { padding-bottom: clamp(56px, 8vw, 104px); }
.cta-card { background: linear-gradient(135deg, var(--indigo) 0%, #6d5cf5 48%, var(--violet) 100%); border-radius: var(--r-xl); padding: clamp(44px, 6vw, 72px); text-align: center; color: #fff; box-shadow: 0 30px 60px -30px rgba(79,70,229,.55); }
.cta-card h2 { color: #fff; font-size: clamp(28px, 4.6vw, 46px); max-width: 18ch; margin-inline: auto; }
.cta-card p { color: rgba(255,255,255,.72); margin-top: 16px; font-size: 18px; max-width: 50ch; margin-inline: auto; }
.cta-card .btn { background: #fff; color: var(--indigo); margin-top: 28px; }
.cta-card .btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.35); }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { border-top: 1px solid var(--line); padding-top: 60px; }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer .brand { color: var(--ink); }
.footer-blurb { margin-top: 16px; font-size: 15px; color: var(--muted); max-width: 34ch; }
.footer h5 { color: var(--ink); font-family: var(--font-display); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; padding: 6px 0; font-size: 15px; color: var(--muted); transition: color .15s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-sub { display: flex; gap: 8px; margin-top: 6px; }
.footer-sub input { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 11px 16px; color: var(--ink); font-family: var(--font-body); font-size: 14px; }
.footer-sub input::placeholder { color: var(--muted); }
.footer-sub button { border: 0; background: var(--ink); color: #fff; border-radius: var(--r-pill); padding: 0 17px; font-weight: 700; cursor: pointer; font-family: var(--font-body); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }
.footer-legal { font-size: 11.5px; color: #a4a5b3; line-height: 1.7; padding-bottom: 30px; }

/* =========================================================================
   Inner page hero
   ========================================================================= */
.page-hero { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(20px, 3vw, 30px); text-align: center; }
.page-hero h1 { font-size: clamp(38px, 6vw, 62px); max-width: 16ch; margin-inline: auto; }
.page-hero p { margin: 18px auto 0; color: var(--muted); font-size: 19px; max-width: 54ch; }
.page-hero .hero-actions { margin-top: 28px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-info { display: grid; gap: clamp(28px, 4vw, 40px); }
.contact-info .feat-body a { color: var(--accent); font-weight: 700; }
.form-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 38px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: 14px; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; font-family: var(--font-body); font-size: 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 12px 15px; background: #fff; color: var(--ink); transition: border-color .15s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--indigo); }
.field textarea { min-height: 130px; resize: vertical; }

/* About values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 4vw, 48px); margin-top: 48px; }

.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose h4 { font-size: 17px; margin: 22px 0 8px; color: var(--ink); }
.prose p { margin-bottom: 16px; color: var(--ink-soft); font-size: 17px; }
.prose ul { margin: 0 0 18px; padding-left: 0; display: grid; gap: 8px; }
.prose li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); font-size: 16px; }
.prose li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); margin-top: 10px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--indigo); font-weight: 700; }
.prose a:hover { text-decoration: underline; }
.legal-meta { color: var(--muted); font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.legal-intro { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 8px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 22px; gap: 2px; box-shadow: var(--shadow-md); }
  .compare, .steps, .features, .split, .quotes, .pricing-grid, .stats, .values, .contact-grid { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
