/* Chapelbook marketing site. Cream + navy theme (Sam, Oct 1 2026); var names kept from the first draft (--green* = navy, --brass = gold), Lora + Nunito Sans. */
:root {
  --font-display: "Lora", "Iowan Old Style", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --paper: #faf6ec; --paper-2: #eef3fa; --surface: #fffdf8;
  --ink: #16213a; --ink-2: #33415e; --muted: #5f6a80; --line: #e4dccb; --line-2: #d6cbb4;
  --green: #1b2a4a; --green-2: #2c4373; --blue: #2f6fb0; --blue-2: #285e96; --blue-soft: #eaf2fb; --green-deep: #111c33; --green-soft: #e6ebf4;
  --brass: #d69a1c; --brass-text: #8f6208; --brass-soft: #fdf2d6; --rose: #a5503b;
  --r: 14px; --r-lg: 22px; --r-pill: 999px;
  --shadow: 0 1px 0 rgba(60,40,15,.04), 0 18px 40px -22px rgba(60,40,15,.35);
  --shadow-lg: 0 40px 80px -30px rgba(17,28,51,.45);
  --ease: cubic-bezier(.2,.7,.2,1);
  --gut: 20px; --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 9.2vw, 5.4rem); letter-spacing: -.03em; font-weight: 600; }
h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); line-height: 1.2; }
h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .8em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); } .small { font-size: .9rem; }
.eyebrow { font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-text); margin-bottom: 1.2rem; display: block; line-height: 1.5; }
.lede { font-size: clamp(1.1rem, 2.6vw, 1.35rem); color: var(--ink-2); max-width: 36em; line-height: 1.5; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--blue) 45%, transparent); outline-offset: 3px; border-radius: 6px; }

