@font-face {
  font-family: "Google Sans";
  src: url("google-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #12284a;
  --orange: #b8430a;
  --accent: #e4560b;
  --ink-muted: #4e5766;
  --page: #fffaf5;
  --paper: #fff;
  --peach: #ffede1;
  --line: #e8d9cd;
  background: var(--page);
  color: var(--navy);
  font-family: "Google Sans", Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(100% - 2 * clamp(1.25rem, 5vw, 4rem), 76rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.site-header img {
  width: clamp(7.5rem, 17vw, 9.6rem);
  height: auto;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  font-size: .9375rem;
  font-weight: 700;
}

.how-link:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .7rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.button-outline { border-color: var(--navy); }
.button-outline:hover { background: var(--peach); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.25rem);
  padding-block: clamp(2.75rem, 6.2vw, 5.1rem) clamp(2.75rem, 5vw, 4.1rem);
}

.location {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border-radius: 2rem;
  padding: .45rem .8rem;
  margin: 0 0 1.2rem;
  background: var(--peach);
  color: #872f07;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
}

.location span {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-copy { container-type: inline-size; }

h1, h2, h3, p { margin: 0; }

h1 {
  font-size: clamp(2.6rem, 15.5cqi, 5.4rem);
  line-height: .99;
  font-weight: 700;
  letter-spacing: -.069em;
}

h1 span { display: block; color: var(--orange); }

.intro {
  max-width: 28rem;
  margin-top: clamp(1rem, 2.2vw, 1.65rem);
  color: var(--ink-muted);
  font-size: clamp(1.065rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.signup {
  position: relative;
  max-width: 29rem;
  margin-top: 1.75rem;
}

.signup > label {
  display: block;
  margin-bottom: .6rem;
  font-size: 1rem;
  font-weight: 700;
}

.signup-fields { display: flex; gap: .5rem; }

.signup-fields input {
  flex: 1;
  min-width: 0;
  min-height: 3.2rem;
  padding: .6rem .9rem;
  border: 1px solid #ae9686;
  border-radius: .7rem;
  background: var(--paper);
  color: var(--navy);
  font: inherit;
  scroll-margin-block: 6rem;
}

.button-primary {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}

.button-primary:hover:not(:disabled) { background: #1e3c68; }
.button-primary:disabled { opacity: .7; cursor: default; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }

.signup-check {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.signup-verification {
  margin-top: .7rem;
}

.signup-widget {
  width: 100%;
  min-width: 0;
}

.signup .verification-status:empty {
  display: none;
}

.signup-official {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.signup-official[hidden] {
  display: none;
}

@container (max-width: 20rem) {
  .signup-fields {
    flex-direction: column;
  }
}

.signup p {
  margin-top: .55rem;
  color: var(--ink-muted);
  font-size: .875rem;
  line-height: 1.5;
}

.signup .signup-result {
  width: fit-content;
  padding: .55rem .75rem;
  border-radius: .55rem;
  background: #e6f2e8;
  color: #205234;
  font-weight: 700;
}

.signup .signup-result[data-error] {
  background: #ffe9e3;
  color: #972a22;
}

.signup .signup-result:empty { padding: 0; margin: 0; }

.hero-visual {
  position: relative;
  isolation: isolate;
  min-width: 0;
  aspect-ratio: 1.18;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #efd1b9;
}

.hero-photo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  max-width: calc(100% - 2rem);
  padding: .75rem 1rem .75rem .75rem;
  border: 1px solid #f2e1d4;
  border-radius: .9rem;
  background: var(--paper);
  box-shadow: 0 .25rem 1rem #402b221c;
}

.photo-note img {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: .38rem;
  border-radius: .7rem;
  background: var(--navy);
}

.photo-note strong, .photo-note span { display: block; }
.photo-note strong { font-size: .95rem; }
.photo-note span { color: var(--ink-muted); font-size: .875rem; }

.how {
  padding: 2.15rem clamp(1.35rem, 3.5vw, 3.15rem) 2.5rem;
  border: 1px solid #f4dace;
  border-radius: 1.5rem;
  background: #fff2e9;
  scroll-margin-block: 1.25rem;
}

.section-intro h2, .launch-banner h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.13;
  letter-spacing: -.045em;
}

.section-intro p, .launch-banner p {
  margin-top: .5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.section-intro p { color: var(--ink-muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.7rem);
  margin-top: 1.7rem;
}

.step {
  padding-top: 1.05rem;
  border-top: 1px solid #e3bba8;
}

.step h3, summary { font-size: 1.05rem; font-weight: 700; }

.step p, details p {
  margin-top: .45rem;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.questions {
  display: grid;
  grid-template-columns: minmax(0, .73fr) minmax(0, 1.27fr);
  gap: 1.5rem 3rem;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

details {
  padding: 1rem .15rem;
  border-top: 1px solid var(--line);
}

details:last-child { border-bottom: 1px solid var(--line); }

summary {
  position: relative;
  padding-right: 1.65rem;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "";
  position: absolute;
  top: .4rem;
  right: .27rem;
  width: .55rem;
  height: .55rem;
  border-bottom: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  transform: rotate(45deg);
}

details[open] summary::after { transform: translateY(.2rem) rotate(225deg); }

.launch-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.45rem, 4vw, 3rem);
  border-radius: 1.5rem;
  color: #fff;
  background: var(--navy);
}

.launch-banner p { color: #e4eaf4; }
.button-banner { background: #ffe9dc; color: var(--navy); }
.button-banner:hover { background: #fff; }
.button-banner:focus-visible { outline-color: #fff; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: .875rem;
}

.site-footer img { height: auto; }

@media (max-width: 50rem) {
  .hero, .questions { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 1.75rem; }
  .hero-photo { object-position: 50% 53%; }
  .hero-visual { aspect-ratio: 1.35; }
}

@media (max-width: 38rem) {
  .site-header { min-height: 4.65rem; }
  .how-link { display: none; }
  .hero { padding-top: 2.05rem; }
  .hero-visual { border-radius: 1rem; }
  .steps { grid-template-columns: 1fr; gap: 1rem; margin-top: 1.15rem; }
  .launch-banner { align-items: flex-start; flex-direction: column; }
  .photo-note { bottom: .55rem; right: .55rem; max-width: calc(100% - 1.1rem); padding: .43rem .6rem; gap: .5rem; }
  .photo-note img { width: 2rem; height: 2rem; }
  .photo-note strong, .photo-note span { font-size: .8125rem; }
}
