/* Board Companion — landing page. Same editorial/warm-paper system as the app. */
:root {
  --paper: #f6f3ec;
  --card: #fffdf8;
  --ink: #1d1c19;
  --ink2: #3a382f;
  --muted: #736d60;
  --line: #ddd6c8;
  --line2: #cfc7b6;
  --gold: #86621f;
  --gold-bg: #f1e8d4;
  --sidetext: #cdc8bd;
  --sidemut: #8f8a7f;
  --green: #2f5d43;
  --green-bg: #e7eee6;
  --serif: "Iowan Old Style", "Hoefler Text", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; }
a { color: var(--gold); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { background: var(--ink); position: sticky; top: 0; z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.brand img { height: 34px; width: auto; }
.brand span { font-family: var(--serif); font-size: 21px; letter-spacing: 0.2px; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-right a { text-decoration: none; color: var(--sidetext); font-size: 15px; }
.nav-right a:hover { color: var(--paper); }
.lang-toggle { border: 1px solid var(--sidemut); border-radius: 6px; padding: 4px 10px; font-size: 13px; background: transparent; color: var(--sidetext) !important; }
.btn-signin { border: 1px solid var(--paper); border-radius: 6px; padding: 6px 14px; color: var(--paper) !important; }

/* Hero */
.hero { padding: 84px 0 64px; text-align: center; }
.hero h1 { font-family: var(--serif); font-size: 52px; line-height: 1.12; font-weight: 500; }
.hero .sub { max-width: 660px; margin: 22px auto 0; font-size: 19px; color: var(--ink2); }
.cta-row { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; border-radius: 8px; padding: 13px 26px; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; font-family: var(--sans); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.trust-line { margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.trust-line span { white-space: nowrap; }
.trust-line span + span::before { content: "·"; margin: 0 8px; color: var(--line2); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.2; margin-bottom: 14px; }
.lede { font-size: 18px; color: var(--ink2); max-width: 720px; }
.kicker { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
section.alt .card { background: var(--paper); }
.card h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--ink2); }

/* Feature list */
.features { margin-top: 30px; display: grid; gap: 18px; max-width: 760px; }
.feature { display: flex; gap: 14px; align-items: baseline; }
.feature .dot { color: var(--gold); font-size: 20px; line-height: 1; }
.feature b { font-family: var(--serif); font-weight: 600; }
.feature p { color: var(--ink2); font-size: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; counter-reset: step; }
.step { padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold-bg); color: var(--gold); font-family: var(--serif); font-size: 18px; margin-bottom: 14px; }
.step h3 { font-family: var(--serif); font-size: 19px; font-weight: 500; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink2); }

/* Currency toggle (in-house segmented control) */
.cur-seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 8px; overflow: hidden; margin-top: 22px; background: var(--card); }
.cur-seg button { border: 0; background: transparent; padding: 8px 18px; font-family: var(--sans); font-size: 14px; color: var(--ink2); cursor: pointer; }
.cur-seg button + button { border-left: 1px solid var(--line2); }
.cur-seg button.on { background: var(--ink); color: var(--paper); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; max-width: 720px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 30px; }
.plan.pro { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.plan h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.plan .price { font-family: var(--serif); font-size: 38px; margin: 10px 0 2px; }
.plan .price small { font-size: 16px; color: var(--muted); font-family: var(--sans); }
.plan .annual { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.plan ul { list-style: none; margin-top: 12px; }
.plan li { font-size: 15px; color: var(--ink2); padding: 5px 0; }
.plan li::before { content: "—"; color: var(--gold); margin-right: 8px; }
.price-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.trial-banner { margin-top: 10px; font-size: 16px; font-family: var(--serif); color: var(--green); }

/* Founding */
.founding { border: 1px solid var(--gold); background: var(--gold-bg); border-radius: 12px; padding: 34px; margin-top: 36px; }
.founding h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 12px; }
.founding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0; }
.founding-tier { background: var(--card); border: 1px solid var(--line2); border-radius: 8px; padding: 20px; }
.founding-tier b { font-family: var(--serif); font-size: 17px; }
.founding-tier p { font-size: 14.5px; color: var(--ink2); margin-top: 4px; }
.founding .exchange { font-size: 14.5px; color: var(--ink2); }

/* FAQ */
.faq { max-width: 760px; margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-family: var(--serif); font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink2); font-size: 16px; }

/* Waitlist form */
.waitlist-box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 36px; max-width: 560px; margin: 36px auto 0; }
.waitlist-box h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.waitlist-box .hint { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; color: var(--ink2); margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"] {
  width: 100%; padding: 11px 13px; font-size: 16px; font-family: var(--sans);
  border: 1px solid var(--line2); border-radius: 7px; background: var(--paper); color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--gold); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* In-house dropdown (hard rule: no native select) */
.dd { position: relative; }
.dd-btn {
  width: 100%; text-align: left; padding: 11px 13px; font-size: 16px; font-family: var(--sans);
  border: 1px solid var(--line2); border-radius: 7px; background: var(--paper); color: var(--ink);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.dd-btn .dd-caret { color: var(--muted); font-size: 12px; margin-left: 8px; }
.dd-btn.placeholder { color: var(--muted); }
.dd-menu {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30;
  background: var(--card); border: 1px solid var(--line2); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(29, 28, 25, 0.12); max-height: 260px; overflow-y: auto; display: none;
}
.dd.open .dd-menu { display: block; }
.dd-item { padding: 10px 14px; font-size: 15.5px; cursor: pointer; }
.dd-item:hover { background: var(--gold-bg); }
.dd-item.sel { color: var(--gold); font-weight: 600; }

.form-msg { margin-top: 14px; font-size: 15px; display: none; }
.form-msg.ok { display: block; color: var(--green); }
.form-msg.err { display: block; color: #8a2b2b; }

/* Footer */
footer { background: var(--ink); padding: 40px 0 60px; font-size: 13.5px; color: var(--sidemut); }
footer .foot-links { margin: 10px 0; display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--sidetext); }
footer a:hover { color: var(--paper); }

/* Call opt-in checkbox */
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; }
.check-row input[type="checkbox"] { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--gold); cursor: pointer; flex-shrink: 0; }
.check-row label { font-size: 14.5px; color: var(--ink2); cursor: pointer; line-height: 1.45; }

/* Consent banner */
.consent {
  position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 100;
  max-width: 520px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line2); border-radius: 12px;
  padding: 20px 22px; box-shadow: 0 10px 30px rgba(29, 28, 25, 0.18);
}
.consent p { font-size: 14px; color: var(--ink2); line-height: 1.5; }
.consent a { color: var(--gold); }
.consent-btns { display: flex; gap: 10px; margin-top: 14px; }
.consent-btns .btn { padding: 9px 20px; font-size: 14px; }

/* Responsive */
@media (max-width: 760px) {
  .hero h1 { font-size: 36px; }
  .cards, .steps, .plans, .founding-grid { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .hero { padding: 56px 0 44px; }
}
