:root {
  --cyan: #c4eeeb;
  --paper: #f3f5f3;
  --ink: #19363e;
  --dark: #17343c;
  --white: #f9faf8;
  --gutter: clamp(20px, 4.5vw, 72px);
  --font: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

.landing-page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.landing-page main {
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

a {
  color: inherit;
  text-underline-offset: 5px;
  touch-action: manipulation;
}

a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
}

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

h1, h2 {
  text-wrap: balance;
  line-height: 1.03;
  letter-spacing: -.055em;
}

h1 {
  font-size: clamp(45px, 6.3vw, 96px);
  font-weight: 800;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--ink);
  color: var(--cyan);
}

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

.skip-link:focus {
  transform: none;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
  background: var(--cyan);
}

.brand {
  width: 190px;
  display: block;
  flex-shrink: 0;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.header nav a:hover,
.header nav a[aria-current="page"] {
  text-decoration: underline;
}

.hero {
  position: relative;
  display: grid;
  flex: 1;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: calc(100svh - 188px);
  padding: 30px var(--gutter) 24px;
  background: var(--cyan);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 50px;
}

.hero-description {
  max-width: 440px;
  margin-top: 28px;
  font-size: 20px;
}

.availability {
  margin-top: 20px;
  font-size: 14px;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8%;
  position: relative;
  align-self: center;
  aspect-ratio: 1 / 1.1;
  max-width: 600px;
  width: 100%;
  margin-left: auto;
}

.hero-shot {
  position: relative;
  flex: 0 0 42%;
  padding: clamp(3px, .32vw, 5px);
  border: 1px solid #879099;
  border-radius: 14% / 6.5%;
  background: #343b43;
}

.hero-shot::before,
.hero-shot::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #343b43;
}

.hero-shot::before {
  top: 16%;
  left: -3px;
  height: 8%;
}

.hero-shot::after {
  top: 22%;
  right: -3px;
  height: 10%;
}

.iphone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 12% / 5.5%;
  background: #141a20;
}

.iphone-screen::before {
  content: "";
  position: absolute;
  top: 1.3%;
  left: 34%;
  width: 32%;
  height: 3.6%;
  border-radius: 999px;
  background: #020304;
}

.iphone-screen::after {
  content: "";
  position: absolute;
  top: 2.5%;
  right: 37.5%;
  width: 2.3%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #243449;
}

.iphone-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 393 / 852;
  object-fit: contain;
}

.iphone-home {
  position: absolute;
  bottom: 1.3%;
  left: 35%;
  width: 30%;
  height: .6%;
  border-radius: 999px;
  background: #d5d8db;
}

.hero-shot-front {
  order: -1;
  transform: translateY(-12px) rotate(-3deg);
}

.hero-shot-back {
  transform: translateY(18px) rotate(3deg);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 24px var(--gutter);
}

.contact h2 {
  font-size: 28px;
  letter-spacing: -.035em;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
  padding: 18px var(--gutter);
  background: var(--dark);
  color: var(--white);
  font-size: 14px;
}

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.privacy-page {
  padding: 72px var(--gutter) 96px;
}

.privacy-intro h1 {
  margin-bottom: 32px;
}

.privacy-lead {
  font-size: 20px;
}

.privacy-updated {
  margin: 24px 0 16px;
  font-size: 14px;
}

.privacy-contents {
  display: flex;
  flex-wrap: wrap;
  column-gap: 28px;
  margin: 36px 0 56px;
}

.privacy-contents a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.privacy-body section + section {
  margin-top: 48px;
}

.privacy-body h2 {
  margin-bottom: 24px;
  font-size: 32px;
  letter-spacing: -.035em;
}

.privacy-body p + p,
.privacy-body ul + p {
  margin-top: 20px;
}

.privacy-body ul {
  padding-left: 24px;
  margin: 20px 0;
}

.privacy-body li + li {
  margin-top: 12px;
}

.privacy-page a {
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .hero {
    min-height: 620px;
    padding-top: 24px;
  }

  .hero-copy {
    padding-bottom: 24px;
  }

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

@media (max-width: 700px) {
  .header {
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    width: 136px;
  }

  .header nav {
    gap: 18px;
  }

  .header nav a {
    font-size: 14px;
  }

  .hero {
    display: block;
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 12px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(45px, 11.5vw, 72px);
    letter-spacing: -.06em;
  }

  .hero-description {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.5;
  }

  .availability {
    margin-top: 16px;
  }

  .hero-media {
    max-width: 460px;
    margin: 28px auto 0;
  }

  .footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 16px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .footer-email {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-end {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .privacy-page {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .privacy-intro h1 {
    font-size: clamp(40px, 10vw, 64px);
  }

  .privacy-lead {
    font-size: 18px;
  }

  .privacy-contents {
    margin: 28px 0 40px;
    column-gap: 24px;
  }

  .privacy-body h2 {
    font-size: 28px;
  }
}

@media (max-width: 370px) {
  .header nav {
    gap: 14px;
  }

  .hero h1 {
    font-size: 40px;
  }
}

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