/* ============================================================
   MightyMax — light, warm & playful rebrand
   Type:  Plus Jakarta Sans (friendly rounded display + UI) · Hanken Grotesk (body)
   Color: warm cream paper · soft plum-charcoal ink · coral primary
          + a playful pastel family (sky · grape · mint · sunshine · bubble)
   Mood:  light, airy, joyful, approachable — for every kind of owner.
   ============================================================ */

:root {
  /* ---- paper & ink (light, teal-tuned) ---- */
  --bone:   #f2fbfb;   /* page */
  --bone-2: #e6f6f5;   /* second surface */
  --bone-3: #cfeae8;   /* hairline / soft border */
  --ink:    #1f3b3c;   /* soft teal-charcoal — headings & strong text */
  --ink-2:  #142a2b;   /* deepest text */
  --ink-3:  #52706f;   /* muted */
  --ink-soft: rgba(31,59,60,.68);
  --bone-soft: rgba(31,59,60,.68);   /* kept for JS compat; reads as muted ink */
  --bone-dim:  rgba(31,59,60,.44);

  /* ---- primary accent (swappable) ---- */
  --accent:     #08b6b0;   /* vibrant teal */
  --accent-2:   #3fd1cb;   /* lighter teal */
  --accent-rgb: 8, 182, 176;
  --accent-ink: #ffffff;   /* text on accent */
  --volt:       #ffc95c;   /* sunshine secondary */

  /* ---- playful pastel family (static, decorative) ---- */
  --sky:    #6fb7e8;
  --grape:  #9b8cec;
  --mint:   #57c98f;
  --butter: #ffc95c;
  --bubble: #ff9ec4;

  /* ---- shape & elevation (soft, warm) ---- */
  --r-xs: 12px;
  --r-sm: 16px;
  --r-md: 22px;
  --r-lg: 30px;
  --r-pill: 999px;
  --shadow-sm: 0 6px 20px -10px rgba(18,60,58,.22);
  --shadow-md: 0 18px 40px -18px rgba(18,60,58,.26);
  --shadow-lg: 0 34px 64px -28px rgba(18,60,58,.30);
  --shadow-accent: 0 16px 32px -10px rgba(var(--accent-rgb),.42);

  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono:    "Plus Jakarta Sans", system-ui, sans-serif;

  --maxw: 1240px;
}

/* ============================================================ reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.55;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ============================================================ primitives */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, white);
  padding: 7px 15px 7px 13px;
  border-radius: var(--r-pill);
}
.eyebrow::before { content: "✦"; font-size: 12px; }
.eyebrow.no-rule::before { display: none; }

.section { padding: 116px 0; position: relative; }
.section-head { max-width: 760px; }
.section-head .display { font-size: clamp(34px, 5vw, 60px); margin: 20px 0 0; }
.section-head p { margin-top: 20px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); max-width: 56ch; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
  position: relative;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-accent); }
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -12px rgba(var(--accent-rgb),.5); }
.btn-accent:active { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--bone); box-shadow: var(--shadow-md); }
.btn-ink:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--bone-3);
  padding: 13.5px 26px;
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow-md); }
.btn-ghost.on-ink { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.4); box-shadow: none; }
.btn-ghost.on-ink:hover { background: #fff; color: var(--accent); border-color: #fff; }

.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================ NAV */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,250,243,.78);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-color: var(--bone-3); background: rgba(255,250,243,.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 13px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800;
  font-size: 23px; line-height: 1;
  box-shadow: var(--shadow-accent);
  transform: rotate(7deg);
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.logo:hover .logo-mark { transform: rotate(12deg) scale(1.06); }
.logo-word {
  font-family: var(--display); font-weight: 800;
  font-size: 23px; letter-spacing: -0.03em;
}
.logo-word .mx { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--ink-soft);
  white-space: nowrap; position: relative; padding: 6px 2px; transition: color .18s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 0; height: 3px; width: 0; margin: auto;
  background: var(--accent); border-radius: 3px; transition: width .22s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: calc(100% - 4px); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ============================================================ HERO */
.hero {
  background: var(--bone);
  position: relative; overflow: hidden;
  padding: 70px 0 0;
}
/* soft pastel blobs instead of a dark techy grid */
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(closest-side, rgba(var(--accent-rgb),.22), transparent),
    radial-gradient(closest-side, rgba(111,183,232,.20), transparent),
    radial-gradient(closest-side, rgba(155,140,236,.18), transparent),
    radial-gradient(closest-side, rgba(255,201,92,.20), transparent);
  background-repeat: no-repeat;
  background-position: 8% 12%, 92% 8%, 80% 78%, 18% 86%;
  background-size: 520px 520px, 480px 480px, 440px 440px, 420px 420px;
  filter: blur(20px);
  opacity: .9;
}
.hero-glow { display: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-bottom: 96px; }

