@font-face {
  font-family: 'Hanken Grotesk';
  src: url('hanken-grotesk.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('google-sans-medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #0a2540;
  --slate: #4f6472;
  --line: #dbe5e8;
  --pale-blue: #e9f6fa;
  --gulf-deep: #1f6173;
  font: 400 17px / 1.47 'Hanken Grotesk', 'Helvetica Neue', system-ui, sans-serif;
  font-kerning: normal;
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p, dl, dd { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
strong { font-weight: 600; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gulf-deep);
  outline-offset: 4px;
}

.layout {
  width: min(calc(100% - clamp(48px, 11vw, 144px)), 1044px);
  min-height: 100svh;
  margin-inline: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.header {
  display: flex;
  min-height: 108px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.header img {
  display: block;
  width: 153px;
  height: auto;
}

.main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(36px, 6.8vw, 96px);
  align-items: center;
  align-content: center;
  padding-block: clamp(72px, 11vh, 132px);
}

.is-consent {
  grid-template-areas: 'intro detail' 'action detail';
  row-gap: 0;
}

.is-consent .intro { grid-area: intro; align-self: end; }
.is-consent .panel { grid-area: detail; }
.is-consent .action { grid-area: action; align-self: start; }

h1 {
  font-weight: 600;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.055;
  letter-spacing: -.035em;
  margin-left: -.035em;
  text-wrap: balance;
}

.lead {
  margin-top: 24px;
  max-width: 39ch;
  color: var(--slate);
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.43;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.action { margin: 36px 0 0; }

.button, .google-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  max-width: 100%;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
}

.button {
  padding: 10px 24px;
  background: var(--gulf-deep);
  color: white;
  font: 600 16px / 1.35 'Hanken Grotesk', 'Helvetica Neue', system-ui, sans-serif;
}

.button:hover { background: var(--ink); }

.google-button {
  padding: 9px 12px;
  gap: 10px;
  background: #fff;
  border-color: #747775;
  color: #1f1f1f;
  font: 500 14px / 20px 'Google Sans', system-ui, sans-serif;
}

.google-button:hover { background: #f8faff; }
.google-button img { flex: none; width: 18px; height: auto; }

.panel {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: 28px;
  background: var(--pale-blue);
  min-width: 0;
}

.panel h2 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.panel > p, .panel > dl { margin-top: 12px; }
.panel p, .panel dd { color: var(--slate); }
.panel p { text-wrap: pretty; }
.panel dt { font-size: 15px; font-weight: 600; }
.panel dd { margin-top: 3px; overflow-wrap: anywhere; }
.panel dd + dt { margin-top: 18px; }
.scope { white-space: pre-line; }

.endpoint {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #c7dce3;
}

.endpoint .caption { font-size: 14px; font-weight: 600; color: var(--ink); }
.endpoint code { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }

.copy {
  margin: 6px 0 -6px;
  padding: 0;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--gulf-deep);
  font: 600 14px / 1.4 'Hanken Grotesk', 'Helvetica Neue', system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.copy:hover { color: var(--ink); }

.footer {
  display: flex;
  align-items: center;
  min-height: 78px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gulf-deep);
  font-weight: 600;
  text-underline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .header { min-height: 84px; }
  .header img { width: 132px; }
  .main {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 36px;
    padding-block: 54px 48px;
  }
  .is-consent { grid-template-areas: 'intro' 'detail' 'action'; row-gap: 24px; }
  .is-consent .action { margin-top: 0; }
  h1 { max-width: 15ch; }
  .lead { margin-top: 16px; }
  .action { margin-top: 24px; }
  .footer { min-height: 64px; }
}
