:root {
  color-scheme: light;
  --ink: #1b1b18;
  --muted: #62635c;
  --paper: #f7f5ef;
  --paper-deep: #ede9df;
  --panel: #fffefa;
  --line: #d9d6cc;
  --pine: #1f6b48;
  --pine-dark: #155239;
  --pine-light: #dce8df;
  --red: #c64d43;
  --gold: #d5ad58;
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

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

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-header nav a,
footer nav a {
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:hover,
footer nav a:hover {
  color: var(--pine);
}

.site-header .nav-cta {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
}

.site-header .nav-cta:hover {
  background: var(--pine-dark);
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  width: min(var(--content), calc(100% - 48px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 54px 0 82px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--pine);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 720px;
  font-size: clamp(4rem, 7.2vw, 7rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.98;
}

h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

.lede {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 34px;
}

.hero-actions > p {
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-actions > p span {
  color: var(--muted);
  font-weight: 500;
}

.app-store-button {
  display: inline-grid;
  min-width: 184px;
  padding: 10px 20px 11px;
  border: 1px solid var(--ink);
  border-radius: 13px;
  background: var(--ink);
  color: white;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.app-store-button:hover {
  background: var(--pine-dark);
  transform: translateY(-2px);
}

.app-store-kicker {
  margin-bottom: 4px;
  font-size: 0.67rem;
  letter-spacing: 0.02em;
}

.app-store-button strong {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
}

.trust-list li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--pine);
}

.hero-visual {
  position: relative;
  width: min(100%, 440px);
  justify-self: end;
  padding: 30px 0 0 42px;
}

.app-preview {
  overflow: hidden;
  border: 1px solid rgba(27, 27, 24, 0.12);
  border-radius: 34px;
  background: var(--panel);
  box-shadow: 0 34px 80px rgba(33, 46, 38, 0.17);
  transform: rotate(1.2deg);
}

.app-preview img {
  width: 100%;
  height: auto;
}

.month-marker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 168px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 254, 250, 0.96);
  box-shadow: 0 16px 38px rgba(33, 46, 38, 0.12);
}

.month-marker span,
.month-marker small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}

.month-marker strong {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.month-marker small {
  margin-top: 6px;
}

.promise-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promise-strip p {
  padding: 20px 24px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.promise-strip p + p {
  border-left: 1px solid var(--line);
}

.how,
.groups,
.privacy-block,
.final-cta,
.doc {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.how {
  padding: 138px 0 150px;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 70px;
  align-items: end;
}

.section-intro .eyebrow,
.section-intro h2 {
  grid-column: 1;
}

.section-intro h2 {
  max-width: 800px;
}

.section-intro > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  color: var(--muted);
  font-size: 1.05rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 72px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.steps li {
  padding: 28px 32px 0 0;
}

.steps li + li {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.step-label {
  display: block;
  margin-bottom: 38px;
  color: var(--pine);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.steps p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.94rem;
}

.groups {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: 90px;
  align-items: center;
  padding: 90px;
  border-radius: 34px;
  background: var(--pine);
  color: white;
}

.groups .eyebrow {
  color: #cce5d5;
}

.groups h2 {
  max-width: 690px;
}

.groups-copy > p:last-child {
  max-width: 610px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.75);
}

.group-stack {
  position: relative;
  min-height: 340px;
}

.group-card {
  position: absolute;
  width: min(100%, 380px);
  padding: 23px 25px;
  border: 1px solid rgba(27, 27, 24, 0.12);
  border-radius: 18px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 20px 48px rgba(14, 45, 31, 0.25);
}

.group-card span,
.group-card small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.group-card strong {
  display: block;
  margin: 12px 0 22px;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.1;
}

.group-card small {
  color: var(--pine);
  letter-spacing: 0;
  text-transform: none;
}

.screenshots {
  top: 0;
  right: 0;
  transform: rotate(2deg);
}

.recordings {
  top: 92px;
  right: 28px;
  transform: rotate(-2deg);
}

.videos {
  top: 184px;
  right: 6px;
  transform: rotate(1deg);
}

.privacy-block {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 62px;
  align-items: center;
  padding: 150px 0;
}

.privacy-mark {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border-radius: 50%;
  background: var(--pine-light);
}

.privacy-mark img {
  border-radius: 22px;
}

.privacy-block h2 {
  max-width: 620px;
}

.privacy-block > div:last-child > p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.text-link {
  display: inline-block;
  margin-top: 25px;
  color: var(--pine);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.final-cta {
  display: grid;
  justify-items: center;
  padding: 100px 48px;
  border-radius: 34px;
  background: var(--ink);
  color: white;
  text-align: center;
}

.final-cta .eyebrow {
  color: #a9d0b7;
}

.final-cta p:not(.eyebrow) {
  max-width: 630px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.68);
}

.final-cta .app-store-button {
  margin-top: 34px;
  border-color: white;
  background: white;
  color: var(--ink);
}

.final-cta .app-store-button:hover {
  background: var(--pine-light);
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px 32px;
  align-items: center;
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 36px;
}

footer > p {
  color: var(--muted);
  font-size: 0.85rem;
}

footer nav {
  justify-self: end;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

/* Support and privacy documents */
.doc-header {
  width: min(860px, calc(100% - 48px));
}

.doc {
  max-width: 860px;
  padding: 72px 0 110px;
}

.doc h1 {
  max-width: none;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
}

.doc .lede {
  margin-bottom: 48px;
}

.doc h2 {
  margin-top: 44px;
  font-family: var(--body);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.doc h2 + p,
.doc h2 + ul {
  margin-top: 11px;
}

.doc p,
.doc li {
  color: var(--muted);
}

.doc a:not(.brand) {
  color: var(--pine);
  text-underline-offset: 4px;
}

.updated {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}

.support-callout {
  margin-top: 48px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.support-callout h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .site-header nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 72px;
  }

  .hero-visual {
    width: min(100%, 520px);
    justify-self: center;
    margin-top: 28px;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-intro > p:last-child {
    grid-column: 1;
    grid-row: auto;
    max-width: 650px;
  }

  .groups {
    grid-template-columns: 1fr;
    padding: 70px 48px;
  }

  .group-stack {
    width: min(100%, 460px);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .hero,
  .promise-strip,
  .how,
  .groups,
  .privacy-block,
  .final-cta,
  footer,
  .doc,
  .doc-header {
    width: min(100% - 32px, var(--content));
  }

  .site-header {
    padding: 16px 0;
  }

  .brand {
    font-size: 1.35rem;
  }

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

  .hero {
    padding: 54px 0 62px;
  }

  h1 {
    font-size: clamp(3.3rem, 16vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    padding-left: 18px;
  }

  .month-marker {
    width: 144px;
  }

  .app-preview {
    border-radius: 24px;
  }

  .promise-strip {
    grid-template-columns: 1fr;
  }

  .promise-strip p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .how {
    padding: 96px 0 105px;
  }

  .steps {
    grid-template-columns: 1fr;
    margin-top: 55px;
  }

  .steps li,
  .steps li + li {
    padding: 26px 0 34px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .steps li:first-child {
    border-top: 0;
  }

  .step-label {
    margin-bottom: 23px;
  }

  .groups {
    padding: 58px 26px;
    border-radius: 24px;
  }

  .privacy-block {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 105px 0;
  }

  .privacy-mark {
    width: 116px;
    height: 116px;
  }

  .privacy-mark img {
    width: 74px;
    height: 74px;
  }

  .final-cta {
    padding: 72px 24px;
    border-radius: 24px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer nav {
    justify-self: start;
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: 1;
  }

  .doc {
    padding-top: 52px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