.hero h1 {
  font-family: var(--display); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.0;
  font-size: clamp(44px, 6.2vw, 84px);
  color: var(--ink-2);
  margin: 22px 0 0;
}
.hero h1 .ink-pop { color: var(--accent); }
/* friendly highlighter swash (replaces cold outline text) */
.hero h1 .hl {
  display: inline-block;
  background-image: linear-gradient(to top, var(--butter) 0, var(--butter) 0.30em, transparent 0.30em);
  background-repeat: no-repeat;
  border-radius: 6px;
  padding: 0 0.06em;
}
.hero-sub {
  margin-top: 24px; font-size: clamp(17px, 1.5vw, 20.5px);
  color: var(--ink-soft); max-width: 50ch; line-height: 1.55;
}
.hero-sub strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

/* AI prompt composer (light) */
.prompt {
  margin-top: 30px; display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1.5px solid var(--bone-3);
  border-radius: var(--r-pill); padding: 8px 8px 8px 20px; max-width: 530px;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s, box-shadow .25s;
}
.prompt:hover { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.1), var(--shadow-sm); }
.prompt-spark { color: var(--accent); font-size: 15px; animation: spark 3.2s ease-in-out infinite; }
@keyframes spark { 0%,100% { opacity: .6; transform: scale(.9) rotate(0deg); } 50% { opacity: 1; transform: scale(1.18) rotate(20deg); } }
.prompt-label { color: var(--ink-soft); font-size: 15.5px; font-weight: 500; white-space: nowrap; }
.prompt-type { flex: 1; min-width: 0; font-family: var(--display); font-size: 15.5px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; white-space: nowrap; overflow: hidden; }
.prompt-caret { width: 2px; height: 17px; background: var(--accent); margin-left: 2px; display: inline-block; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.prompt-go {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 700; font-size: 14.5px;
  padding: 11px 18px; border-radius: var(--r-pill); transition: transform .18s, box-shadow .18s;
}
.prompt-go:hover { transform: translateY(-1px); box-shadow: var(--shadow-accent); }
.prompt-go .arrow { transition: transform .2s; }
.prompt-go:hover .arrow { transform: translateX(3px); }

.hero-meta {
  margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 20px;
  font-family: var(--display); font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: "✓"; color: var(--mint); font-weight: 800; }

/* ---- browser mock ---- */
.browser {
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--bone-3);
  transform: rotate(1deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.hero-mock-stack { position: relative; z-index: 1; }
.browser:hover { transform: rotate(0deg) translateY(-4px); }
.browser-bar {
  background: var(--bone-2); display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; border-bottom: 1px solid var(--bone-3);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff8b7a; } .dot.y { background: #ffc95c; } .dot.g { background: #5fcb97; }
.browser-url {
  flex: 1; margin-left: 10px; background: #fff; border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft);
  padding: 6px 14px; display: flex; align-items: center; gap: 7px; font-weight: 500;
}
.browser-url .lock { color: var(--mint); font-size: 11px; }

.mini-site { background: #fff; color: var(--ink); opacity: 1; }
.mini-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--bone-3); }
.mini-brand { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -0.03em; }
.mini-links { display: flex; gap: 14px; font-size: 11px; color: var(--ink-soft); font-weight: 600; }
.mini-hero { padding: 26px 20px 26px; position: relative; }
.mini-tag { font-family: var(--display); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); font-weight: 700; transition: color .3s; }
.mini-h { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.1; letter-spacing: -0.03em; margin: 10px 0 0; max-width: 17ch; }
.mini-btn { display: inline-block; margin-top: 16px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 9px 16px; border-radius: var(--r-pill); white-space: nowrap; font-family: var(--display); }
.mini-strip { display: flex; gap: 10px; padding: 0 20px 22px; }
.mini-card { flex: 1; background: var(--bone); border: 1px solid var(--bone-3); border-radius: var(--r-sm); padding: 12px; }
.mini-card .ph { height: 34px; border-radius: var(--r-xs); margin-bottom: 9px; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 22%, white), color-mix(in srgb, var(--sky) 22%, white)); }
.mini-card b { font-size: 10.5px; display: block; font-family: var(--display); }
.mini-card span { font-size: 9px; color: var(--ink-soft); }

