:root {
  color-scheme: light;
  --navy: #06265f;
  --navy-soft: #113b78;
  --blue: #05aef0;
  --blue-soft: #dff6ff;
  --ink: #12213b;
  --muted: #60708a;
  --surface: #ffffff;
  --background: #f4f8fc;
  --line: #dce7f1;
  --shadow: 0 24px 70px rgba(6, 38, 95, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(5, 174, 240, 0.16), transparent 24rem),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: var(--navy-soft); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(5, 174, 240, 0.2);
}

.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); font-weight: 650; text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--navy); }

main, .footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.testflight-invite {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 44px;
  margin-top: 18px;
  padding: 34px 40px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  box-shadow: var(--shadow);
}
.testflight-copy { max-width: 720px; }
.testflight-invite .eyebrow { margin-bottom: 8px; color: #72d8ff; }
.testflight-invite h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
.testflight-invite p:not(.eyebrow) { max-width: 650px; margin: 0; color: rgba(255, 255, 255, 0.82); }
.testflight-invite .testflight-button { margin-top: 24px; border-color: #fff; background: #fff; color: var(--navy); }
.testflight-logo { width: 124px; height: 124px; border-radius: 50%; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22); }
.tester-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}
.tester-help div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.tester-help strong { color: var(--navy); }
.tester-help span { color: var(--muted); }
.tester-help a { font-weight: 750; white-space: nowrap; }

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 64px;
  min-height: 680px;
  padding: 70px 0 110px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 { color: var(--navy); line-height: 1.12; }
h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 7vw, 5.9rem); letter-spacing: -0.06em; }
h2 { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; }
h3 { margin-top: 0; }
.lead { max-width: 670px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.easy-line {
  margin: 24px 0 0;
  color: var(--navy);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}
.button.secondary { background: transparent; color: var(--navy); }

.hero-mark {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 38%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-logo { width: 76%; height: auto; border-radius: 30%; }

.section { padding: 96px 0; }
.section-copy { max-width: 660px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.card {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(6, 38, 95, 0.06);
}
.card p { color: var(--muted); }
.number { color: var(--blue); font-size: 0.85rem; font-weight: 850; letter-spacing: 0.1em; }

.android-section { padding-top: 24px; }
.android-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 56px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, #fff, var(--blue-soft));
  box-shadow: var(--shadow);
}
.android-interest-form { display: grid; gap: 18px; max-width: 650px; margin-top: 28px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--navy); font-weight: 750; }
.form-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #b9cada;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.form-field input:focus { border-color: var(--blue); outline: 3px solid rgba(5, 174, 240, 0.18); }
.consent-field { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 11px; color: var(--muted); font-size: 0.92rem; }
.consent-field input { width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--navy); }
.android-interest-form .button { width: fit-content; margin: 0; cursor: pointer; font: inherit; }
.android-interest-form .button:disabled { cursor: wait; opacity: 0.65; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 13px 15px; border-radius: 12px; font-weight: 650; }
.form-status.success { background: #e6f7ec; color: #176b37; }
.form-status.error { background: #fff0f0; color: #9c2727; }
.android-note { margin: 12px 0 0; color: var(--muted); font-size: 0.9rem; }
.platform-badge {
  display: grid;
  width: 150px;
  height: 150px;
  place-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 44px rgba(6, 38, 95, 0.2);
}
.platform-badge span { font-size: 1.1rem; font-weight: 750; }
.platform-badge strong { color: #72d8ff; font-size: 1.45rem; }

.content-page { max-width: 780px; padding: 70px 0 110px; }
.content-page h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); }
.content-page h2 { margin-top: 48px; font-size: 1.55rem; }
.content-page p, .content-page li { color: var(--muted); }
.confirmation-page { min-height: 65vh; }
.confirmation-result .button { margin-top: 20px; }
.notice {
  margin: 32px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  border-radius: 8px 18px 18px 8px;
  background: var(--blue-soft);
}

.help-page { max-width: 920px; }
.quick-start {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 48px 0 90px;
}
.quick-start article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(6, 38, 95, 0.06);
}
.quick-start span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--navy);
  font-weight: 850;
}
.quick-start h2 { margin: 0 0 10px; font-size: 1.35rem; }
.quick-start p { margin-bottom: 0; }
.help-section { margin-top: 40px; }
.faq { display: grid; gap: 12px; margin-top: 30px; }
.faq details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.faq summary { color: var(--navy); cursor: pointer; font-weight: 780; }
.faq p { margin-bottom: 0; }
.test-note {
  margin-top: 80px;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
}
.test-note h2, .test-note p { color: #fff; }
.test-note .button { border-color: #fff; background: #fff; color: var(--navy); }

footer { border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.65); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding: 34px 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }

@media (max-width: 800px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 54px 0 76px; }
  .hero-mark { width: min(78vw, 430px); margin: 0 auto; order: -1; }
  .cards { grid-template-columns: 1fr; }
  .quick-start { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .footer-inner { flex-direction: column; }
  .testflight-invite { grid-template-columns: 1fr; gap: 26px; padding: 30px 26px; }
  .testflight-copy { grid-row: 2; }
  .testflight-logo { width: 92px; height: 92px; grid-row: 1; }
  .tester-help { align-items: flex-start; flex-direction: column; gap: 8px; }
  .android-card { grid-template-columns: 1fr; gap: 30px; padding: 32px 26px; }
  .platform-badge { width: 112px; height: 112px; grid-row: 1; }
}
