/* ═══════════════════════════════════════════════════════
   ANIMA — Brand v6 Design System  ("rant it, post it")
   White / Ink / one strong electric cobalt. DM Sans + Playfair.
   Editorial Swiss clarity. No mandala, no XP, no stat rainbow.
   ═══════════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── TOKENS ── */
:root {
  /* Surfaces (the 60) */
  --white: #FFFFFF;
  --off-white: #F7F7F8;
  --fill: #F2F2F4;

  /* Ink (the 30) */
  --ink: #0E0E12;
  --ink-soft: #2B2B31;
  --grey: #6E6E76;
  --grey-light: #9A9AA2;
  --border: #E4E4E8;
  --border-strong: #D9D9DE;

  /* Electric cobalt (the 10) */
  --blue: #2342FF;
  --blue-deep: #1B34CC;
  --blue-tint: #EEF1FF;
  --blue-tint-2: #E0E6FF;

  /* Radii */
  --r-card: 20px;
  --r-sm: 14px;
  --r-pill: 9999px;

  /* Rhythm (8px grid) */
  --maxw: 1120px;
  --pad: clamp(20px, 5vw, 48px);

  /* Shadow (subtle, neutral) */
  --shadow-sm: 0 1px 2px rgba(14,14,18,0.04), 0 1px 3px rgba(14,14,18,0.06);
  --shadow-md: 0 4px 16px rgba(14,14,18,0.06), 0 2px 6px rgba(14,14,18,0.04);
  --shadow-blue: 0 8px 30px rgba(35,66,255,0.18);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--blue); color: #fff; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.14; }
h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; }
h4 { font-size: 19px; }
p { color: var(--ink-soft); }

.serif { font-family: 'Playfair Display', Georgia, serif; }
em { font-style: italic; }

/* eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue); flex: none;
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 14px; border-radius: var(--r-pill);
  background: var(--blue-tint); color: var(--blue-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
}
.eyebrow-pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); flex: none;
}

.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--grey); }

/* The cobalt dot device — used in the wordmark and as a motif */
.dot { color: var(--blue); }

/* ── LAYOUT ── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-off { background: var(--off-white); }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: var(--white); }
.section-ink p { color: rgba(255,255,255,0.72); }
.section-ink .eyebrow { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow, .section-head .eyebrow-pill { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: clamp(17px, 1.8vw, 19px); color: var(--grey); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600;
  padding: 15px 28px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-on-ink { background: #fff; color: var(--ink); }
.btn-on-ink:hover { transform: translateY(-1px); background: #f0f0f2; }
.btn-ghost { color: var(--ink); font-weight: 600; }
.btn-ghost:hover { color: var(--blue); }

.app-badge img { height: 52px; width: auto; }
.app-badge { display: inline-block; transition: transform .15s ease; }
.app-badge:hover { transform: translateY(-1px); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cta-note { font-size: 14px; color: var(--grey); margin-top: 20px; }
.cta-note .dot { font-weight: 700; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 700;
  font-size: 26px; color: var(--ink); letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { padding: 10px 22px; font-size: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ── HERO ── */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 { margin: 22px 0 24px; max-width: 16ch; }
.hero h1 .dot-phrase { color: var(--blue); }
.hero-sub { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--grey); max-width: 30em; margin-bottom: 32px; }
.hero .cta-row { margin-bottom: 0; }

/* faint grid atmosphere behind hero */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(14,14,18,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,14,18,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 0%, transparent 70%);
}

/* ── RANT → POST transformation visual ── */
.transform { display: grid; gap: 18px; position: relative; }
.t-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-md); }
.t-rant { padding: 22px 24px; }
.t-rant-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.t-mic { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; flex: none; }
.t-mic svg { width: 17px; height: 17px; stroke: #fff; }
.t-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.t-rant-text { font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.t-rant-text .raw { color: var(--grey-light); }
.t-arrow { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--grey); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.t-arrow .line { height: 1px; flex: 1; background: var(--border-strong); }
.t-arrow .chev { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-tint); display: grid; place-items: center; }
.t-arrow .chev svg { width: 16px; height: 16px; stroke: var(--blue); }
.t-post { padding: 24px; }
.t-post-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.t-chip { font-size: 12px; font-weight: 600; color: var(--blue-deep); background: var(--blue-tint); padding: 5px 12px; border-radius: var(--r-pill); }
.t-post p { font-size: 15.5px; line-height: 1.62; color: var(--ink); margin-bottom: 12px; }
.t-post p:last-child { margin-bottom: 0; }
.t-post strong { font-weight: 600; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 32px 28px; }
.step-n { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: #fff; background: var(--blue); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 16px; color: var(--grey); }

/* ── FORMAT GRID ── */
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.format { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px 24px; transition: border-color .2s ease, transform .2s ease; }
.format:hover { border-color: var(--blue); transform: translateY(-2px); }
.format-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-tint); display: grid; place-items: center; margin-bottom: 18px; }
.format-ico svg { width: 21px; height: 21px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.format h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 7px; color: var(--ink); }
.format p { font-size: 14.5px; color: var(--grey); line-height: 1.5; }

