:root {
  --green-950: #032b25;
  --green-900: #005244;
  --green-800: #0a6150;
  --green-100: #e7f2ee;
  --orange: #df4a1d;
  --gold: #f4c760;
  --paper: #fffdf8;
  --ink: #17221e;
  --muted: #5f6d67;
  --line: #d6e0dc;
  --danger: #8c1d18;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #f1f5f3; }
body {
  min-height: 100vh;
  margin: 0;
  background: #f1f5f3;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(223, 74, 29, .32);
  outline-offset: 3px;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(28, 132, 105, .34), transparent 34%),
    radial-gradient(circle at 8% 92%, rgba(244, 199, 96, .08), transparent 26%),
    linear-gradient(145deg, #022b25 0%, #004b3e 68%, #075b4a 100%);
  color: white;
}
.hero-shell::after {
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.tester-header, .tester-hero { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.tester-header { position: relative; z-index: 1; padding: 24px 0 0; }
.tester-header a { display: inline-flex; align-items: center; gap: 12px; color: white; text-decoration: none; }
.tester-header img { border-radius: 14px; box-shadow: 0 10px 28px rgba(0, 0, 0, .24); }
.tester-header span { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; }
.tester-header strong { color: var(--gold); font-family: Georgia, serif; font-size: 1.12rem; letter-spacing: .08em; }
.tester-header b { font-size: .94rem; letter-spacing: .1em; }
.tester-header small { grid-column: 1 / -1; margin-top: 1px; color: #d5e6e0; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }

.tester-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  padding: 58px 0 82px;
}
.eyebrow { margin: 0 0 12px; color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .15em; }
.tester-hero .eyebrow { color: var(--gold); }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { max-width: 680px; margin-bottom: 22px; font-size: clamp(3.3rem, 6.6vw, 5.2rem); line-height: .94; letter-spacing: -.045em; }
.hero-lead { max-width: 680px; margin: 0; color: #e8f1ee; font-size: clamp(1rem, 1.8vw, 1.16rem); line-height: 1.68; }
.testing-status { display: grid; gap: 13px; }
.status-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: start;
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .105);
  box-shadow: 0 18px 40px rgba(0, 26, 21, .18);
  backdrop-filter: blur(8px);
}
.status-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--gold);
  color: var(--green-950);
  font-size: 1.15rem;
  font-weight: 950;
}
.status-copy { min-width: 0; }
.status-label { display: block; margin-bottom: 5px; color: var(--gold); font-size: .66rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.status-card h2 { margin: 0 0 6px; font-family: inherit; font-size: .98rem; line-height: 1.25; }
.status-card p { margin: 0; color: #dceae5; font-size: .79rem; line-height: 1.55; }

main { width: min(960px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 54px; }
.signup-panel, .platform-choice {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: -32px auto 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 24px 64px rgba(3, 43, 37, .14);
}
.signup-panel { display: grid; gap: 22px; padding: clamp(28px, 5vw, 46px); }
.platform-choice { padding: clamp(28px, 5vw, 46px); }
.platform-choice h2 { max-width: 680px; margin-bottom: 26px; color: var(--green-950); font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -.025em; }
.platform-choice > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.platform-button {
  display: grid;
  gap: 7px;
  min-height: 126px;
  align-content: center;
  padding: 24px;
  border: 2px solid transparent;
  border-radius: 18px;
  color: white;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.platform-button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(3, 43, 37, .18); }
.platform-button.android { background: var(--green-900); }
.platform-button.apple { background: #202522; }
.platform-button strong { font-family: Georgia, serif; font-size: 1.7rem; line-height: 1.1; }
.platform-button small { color: #e4eeea; font-size: .86rem; line-height: 1.4; }

.process { max-width: 900px; margin: 36px auto 0; }
.process-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 0 4px; }
.process-heading .eyebrow { margin: 0 0 5px; }
.process-heading h2 { margin: 0; color: var(--green-950); font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.05; }
.process-heading p { max-width: 420px; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; text-align: right; }
.testing-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.testing-steps li { display: flex; gap: 12px; min-width: 0; padding: 18px; border: 1px solid #e0e7e4; border-radius: 17px; background: white; box-shadow: 0 10px 25px rgba(3, 43, 37, .07); }
.testing-steps b { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: var(--green-100); color: var(--green-900); font-size: .9rem; }
.testing-steps span { display: grid; gap: 5px; min-width: 0; }
.testing-steps strong { color: var(--green-950); font-size: .84rem; line-height: 1.3; }
.testing-steps small { color: var(--muted); font-size: .75rem; line-height: 1.5; }

.form-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.form-heading h2, .success-panel h2 { margin: 0; color: var(--green-950); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; letter-spacing: -.025em; }
.change-platform { padding: 8px 12px; border: 1px solid #b5c4be; border-radius: 999px; background: white; color: var(--green-900); font-size: .75rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.form-intro { max-width: 680px; margin: -7px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.form-error { padding: 14px 16px; border: 1px solid #efb5af; border-radius: 12px; background: #fff0ee; color: var(--danger); font-size: .85rem; font-weight: 750; line-height: 1.5; }
fieldset { display: grid; gap: 17px; min-width: 0; margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
legend { padding: 0 9px; color: var(--green-950); font-size: .94rem; font-weight: 900; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
label { display: grid; gap: 7px; color: #34453e; font-size: .86rem; font-weight: 850; }
label span > em { color: #7b8983; font-size: .76rem; font-style: normal; font-weight: 700; }
input, textarea, select { width: 100%; min-height: 49px; padding: 12px 13px; border: 1px solid #b6c5bf; border-radius: 11px; background: white; color: var(--ink); outline: 0; }
textarea { min-height: 118px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: var(--green-800); box-shadow: 0 0 0 3px rgba(10, 97, 80, .12); }
label small { color: var(--muted); font-size: .77rem; font-weight: 650; line-height: 1.5; }
.radio-field { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 4px 0; }
.radio-field > span { flex: 1 0 100%; color: #34453e; font-size: .86rem; font-weight: 850; }
.radio-field label { display: flex; align-items: center; gap: 8px; }
.radio-field input, .consent input { width: 19px; min-height: 19px; }
.consent { display: flex; align-items: start; gap: 11px; font-size: .8rem; font-weight: 650; line-height: 1.55; }
.consent a { color: var(--green-900); font-weight: 900; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 13px; font-size: .9rem; font-weight: 900; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--orange); color: white; box-shadow: 0 11px 24px rgba(223, 74, 29, .22); }
.button.secondary { width: max-content; border-color: #b5c4be; background: white; color: var(--green-900); }
.success-panel { min-height: 300px; align-content: center; }
.success-panel p { margin: 0; color: #4f5e58; line-height: 1.7; }
.form-trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; padding: 22px 22px 34px; color: #66756f; font-size: .78rem; }
footer a { color: var(--green-900); font-weight: 850; }

@media (max-width: 780px) {
  .tester-header, .tester-hero { width: min(100% - 32px, 1080px); }
  .tester-header { padding-top: 18px; }
  .tester-hero { display: block; padding: 40px 0 58px; }
  h1 { max-width: 540px; font-size: clamp(2.75rem, 12vw, 4rem); }
  .hero-lead { max-width: 620px; }
  .testing-status { margin-top: 28px; }
  main { width: min(100% - 24px, 960px); }
  .signup-panel, .platform-choice { margin-top: -24px; border-radius: 22px; }
  .platform-choice > div, .field-grid { grid-template-columns: 1fr; }
  .process-heading { display: block; }
  .process-heading p { margin-top: 8px; text-align: left; }
  .testing-steps { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .tester-header img { width: 46px; height: 46px; }
  .tester-header strong { font-size: 1.02rem; }
  .tester-header b { font-size: .84rem; }
  .tester-header small { font-size: .59rem; }
  .tester-hero { padding-top: 34px; }
  h1 { margin-bottom: 18px; font-size: 2.72rem; }
  .hero-lead { font-size: .98rem; line-height: 1.58; }
  .status-card { gap: 12px; padding: 16px; border-radius: 16px; }
  .status-icon { width: 42px; height: 42px; border-radius: 13px; }
  .status-card h2 { font-size: .94rem; }
  .status-card p { font-size: .76rem; }
  .signup-panel { gap: 20px; padding: 27px 18px; }
  .platform-choice { padding: 28px 20px; }
  .platform-choice h2 { margin-bottom: 22px; font-size: 2.05rem; }
  .platform-button { min-height: 110px; padding: 20px; }
  .platform-button strong { font-size: 1.5rem; }
  .platform-button small { font-size: .8rem; }
  .process { margin-top: 30px; }
  .testing-steps li { padding: 16px; }
  .form-heading { display: grid; }
  .change-platform { grid-row: 1; width: max-content; justify-self: end; }
  .form-heading h2 { font-size: 2rem; }
  fieldset { padding: 18px 14px; }
  footer { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .platform-button { transition: none; }
}
