:root {
  --bg: #f6f4f0; --surface: #ffffff; --surface-2: #efece6; --text: #17202c; --muted: #5d6673;
  --border: #e2ddd4; --primary: #1d3557; --accent: #e76f2a; --accent-soft: #fdeee3; --ok: #1e8a4c; --bad: #b42318;
  --radius: 16px; --shadow: 0 10px 30px rgba(23, 32, 44, .08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10151c; --surface: #18202a; --surface-2: #202a36; --text: #e9edf2; --muted: #9aa5b3;
    --border: #2b3542; --primary: #9cbcea; --accent: #f08a4b; --accent-soft: #3a2618; --ok: #5cc98a; --bad: #f2867c;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .8em; }
h3 { font-size: 1.1rem; margin: 0 0 .35em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.small { font-size: .85rem; color: var(--muted); }

.nav { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; text-decoration: none; }
.logo { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff;
  border: 0; border-radius: 12px; padding: 14px 22px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; min-height: 48px; }
.btn:hover { filter: brightness(1.05); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-small { padding: 9px 16px; min-height: 40px; font-size: .95rem; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 72px; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0; }
.hl { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.note { color: var(--muted); font-size: .9rem; }

.mock { position: relative; }
.mock-bubble { background: var(--primary); color: #fff; border-radius: 18px 18px 18px 4px; padding: 14px 16px; font-size: .92rem;
  max-width: 88%; box-shadow: var(--shadow); margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .mock-bubble { color: #10151c; } }
.mock-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); font-size: .9rem; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.chip { background: var(--surface-2); color: var(--muted); border-radius: 99px; padding: 2px 10px; font-size: .75rem; }
.mock-group { display: flex; justify-content: space-between; background: var(--surface-2); border-radius: 8px; padding: 6px 10px; margin-top: 10px; font-weight: 600; font-size: .85rem; }
.mock-group span { color: var(--muted); font-weight: 500; }
.mock-line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-bottom: 1px solid var(--border); }
.mock-line b { white-space: nowrap; font-weight: 600; color: var(--muted); }
.mock-line.sug { background: var(--accent-soft); border-radius: 8px; border: 0; margin-top: 4px; }
.mock-tip { margin-top: 12px; color: var(--ok); font-weight: 600; font-size: .85rem; }

section { padding-top: 24px; padding-bottom: 56px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; list-style: none; }
.grid3 > * { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.grid3 p { color: var(--muted); margin: 0; font-size: .97rem; }
.steps .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: var(--bg); font-weight: 800; margin-bottom: 12px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 8px 16px; }

.signup-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; }
form label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
form input[type=text], form input[type=email], form select { display: block; width: 100%; margin-top: 6px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; min-height: 48px; }
form input:focus, form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; color: var(--text) !important; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.msg.ok { color: var(--ok); } .msg.err { color: var(--bad); }

.foot { border-top: 1px solid var(--border); padding-top: 24px; padding-bottom: 40px; color: var(--muted); font-size: .95rem; }
.foot p { margin: 0 0 6px; }

.legal { max-width: 760px; padding-top: 10px; padding-bottom: 60px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.2rem; margin-top: 1.6em; }
.legal .todo { background: var(--accent-soft); border-radius: 6px; padding: 0 4px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 16px; }
  .grid3 { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
}
