:root {
  --paper: #f8f3e7;
  --paper-deep: #eee5d4;
  --ink: #111d2b;
  --sky: #18aee8;
  --sky-deep: #00679d;
  --sun: #ffc62e;
  --coral: #f45d4c;
  --white: #fffdf7;
  --line: rgba(17, 29, 43, 0.16);
  --display: "Avenir Next", "Futura", "Century Gothic", sans-serif;
  --body: "Avenir Next", "Gill Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, transparent 0 49.92%, rgba(17, 29, 43, 0.035) 49.92% 50.08%, transparent 50.08%),
    var(--paper);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

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

.site-header,
main,
footer {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.site-header nav a {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  min-height: 760px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  align-self: center;
  padding: 64px 56px 64px 0;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--sky-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.legal h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.hero h1 {
  max-width: 7ch;
  font-size: clamp(5rem, 9vw, 8.8rem);
}

.lede {
  max-width: 27rem;
  margin: 38px 0 32px;
  font-size: clamp(1.3rem, 2vw, 1.72rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.36;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 214px;
  padding: 11px 17px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  transition: transform 140ms ease, background 140ms ease, color 140ms ease;
}

.app-store-button:hover {
  background: var(--sun);
  color: var(--ink);
  transform: translateY(-2px);
}

.app-store-button span {
  display: grid;
  line-height: 1.05;
}

.app-store-button small {
  font-size: 0.67rem;
}

.app-store-button strong {
  font-family: var(--display);
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.location-note {
  max-width: 25rem;
  margin: 22px 0 0;
  color: rgba(17, 29, 43, 0.68);
  font-size: 0.78rem;
  line-height: 1.5;
}

.location-note span {
  margin-right: 6px;
  color: var(--coral);
}

.product-stage {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 760px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: var(--sky);
}

.sun-orbit {
  position: absolute;
  width: 520px;
  height: 520px;
  top: -140px;
  right: -130px;
  border: 54px solid rgba(255, 198, 46, 0.95);
  border-radius: 50%;
}

.phone {
  position: relative;
  z-index: 2;
  width: min(356px, 69%);
  max-height: 690px;
  margin: 70px 0 0;
  overflow: hidden;
  border: 10px solid var(--ink);
  border-bottom: 0;
  border-radius: 48px 48px 0 0;
  background: var(--paper);
  box-shadow: 20px 24px 0 rgba(0, 103, 157, 0.44);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
}

.window-note {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 78px;
  display: grid;
  width: 154px;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--sun);
  box-shadow: 7px 7px 0 var(--coral);
  transform: rotate(2deg);
}

.window-note span,
.window-note small {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.window-note strong {
  margin: 2px 0;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.06em;
}

.plain-spoken {
  display: grid;
  grid-template-columns: 0.65fr 1.1fr 0.85fr;
  gap: 48px;
  align-items: start;
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--line);
}

.plain-spoken h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4.3vw, 4.5rem);
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.plain-spoken > p:last-child {
  margin: 2px 0 0;
  font-size: 1.02rem;
  line-height: 1.65;
}

footer {
  padding: 28px 0 42px;
  color: rgba(17, 29, 43, 0.67);
  font-size: 0.76rem;
  line-height: 1.55;
}

footer > p {
  max-width: 48rem;
  margin: 0 0 18px;
}

footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

footer a {
  text-underline-offset: 4px;
}

.legal-shell {
  max-width: 920px;
  padding: 84px 0 100px;
}

.legal {
  padding: clamp(28px, 6vw, 76px);
  border: 1px solid var(--line);
  border-top: 10px solid var(--sun);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 18px 18px 0 var(--paper-deep);
}

.legal h1 {
  max-width: 10ch;
  font-size: clamp(3.1rem, 8vw, 6.4rem);
}

.updated {
  margin: 22px 0 48px;
  color: rgba(17, 29, 43, 0.6);
  font-size: 0.82rem;
  font-weight: 700;
}

.legal-intro {
  padding: 22px 0 22px 22px;
  border-left: 5px solid var(--coral);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.55;
}

.legal h2 {
  margin: 48px 0 10px;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.legal p {
  line-height: 1.72;
}

.legal a {
  color: var(--sky-deep);
  font-weight: 700;
  text-underline-offset: 4px;
}

@media (max-width: 850px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 700px);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 72px 0 64px;
  }

  .hero h1 {
    font-size: clamp(4.3rem, 20vw, 7rem);
  }

  .product-stage {
    min-height: 680px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .phone {
    width: min(350px, 76%);
    max-height: 620px;
  }

  .window-note {
    right: 14px;
    bottom: 52px;
  }

  .plain-spoken {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 68px 0 72px;
  }

  .plain-spoken .eyebrow {
    margin-bottom: 0;
  }

  .legal-shell {
    padding: 40px 0 72px;
  }
}

@media (max-width: 480px) {
  body {
    background: var(--paper);
  }

  .site-header {
    min-height: 70px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero-copy {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: clamp(4rem, 21vw, 5.2rem);
  }

  .lede {
    margin-top: 30px;
    font-size: 1.25rem;
  }

  .product-stage {
    min-height: 600px;
  }

  .phone {
    width: 82%;
    max-height: 550px;
    border-width: 8px;
    border-radius: 40px 40px 0 0;
    box-shadow: 12px 16px 0 rgba(0, 103, 157, 0.44);
  }

  .sun-orbit {
    width: 360px;
    height: 360px;
    top: -100px;
    right: -120px;
    border-width: 42px;
  }

  .window-note {
    right: 8px;
    bottom: 34px;
    width: 134px;
    padding: 11px 12px;
    box-shadow: 5px 5px 0 var(--coral);
  }

  .window-note strong {
    font-size: 1.32rem;
  }

  .plain-spoken h2 {
    font-size: 2.75rem;
  }

  .legal {
    box-shadow: 9px 9px 0 var(--paper-deep);
  }

  .legal-intro {
    padding-left: 16px;
    font-size: 1.08rem;
  }
}

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

  .app-store-button {
    transition: none;
  }
}