/* ── FEATURE ROWS (two-up alternating) ── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 7vw, 96px); }
.feature.flip .feature-media { order: -1; }
.feature .eyebrow { margin-bottom: 18px; }
.feature h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.feature p { font-size: 17px; color: var(--grey); }
.feature-media { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 32px; min-height: 240px; display: grid; place-items: center; }

/* voice-profile chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); background: #fff; color: var(--ink-soft); }
.chip.on { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── PRICING ── */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.plan { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 36px 32px; }
.plan.pro { border: 1.5px solid var(--blue); box-shadow: var(--shadow-blue); position: relative; }
.plan-tag { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--grey); margin-bottom: 6px; }
.plan.pro .plan-tag { color: var(--blue-deep); }
.plan-price { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 40px; color: var(--ink); margin-bottom: 4px; }
.plan-price span { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500; color: var(--grey); }
.plan-sub { font-size: 14px; color: var(--grey); margin-bottom: 24px; }
.plan ul { list-style: none; display: grid; gap: 13px; margin-bottom: 28px; }
.plan li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; color: var(--ink-soft); }
.plan li svg { width: 19px; height: 19px; stroke: var(--blue); fill: none; stroke-width: 2; flex: none; margin-top: 1px; }
.plan .btn { width: 100%; }

/* ── PRIVACY / list of points ── */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.point-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.08); display: grid; place-items: center; margin-bottom: 18px; }
.point-ico svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.point h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 9px; }
.point p { font-size: 15px; }

/* ── CTA BANNER ── */
.cta-banner { text-align: center; }
.cta-banner h2 { margin-bottom: 16px; max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-banner .lead { margin: 0 auto 32px; max-width: 36em; }
.cta-banner .cta-row { justify-content: center; }

/* ── FOOTER ── */
.footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .wordmark { color: #fff; display: inline-block; margin-bottom: 12px; }
.footer-tag { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 20px; max-width: 22em; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: background .2s ease; }
.footer-socials a:hover { background: var(--blue); }
.footer-socials svg { width: 16px; height: 16px; fill: #fff; }
.footer-col h5 { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: 15px; color: rgba(255,255,255,0.66); transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: #fff; }

/* ── ARTICLE / BLOG (SEO pages) ── */
.article-wrap { max-width: 720px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--pad) 0; }
.article-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--grey); margin-bottom: 22px; flex-wrap: wrap; }
.article-meta .tag { background: var(--blue-tint); color: var(--blue-deep); font-weight: 600; padding: 5px 12px; border-radius: var(--r-pill); }
.article-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }
.article-wrap h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.1; margin-bottom: 14px; }
.byline { font-size: 14px; color: var(--grey); margin-bottom: 30px; }
.byline a { color: var(--ink-soft); text-decoration: underline; }
.answer-block { font-size: 19px; line-height: 1.6; color: var(--ink); background: var(--off-white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px 30px; margin-bottom: 36px; }
.article-wrap h2 { font-size: clamp(24px, 3vw, 30px); margin: 44px 0 16px; }
.article-wrap h3 { margin: 32px 0 12px; }
.article-wrap p { font-size: 18px; line-height: 1.78; color: var(--ink-soft); margin-bottom: 20px; }
.article-wrap p strong, .article-wrap li strong { color: var(--ink); font-weight: 600; }
.article-wrap a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 2px; }
.article-wrap ul, .article-wrap ol { margin: 0 0 22px 22px; }
.article-wrap li { font-size: 18px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 10px; }
.callout { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px 28px; margin: 32px 0; font-size: 16.5px; line-height: 1.65; color: var(--ink-soft); }
.callout strong { color: var(--ink); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.compare .col { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; }
.compare .col h4 { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; }
.compare .col p { font-size: 15.5px; line-height: 1.6; margin: 0; }
.compare .col.highlight { border: 1.5px solid var(--blue); }
.compare .col.highlight h4 { color: var(--blue-deep); }
@media (max-width: 600px) { .compare { grid-template-columns: 1fr; } }
.inline-cta { background: var(--ink); border-radius: var(--r-card); padding: 30px 32px; margin: 40px 0; text-align: center; }
.inline-cta p { color: #fff; font-size: 17px; margin: 0 0 18px; }
.inline-cta .app-badge img { margin: 0 auto; }
.faq { margin: 44px 0 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 17px; color: var(--ink); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--blue); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 22px 20px; font-size: 16.5px; line-height: 1.65; color: var(--ink-soft); }
.article-wrap table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15.5px; }
.article-wrap th, .article-wrap td { text-align: left; padding: 12px 14px; border: 1px solid var(--border); color: var(--ink-soft); vertical-align: top; }
.article-wrap th { background: var(--off-white); color: var(--ink); font-weight: 600; }
.article-wrap h2 a { text-decoration: none; }

/* ── POST / GUIDE CARD GRID (index pages) ── */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px 26px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.post-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.post-card .tag { align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-deep); background: var(--blue-tint); padding: 5px 11px; border-radius: var(--r-pill); margin-bottom: 16px; }
.post-card h3 { font-size: 21px; line-height: 1.22; margin-bottom: 10px; }
.post-card p { font-size: 15.5px; line-height: 1.55; color: var(--grey); margin-bottom: 18px; }
.post-card .more { margin-top: auto; font-size: 14.5px; font-weight: 600; color: var(--blue); }
.post-card:hover .more { text-decoration: underline; }

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

/* ── RESPONSIVE ── */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: 2; }
  .hero h1 { max-width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .pricing { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 12px var(--pad) 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links .btn { width: 100%; margin-top: 8px; }
  .nav-toggle { display: flex; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn, .cta-row .app-badge { width: 100%; }
  .app-badge img { margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}
