:root {
  --navy: #153558;
  --blue: #0076b9;
  --blue-dark: #005b91;
  --red: #d9272e;
  --ink: #17202b;
  --muted: #5e6b79;
  --line: #dbe2e8;
  --surface: #f4f7f9;
  --white: #ffffff;
  --success: #16794f;
  --shadow: 0 24px 70px rgba(21, 53, 88, 0.16);
  font-family: "Google Sans", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 10px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(21, 53, 88, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  color: var(--navy);
  font-size: 16px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tabs {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 24px;
}

.tab {
  position: relative;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.tab::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 3px;
  background: var(--blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.tab:hover,
.tab:focus-visible,
.tab.is-active {
  color: var(--navy);
}

.tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-download {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.header-download:hover,
.header-download:focus-visible {
  color: var(--white);
  background: var(--navy);
}

.tab-panel[hidden] {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 410px);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  min-height: min(850px, calc(100svh - 140px));
  padding: clamp(52px, 6vw, 86px) clamp(24px, 8vw, 128px) 42px;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 5px solid var(--red);
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 10px;
  background: var(--blue);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 670px;
  margin-bottom: 32px;
  color: #44515f;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 850;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.tab:focus-visible,
.header-download:focus-visible,
.text-link:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 118, 185, 0.28);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  border-color: #b9c6d1;
  color: var(--navy);
  background: var(--white);
}

.release-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 1px;
  max-width: 620px;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  background: var(--line);
}

.release-facts div {
  min-width: 0;
  padding: 16px;
  background: var(--white);
}

.release-facts dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.integrity {
  max-width: 650px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.integrity code {
  overflow-wrap: anywhere;
}

.device-figure {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-self: end;
  margin: 0;
}

.device-shell {
  position: relative;
  width: min(100%, 330px);
  padding: 10px;
  border: 2px solid #4a5056;
  border-radius: 54px;
  aspect-ratio: 9 / 19.8;
  background: #111418;
  box-shadow: var(--shadow);
}

.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 44px;
  background: var(--white);
}

.device-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 50%;
  width: 15px;
  height: 15px;
  border: 3px solid #171a1e;
  border-radius: 50%;
  background: #050607;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
}

.side-key {
  position: absolute;
  right: -5px;
  width: 4px;
  border-radius: 0 3px 3px 0;
  background: #30353a;
}

.side-key-top {
  top: 24%;
  height: 76px;
}

.side-key-bottom {
  top: 36%;
  height: 110px;
}

.device-figure figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.notice-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
  gap: 32px;
  padding: 28px clamp(24px, 8vw, 128px);
  color: var(--white);
  background: var(--navy);
}

.notice-band strong {
  font-size: 16px;
}

.notice-band span {
  color: #dce7ef;
  line-height: 1.55;
}

.community-band {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  padding: 90px clamp(24px, 8vw, 128px);
}

.community-band h2 {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 50px);
}

.community-band > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.section-heading {
  padding: 92px clamp(24px, 10vw, 160px) 54px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.section-heading h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 68px);
}

.section-heading > p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.steps {
  max-width: 1080px;
  margin: 0 auto;
  padding: 58px 24px 80px;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 30px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 0;
}

.step-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--blue);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.steps h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 26px;
}

.steps p {
  max-width: 780px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.text-link {
  display: inline-block;
  padding: 5px 0;
  color: var(--blue-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.safety-note {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto 90px;
  padding: 26px;
  border-left: 5px solid var(--red);
  background: #fff5f5;
}

.safety-note strong {
  color: #8a1620;
}

.safety-note p {
  margin: 0;
  color: #6e3b40;
  line-height: 1.6;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  min-height: calc(100svh - 76px);
}

.contact-heading {
  padding-right: clamp(32px, 6vw, 92px);
}

.contact-heading h1 {
  font-size: clamp(40px, 5vw, 66px);
}

.contact-form {
  align-self: center;
  width: min(760px, calc(100% - 48px));
  margin: 60px auto;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(21, 53, 88, 0.09);
}

.contact-form label {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid #b9c5cf;
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
}

input {
  height: 50px;
  padding: 0 14px;
}

textarea {
  min-height: 160px;
  padding: 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 18px;
}

#form-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

#form-status.is-success {
  color: var(--success);
}

#form-status.is-error {
  color: #a51f2b;
}

footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: center;
  padding: 36px clamp(24px, 8vw, 128px);
  color: #cddae4;
  background: #102b48;
}

footer div {
  display: grid;
  gap: 5px;
}

footer strong {
  color: var(--white);
}

footer span,
footer p {
  font-size: 13px;
}

footer p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .tabs {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 48px;
  }

  .tab::after {
    bottom: -4px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .device-figure {
    align-self: center;
  }

  .device-shell {
    width: min(72vw, 330px);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-heading {
    padding-bottom: 54px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding: 8px 16px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 9px;
  }

  .header-download {
    width: 44px;
    min-height: 44px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    white-space: nowrap;
  }

  .header-download span {
    color: var(--navy);
    font-size: 21px;
  }

  .header-download:hover span,
  .header-download:focus-visible span {
    color: var(--white);
  }

  .tabs {
    gap: 6px;
  }

  .tab {
    flex: 1;
    padding: 0 6px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 54px 20px 42px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .release-facts {
    grid-template-columns: 1fr;
  }

  .device-shell {
    width: min(82vw, 320px);
  }

  .notice-band,
  .community-band,
  footer {
    grid-template-columns: 1fr;
  }

  .community-band {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .section-heading {
    padding: 62px 20px 42px;
  }

  .section-heading h1 {
    font-size: 40px;
  }

  .steps {
    padding: 32px 20px 60px;
  }

  .steps li {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
  }

  .step-number {
    width: 46px;
    height: 46px;
  }

  .steps h2 {
    font-size: 21px;
  }

  .safety-note {
    grid-template-columns: 1fr;
    margin: 0 20px 68px;
  }

  .contact-form {
    width: calc(100% - 32px);
    margin: 32px auto 56px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
