:root {
  color-scheme: dark;
  --bg: #000000;
  --text: #F5F5F7;
  --muted: #A1A1A6;
  --faint: #8E8E93;
  --line: #6E6E73;
  --yellow: #F5B800;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero {
  padding: clamp(72px, 9vw, 140px) clamp(20px, 4vw, 56px) clamp(48px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.brand { display: flex; align-items: center; gap: 10px; }
.mark {
  width: 20px;
  height: 20px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 42% 100%, 0 100%);
}
.wordmark { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 7.4vw, 108px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.accent { color: var(--yellow); }

.content { padding: 0 clamp(20px, 4vw, 56px) clamp(64px, 8vw, 120px); }
.wrap { max-width: 720px; margin: 0 auto; }

.form { display: flex; flex-direction: column; gap: 40px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 32px 40px;
}
.field { display: flex; flex-direction: column; gap: 4px; }

label, legend { font-size: 14px; font-weight: 500; color: var(--muted); }
.opt { color: var(--faint); }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  font: inherit;
  font-size: 17px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
textarea { height: auto; padding: 10px 0; resize: vertical; line-height: 1.47; }
input:focus-visible, textarea:focus-visible { border-bottom-color: var(--yellow); box-shadow: 0 1px 0 0 var(--yellow); }
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px var(--bg) inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
}

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 980px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chips label:has(input:checked) { background: var(--text); color: #000000; border-color: var(--text); }
.chips label:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(245, 184, 0, 0.45); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}
.note { margin: 0; flex: 1 1 240px; font-size: 13px; line-height: 1.4; color: var(--muted); }

.cta {
  min-height: 52px;
  padding: 0 30px;
  background: var(--yellow);
  color: #111111;
  border: 0;
  border-radius: 980px;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cta:hover { background: #FFC62E; }
.cta:disabled { opacity: 0.6; cursor: progress; }
.cta:focus-visible, .ghost:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(245, 184, 0, 0.45); }

.error { margin: 0; color: #FF9F7A; font-size: 15px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 0;
  text-align: center;
  outline: none;
}
.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
}
.check svg { width: 30px; height: 30px; fill: none; stroke: #111111; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.thanks-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1.08; letter-spacing: -0.025em; }
.thanks-text { margin: 0; font-size: 19px; color: var(--muted); }
.ghost {
  min-height: 44px;
  padding: 0 22px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 980px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
}
