@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --wallpaper: #0e5e61;
  --wallpaper-deep: #08393b;
  --paper: #f3f6f5;
  --surface: #ffffff;
  --ink: #102224;
  --muted: #4f6567;
  --rule: #d5dfde;
  --pointer: #f7c948;
  --link: #0b6b6f;
  --measure: 66ch;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1c1e;
    --surface: #10282a;
    --ink: #e6efee;
    --muted: #9db3b3;
    --rule: #1f3d3f;
    --link: #7fd1cf;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b1c1e;
  --surface: #10282a;
  --ink: #e6efee;
  --muted: #9db3b3;
  --rule: #1f3d3f;
  --link: #7fd1cf;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0; overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  font-stretch: 100%;
}

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pointer); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { margin: 0; font-stretch: 125%; line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; max-width: 18ch; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; max-width: var(--measure); }
.lede { font-size: 1.3rem; line-height: 1.45; color: var(--muted); max-width: 46ch; }

/* ---------- Header (sits on the wallpaper on the product page) ---------- */

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 22px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none; font-weight: 700; font-stretch: 112%;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; gap: 22px; font-size: 1rem; }
.top nav a { color: inherit; text-decoration: none; opacity: 0.85; }
.top nav a:hover { opacity: 1; text-decoration: underline; }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(120% 90% at 85% 10%, #157b7e 0%, transparent 60%),
    var(--wallpaper);
  color: #f2fbfa;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 48px;
  padding-block: 48px 96px;
}
.hero h1 {
  font-size: clamp(2.8rem, 7.4vw, 5.6rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 0.95;
  max-width: 10ch;
}
.hero .lede { color: #cfe7e5; margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  padding: 11px 20px; border-radius: 12px;
  background: #f2fbfa; color: var(--wallpaper-deep);
  line-height: 1.15; font-weight: 700;
}
.store small { font-weight: 500; font-size: 0.8rem; color: #3d5a5b; }
.hero-actions a { color: #f2fbfa; }

.hero-shot { margin: 0; justify-self: center; }
.hero-shot img { display: block; width: min(400px, 78vw); height: auto; }

/* ---------- Sections ---------- */

section { padding-block: clamp(64px, 10vw, 112px); }
section + section { border-top: 1px solid var(--rule); }
.section-head { display: grid; gap: 18px; margin-bottom: 48px; }

/* What it connects to */
.targets { display: grid; gap: 0; margin: 0; }
.target {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 8px 40px; padding-block: 26px;
  border-top: 1px solid var(--rule);
}
.target:last-child { border-bottom: 1px solid var(--rule); }
.target dt { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 750; font-stretch: 118%; letter-spacing: -0.02em; line-height: 1.1; }
.target dt span { display: block; margin-top: 6px; font-size: 1rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--muted); }
.target dd { margin: 0; }
.target dd p + p { margin-top: 8px; color: var(--muted); font-size: 1rem; }

/* Postures */
.postures { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 40px; align-items: end; }
.posture { margin: 0; display: grid; gap: 22px; }
.posture img { display: block; width: 100%; height: auto; }
.posture:not(.wide) img { max-width: 260px; }
.posture h3 { margin-bottom: 8px; }
.posture p { color: var(--muted); }

/* Showcase */
.showcase-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.showcase .lede { margin-top: 20px; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; }
.shot.tall img { width: min(400px, 78vw); margin: 0 auto; }
.shot figcaption { margin-top: 14px; font-size: 0.95rem; color: var(--muted); text-align: center; }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 56px; margin: 0; padding: 0; list-style: none; }
.features h3 { margin-bottom: 6px; }
.features p { color: var(--muted); }

/* Pro */
.pro {
  background: var(--wallpaper-deep);
  color: #e9f5f4;
  border-top: 0 !important;
}
.pro .lede { color: #bcd8d6; }
.pro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.pro-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pro-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.pro-list svg { width: 22px; height: 22px; margin-top: 3px; stroke: var(--pointer); fill: none; stroke-width: 2.5; }
.pro-list b { display: block; font-weight: 700; }
.pro-list span { color: #bcd8d6; font-size: 1rem; }
.plans { background: #0e4a4c; border-radius: 22px; padding: 30px; display: grid; gap: 22px; }
.plan { display: grid; gap: 2px; }
.plan + .plan { padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 0.12); }
.plan strong { font-size: 2rem; font-stretch: 118%; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.plan strong small { font-size: 1rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: #bcd8d6; }
.plan span { color: #bcd8d6; font-size: 1rem; }
.plan.lead strong { color: var(--pointer); }
.plans-note { font-size: 0.9rem; color: #9fc2c0; }

/* Privacy + works with */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.split h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 18px; }
.split p + p, .split p + ul { margin-top: 14px; }
.split ul { margin: 14px 0 0; padding-left: 1.1em; }
.split li + li { margin-top: 6px; }

/* ---------- Footer ---------- */

.foot { padding-block: 44px 56px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot p { max-width: 52ch; }

/* ---------- Text pages (support, privacy) ---------- */

.page-head { background: var(--wallpaper); color: #f2fbfa; }
.page-head .title { padding-block: 28px 64px; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 850; }
.page-head p { color: #cfe7e5; margin-top: 14px; }
.prose { padding-block: 56px 88px; }
.prose > * { max-width: var(--measure); }
.prose h2 { font-size: 1.55rem; font-weight: 750; letter-spacing: -0.015em; max-width: none; margin: 2.6rem 0 0.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 0.9rem; }
.prose ul { padding-left: 1.2em; margin: 0.9rem 0 0; }
.prose li + li { margin-top: 0.5rem; }

/* ---------- Company home ---------- */

.company { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.company main { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; padding-block: 64px; }
.company h1 { font-size: clamp(2rem, 10vw, 7.5rem); font-weight: 850; letter-spacing: -0.04em; line-height: 0.92; }
.company .lede { margin-top: 24px; }
.product-link {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: center;
  margin-top: 64px; padding: 22px; max-width: 560px;
  border-radius: 22px; background: var(--surface); border: 1px solid var(--rule);
  color: inherit; text-decoration: none;
}
.product-link:hover { border-color: var(--wallpaper); }
.product-link img { width: 64px; height: 64px; border-radius: 15px; }
.product-link b { display: block; font-size: 1.35rem; font-stretch: 115%; letter-spacing: -0.01em; }
.product-link span span { color: var(--muted); font-size: 1rem; }

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  .hero-grid, .pro-grid, .split, .showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-block: 24px 72px; gap: 56px; }
  .postures { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .posture.wide { grid-column: 1 / -1; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .target { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .top nav { gap: 16px; font-size: 0.95rem; }
  .brand span { display: none; }
  .plans { padding: 24px; }
}
