@font-face {
  font-family: 'InterVariable';
  src: url('/assets/fonts/inter-latin-variable.woff2') format('woff2-variations');
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  --canvas: #ffffff;
  --paper: #f7f4ed;
  --well: #f4f4f4;
  --well-strong: #e9e9e7;
  --ink: #171716;
  --muted: #737373;
  --divider: #e5e5e5;
  --control-border: #d5d5d1;
  --accent: #6c72c9;
  --content: 1160px;
  --reading: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family:
    'InterVariable',
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

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

.container {
  margin-inline: auto;
  max-width: var(--content);
  width: calc(100% - 48px);
}

.skip-link {
  background: var(--ink);
  color: var(--canvas);
  left: 16px;
  padding: 12px 16px;
  position: fixed;
  top: -100px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.draft-banner {
  background: var(--paper);
  border-bottom: 1px solid #e6e0d5;
  color: #4f4c46;
  font-size: 13px;
  line-height: 1.5;
  padding-block: 10px;
}

.site-header {
  background: color-mix(in srgb, var(--canvas) 94%, transparent);
  border-bottom: 1px solid var(--divider);
  position: relative;
  z-index: 20;
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 76px;
}

.brand-link {
  align-items: center;
  display: inline-flex;
  min-height: 48px;
}

.brand-link img {
  width: 134px;
}

.desktop-navigation nav,
.mobile-navigation nav {
  align-items: center;
  display: flex;
  gap: 32px;
}

.desktop-navigation a,
.mobile-navigation a {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 15px;
  font-weight: 560;
  min-height: 48px;
  text-decoration: none;
}

.desktop-navigation a:hover,
.mobile-navigation a:hover,
.desktop-navigation a[aria-current='page'],
.mobile-navigation a[aria-current='page'] {
  color: var(--ink);
}

.mobile-navigation {
  display: none;
  position: relative;
}

.mobile-navigation summary,
.legal-toc-mobile summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-weight: 620;
  justify-content: center;
  list-style: none;
  min-height: 48px;
  padding-inline: 10px;
}

.mobile-navigation summary::-webkit-details-marker,
.legal-toc-mobile summary::-webkit-details-marker {
  display: none;
}

.mobile-navigation-panel {
  background: var(--canvas);
  border: 1px solid var(--divider);
  border-radius: 14px;
  min-width: 210px;
  padding: 8px 16px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
}

.mobile-navigation-panel nav {
  align-items: stretch;
  flex-direction: column;
  gap: 0;
}

.kicker {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.hero-section {
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 116px);
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(48px, 8vw, 112px);
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
}

.hero-copy h1 {
  font-size: clamp(48px, 6.3vw, 82px);
  font-weight: 640;
  letter-spacing: -0.055em;
  line-height: 0.99;
  margin: 0;
  max-width: 780px;
  text-wrap: balance;
}

.hero-summary {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  margin: 32px 0 0;
  max-width: 640px;
  text-wrap: pretty;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 36px;
}

.button-primary {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 12px;
  color: var(--canvas);
  display: inline-flex;
  font-weight: 620;
  justify-content: center;
  min-height: 52px;
  padding: 12px 20px;
  text-decoration: none;
}

.button-primary:hover {
  background: #2b2b29;
}

.text-link {
  align-items: center;
  display: inline-flex;
  font-weight: 620;
  min-height: 48px;
}

.availability-note {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  gap: 10px;
  margin: 28px 0 0;
}

.availability-note span {
  background: var(--accent);
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

.hero-product {
  margin: 0;
  position: relative;
}

.hero-product::before {
  background: var(--paper);
  border-radius: 28px;
  content: '';
  inset: 7% -15% 10%;
  position: absolute;
  z-index: -1;
}

.hero-product img {
  border: 8px solid var(--ink);
  border-radius: 48px;
  margin-inline: auto;
  max-height: 700px;
  object-fit: cover;
  object-position: top;
  width: auto;
}

.hero-product figcaption {
  color: var(--muted);
  font-size: 13px;
  margin: 16px auto 0;
  max-width: 320px;
  text-align: center;
}

.trust-strip {
  border-block: 1px solid var(--divider);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid p {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 128px;
  padding: 28px 32px;
}

.trust-grid p + p {
  border-left: 1px solid var(--divider);
}

.trust-grid strong {
  font-size: 17px;
  font-weight: 630;
}

.trust-grid span {
  color: var(--muted);
  margin-top: 4px;
}

.section {
  padding-block: clamp(80px, 11vw, 148px);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.screen-heading h2,
.release-grid h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

.section-heading > p:not(.kicker),
.screen-heading > p,
.release-grid p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  text-wrap: pretty;
}

.section-heading > p:not(.kicker) {
  margin: 24px 0 0;
}

.feature-list {
  margin-top: 72px;
}

.feature-list > div {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(220px, 0.65fr) 1.35fr;
  padding-block: 32px;
  border-top: 1px solid var(--divider);
}

.feature-list > div:last-child {
  border-bottom: 1px solid var(--divider);
}

.feature-list dt {
  font-size: 22px;
  font-weight: 620;
}

.feature-list dt span {
  color: var(--muted);
  display: inline-block;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  min-width: 48px;
  vertical-align: 0.2em;
}

.feature-list dd {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
  margin: 0;
  max-width: 720px;
}

.screen-section {
  background: var(--ink);
  color: var(--canvas);
}

.screen-heading {
  align-items: end;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.kicker-inverse,
.screen-heading > p {
  color: #aeaeaa;
}

.screen-heading > p {
  margin: 0;
}

.screen-gallery {
  display: grid;
  gap: clamp(32px, 8vw, 96px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 72px;
  max-width: 900px;
}

.screen-gallery figure {
  margin: 0;
}

.screen-gallery img {
  background: var(--canvas);
  border: 7px solid #323230;
  border-radius: 44px;
  width: 100%;
}

.screen-gallery figcaption {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.screen-gallery figcaption strong {
  font-size: 17px;
  font-weight: 620;
}

.screen-gallery figcaption span {
  color: #aeaeaa;
  margin-top: 3px;
}

.privacy-section {
  background: var(--paper);
}

.privacy-grid {
  display: grid;
  gap: clamp(64px, 10vw, 132px);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.privacy-heading {
  align-self: start;
  position: sticky;
  top: 40px;
}

.privacy-heading .text-link {
  margin-top: 20px;
}

.privacy-details {
  margin: 0;
}

.privacy-details > div {
  border-top: 1px solid #ddd7ca;
  padding-block: 28px 32px;
}

.privacy-details > div:last-child {
  border-bottom: 1px solid #ddd7ca;
}

.privacy-details dt {
  font-size: 18px;
  font-weight: 630;
}

.privacy-details dd {
  color: #65615a;
  line-height: 1.75;
  margin: 8px 0 0;
}

.release-grid {
  align-items: start;
  display: grid;
  gap: clamp(48px, 9vw, 120px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
}

.release-grid p:first-child {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--divider);
  padding-block: 48px;
}

.footer-grid {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: 1.1fr 0.8fr 1fr;
}

.footer-brand img {
  width: 118px;
}

.site-footer p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 10px 0 0;
  max-width: 340px;
}

.footer-links {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.legal-shell {
  display: grid;
  gap: clamp(48px, 8vw, 104px);
  grid-template-columns: 220px minmax(0, var(--reading));
  justify-content: center;
  padding-block: clamp(64px, 9vw, 112px);
}

.legal-toc {
  align-self: start;
  position: sticky;
  top: 32px;
}

.legal-toc > p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.legal-toc ol,
.legal-toc-mobile ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-toc a,
.legal-toc-mobile a {
  color: var(--muted);
  display: block;
  font-size: 13px;
  line-height: 1.45;
  padding-block: 7px;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc-mobile a:hover {
  color: var(--ink);
}

.legal-toc-mobile {
  display: none;
}

.prose {
  min-width: 0;
}

.prose h1 {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 630;
  letter-spacing: -0.045em;
  line-height: 1.03;
  margin: 0 0 24px;
  text-wrap: balance;
}

.prose h2 {
  border-top: 1px solid var(--divider);
  font-size: 28px;
  font-weight: 630;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 64px 0 20px;
  padding-top: 32px;
  scroll-margin-top: 24px;
  text-wrap: balance;
}

.prose h3 {
  font-size: 20px;
  font-weight: 630;
  line-height: 1.35;
  margin: 40px 0 16px;
  scroll-margin-top: 24px;
}

.heading-link {
  color: var(--control-border);
  font-size: 0.7em;
  margin-left: 0.4em;
  text-decoration: none;
}

.heading-link:hover,
.heading-link:focus-visible {
  color: var(--accent);
}

.prose p,
.prose li {
  line-height: 1.8;
}

.prose p {
  margin: 0 0 20px;
}

.prose h1 + p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 36px;
}

.prose ul,
.prose ol {
  margin: 0 0 28px;
  padding-left: 24px;
}

.prose li + li {
  margin-top: 8px;
}

.prose strong {
  font-weight: 650;
}

.prose a {
  text-decoration-thickness: 1px;
}

.prose code {
  background: var(--well);
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  padding: 0.15em 0.35em;
}

.table-scroll {
  margin-block: 32px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.table-scroll:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.prose table {
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
  min-width: 720px;
  width: 100%;
}

.prose th,
.prose td {
  border-bottom: 1px solid var(--divider);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--well);
  font-weight: 630;
}

.prose th:first-child,
.prose td:first-child {
  padding-left: 0;
}

.prose th:last-child,
.prose td:last-child {
  padding-right: 0;
}

.error-page {
  padding-block: clamp(96px, 14vw, 180px);
}

.error-page h1 {
  font-size: clamp(44px, 7vw, 72px);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0;
}

.error-page > p:not(.kicker) {
  color: var(--muted);
  font-size: 18px;
  margin: 24px 0 32px;
}

@media (max-width: 840px) {
  .desktop-navigation {
    display: none;
  }

  .mobile-navigation {
    display: block;
  }

  .hero-grid,
  .privacy-grid,
  .release-grid,
  .screen-heading {
    grid-template-columns: 1fr;
  }

  .hero-product {
    justify-self: center;
    max-width: 360px;
    width: 88%;
  }

  .privacy-heading {
    position: static;
  }

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

  .operator-note {
    grid-column: 1 / -1;
  }

  .legal-shell {
    display: block;
    max-width: var(--reading);
  }

  .legal-toc {
    display: none;
  }

  .legal-toc-mobile {
    border-block: 1px solid var(--divider);
    display: block;
    margin-bottom: 48px;
  }

  .legal-toc-mobile summary {
    justify-content: space-between;
    padding-inline: 0;
  }

  .legal-toc-mobile[open] {
    padding-bottom: 16px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 68px;
  }

  .hero-section {
    padding-top: 56px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 13.5vw, 64px);
  }

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

  .hero-actions .button-primary {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

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

  .trust-grid p {
    min-height: 0;
    padding-inline: 0;
  }

  .trust-grid p + p {
    border-left: 0;
    border-top: 1px solid var(--divider);
  }

  .feature-list {
    margin-top: 48px;
  }

  .feature-list > div {
    gap: 14px;
    grid-template-columns: 1fr;
    padding-block: 28px;
  }

  .feature-list dd {
    font-size: 18px;
  }

  .screen-gallery {
    gap: 56px;
    grid-template-columns: 1fr;
    max-width: 360px;
  }

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

  .operator-note {
    grid-column: auto;
  }

  .footer-links {
    border-top: 1px solid var(--divider);
    padding-top: 20px;
  }

  .prose h2 {
    font-size: 25px;
    margin-top: 52px;
  }
}

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