:root {
  color-scheme: light;
  --paper: #fffdf8;
  --surface: #ffffff;
  --ink: #172624;
  --body: #40514e;
  --sea: #087c73;
  --sea-dark: #075e58;
  --sea-pale: #e5f5f2;
  --sand-pale: #fff3da;
  --border: #d8dfdc;
  --warning: #8a3b22;
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
}

a {
  color: var(--sea-dark);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
  color: var(--sea);
}

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

header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
}

.nav {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  font-weight: 750;
  font-size: 1.35rem;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 620;
}

main {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 56px 0 72px;
}

.hero {
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(23, 38, 36, 0.07);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sea-dark);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 3.7rem);
}

h2 {
  margin: 42px 0 12px;
  font-size: 1.55rem;
}

h3 {
  margin: 26px 0 8px;
  font-size: 1.12rem;
}

p,
li {
  color: var(--body);
}

.lede {
  max-width: 62ch;
  margin: 16px 0 0;
  font-size: 1.08rem;
}

.meta {
  margin: 12px 0 0;
  color: var(--body);
  font-size: 0.9rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--sea);
  border-radius: 8px;
  background: var(--sea-pale);
}

.warning {
  border-left-color: var(--warning);
  background: var(--sand-pale);
}

.button {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--sea-dark);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  color: #ffffff;
  background: var(--sea);
}

table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

th,
td {
  min-width: 150px;
  padding: 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--sea-pale);
}

footer {
  border-top: 1px solid var(--border);
  padding: 24px 16px 40px;
  text-align: center;
}

footer p {
  margin: 4px;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  main {
    padding-top: 32px;
  }

  .hero {
    padding: 25px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  a {
    transition:
      color 120ms ease,
      background-color 120ms ease;
  }
}

/* Product landing page */

.home {
  background:
    radial-gradient(circle at 15% 18%, rgba(238, 193, 112, 0.18), transparent 25rem),
    var(--paper);
}

.home header {
  position: relative;
  z-index: 10;
}

.home-main {
  width: min(100% - 40px, 1120px);
  padding-top: 44px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(34px, 7vw, 82px);
  min-height: 630px;
  padding: 30px 0 76px;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.15rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy .lede {
  max-width: 52ch;
  margin-top: 26px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 30px;
}

.app-store-button {
  display: inline-flex;
  flex-direction: column;
  min-width: 178px;
  margin: 0;
  padding: 10px 20px 12px;
  border-radius: 14px;
  line-height: 1.05;
}

.app-store-button span {
  font-size: 0.7rem;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.app-store-button strong {
  margin-top: 4px;
  font-size: 1.28rem;
}

.text-link {
  font-weight: 700;
}

.coast-card {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  padding: 38px;
  border-radius: 38px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 42%),
    #075e58;
  box-shadow: 0 30px 70px rgba(2, 45, 43, 0.23);
  color: #ffffff;
}

.coast-card::before,
.coast-card::after {
  position: absolute;
  right: -24%;
  bottom: -14%;
  width: 128%;
  height: 42%;
  border-radius: 50% 45% 0 0;
  background: #f0c475;
  content: "";
  transform: rotate(-7deg);
}

.coast-card::after {
  right: -28%;
  bottom: -5%;
  height: 26%;
  background: #fff7e8;
  transform: rotate(5deg);
}

.sun {
  position: absolute;
  top: 55px;
  right: 50px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #f0c475;
  box-shadow: 0 0 0 16px rgba(240, 196, 117, 0.12);
}

.coast-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  max-width: 250px;
}

.coast-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coast-copy strong {
  margin-top: 9px;
  font-size: 2rem;
  line-height: 1.08;
}

.preview-stack {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 12px;
  margin-top: 128px;
}

.preview-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(2, 45, 43, 0.14);
  color: var(--ink);
}

.preview-card:nth-child(2) {
  transform: translateX(-20px);
}

.preview-card span:last-child {
  color: var(--body);
  font-size: 0.86rem;
}

.preview-card strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.preview-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--sea-pale);
  color: var(--sea-dark);
  font-size: 1.4rem;
  font-weight: 800;
}

.feature-section {
  padding: 90px 0;
  border-top: 1px solid var(--border);
}

.feature-section > h2,
.local-section h2,
.support-strip h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.feature-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.feature-card h3 {
  margin-top: 28px;
  font-size: 1.3rem;
}

.feature-number {
  margin: 0;
  color: var(--sea-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.local-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 64px;
  margin: 0 -24px;
  padding: 66px;
  border-radius: 30px;
  background: var(--sea-pale);
}

.local-section > p {
  margin: 4px 0 0;
  font-size: 1.08rem;
}

.support-strip {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 86px 0 26px;
}

.support-strip h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.support-links a {
  font-weight: 680;
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 13ch;
  }

  .coast-card {
    min-height: 510px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .local-section {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 0;
    padding: 42px;
  }
}

@media (max-width: 640px) {
  .home-main {
    width: min(100% - 32px, 1120px);
  }

  .home-hero {
    min-height: 0;
    padding-top: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.3rem);
  }

  .coast-card {
    min-height: 500px;
    padding: 28px;
    border-radius: 28px;
  }

  .sun {
    top: 40px;
    right: 34px;
    width: 70px;
    height: 70px;
  }

  .preview-stack {
    margin-top: 118px;
  }

  .preview-card:nth-child(2) {
    transform: none;
  }

  .feature-section {
    padding: 68px 0;
  }

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

  .feature-card {
    min-height: 0;
  }

  .local-section {
    padding: 30px;
  }

  .support-strip {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 66px;
  }

  .support-links {
    justify-content: flex-start;
  }
}
