/* DeckCraft Pro early access. Golden Maple Group tokens, same system as /ai-stack-setup/. */
:root {
  --forest: #14261C;
  --deep: #0E1B14;
  --gold: #C08A2E;
  --gold-deep: #9A731F;
  --cream: #F6F0DF;
  --paper: #fffdf7;
  --ink-soft: #45554a;
  --line: rgba(246, 240, 223, .18);
  --rule: #b7b9af;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--deep); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 99; transform: translateY(-180%); padding: 10px 14px; background: var(--cream); color: var(--deep); font-weight: 700; }
.skip-link:focus { transform: none; }

/* nav */
.gb-nav { min-height: 82px; padding: 0 max(16px, calc((100vw - 1160px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--deep); color: var(--cream); }
.gb-brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-family: var(--serif); font-size: 21px; }
.gb-brand img { object-fit: contain; }
.gb-brand b { color: var(--gold); font-weight: 600; }
.gb-nav-links { display: flex; align-items: center; gap: 22px; }
.gb-nav-text { font-size: 13px; text-decoration: none; color: #d6dbd2; }
.gb-nav-cta { font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; white-space: nowrap; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--deep); color: var(--cream); padding: 76px 0 70px; }
.hero-leaf { position: absolute; width: min(810px, 70vw); height: auto; right: -8%; top: -9%; opacity: .22; mix-blend-mode: screen; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .82fr; gap: 64px; align-items: center; position: relative; }
/* Brand gold is ~2.7:1 on cream, too faint for small text; light sections use a
   darker gold (#7A5618, 5.8:1) and keep the bright gold for the dark hero. */
.kicker, .section-label { color: #7A5618; font-weight: 700; letter-spacing: .13em; font-size: 11px; margin: 0 0 18px; }
.hero .kicker { color: var(--gold); }
.sep { margin: 0 8px; color: #8f9a91; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); line-height: .95; font-weight: 600; letter-spacing: -.03em; }
h1 { font-size: clamp(46px, 6.6vw, 92px); margin-bottom: 26px; }
h2 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 22px; }
h1 em, h2 em { color: var(--gold-deep); font-weight: 500; }
.hero h1 em { color: #d9a54a; }
h3 { font-family: var(--serif); font-size: 30px; line-height: 1.05; font-weight: 600; margin-bottom: 10px; }
.lede { max-width: 600px; color: #e1e3dc; font-size: 18px; line-height: 1.66; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 27px; margin: 32px 0 14px; }
.hero-fine { color: #b9c3b8; font-size: 13px; margin: 0; }
.text-link { font-size: 14px; font-weight: 700; color: var(--cream); }

.btn { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; padding: 15px 21px; min-height: 48px; font-family: var(--sans); font-size: 14px; font-weight: 700; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-gold:hover { background: #d49c3f; }
.btn-ghost { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 1px #8d978b; }
.btn-danger { background: #7d271b; color: #fff; }
.btn-facebook { background: #0866FF; color: #fff; width: 100%; max-width: 320px; }
.fb-mark { font-family: Arial, sans-serif; font-weight: 700; font-size: 18px; line-height: 1; }
.link-button { background: none; border: 0; padding: 12px 4px; min-height: 44px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }

/* flow card */
.flow-card { margin: 0; background: rgba(20, 38, 28, .86); border: 1px solid rgba(192, 138, 46, .68); padding: 25px; box-shadow: 16px 17px 0 rgba(192, 138, 46, .18); }
.card-top { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; letter-spacing: .11em; color: #c6cec3; margin-bottom: 20px; }
.live-dot { color: #d9b164; }
.flow { list-style: none; margin: 0; padding: 0; }
.flow li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 14px 0; border-bottom: 1px dashed #56665a; }
.flow li:last-child { border-bottom: 0; }
.node-icon { grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #809080; border-radius: 50%; font-size: 17px; }
.flow li.is-gold .node-icon { border-color: var(--gold); color: var(--gold); background: rgba(192, 138, 46, .11); }
.flow b { font-size: 14px; }
.flow small { font-size: 12px; color: #bcc5ba; }
.flow-card figcaption { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; color: #b9c3b8; font-size: 12px; }

/* sections */
.section { padding: 100px 0; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.body-copy { max-width: 640px; font-size: 18px; color: var(--ink-soft); }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--rule); }
.feature-list li { padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--ink-soft); }
.feature-list b { color: var(--deep); }
.steps { background: #e9e4d8; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.step-list li { padding: 28px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.step-list span { display: block; font-family: var(--serif); color: #7A5618; font-size: 22px; margin-bottom: 12px; }
.step-list p { color: var(--ink-soft); margin: 0; }

/* join */
.join { background: #d9ded3; padding: 100px 0; }
.join-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.join-copy > p:not(.section-label) { font-size: 17px; color: var(--ink-soft); max-width: 420px; }
.join-copy a { color: var(--deep); font-weight: 600; }
.join-fine { font-size: 14px !important; }
.app { background: var(--paper); border: 1px solid #aeb4aa; padding: 32px; min-height: 260px; }
.panel h3 { margin-bottom: 8px; }
.muted { color: #5c665d; font-size: 14px; }
.provider-buttons { display: grid; gap: 12px; margin: 22px 0 18px; }
.google-slot { min-height: 44px; }

form label { font-size: 12px; font-weight: 700; display: block; margin-bottom: 18px; }
form label span, legend span { font-weight: 400; color: #5c665d; }
input:not([type]), input[type=email], input[type=tel], textarea { width: 100%; font: inherit; font-size: 16px; font-weight: 400; border: 1px solid #8d978b; border-radius: 0; padding: 12px; margin-top: 6px; background: #fff; color: var(--deep); }
::placeholder { color: #6b756d; opacity: 1; }
.panel h3:focus { outline: none; }
input[readonly] { background: #eef0ea; color: #3e4a42; }
textarea { resize: vertical; }
[aria-invalid=true] { border-color: #a3372a !important; box-shadow: 0 0 0 1px #a3372a; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { border: 0; padding: 0; margin: 0 0 18px; }
.chips legend { font-size: 12px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.chips label { display: inline-block; margin: 0 6px 8px 0; font-weight: 500; font-size: 14px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label span { display: inline-block; padding: 10px 14px; min-height: 44px; line-height: 22px; border: 1px solid #8d978b; background: #fff; color: var(--deep); cursor: pointer; }
.chips input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.chips[aria-invalid=true] { box-shadow: none; }
.chips[aria-invalid=true] label span { border-color: #a3372a; }
.field-error { display: block; color: #7d271b; font-size: 12px; font-weight: 600; margin-top: 6px; }
.consent-line { font-size: 13px; color: var(--ink-soft); margin: 4px 0 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px !important; font-weight: 400 !important; }
.check input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; accent-color: var(--forest); }
.form-error { color: #7d271b; background: #f5d9d2; padding: 10px 12px; font-size: 13px; }
.form-fine { font-size: 12px; color: #5c665d; margin: 12px 0 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

.status-chip { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; background: var(--forest); color: var(--cream); margin-bottom: 14px; }
.status-chip[data-status=demo_booked], .status-chip[data-status=invited] { background: var(--gold); color: var(--deep); }
.status-chip[data-status=declined] { background: #5c665d; }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 22px 0; padding: 18px 0; border-top: 1px solid #d3d6cc; border-bottom: 1px solid #d3d6cc; font-size: 14px; }
.summary dt { font-weight: 700; color: #3e4a42; }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.danger { margin-top: 26px; padding-top: 14px; border-top: 1px solid #d3d6cc; }
.danger-link { color: #7d271b; }
.confirm { background: #fbeee9; border: 1px solid #e3b8ad; padding: 16px; margin-top: 6px; font-size: 14px; }

/* delete page */
.page-title { font-size: clamp(44px, 5.6vw, 76px); }
h2.sub { font-size: 32px; letter-spacing: -.01em; margin: 34px 0 12px; color: var(--deep); }
h2.sub:first-child { margin-top: 0; }
.plain-list { padding-left: 22px; margin: 0 0 16px; }
.plain-list li { margin-bottom: 8px; }
.body-copy a { color: var(--deep); font-weight: 600; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: .6fr 1.4fr; gap: 60px; }
.faq-list details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.faq-list summary { cursor: pointer; font-family: var(--serif); font-size: 24px; font-weight: 600; min-height: 44px; }
.faq-list p { color: var(--ink-soft); margin: 10px 0 0; max-width: 680px; }

/* footer */
.gb-footer { background: var(--deep); color: var(--cream); padding: 44px 0; }
.gb-footer .wrap { display: flex; align-items: center; gap: 26px; }
.gb-footer p { margin: 0; color: #b9c3b8; font-size: 13px; flex: 1; }
.gb-footer p a { color: #d6dbd2; }
.gb-footer .wrap > a:last-child { font-size: 13px; }

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (max-width: 860px) {
  .hero-grid, .split, .join-grid, .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .step-list { grid-template-columns: 1fr; }
  .section, .join { padding: 72px 0; }
}
@media (max-width: 560px) {
  .gb-nav-text { display: none; }
  .gb-brand span { font-size: 18px; }
  .hero { padding: 52px 0 56px; }
  .app { padding: 22px 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .gb-footer .wrap { display: block; }
  .gb-footer p { margin: 16px 0; }
  .summary { grid-template-columns: 1fr; gap: 2px; }
  .summary dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