.mock-badge {
  position: absolute; z-index: 4;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--display); font-weight: 700; font-size: 12px;
  padding: 9px 15px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
}
.mock-badge.tl { top: -16px; left: -16px; transform: rotate(-3deg); }
.mock-badge.br { bottom: -18px; right: -10px; background: #fff; color: var(--ink); box-shadow: var(--shadow-md); transform: rotate(2deg); }

/* ============================================================ MARQUEE */
.marquee {
  background: var(--accent); color: var(--accent-ink);
  overflow: hidden; padding: 18px 0;
}
.marquee-track { display: flex; gap: 0; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--display); font-weight: 800;
  font-size: 19px; letter-spacing: -0.02em;
  padding: 0 26px; display: inline-flex; align-items: center; gap: 26px; white-space: nowrap;
}
.marquee-item::after { content: "✿"; font-size: 14px; opacity: .8; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================ HOW IT WORKS */
.how { background: var(--bone); }
.steps { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  padding: 30px 26px 32px; position: relative;
  background: #fff; border: 1px solid var(--bone-3); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1;
  color: #fff; letter-spacing: -0.02em;
}
.step:nth-child(1) .step-num { background: var(--accent); }
.step:nth-child(2) .step-num { background: var(--sky); }
.step:nth-child(3) .step-num { background: var(--grape); }
.step:nth-child(4) .step-num { background: var(--mint); }
.step-kicker { font-family: var(--display); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin: 22px 0 9px; }
.step h3 { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.025em; line-height: 1.12; }
.step p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }

/* ============================================================ MANAGED — soft pastel band */
.managed {
  background:
    radial-gradient(closest-side, rgba(var(--accent-rgb),.16), transparent) 0% 110%/620px 620px no-repeat,
    radial-gradient(closest-side, rgba(111,183,232,.18), transparent) 100% -10%/560px 560px no-repeat,
    linear-gradient(160deg, color-mix(in srgb, var(--butter) 22%, var(--bone)), var(--bone-2));
  color: var(--ink); overflow: hidden;
}
.managed-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.managed h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px,4.6vw,56px); line-height: 1.04; letter-spacing: -0.03em; margin-top: 16px; }
.managed h2 .accent { color: var(--accent); }
.managed > .wrap > .managed-grid p.lead { color: var(--ink-soft); margin-top: 22px; font-size: 19px; max-width: 46ch; }
.managed-list { margin-top: 30px; display: flex; flex-direction: column; gap: 2px; }
.managed-list .row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--bone-3); }
.managed-list .row:last-child { border-bottom: 1px solid var(--bone-3); }
.managed-list .check { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 800; margin-top: 1px; }
.managed-list .row span { font-size: 16.5px; color: var(--ink-soft); }
.managed-list .row span b { color: var(--ink); font-weight: 700; }

