/* MagieCRM marketing site v8 — ported from the Claude Design export (site-v8/extracted) */

@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/newsreader-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/newsreader-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F5F0E8;
  --ink: #1A1A1A;
  --ink-2: rgba(26,26,26,.6);
  --ink-70: rgba(26,26,26,.7);
  --green: #2D5A3D;
  --green-soft: #7BA38C;
  --cream: #F5F0E8;
  --line: rgba(26,26,26,.12);
  --bg-tint: rgba(255,255,255,.5);
  --shot: #E2DDD5;
  --shot-ink: #5C5C5C;
  --serif: Newsreader, Georgia, 'Times New Roman', serif;
  --sans: -apple-system, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: 48px;
  /* content column; sections pad out to it so their backgrounds run full-bleed */
  --col: 1440px;
  --pad: max(var(--gutter), calc((100vw - var(--col)) / 2 + var(--gutter)));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.serif { font-family: var(--serif); font-weight: 400; }
.pretty { text-wrap: pretty; }
.balance { text-wrap: balance; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- page frame ---- */
.page { position: relative; overflow: clip; width: 100%; }
.bg {
  position: absolute; left: 0; top: 0; width: 100%; height: 130%; pointer-events: none; will-change: transform;
  background-image:
    radial-gradient(900px 700px at 12% 300px, rgba(123,163,140,.85), transparent 70%),
    radial-gradient(820px 700px at 96% 1100px, rgba(45,90,61,.3), transparent 70%),
    radial-gradient(760px 760px at 6% 2400px, rgba(255,255,255,1), transparent 70%),
    radial-gradient(820px 700px at 90% 3800px, rgba(123,163,140,.8), transparent 70%),
    radial-gradient(900px 700px at 20% 5000px, rgba(123,163,140,.7), transparent 70%),
    radial-gradient(820px 700px at 84% 6200px, rgba(45,90,61,.26), transparent 70%),
    radial-gradient(820px 700px at 12% 7400px, rgba(123,163,140,.75), transparent 70%);
}
.section { position: relative; padding-left: var(--pad); padding-right: var(--pad); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; white-space: nowrap; transition: all .3s var(--ease); cursor: pointer; }
.btn-primary {
  background: rgba(45,90,61,.72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.28); color: #f5f5f7; padding: 15px 26px; font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 12px 32px rgba(45,90,61,.22);
}
.btn-primary:hover { background: rgba(45,90,61,.92); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 18px 40px rgba(45,90,61,.34); }
.btn-sm { padding: 11px 18px; font-size: 13px; }
.btn-sm.btn-primary { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 24px rgba(45,90,61,.22); }
.btn-sm.btn-primary:hover { transform: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 12px 28px rgba(45,90,61,.34); }
.btn-ghost { padding: 11px 18px; font-size: 13px; color: var(--ink); background: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.8); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.btn-ghost:hover { background: rgba(255,255,255,.75); }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 5; }
.nav-inner { padding: 18px var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px; background: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.8); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); transition: all .4s var(--ease); transform-origin: left center; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.nav.is-scrolled .brand { background: rgba(255,255,255,.72); box-shadow: 0 10px 30px rgba(40,35,30,.14); transform: scale(.96); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { opacity: 0; transform: translateY(-8px); pointer-events: none; transition: all .4s var(--ease); }
.nav.is-deep .nav-cta { opacity: 1; transform: none; pointer-events: auto; }

/* ---- hero ---- */
.hero { position: relative; isolation: isolate; padding: 96px var(--pad) 80px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.hero-glow { position: absolute; inset: -80px 0 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(40px); }
.blob-1 { left: -220px; top: 0; width: 560px; height: 520px; background: radial-gradient(circle, rgba(123,163,140,.9), rgba(123,163,140,0) 70%); }
.blob-2 { right: -200px; top: 60px; width: 520px; height: 500px; background: radial-gradient(circle, rgba(45,90,61,.5), rgba(45,90,61,0) 70%); }
.blob-3 { left: 10%; top: 620px; width: 900px; height: 460px; background: radial-gradient(circle, rgba(123,163,140,.8), rgba(123,163,140,0) 70%); }
.blob-4 { right: 5%; top: 700px; width: 420px; height: 380px; background: radial-gradient(circle, rgba(45,90,61,.4), rgba(45,90,61,0) 70%); }
.hero-halo { position: absolute; left: 50%; top: 60px; width: min(1000px, 100vw); height: 560px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(245,240,232,.95), rgba(245,240,232,.7) 55%, rgba(245,240,232,0)); }
.hero h1 { grid-column: 2 / 12; text-align: center; font-family: var(--serif); font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.025em; text-wrap: pretty; }
.hero-sub { grid-column: 3 / 11; max-width: 760px; justify-self: center; text-align: center; margin-top: 36px; font-size: 20px; line-height: 1.5; color: rgba(26,26,26,.68); }
.hero-cta { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 40px; }
.hero-shot { grid-column: 1 / -1; margin-top: 72px; padding: 14px; border-radius: 28px; background: rgba(255,255,255,.55); border: 1px solid #fff; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 40px 100px rgba(45,70,50,.16); }
.hero-shot .shot { height: 440px; border-radius: 16px; }

/* ---- screenshot placeholders (swap for <img> when captured) ---- */
.shot { background: var(--shot); color: var(--shot-ink); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; font: 12px/1.5 var(--mono); border-radius: 14px; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- glass cards ---- */
.glass { border-radius: 36px; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); box-shadow: 0 40px 100px rgba(45,70,50,.14), inset 0 1px 0 #fff; }
.glass-2 { border-radius: 32px; background: rgba(255,255,255,.46); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); box-shadow: 0 30px 80px rgba(45,70,50,.12), inset 0 1px 0 #fff; }
.eyebrow { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.chip { padding: 6px 12px; border-radius: 999px; background: rgba(45,90,61,.1); color: var(--green); font-weight: 600; }

/* ---- scratchpad ---- */
.scratch { padding: 0 var(--pad) 40px; }
.scratch-card { padding: 64px 64px 56px; display: flex; flex-direction: column; gap: 48px; }
.split-5-7 { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 56px; align-items: start; }
.split-5-7.center { align-items: center; }
.split-4-8 { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,8fr); gap: 56px; align-items: start; }
.stack { display: flex; flex-direction: column; }
.scratch-copy { gap: 20px; }
.h2-56 { font-family: var(--serif); font-size: clamp(38px, 4.4vw, 56px); letter-spacing: -0.02em; line-height: 1.04; }
.lead-19 { font-size: 19px; line-height: 1.5; color: rgba(26,26,26,.72); }
.demo-card { border-radius: 22px; background: rgba(255,255,255,.85); border: 1px solid #fff; box-shadow: 0 18px 44px rgba(45,70,50,.12); padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.demo-input { font-size: 22px; line-height: 1.4; letter-spacing: -0.01em; min-height: 62px; display: block; }
.demo-result { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--ink-70); }
.scratch-list { height: 250px; border-radius: 22px; padding: 24px; }
.three-up { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.three-up .stack { gap: 10px; }
.t18 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.p16 { font-size: 16px; line-height: 1.5; color: var(--ink-70); }

/* ---- setup (green band) ---- */
.setup { padding-top: 40px; color: var(--cream); }
.setup-band { background: var(--green); padding: 96px var(--pad) 104px; display: flex; flex-direction: column; gap: 96px; box-shadow: 0 40px 100px rgba(45,70,50,.25); }
.setup-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.setup-copy { grid-column: 1 / 5; align-self: start; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.h2-64 { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.02em; line-height: 1.04; }
.setup-copy p { max-width: 330px; }
.setup-p1 { font-size: 18px; line-height: 1.55; color: rgba(245,240,232,.78); }
.setup-p2 { font-size: 15px; line-height: 1.55; color: rgba(245,240,232,.62); }
.setup-stack { grid-column: 5 / 13; position: relative; height: 1560px; }
.sheet { position: absolute; width: 560px; padding: 14px; border-radius: 24px; background: rgba(245,240,232,.94); box-shadow: 0 40px 90px rgba(0,0,0,.28); color: var(--ink); }
.sheet .shot { height: 320px; padding: 24px; }
.sheet p { margin: 16px 6px 4px; font-size: 16px; line-height: 1.45; color: rgba(26,26,26,.78); }
.sheet b { color: var(--ink); }
.sheet-1 { left: 0; top: 0; }
.sheet-2 { left: 140px; top: 560px; box-shadow: 0 40px 90px rgba(0,0,0,.32); }
.sheet-3 { left: 40px; top: 1070px; box-shadow: 0 40px 90px rgba(0,0,0,.32); }
.import-card { padding: 48px; border-radius: 28px; background: rgba(245,240,232,.08); border: 1px solid rgba(245,240,232,.18); }
.import-card .stack { gap: 16px; }
.h2-40 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 40px); letter-spacing: -0.015em; line-height: 1.08; }
.import-card p.body { font-size: 17px; line-height: 1.55; color: rgba(245,240,232,.78); }
.import-card .shot { height: 260px; border-radius: 18px; background: rgba(245,240,232,.9); padding: 24px; }

/* ---- automations ---- */
.auto { padding: 120px var(--pad) 72px; display: flex; flex-direction: column; align-items: center; gap: 44px; }
.auto-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; max-width: 680px; }
.auto-head h2 { font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); letter-spacing: -0.02em; line-height: 1; }
.chat { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 24px; }
.msg { display: flex; flex-direction: column; gap: 10px; }
.msg-you { align-items: flex-end; }
.msg-magie { align-items: flex-start; }
.who { font-size: 12px; color: rgba(26,26,26,.45); letter-spacing: .08em; text-transform: uppercase; }
.bubble-you { background: rgba(45,90,61,.78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 24px 60px rgba(45,90,61,.22); color: #f5f5f7; padding: 15px 22px; border-radius: 22px 22px 6px 22px; font-size: 19px; line-height: 1.35; min-height: 24px; min-width: 24px; max-width: 460px; }
.bubble-magie { width: 440px; max-width: 100%; height: 150px; border-radius: 22px 22px 22px 6px; background: rgba(255,255,255,.62); border: 1px solid #fff; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 24px 60px rgba(45,70,50,.1); }
.auto-notes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; width: 100%; max-width: 640px; margin-top: 24px; }
.note { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid rgba(26,26,26,.16); }
.note .t17 { font-size: 17px; font-weight: 600; }
.note .p15 { font-size: 15px; line-height: 1.5; color: rgba(26,26,26,.68); }

/* ---- ornament ---- */
.ornament { padding: 72px var(--pad) 96px; display: flex; align-items: center; gap: 20px; }
.ornament .line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(45,90,61,.35)); }
.ornament .line.r { background: linear-gradient(90deg, rgba(45,90,61,.35), transparent); }
.ornament .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); opacity: .55; }

