:root {
  --bg: #ffffff; --bg-soft: #f6f7f5; --fg: #16181d; --muted: #5b6270; --line: #e4e6eb;
  --accent: #1f5f4a; --accent-fg: #ffffff; --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317; --bg-soft: #161a1f; --fg: #eceef2; --muted: #a3a9b5; --line: #2a2e36;
    --accent: #6fc3a2; --accent-fg: #0d1512; --card: #171b20;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.wide { max-width: 1040px; }

/* header */
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; font-size: 20px; color: var(--fg); text-decoration: none; }
.mark svg { width: 28px; height: 28px; }
.logo-fill { fill: var(--accent); }
.logo-line { fill: none; stroke: var(--accent); stroke-width: 1.64; stroke-linejoin: miter; }
nav a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: 15px; }
nav a:hover { color: var(--fg); }

/* type */
h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.02em; margin: 56px 0 16px; }
h2 { font-size: 21px; margin: 36px 0 8px; }
p, li { color: var(--fg); }
.lede { font-size: 19px; color: var(--muted); }

/* hero */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font-size: 46px; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 18px; }
.hero .lede { margin: 0 0 28px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); background: var(--card); }
.figure { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.figure svg { width: 100%; height: auto; display: block; }
.dot-offer { fill: var(--accent); }
.dot-held { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.legend { display: flex; gap: 18px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.key { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.key-offer { background: var(--accent); }
.key-held { border: 1.6px solid var(--accent); }

/* sections + cards */
.section { padding: 64px 0 8px; }
.section > .wrap > h2 { font-size: 26px; letter-spacing: -0.015em; margin: 0 0 22px; }
.cards { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }
.card p + p { margin-top: 12px; }
.step { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.card .btn { margin-top: 18px; }

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 28px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer nav a { margin-left: 0; margin-right: 20px; font-size: 14px; }
footer .mark { font-size: 15px; color: var(--muted); }
footer .mark svg { width: 20px; height: 20px; }

/* request modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(10, 12, 15, 0.55); backdrop-filter: blur(3px); }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.modal-card h2 { margin: 0 0 6px; font-size: 22px; }
.modal-close { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; }
.muted { color: var(--muted); }
.modal-card form { display: grid; gap: 14px; margin-top: 18px; }
.modal-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.modal-card input, .modal-card textarea { font: inherit; font-size: 15px; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); resize: vertical; }
.modal-card input:focus, .modal-card textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.modal-card button[type=submit] { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.form-status { margin: 0; font-size: 14px; color: var(--muted); min-height: 1em; }
.card .btn { align-self: flex-start; }

.draft { background: #fff4d6; color: #5a4300; padding: 8px 12px; border-radius: 6px; font-size: 14px; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .hero h1 { font-size: 36px; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
}