.draftbar { background: var(--green-deep); color: #d9e6df; text-align: center; font-size: .78rem; padding: 7px var(--gut); letter-spacing: .02em; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--green); color: #f5f0e6; display: grid; place-items: center; }
.brand .mark svg { width: 20px; height: 20px; }
.brand .name { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.45rem; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: var(--r-pill); font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover, .nav a[aria-current] { background: var(--paper-2); color: var(--ink); }
.navcta { margin-left: 8px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 64px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gut) 18px; gap: 0; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .navcta { margin: 14px 0 0; text-align: center; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: var(--r-pill); font: 600 1rem/1 var(--font-body); text-decoration: none; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; min-height: 48px; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-2); border-color: var(--blue-2); }
.btn.light { background: var(--paper); color: var(--green-deep); border-color: var(--paper); }
.btn.ghostlight { background: transparent; color: #f5f0e6; border-color: rgba(245,240,230,.4); }
.btn.small { padding: 10px 18px; min-height: 40px; font-size: .92rem; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* sections */
section { padding: clamp(64px, 11vw, 128px) 0; position: relative; }
.tight { padding: clamp(40px, 7vw, 80px) 0; }
.band-deep { background: var(--green-deep); color: #eee7d9; }
.band-deep h2, .band-deep h3 { color: #f7f1e4; }
.band-deep .lede, .band-deep p { color: #c9d6cd; }
.band-deep .eyebrow { color: #d6a75c; }
.band-deep a { color: #9fcbb7; }
.band-paper2 { background: var(--paper-2); }
.sechead { max-width: 720px; margin-bottom: clamp(32px, 6vw, 60px); }

/* hero */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.herogrid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .herogrid { grid-template-columns: 1.15fr .85fr; gap: 40px; } }
.hero h1 em { font-style: normal; font-weight: 400; color: var(--ink-2); }
/* Oct 1 2026 AI-look fix: the second line keeps the meaning ("Better than Breeze.") but drops the
   blue-italic accent; it is the same Lora in roman at a lighter weight, in the body ink. */
.hero .hl2 { display: block; color: var(--ink-2); font-style: normal; font-weight: 400; }
.heronote { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 2rem; color: var(--muted); font-size: .92rem; }
.heronote span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); margin-right: 8px; vertical-align: 2px; }
.stage { position: relative; height: clamp(440px, 118vw, 640px); }
.stage .phone { position: absolute; }
.stage .phone.a { width: min(58%, 290px); left: 4%; top: 0; transform: rotate(-4deg); z-index: 2; }
.stage .phone.b { width: min(58%, 290px); right: 2%; top: 14%; transform: rotate(3deg); }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side at 50% 50%, color-mix(in oklab, var(--green) 16%, transparent), transparent 90%); }

/* phone frame (real app screenshots) */
.phone { background: #1a1612; border-radius: 38px; padding: 8px; box-shadow: var(--shadow-lg); border: 1px solid #000; }
.phone img { border-radius: 30px; width: 100%; height: auto; }
.phone.crop { aspect-ratio: 390 / 640; overflow: hidden; }
.phone.crop img { height: 100%; object-fit: cover; object-position: top; }
.shotcap { font-size: .85rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* split rows */
.row { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .row { grid-template-columns: 1fr 1fr; gap: 72px; } .row.flip .vis { order: -1; } }
.vis { display: grid; place-items: center; }
.vis .phone { width: min(100%, 300px); }

/* big claims */
.claims { display: grid; gap: 18px; }
@media (min-width: 760px) { .claims.three { grid-template-columns: repeat(3, 1fr); } .claims.two { grid-template-columns: repeat(2, 1fr); } }
.claim { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.claim .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--green); line-height: 1; letter-spacing: -.02em; }
.claim h3 { margin: .6rem 0 .4rem; }
.claim p { color: var(--ink-2); margin: 0; }
.band-deep .claim { background: rgba(245,240,230,.05); border-color: rgba(245,240,230,.14); box-shadow: none; }
.band-deep .claim p { color: #c9d6cd; } .band-deep .claim .num { color: #d6a75c; }

.big100 { font-family: var(--font-display); font-weight: 600; font-size: clamp(5rem, 24vw, 12rem); line-height: .85; letter-spacing: -.05em; color: #d6a75c; margin: 0 0 .1em; }
.big100 sup { font-size: .4em; vertical-align: .9em; letter-spacing: 0; }

/* badges */
.tag { display: inline-block; font: 600 .72rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--r-pill); background: var(--green-soft); color: var(--green); vertical-align: middle; }
.tag.soon { background: var(--brass-soft); color: #7d5a1e; }

/* feature blocks */
.feat { padding: clamp(48px, 8vw, 88px) 0; border-top: 1px solid var(--line); }
.feat:first-of-type { border-top: 0; }
.feat h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 17px; height: 17px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.band-deep .ticks li { color: #d4e0d8; }

/* ordered steps visual (no-undo vs undo) */
.path { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 1.4rem 0; }
.path .st { background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-pill); padding: 9px 16px; font-weight: 600; font-size: .92rem; }
.path .st.now { background: var(--blue); border-color: var(--blue); color: #fff; }
.path .ar { color: var(--muted); }
.path .back { background: var(--rose); border-color: var(--rose); color: #fff; }

/* pricing card */
.pricewrap { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .pricewrap { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.pricecard { background: var(--green-deep); color: #eee7d9; border-radius: 28px; padding: clamp(28px, 6vw, 48px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.pricecard::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(214,167,92,.3), transparent); }
.pricecard .amt { font-family: var(--font-display); font-size: clamp(4.5rem, 20vw, 7.5rem); font-weight: 600; line-height: .9; letter-spacing: -.04em; color: #f7f1e4; }
.pricecard .amt small { font-size: .26em; font-weight: 500; letter-spacing: 0; color: #b9c9be; margin-left: 6px; }
.pricecard .ticks li { color: #d4e0d8; }
.pricecard .ticks li::before { background-color: #d6a75c; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314291f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.textbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; margin-bottom: 18px; }
.textbox b { font-family: var(--font-display); font-size: 1.15rem; display: block; margin-bottom: 4px; }
.textbox p { margin: 0; color: var(--ink-2); }

/* tables */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
table.cmp th, table.cmp td { text-align: left; padding: 16px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
table.cmp thead th { font-family: var(--font-display); font-size: 1.15rem; background: var(--paper-2); position: sticky; top: 0; }
table.cmp thead th:last-child { background: var(--green); color: #fff; }
table.cmp td:first-child { font-weight: 600; width: 22%; }
table.cmp td:last-child { background: color-mix(in oklab, var(--green-soft) 55%, var(--surface)); }
table.cmp tr:last-child td { border-bottom: 0; }
table.cmp .src { display: block; font-size: .78rem; color: var(--muted); margin-top: 6px; }
table.cmp .src a { color: var(--muted); }
.scrollhint { display: none; font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
@media (max-width: 760px) { .scrollhint { display: block; } }

/* steps */
.steps { counter-reset: s; display: grid; gap: 16px; padding: 0; list-style: none; margin: 0; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 24px 24px 76px; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; font: 600 1.2rem var(--font-display); display: grid; place-items: center; }
.steps b { display: block; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 4px; }
.steps span { color: var(--ink-2); }

/* faq */
.faq { display: grid; gap: 0; }
.faq details { border-bottom: 1px solid var(--line-2); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 600 1.2rem/1.3 var(--font-display); position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.8rem var(--font-body); color: var(--green); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }
.faqgroup { font-family: var(--font-display); font-size: 1.5rem; margin: 3rem 0 .4rem; color: var(--green); }

/* forms */
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 5vw, 36px); box-shadow: var(--shadow); }
.form label { font-weight: 600; font-size: .95rem; display: grid; gap: 6px; }
.form input, .form textarea, .form select { font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in oklab, var(--green) 20%, transparent); }
.notice { background: var(--brass-soft); border: 1px solid #e3d2ac; color: #6b4d18; padding: 14px 16px; border-radius: 12px; font-size: .92rem; }

/* cta band */
.cta { text-align: center; }
.cta h2 { max-width: 14em; margin-left: auto; margin-right: auto; }
.cta .btnrow { justify-content: center; }

/* legal list */
.doclist { display: grid; gap: 14px; margin-top: 2rem; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }

/* footer */
.foot { background: var(--paper-2); border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 0; }
.fgrid { display: grid; gap: 32px; }
@media (min-width: 760px) { .fgrid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot a:not(.brand) { display: block; color: var(--ink-2); text-decoration: none; padding: 5px 0; }
.foot a:not(.brand):hover { text-decoration: underline; }
.fine { color: var(--muted); font-size: .8rem; margin: 36px 0 0; border-top: 1px solid var(--line); padding-top: 20px; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn { transition: none; } }

/* waitlist form, contact list, draft bar link */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .opt { font-weight: 400; color: var(--muted); }
.draftbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.contactlist { margin: 2rem 0; display: grid; gap: 14px; }
.contactlist div { display: flex; gap: 18px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.contactlist dt { min-width: 5rem; font-weight: 700; color: var(--muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.contactlist dd { margin: 0; font-size: 1.15rem; }
.btn { line-height: 1.25; text-align: center; }