/* ---- less typing ---- */
.typing { padding: 40px var(--pad) 96px; display: flex; flex-direction: column; gap: 48px; }
.typing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.typing-head h2 { max-width: 560px; }
.typing-head p { font-size: 18px; line-height: 1.5; color: var(--ink-70); max-width: 440px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.fcard { border-radius: 24px; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 20px 50px rgba(45,70,50,.08); padding: 14px 14px 26px; display: flex; flex-direction: column; gap: 18px; }
.fcard .shot { height: 170px; padding: 16px; font-size: 11px; }
.fcard .stack { gap: 8px; padding: 0 10px; }
.fcard .p15 { font-size: 15px; line-height: 1.5; color: var(--ink-70); }

/* ---- rest of the week (tabs) ---- */
.rest { padding: 0 var(--pad) 96px; }
.rest-card { padding: 48px 52px 52px; display: flex; flex-direction: column; gap: 40px; }
.rest-head { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.rest-head h2 { font-family: var(--serif); font-size: 32px; letter-spacing: -0.01em; line-height: 1.1; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 11px 20px; border-radius: 999px; font-size: 15px; font-weight: 600; border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: all .25s var(--ease); background: rgba(255,255,255,.55); color: var(--ink); }
.pill:hover { transform: translateY(-1px); }
.pill[aria-selected="true"] { background: rgba(45,90,61,.85); color: var(--cream); box-shadow: 0 10px 24px rgba(45,90,61,.28); }
.tabpanel[hidden] { display: none; }
.tabpanel .stack { gap: 18px; }
.h2-44 { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -0.015em; line-height: 1.08; }
.p17 { font-size: 17px; line-height: 1.55; color: rgba(26,26,26,.72); }
.frame { padding: 14px; border-radius: 24px; background: rgba(255,255,255,.7); border: 1px solid #fff; box-shadow: 0 24px 60px rgba(45,70,50,.12); }
.frame .shot { height: 340px; border-radius: 16px; font-size: 11px; }

/* ---- pricing ---- */
.pricing { padding: 0 var(--pad) 24px; }
.pricing-card { padding: 52px 56px; display: flex; flex-direction: column; gap: 44px; }
.price-lead { gap: 22px; align-items: flex-start; }
.price-lead .p17 { color: rgba(26,26,26,.72); }
.price-note { font-size: 15px; line-height: 1.5; color: rgba(26,26,26,.62); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.tier { padding: 8px 28px; display: flex; flex-direction: column; gap: 6px; }
.tier + .tier { border-left: 1px solid rgba(26,26,26,.14); }
.tier .eyebrow { font-size: 13px; letter-spacing: .08em; margin-bottom: 6px; }
.tier .amount { font-size: 60px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.tier .per { font-size: 15px; color: var(--ink-2); }
.tier .cap { font-size: 16px; line-height: 1.4; }
.tier .cap.first { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(26,26,26,.1); }
.every { padding-top: 32px; border-top: 1px solid rgba(26,26,26,.14); }
.every h3 { font-family: var(--serif); font-size: 30px; line-height: 1.15; letter-spacing: -0.01em; }
.every .stack { gap: 12px; padding: 0 28px; }
.every p { font-size: 17px; line-height: 1.55; color: rgba(26,26,26,.75); }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.info { border-radius: 22px; background: rgba(255,255,255,.55); border: 1px solid #fff; padding: 28px 30px; display: flex; flex-direction: column; gap: 14px; }
.info .p16 { color: rgba(26,26,26,.72); }
.limits { display: flex; flex-wrap: wrap; gap: 6px; }
.limits span { padding: 5px 11px; border-radius: 999px; background: rgba(26,26,26,.06); font-size: 13px; color: rgba(26,26,26,.75); }

/* ---- footer ---- */
.footer { padding: 28px var(--pad) 36px; border-top: 1px solid rgba(26,26,26,.1); background: rgba(255,255,255,.4); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; font-size: 13px; color: rgba(26,26,26,.55); }
.footer .stack { gap: 14px; }
.footer .brand-name { color: var(--ink); font-weight: 600; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 8px; max-width: 720px; }
.footer-links a:hover, .footer-right a:hover { color: var(--ink); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

/* ---- legal pages ---- */
.legal { max-width: 780px; margin: 0 auto; padding: 48px var(--gutter) 96px; }
.legal h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.02em; line-height: 1.04; margin-bottom: 8px; }
.legal .effective { color: var(--ink-2); margin-bottom: 40px; font-size: 15px; }
.legal h2 { font-family: var(--serif); font-size: 28px; letter-spacing: -0.01em; margin: 48px 0 12px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink); margin-bottom: 14px; font-size: 16px; line-height: 1.55; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.tldr { background: rgba(255,255,255,.55); border: 1px solid #fff; border-radius: 22px; padding: 24px 28px; margin: 32px 0 8px; }
.tldr h2 { margin: 0 0 10px; font-size: 22px; }
.tldr ul { margin-bottom: 0; }

/* ---- reveal / motion ---- */
[data-reveal] { transition: opacity .8s var(--ease), transform .8s var(--ease), clip-path 1.1s var(--ease); }
[data-reveal]:not(.is-in) { opacity: 0; }
[data-reveal="up"]:not(.is-in) { transform: translateY(28px); }
[data-reveal="scale"]:not(.is-in) { transform: scale(.96); }
[data-reveal="left"]:not(.is-in) { transform: translateX(-32px); }
[data-reveal="right"]:not(.is-in) { transform: translateX(32px); }
[data-reveal="wipe"] { transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease); }
[data-reveal="wipe"]:not(.is-in) { opacity: 1; clip-path: inset(0 100% 0 0); transform: scale(1.08); }
[data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.no-js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
@keyframes bob { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal]:not(.is-in) { opacity: 1; transform: none; clip-path: none; transition: none; }
  .btn, .pill, .brand, .nav-cta { transition: none; }
}

/* ---- responsive ---- */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .scratch-card { padding: 44px 40px 40px; }
  .split-5-7, .split-4-8 { grid-template-columns: 1fr; gap: 32px; }
  .setup-grid { display: flex; flex-direction: column; gap: 40px; }
  .setup-copy { position: static; }
  .setup-copy p { max-width: 560px; }
  .setup-stack { height: auto; display: flex; flex-direction: column; gap: 24px; }
  .sheet { position: static; width: 100%; }
  .sheet .shot { height: 260px; }
  .import-card { padding: 32px; }
  .typing-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rest-card, .pricing-card { padding: 36px 32px; }
  .tiers { grid-template-columns: 1fr; gap: 8px; }
  .tier + .tier { border-left: 0; border-top: 1px solid rgba(26,26,26,.14); padding-top: 22px; }
  .tier { padding: 8px 0; }
  .every .stack { padding: 0; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .nav-inner { padding: 12px var(--pad); }
  .hero { padding: 56px var(--pad) 48px; column-gap: 0; }
  .hero h1, .hero-sub { grid-column: 1 / -1; }
  .hero-sub { font-size: 17px; margin-top: 24px; }
  .hero-cta { margin-top: 28px; }
  .hero-shot { margin-top: 40px; padding: 8px; border-radius: 18px; }
  .hero-shot .shot { height: 240px; }
  .hero-halo, .blob-3, .blob-4 { display: none; }
  .scratch-card { padding: 28px 20px; border-radius: 24px; gap: 32px; }
  .three-up { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .demo-input { font-size: 18px; min-height: 52px; }
  .setup-band { padding: 56px var(--pad) 64px; gap: 56px; }
  .sheet .shot { height: 200px; }
  .import-card .shot { height: 200px; }
  .auto { padding: 72px var(--pad) 40px; }
  .bubble-you { font-size: 16px; }
  .bubble-magie { height: 120px; }
  .auto-notes { grid-template-columns: 1fr; gap: 16px; }
  .ornament { padding: 40px var(--pad) 56px; }
  .typing { padding-bottom: 56px; gap: 28px; }
  .cards-3 { grid-template-columns: 1fr; }
  .rest { padding-bottom: 56px; }
  .rest-card, .pricing-card { padding: 28px 20px; border-radius: 24px; }
  .rest-head h2 { font-size: 26px; }
  .frame { padding: 8px; }
  .frame .shot { height: 220px; }
  .tier .amount { font-size: 48px; }
  .cards-2 { grid-template-columns: 1fr; }
  .info { padding: 22px 20px; }
  .footer { flex-direction: column; gap: 24px; }
  .footer-right { align-items: flex-start; }
  .legal { padding-bottom: 64px; }
}

/* legal pages: calmer background, no hero halo to soften it */
.legal-page .bg { opacity: .35; }

/* phone screenshot sits inside its card instead of being cropped */
.shot-phone { background: #E2DDD5; }
.shot-phone img { object-fit: contain; }

/* real screenshots fill their frame edge to edge */
.shot:has(img) { padding: 0; }
.bubble-magie { height: 200px; }
@media (max-width: 720px) { .bubble-magie { height: 150px; } }