.gotyou {
  background: linear-gradient(150deg, var(--accent), var(--bubble));
  color: #fff;
  border-radius: var(--r-lg); padding: 46px 42px; position: relative;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.gotyou::after { content: "✿"; position: absolute; right: -10px; bottom: -16px; font-size: 120px; color: rgba(255,255,255,.18); }
.gotyou .big { font-family: var(--display); font-weight: 800; font-size: clamp(44px,5vw,66px); line-height: 0.95; letter-spacing: -0.04em; }
.gotyou p { margin-top: 20px; font-size: 16px; max-width: 30ch; color: #fff; opacity: .92; position: relative; }
.gotyou a { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 800; font-family: var(--display); color: #fff; border-bottom: 2px solid rgba(255,255,255,.7); padding-bottom: 3px; position: relative; }
.gotyou a .arrow { transition: transform .2s; }
.gotyou a:hover .arrow { transform: translateX(4px); }

/* ============================================================ EXAMPLES */
.examples { background: var(--bone-2); }
.ex-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ex-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--bone-3);
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s;
  display: flex; flex-direction: column;
}
.ex-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.ex-frame { border-bottom: 1px solid var(--bone-3); }
.ex-foot { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ex-cat { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; font-family: var(--display); }
.ex-cat .ico { font-size: 17px; }
.ex-view { font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; transition: color .18s, gap .18s; }
.ex-card:hover .ex-view { color: var(--accent); gap: 9px; }

.ex-mini { aspect-ratio: 16/11; display: flex; flex-direction: column; }
.ex-mini .em-bar { display:flex; align-items:center; gap:6px; padding:8px 11px; }
.ex-mini .em-bar .d { width:7px;height:7px;border-radius:50%; }
.ex-mini .em-body { flex:1; padding: 14px 16px; display:flex; flex-direction:column; justify-content:center; }
.ex-mini .em-nav { display:flex; justify-content:space-between; align-items:center; font-size:9px; font-weight:700; }
.ex-mini .em-tag { font-family: var(--display); font-size:8px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:6px; opacity:.85; font-weight:700; }
.ex-mini .em-h { font-family: var(--display); font-weight:800; font-size:18px; line-height:1.04; letter-spacing:-.03em; }
.ex-mini .em-cta { align-self:flex-start; margin-top:12px; font-size:9px; font-weight:700; padding:6px 12px; border-radius:var(--r-pill); font-family: var(--display); }

.ex-note { margin-top: 40px; text-align: center; font-size: 15px; color: var(--ink-soft); }
.ex-note b { color: var(--ink); font-weight: 700; }

/* example cards: live-preview chrome + a real, drag-fillable screenshot slot */
.ex-shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 13px; background: var(--bone-2); border-bottom: 1px solid var(--bone-3); }
.ex-shot-bar .d { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ex-shot-url { margin-left: 6px; flex: 1; min-width: 0; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink-soft); background: #fff; padding: 5px 12px; border-radius: var(--r-pill); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-shot { display: block; width: 100%; aspect-ratio: 16 / 10; }

/* ============================================================ FEATURES */
.features { background: var(--bone); }
.feat-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  padding: 32px 28px 34px; position: relative;
  background: #fff; border: 1px solid var(--bone-3); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .24s cubic-bezier(.2,.7,.2,1), box-shadow .24s;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feat-ico {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  font-size: 25px; color: #fff;
  transition: transform .24s;
}
.feat:hover .feat-ico { transform: rotate(-6deg) scale(1.06); }
.feat:nth-child(1) .feat-ico { background: var(--accent); }
.feat:nth-child(2) .feat-ico { background: var(--sky); }
.feat:nth-child(3) .feat-ico { background: var(--grape); }
.feat:nth-child(4) .feat-ico { background: var(--mint); }
.feat:nth-child(5) .feat-ico { background: var(--butter); }
.feat:nth-child(6) .feat-ico { background: var(--bubble); }
.feat h3 { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.025em; margin: 22px 0 0; line-height: 1.12; }
.feat p { margin-top: 12px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.5; }

/* ============================================================ COMPARISON — now light */
.compare { background: var(--bone-2); color: var(--ink); }
.compare .section-head .display { color: var(--ink-2); }
.compare .section-head p { color: var(--ink-soft); }
.cmp-cards { margin-top: 52px; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.cmp-card { border: 1px solid var(--bone-3); border-radius: var(--r-lg); padding: 26px 24px; background: #fff; box-shadow: var(--shadow-sm); }
.cmp-card h4 { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.cmp-card p { margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.cmp-card .price { margin-top: 18px; font-family: var(--display); font-size: 15px; color: var(--ink-3); font-weight: 700; }

.cmp-table-wrap { margin-top: 24px; overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--bone-3); background: #fff; box-shadow: var(--shadow-sm); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
table.cmp th, table.cmp td { padding: 16px 18px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--bone-3); }
table.cmp thead th { font-family: var(--display); font-size: 12.5px; letter-spacing: .02em; color: var(--ink-3); font-weight: 700; }
table.cmp thead th.us { color: var(--accent); }
table.cmp tbody td:first-child { color: var(--ink-soft); font-weight: 600; }
table.cmp td.us { background: color-mix(in srgb, var(--accent) 12%, white); color: var(--ink); font-weight: 700; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp .yes { color: var(--mint); font-weight: 800; }
table.cmp .no { color: var(--bone-dim); }
.cmp-cta { margin-top: 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cmp-cta .fine { font-family: var(--display); font-size: 13px; color: var(--ink-soft); font-weight: 600; }

/* ============================================================ PRICING */
.pricing { background: var(--bone); }
.price-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 940px; }
.plan {
  background: #fff; border: 1px solid var(--bone-3); border-radius: var(--r-lg);
  padding: 38px 34px; position: relative; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
.plan.featured { background: linear-gradient(160deg, var(--accent), var(--bubble)); border-color: transparent; color: #fff; box-shadow: var(--shadow-lg); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan.featured:hover { box-shadow: var(--shadow-lg); }
.plan-tag { font-family: var(--display); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.plan.featured .plan-tag { color: rgba(255,255,255,.92); }
.plan-pop {
  position: absolute; top: -14px; right: 26px; background: var(--volt); color: var(--ink-2);
  font-family: var(--display); font-weight: 800; font-size: 11.5px; letter-spacing: .02em;
  padding: 8px 15px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
}
.plan .amount { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.plan .amount .num { font-family: var(--display); font-weight: 800; font-size: 70px; line-height: 0.9; letter-spacing: -0.04em; }
.plan.featured .amount .num { color: #fff; }
.amount-side { display: flex; flex-direction: column; gap: 2px; }
.amount-side .was { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.plan.featured .amount-side .was { color: rgba(255,255,255,.7); }
.plan .amount .per { font-size: 14px; color: var(--ink-soft); font-weight: 600; line-height: 1.25; }
.plan.featured .amount .per { color: rgba(255,255,255,.85); }
.plan-renew { margin-top: 12px; font-family: var(--display); font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.plan.featured .plan-renew { color: rgba(255,255,255,.85); }
.plan-save {
  position: absolute; top: -13px; left: 26px;
  background: var(--mint); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 11.5px; letter-spacing: .02em;
  padding: 8px 15px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
}
.plan-save.on-ink { background: #fff; color: var(--accent); }
.plan-desc { margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; max-width: 38ch; }
.plan-desc.on-ink { color: rgba(255,255,255,.92); }
.plan-plus { margin-top: 24px; font-family: var(--display); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; font-weight: 800; color: rgba(255,255,255,.95); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 13px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.plan li .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, white); color: var(--accent); display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 1px; }
.plan.featured li .tick { background: rgba(255,255,255,.22); color: #fff; }
.plan .btn { width: 100%; margin-top: 30px; }
.plan.featured .btn-accent { background: #fff; color: var(--accent); }
.plan.featured .btn-accent:hover { box-shadow: 0 22px 44px -12px rgba(0,0,0,.2); }

.price-note { margin-top: 34px; text-align: center; font-family: var(--display); font-size: 13px; color: var(--ink-soft); font-weight: 500; max-width: 760px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* everything included */
.incl { margin-top: 64px; border-top: 1px solid var(--bone-3); padding-top: 48px; }
.incl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.incl-head .display { font-size: clamp(28px, 3.4vw, 42px); }
.incl-sub { font-family: var(--display); font-size: 14px; color: var(--accent); font-weight: 700; padding-bottom: 8px; }
.incl-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.incl-item { background: #fff; border: 1px solid var(--bone-3); border-radius: var(--r-md); display: flex; gap: 16px; align-items: flex-start; padding: 22px 22px; transition: transform .2s, box-shadow .2s; box-shadow: var(--shadow-sm); }
.incl-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.incl-ico { font-size: 26px; line-height: 1; flex: none; }
.incl-txt { display: flex; flex-direction: column; gap: 4px; }
.incl-txt b { font-family: var(--display); font-weight: 800; font-size: 15.5px; letter-spacing: -0.02em; }
.incl-txt span { font-size: 14px; color: var(--ink-soft); line-height: 1.4; }

/* founding band — soft gradient */
.founding {
  margin-top: 56px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--grape) 26%, var(--bone)), color-mix(in srgb, var(--sky) 26%, var(--bone)));
  color: var(--ink); border-radius: var(--r-lg);
  padding: 48px 44px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.founding::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -110px; top: -140px; background: radial-gradient(circle, rgba(255,255,255,.6), transparent 66%); pointer-events: none; }
.founding-copy { position: relative; }
.founding-copy h3 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.04; letter-spacing: -0.035em; margin-top: 16px; }
.founding-copy p { margin-top: 18px; font-size: 17px; color: var(--ink-soft); line-height: 1.55; max-width: 46ch; }
.founding-copy p b { color: var(--ink); font-weight: 700; }
.founding-recap { display: flex; flex-direction: column; gap: 14px; position: relative; }
.recap-card { border: 1px solid var(--bone-3); border-radius: var(--r-md); padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; background: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.recap-card.feat { border-color: transparent; background: #fff; box-shadow: var(--shadow-md); }
.recap-name { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -0.02em; }
.recap-price { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.recap-price b { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--ink-2); margin-right: 6px; letter-spacing: -0.03em; }
.recap-then { font-family: var(--display); font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.recap-card .btn { width: 100%; margin-top: 14px; padding: 13px 20px; font-size: 15px; }
.recap-card .btn-ghost.on-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.recap-card .btn-ghost.on-ink:hover { background: var(--ink-2); color: #fff; }

/* ============================================================ FAQ */
.faq { background: var(--bone-2); }
.faq-list { margin-top: 48px; max-width: 880px; }
.faq-item { border: 1px solid var(--bone-3); border-radius: var(--r-md); background: #fff; margin-bottom: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; box-shadow: var(--shadow-sm); }
.faq-item:hover { border-color: var(--accent); }
.faq-item.open { border-color: var(--accent); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 26px; font-family: var(--display); font-weight: 800;
  font-size: clamp(17px, 2vw, 21px); letter-spacing: -0.025em; line-height: 1.2; color: var(--ink-2);
  transition: color .18s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon { flex: none; width: 28px; height: 28px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.faq-icon::before { width: 100%; height: 3px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-icon::after { height: 100%; width: 3px; left: 50%; top: 0; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .34s cubic-bezier(.4,0,.2,1); }
.faq-a-inner { padding: 0 26px 26px; font-size: 16px; color: var(--ink-soft); max-width: 70ch; line-height: 1.6; }

/* ============================================================ FINAL CTA — joyful gradient */
.final { background: var(--bone); position: relative; }
.final .wrap { position: relative; }
.final-inner {
  position: relative;
  background: linear-gradient(150deg, var(--accent), var(--bubble) 56%, var(--grape));
  color: #fff; border-radius: var(--r-lg); padding: 84px 48px; text-align: center; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.final-inner::before { content: "✿"; position: absolute; left: -30px; top: -20px; font-size: 200px; color: rgba(255,255,255,.12); }
.final-inner::after { content: "✦"; position: absolute; right: 4%; bottom: 8%; font-size: 120px; color: rgba(255,255,255,.14); }
.final .display { font-size: clamp(40px, 7vw, 92px); color: #fff; position: relative; }
.final .display .accent { color: var(--volt); }
.final p { margin: 24px auto 0; max-width: 54ch; font-size: 19px; color: rgba(255,255,255,.92); position: relative; }
.final .btn { margin-top: 36px; font-size: 18px; padding: 19px 38px; position: relative; }
.final .btn-accent { background: #fff; color: var(--accent); }
.final-fine { margin-top: 22px; font-family: var(--display); font-size: 13px; color: rgba(255,255,255,.85); font-weight: 600; position: relative; }

/* ============================================================ FOOTER — light */
.footer { background: var(--bone-2); color: var(--ink-soft); border-top: 1px solid var(--bone-3); padding: 62px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.footer .logo-word { color: var(--ink); }
.footer-blurb { margin-top: 16px; font-size: 15px; max-width: 34ch; color: var(--ink-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: flex-end; }
.footer-links a { font-family: var(--display); font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: color .18s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--bone-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.footer-bottom .copy { font-size: 13.5px; color: var(--ink-soft); }
.footer-bottom .made { font-family: var(--display); font-size: 13px; color: var(--ink-3); font-weight: 600; }

/* ============================================================ CHAT WIDGET */
.chat-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 70;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 28px;
  box-shadow: var(--shadow-accent);
  transition: transform .2s;
}
.chat-fab:hover { transform: scale(1.06) rotate(-6deg); }
.chat-fab .pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

.chat-panel {
  position: fixed; bottom: 102px; right: 26px; z-index: 71;
  width: 340px; max-width: calc(100vw - 40px);
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--bone-3);
  transform: translateY(16px) scale(.96); opacity: 0; pointer-events: none;
  transform-origin: bottom right; transition: transform .26s cubic-bezier(.2,.7,.2,1), opacity .26s;
}
.chat-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-head { background: linear-gradient(140deg, var(--accent), var(--bubble)); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-head .av { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.25); color: #fff; display: grid; place-items: center; font-size: 18px; font-family: var(--display); font-weight: 800; }
.chat-head .who { font-weight: 700; font-size: 15px; line-height: 1.1; font-family: var(--display); }
.chat-head .stat { font-size: 11.5px; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 6px; }
.chat-head .stat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #b6ffce; }
.chat-head .x { margin-left: auto; color: rgba(255,255,255,.85); font-size: 20px; line-height: 1; padding: 4px; }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; max-height: 300px; }
.bubble { background: var(--bone-2); padding: 12px 14px; border-radius: 14px 14px 14px 4px; font-size: 14.5px; max-width: 90%; }
.bubble.me { background: var(--accent); color: #fff; align-self: flex-end; border-radius: 14px 14px 4px 14px; font-weight: 600; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--bone-3); }
.chat-input input { flex: 1; border: 1px solid var(--bone-3); border-radius: var(--r-pill); padding: 11px 15px; font-family: var(--body); font-size: 14px; background: var(--bone); color: var(--ink); outline: none; }
.chat-input input:focus { border-color: var(--accent); }
.chat-input button { width: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 16px; display: grid; place-items: center; }
.chat-input button:hover { background: var(--accent-2); }

/* ============================================================ scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); 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; } .reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* tweak toggles */
:root.no-hero-grid .hero-grid-bg { display: none; }
:root.marquee-paused .marquee-track { animation-play-state: paused !important; }
:root.theme-switching * { transition: none !important; }

/* ============================================================ responsive */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding-bottom: 80px; }
  .hero-mock-stack { max-width: 520px; }
  .managed-grid { grid-template-columns: 1fr; gap: 40px; }
  .ex-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
  .section { padding: 84px 0; }
  .cmp-cards { grid-template-columns: 1fr; }
  .incl-grid { grid-template-columns: 1fr 1fr; }
  .founding { grid-template-columns: 1fr; gap: 32px; padding: 38px 30px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .price-grid { grid-template-columns: 1fr; }
  .incl-grid { grid-template-columns: 1fr; }
  .ex-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .hero-actions .btn { flex: 1; }
  .final-inner { padding: 60px 26px; }
}
