:root {
  --green: #17861F;
  --green-dark: #0F6A16;
  --mint: #D9EEE2;
  --tab: #DCEBF7;
  --ink: #1C1F1D;
  --muted: #5E6661;
  --line: #E3E6E4;
  --font: "DM Sans", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
body { font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }

.page { max-width: 1160px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px) 36px; min-height: 100vh; display: flex; flex-direction: column; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.logo { display: grid; place-items: center; width: 34px; height: 34px; background: var(--green); color: #fff; border-radius: 9px; font-weight: 700; font-size: 1.2rem; }
.status { font-size: 0.95rem; font-weight: 500; color: var(--green-dark); background: var(--mint); padding: 6px 14px; border-radius: 999px; }

.hero { padding: clamp(48px, 9vw, 96px) 0 clamp(40px, 6vw, 64px); }
h1 { font-weight: 700; font-size: clamp(2.5rem, 7.5vw, 5.4rem); line-height: 1; letter-spacing: -0.04em; max-width: 12ch; }
.lede { margin-top: 22px; max-width: 52ch; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); }

.countdown { display: flex; gap: 26px; margin-top: 30px; }
.countdown div { display: flex; flex-direction: column; min-width: 56px; }
.countdown b { font-size: 2.2rem; line-height: 1; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 0.85rem; color: var(--muted); }

.search {
  margin-top: 32px; max-width: 640px;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 16px;
  border: 1.5px solid var(--green); border-radius: 14px; background: #fff;
}
.search:focus-within { box-shadow: 0 0 0 3px rgba(23, 134, 31, 0.2); }
.mail { color: var(--muted); flex: none; }
.search input[type="email"] { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1.05rem; padding: 10px 0; color: var(--ink); background: transparent; }
.search input::placeholder { color: #8B928E; }
button { font: inherit; font-weight: 700; color: #fff; background: var(--green); border: 0; border-radius: 10px; padding: 12px 24px; cursor: pointer; transition: background 0.2s; }
button:hover { background: var(--green-dark); }
button:disabled { opacity: 0.6; cursor: wait; }
button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.msg { min-height: 1.6em; margin-top: 12px; font-size: 0.95rem; color: var(--muted); }
.msg.ok { color: var(--green-dark); font-weight: 500; }
.msg.err { color: #C62828; }

.panel { background: var(--mint); border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
.panel h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 22px; }
.cats { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cats li { padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); font-weight: 500; transition: background 0.25s, color 0.25s; }
.cats li.on { background: var(--tab); color: var(--green-dark); }

.foot { margin-top: auto; padding-top: 44px; color: var(--muted); font-size: 0.85rem; }

@media (max-width: 520px) {
  .search { flex-wrap: wrap; padding: 12px; }
  .search input[type="email"] { flex: 1 1 70%; }
  .search button { width: 100%; }
  .mail { display: none; }
  .search input[type="email"] { flex-basis: 100%; }
}
