@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --pine: #17392f;
  --pine-deep: #102b24;
  --pine-soft: #315c4d;
  --fog: #e6eee8;
  --porcelain: #fdfdf8;
  --paper: #f5f7f1;
  --ink: #24332e;
  --muted: #62706b;
  --cedar: #b9664b;
  --thread: #59bdb3;
  --sage: #8eaa91;
  --line: rgba(23, 57, 47, 0.15);
  --line-light: rgba(255, 255, 255, 0.16);
  --display: "Newsreader", Iowan Old Style, Baskerville, Georgia, serif;
  --body: "Manrope", Avenir Next, Avenir, system-ui, sans-serif;
  --shadow-phone: 0 48px 100px rgba(4, 19, 14, 0.3), 0 10px 28px rgba(4, 19, 14, 0.22);
  --shadow-card: 0 24px 70px rgba(26, 54, 45, 0.09);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  background: var(--fog);
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--ink);
  background: var(--fog);
  font-family: var(--body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

::selection {
  color: var(--porcelain);
  background: var(--cedar);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--pine);
  background: var(--porcelain);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

.site-shell {
  width: min(calc(100% - 3rem), 80rem);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(5.5rem, 10vw, 9.5rem);
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  color: var(--porcelain);
  background: linear-gradient(to bottom, rgba(16, 43, 36, 0.84), rgba(16, 43, 36, 0));
  transition: background 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.page-legal .site-header {
  background: rgba(16, 43, 36, 0.91);
  box-shadow: 0 1px 0 var(--line-light);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.78rem;
  box-shadow: 0 7px 22px rgba(3, 19, 13, 0.22);
}

.brand-copy {
  display: grid;
  line-height: 1.12;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand-copy span {
  margin-top: 0.16rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.25rem);
  font-size: 0.82rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  inset: auto 0 -0.42rem;
  height: 1px;
  content: "";
  background: var(--thread);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a.nav-status {
  padding: 0.5rem 0.82rem;
  color: var(--pine);
  background: var(--fog);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.site-nav a.nav-status::after {
  display: none;
}

.site-nav a.nav-status:hover {
  color: var(--pine-soft);
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0.23rem auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.home-hero {
  position: relative;
  min-height: 61rem;
  overflow: hidden;
  color: var(--porcelain);
  background:
    radial-gradient(circle at 78% 40%, rgba(89, 189, 179, 0.11), transparent 26rem),
    radial-gradient(circle at 10% 14%, rgba(142, 170, 145, 0.14), transparent 24rem),
    var(--pine);
}

.home-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  pointer-events: none;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(5, 27, 20, 0.22));
}

.hero-orbit {
  position: absolute;
  width: 54rem;
  height: 54rem;
  top: 7rem;
  right: -13rem;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 50%;
  box-shadow:
    0 0 0 6rem rgba(255, 255, 255, 0.018),
    0 0 0 14rem rgba(255, 255, 255, 0.012);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(32rem, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: 52.5rem;
  padding-top: 6.5rem;
}

.hero-copy-block {
  padding-block: 5rem;
}

.kicker {
  margin: 0 0 1.05rem;
  color: var(--cedar);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker--light {
  color: #9fd0c6;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
}

.hero-copy-block h1 {
  max-width: 10.5ch;
  margin-bottom: 1.75rem;
  font-family: var(--display);
  font-size: clamp(4rem, 7.2vw, 7.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.hero-lede {
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem 1.5rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.15rem 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(3px);
}

.button--light {
  color: var(--pine);
  background: var(--porcelain);
}

.button--light:hover {
  background: #fff;
}

.button--dark {
  color: var(--porcelain);
  background: var(--pine);
}

.button--dark:hover {
  background: var(--pine-soft);
}

.text-link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 650;
  text-underline-offset: 0.3rem;
  text-decoration-thickness: 1px;
}

.text-link--light {
  color: rgba(255, 255, 255, 0.72);
  text-decoration-color: rgba(255, 255, 255, 0.36);
}

.text-link--light:hover {
  color: #fff;
  text-decoration-color: var(--thread);
}

.availability {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  margin: 1.45rem 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.availability svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.lineage-stage {
  position: relative;
  min-height: 45rem;
}

.lineage-map {
  position: absolute;
  z-index: 0;
  inset: -2rem -4rem auto;
  width: calc(100% + 8rem);
  height: calc(100% + 4rem);
  overflow: visible;
  fill: none;
  stroke: var(--thread);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.lineage-path {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  opacity: 0.78;
  animation: draw-line 1.35s cubic-bezier(0.6, 0, 0.25, 1) forwards;
}

.lineage-path--two {
  animation-delay: 160ms;
}

.lineage-path--three {
  animation-delay: 300ms;
}

.lineage-path--four {
  animation-delay: 440ms;
}

.lineage-node {
  fill: var(--pine);
  stroke: var(--thread);
  stroke-width: 3;
  opacity: 0;
  animation: show-node 400ms ease 1.1s forwards;
}

.phone {
  position: relative;
  overflow: hidden;
  padding: 0.48rem;
  background: #0b0e0c;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3.1rem;
  box-shadow: var(--shadow-phone);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 2.65rem;
}

.phone-speaker {
  display: none;
}

.phone--hero {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(20.7rem, 48%);
  transform: translate(-50%, -49%) rotate(1.5deg);
  animation: phone-arrive 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.generation-chip,
.stage-label {
  position: absolute;
  z-index: 3;
  color: var(--ink);
  background: rgba(253, 253, 248, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 44px rgba(2, 21, 14, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.generation-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 10.7rem;
  padding: 0.65rem 0.8rem;
  border-radius: 1.1rem;
}

.generation-chip--top {
  top: 10%;
  right: -1%;
  transform: rotate(2.5deg);
}

.generation-chip--bottom {
  bottom: 13%;
  left: -1%;
  transform: rotate(-2.5deg);
}

.generation-dot {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  color: var(--porcelain);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.72rem;
}

.generation-dot--sage {
  background: var(--pine-soft);
}

.generation-dot--terra {
  background: var(--cedar);
}

.generation-chip > span:last-child {
  display: grid;
  line-height: 1.25;
}

.generation-chip strong {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
}

.generation-chip small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.61rem;
}

.stage-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  right: 1%;
  bottom: 24%;
  padding: 0.52rem 0.72rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
}

.stage-label svg {
  width: 0.9rem;
  fill: none;
  stroke: var(--pine-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.hero-proof {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
}

.hero-proof p {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 1.45rem 1.5rem 1.6rem 0;
}

.hero-proof p + p {
  padding-left: clamp(1.5rem, 4vw, 3rem);
  border-left: 1px solid var(--line-light);
}

.hero-proof strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.69rem;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes show-node {
  to { opacity: 1; }
}

@keyframes phone-arrive {
  from { opacity: 0; transform: translate(-50%, -45%) rotate(1.5deg) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -49%) rotate(1.5deg) scale(1); }
}

.manifesto {
  background: var(--fog);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 8vw, 8rem);
}

.manifesto-grid h2,
.section-heading h2,
.privacy-copy h2,
.sharing-copy h2,
.language-inner h2,
.closing-card h2,
.page-intro h1 {
  margin-bottom: 1.25rem;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.manifesto-grid h2 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.6vw, 5.8rem);
}

.manifesto-grid > div > p {
  max-width: 40rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.17rem);
}

.story-section {
  background: var(--porcelain);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.section-heading h2 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 6vw, 6rem);
}

.section-heading > p:last-child,
.section-heading--split > p,
.sharing-copy > p:last-child,
.privacy-copy > p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
}

.feature-layout--tree {
  display: grid;
  grid-template-columns: minmax(25rem, 1.15fr) minmax(20rem, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.screen-scene {
  position: relative;
  min-height: 45rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.85), transparent 20rem),
    var(--fog);
  border: 1px solid var(--line);
  border-radius: 2.4rem;
}

.screen-scene::after {
  position: absolute;
  inset: auto -8rem -11rem;
  height: 20rem;
  content: "";
  background: rgba(142, 170, 145, 0.26);
  border-radius: 50%;
  filter: blur(1px);
}

.scene-caption {
  position: absolute;
  z-index: 3;
  top: 1.4rem;
  left: 1.4rem;
  padding: 0.45rem 0.72rem;
  color: var(--pine);
  background: rgba(253, 253, 248, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.phone--feature {
  position: absolute;
  z-index: 2;
  top: 5.5rem;
  left: 50%;
  width: min(20.5rem, 61%);
  transform: translateX(-50%);
}

.scene-branch {
  position: absolute;
  z-index: 1;
  inset: 2rem;
  width: calc(100% - 4rem);
  height: calc(100% - 4rem);
  fill: var(--fog);
  stroke: var(--thread);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.scene-branch circle {
  stroke-width: 3;
}

.view-modes {
  position: relative;
}

.view-modes::before {
  position: absolute;
  top: 3.2rem;
  bottom: 3.2rem;
  left: 1.25rem;
  width: 1px;
  content: "";
  background: linear-gradient(var(--thread), rgba(89, 189, 179, 0.2));
}

.mode-card {
  position: relative;
  display: grid;
  grid-template-columns: 2.55rem 1fr;
  gap: 1.4rem;
  padding: 1.8rem 0;
}

.mode-card + .mode-card {
  border-top: 1px solid var(--line);
}

.mode-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: 2.55rem;
  height: 2.55rem;
  background: var(--porcelain);
  border: 1px solid var(--thread);
  border-radius: 50%;
  box-shadow: 0 0 0 0.5rem var(--porcelain);
}

.mode-mark::before,
.mode-mark::after {
  position: absolute;
  content: "";
  background: var(--pine);
  border-radius: 50%;
}

.mode-mark::before {
  width: 0.42rem;
  height: 0.42rem;
  top: 0.7rem;
  left: 0.68rem;
  box-shadow: 0.78rem 0 var(--sage), 0.39rem 0.78rem var(--cedar);
}

.mode-mark::after {
  width: 1.2rem;
  height: 1px;
  top: 1.22rem;
  left: 0.64rem;
  background: var(--thread);
  border-radius: 0;
}

.mode-mark--focus::before {
  box-shadow: 0.78rem 0 rgba(23, 57, 47, 0.2), 0.39rem 0.78rem rgba(185, 102, 75, 0.2);
}

.mode-mark--close::before {
  box-shadow: 0.78rem 0 var(--cedar);
}

.mode-card h3,
.gallery-card h3,
.promise h3,
.sharing-copy h2,
.library strong,
.document-card h2 {
  font-family: var(--display);
  font-weight: 500;
}

.mode-card h3 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.mode-card p {
  max-width: 29rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.archive-section {
  overflow: hidden;
  background: var(--fog);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  max-width: none;
}

.section-heading--split h2 {
  max-width: 11ch;
  margin-bottom: 0;
}

.archive-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--porcelain);
  border: 1px solid rgba(23, 57, 47, 0.11);
  border-radius: 1.8rem;
  box-shadow: var(--shadow-card);
}

.gallery-copy {
  flex: 1;
  min-height: 17rem;
  padding: 2rem 2rem 1.5rem;
}

.gallery-label {
  margin: 0 0 1rem;
  color: var(--cedar);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gallery-card h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.gallery-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.gallery-screen {
  flex-shrink: 0;
  align-self: center;
  width: min(calc(100% - 2.2rem), 18rem);
  margin-bottom: 1.5rem;
  overflow: hidden;
  padding: 0.36rem;
  background: #0b0e0c;
  border-radius: 2.35rem;
  box-shadow: 0 28px 60px rgba(19, 49, 39, 0.2);
}

.gallery-screen img {
  width: 100%;
  height: auto;
  border-radius: 2rem;
}

.privacy-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(6rem, 11vw, 10rem);
  color: var(--porcelain);
  background: var(--pine-deep);
}

.privacy-canopy {
  position: absolute;
  width: 55rem;
  height: 55rem;
  right: -18rem;
  bottom: -31rem;
  border: 1px solid rgba(89, 189, 179, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 7rem rgba(89, 189, 179, 0.025), 0 0 0 15rem rgba(89, 189, 179, 0.02);
}

.privacy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(24rem, 1.1fr);
  align-items: start;
  gap: clamp(4rem, 9vw, 9rem);
}

.privacy-copy {
  position: sticky;
  top: 8.5rem;
}

.privacy-copy h2 {
  max-width: 10ch;
  font-size: clamp(3.3rem, 6vw, 6rem);
}

.privacy-copy > p {
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.promise {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.35rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line-light);
}

.promise:last-child {
  border-bottom: 1px solid var(--line-light);
}

.promise > span {
  padding-top: 0.38rem;
  color: var(--thread);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.promise h3 {
  margin-bottom: 0.28rem;
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.promise p {
  max-width: 31rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.promise code {
  color: #a6d9cf;
}

.sharing-section {
  background: var(--porcelain);
  overflow: clip;
}

.sharing-grid {
  display: grid;
  grid-template-columns: minmax(30rem, 1.15fr) minmax(20rem, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.sharing-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 7rem;
  min-height: 20rem;
}

.sharing-visual svg {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--porcelain);
  stroke: var(--thread);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.library {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 2rem 1rem;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
}

.library--one {
  transform: rotate(-2deg);
}

.library--two {
  transform: rotate(2deg);
}

.library-mark {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.2rem;
  color: var(--porcelain);
  background: var(--pine-soft);
  border: 0.35rem solid #d9e7dc;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.15rem;
}

.library--two .library-mark {
  background: var(--cedar);
  border-color: #f2ded5;
}

.library strong {
  font-size: 1.12rem;
  line-height: 1.1;
}

.library small {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.66rem;
}

.sharing-copy h2 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
}

.language-section {
  padding-block: clamp(4rem, 7vw, 6.5rem);
  background: #d9e5dd;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.language-inner {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
}

.language-inner h2 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 4.7vw, 4.7rem);
}

.language-list {
  margin: 0;
  color: var(--pine-soft);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.8rem);
  line-height: 1.65;
}

.language-list span {
  padding-inline: 0.24rem;
  color: var(--cedar);
}

.closing-section {
  background: var(--fog);
}

.closing-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 2.2rem;
  box-shadow: var(--shadow-card);
}

.closing-card > img {
  width: clamp(5.5rem, 10vw, 8.5rem);
  border-radius: 27%;
  box-shadow: 0 18px 45px rgba(29, 60, 50, 0.2);
}

.closing-card h2 {
  max-width: 16ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.9rem);
}

.closing-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer {
  color: rgba(255, 255, 255, 0.65);
  background: var(--pine-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-block: 3rem;
}

.brand--footer {
  color: var(--porcelain);
}

.footer-grid > p,
.footer-grid nav,
.copyright {
  margin: 0;
  font-size: 0.7rem;
}

.footer-grid nav {
  display: flex;
  gap: 1.2rem;
}

.footer-grid nav a:hover {
  color: #fff;
}

.copyright {
  grid-column: 2 / -1;
  color: rgba(255, 255, 255, 0.38);
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Support and privacy pages */
.page-intro {
  padding: 11rem 0 6rem;
  color: var(--porcelain);
  background:
    radial-gradient(circle at 82% 25%, rgba(89, 189, 179, 0.11), transparent 24rem),
    var(--pine);
}

.page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
}

.page-intro h1 {
  max-width: 11ch;
  margin-bottom: 1.1rem;
  font-size: clamp(3.8rem, 7vw, 7rem);
}

.page-intro-copy {
  max-width: 40rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.page-note {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-light);
  border-radius: 1.35rem;
}

.page-note strong,
.page-note span {
  display: block;
}

.page-note strong {
  margin-bottom: 0.4rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
}

.page-note span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.page-note a {
  text-underline-offset: 0.2rem;
}

.document-section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
  background: var(--paper);
}

.document-grid {
  display: grid;
  grid-template-columns: minmax(13rem, 0.28fr) minmax(0, 0.72fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.document-nav {
  position: sticky;
  top: 8rem;
  padding: 1.3rem;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.document-nav strong {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--cedar);
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.document-nav a {
  display: block;
  padding: 0.58rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  text-decoration: none;
}

.document-nav a:hover {
  color: var(--pine);
}

.document-list {
  display: grid;
  gap: 1rem;
}

.document-card {
  padding: clamp(1.6rem, 4vw, 2.8rem);
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
}

.document-card h2 {
  margin-bottom: 0.72rem;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.document-card p,
.document-card li {
  color: var(--muted);
  font-size: 0.88rem;
}

.document-card p:last-child,
.document-card ul:last-child {
  margin-bottom: 0;
}

.document-card a {
  color: var(--pine-soft);
  text-underline-offset: 0.2rem;
}

.document-card code {
  padding: 0.12rem 0.3rem;
  color: var(--pine);
  background: var(--fog);
  border-radius: 0.25rem;
  font-size: 0.82em;
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

@media (max-width: 68rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(28rem, 1.1fr);
    gap: 1rem;
  }

  .hero-copy-block h1 {
    font-size: clamp(4rem, 8.5vw, 6.5rem);
  }

  .generation-chip--top {
    right: 1rem;
  }

  .generation-chip--bottom {
    left: 1rem;
  }

  .archive-gallery {
    gap: 0.75rem;
  }

  .gallery-copy {
    padding-inline: 1.5rem;
  }

  .sharing-visual {
    gap: 4.5rem;
  }
}

@media (max-width: 56rem) {
  .site-shell {
    width: min(calc(100% - 2rem), 46rem);
  }

  .header-inner {
    min-height: 4.75rem;
  }

  .brand-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .js .menu-toggle {
    display: block;
  }

  .js .site-nav {
    position: fixed;
    z-index: 1100;
    inset: 4.6rem 1rem auto;
    display: grid;
    gap: 0;
    padding: 0.75rem;
    color: var(--pine);
    background: rgba(253, 253, 248, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 1.25rem;
    box-shadow: 0 26px 70px rgba(4, 24, 17, 0.28);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.6rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .js .site-nav a {
    padding: 0.9rem 0.75rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .js .site-nav a::after {
    display: none;
  }

  .js .site-nav a.nav-status {
    justify-self: start;
    margin: 0.75rem;
    color: var(--porcelain);
    background: var(--pine);
    border-bottom: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(0.235rem) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-0.235rem) rotate(-45deg);
  }

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

  .hero-copy-block {
    position: relative;
    z-index: 4;
    max-width: 42rem;
    padding: 3.8rem 0 0;
  }

  .hero-copy-block h1 {
    max-width: 9ch;
    font-size: clamp(4.4rem, 13vw, 7rem);
  }

  .lineage-stage {
    min-height: 46rem;
    margin-top: -1rem;
  }

  .phone--hero {
    width: min(20rem, 49%);
  }

  .generation-chip--top {
    right: 7%;
  }

  .generation-chip--bottom {
    left: 7%;
  }

  .stage-label {
    right: 8%;
  }

  .manifesto-grid,
  .feature-layout--tree,
  .section-heading--split,
  .privacy-grid,
  .sharing-grid,
  .language-inner,
  .page-intro-grid,
  .document-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-grid {
    gap: 2rem;
  }

  .manifesto-grid h2,
  .section-heading h2 {
    max-width: 13ch;
  }

  .feature-layout--tree {
    gap: 3rem;
  }

  .screen-scene {
    min-height: 43rem;
  }

  .phone--feature {
    width: min(20rem, 49%);
  }

  .section-heading--split {
    align-items: start;
  }

  .archive-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-card {
    width: min(100%, 32rem);
    justify-self: center;
  }

  .gallery-copy {
    min-height: 0;
  }

  .privacy-copy {
    position: static;
  }

  .privacy-grid,
  .sharing-grid,
  .language-inner {
    gap: 3rem;
  }

  .sharing-visual {
    order: 2;
  }

  .sharing-copy {
    order: 1;
  }

  .closing-card {
    grid-template-columns: auto 1fr;
  }

  .closing-card .button {
    grid-column: 2;
    justify-self: start;
  }

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

  .footer-grid > p:not(.copyright) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .copyright {
    grid-column: 1 / -1;
  }

  .document-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0 1rem;
  }

  .document-nav strong {
    flex-basis: 100%;
  }

  .document-nav a {
    border-top: 0;
  }
}

@media (max-width: 40rem) {
  .site-shell {
    width: min(calc(100% - 1.4rem), 32rem);
  }

  .brand-copy span {
    font-size: 0.56rem;
  }

  .home-hero {
    min-height: 0;
  }

  .hero-grid {
    padding-top: 4.8rem;
  }

  .hero-copy-block {
    padding-top: 3.3rem;
  }

  .hero-copy-block h1 {
    max-width: 10ch;
    margin-bottom: 1.35rem;
    font-size: clamp(3.7rem, 18vw, 5.6rem);
    line-height: 0.91;
  }

  .hero-lede {
    font-size: 0.95rem;
  }

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

  .lineage-stage {
    min-height: 37rem;
    margin-top: 1rem;
  }

  .lineage-map {
    inset-inline: -7rem;
    width: calc(100% + 14rem);
  }

  .phone--hero {
    width: min(17.4rem, 69%);
  }

  .generation-chip {
    min-width: auto;
    padding: 0.48rem 0.58rem;
  }

  .generation-chip--top {
    top: 10%;
    right: -0.5rem;
  }

  .generation-chip--bottom {
    bottom: 12%;
    left: -0.5rem;
  }

  .generation-dot {
    width: 2rem;
    height: 2rem;
    font-size: 0.6rem;
  }

  .generation-chip strong {
    font-size: 0.78rem;
  }

  .generation-chip small {
    font-size: 0.55rem;
  }

  .stage-label {
    right: -0.5rem;
    bottom: 27%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    padding-bottom: 1rem;
  }

  .hero-proof p,
  .hero-proof p + p {
    grid-template-columns: 1fr 1fr;
    align-items: baseline;
    padding: 0.9rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .hero-proof p:last-child {
    border-bottom: 0;
  }

  .hero-proof span {
    text-align: right;
  }

  .section-pad {
    padding-block: 5rem;
  }

  .manifesto-grid h2,
  .section-heading h2,
  .privacy-copy h2,
  .sharing-copy h2,
  .language-inner h2 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .section-heading {
    margin-bottom: 3.5rem;
  }

  .screen-scene {
    min-height: 36rem;
    border-radius: 1.65rem;
  }

  .phone--feature {
    top: 5rem;
    width: min(17.2rem, 70%);
  }

  .scene-branch {
    inset-inline: -3rem;
    width: calc(100% + 6rem);
  }

  .mode-card {
    gap: 1rem;
  }

  .gallery-copy {
    padding: 1.6rem 1.5rem;
  }

  .gallery-screen {
    width: min(calc(100% - 1.4rem), 18rem);
  }

  .privacy-section {
    padding-block: 5.5rem;
  }

  .promise {
    grid-template-columns: 2rem 1fr;
    gap: 0.8rem;
  }

  .sharing-visual {
    grid-template-columns: 1fr;
    gap: 7rem;
  }

  .sharing-visual svg {
    inset: 18% 20%;
    width: 60%;
    height: 64%;
    transform: rotate(90deg);
  }

  .library {
    width: min(100%, 15rem);
  }

  .library--one {
    justify-self: start;
  }

  .library--two {
    justify-self: end;
  }

  .language-list {
    font-size: 1.3rem;
  }

  .closing-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .closing-card > img {
    width: 5.5rem;
  }

  .closing-card .button {
    grid-column: 1;
  }

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

  .footer-grid nav {
    grid-row: auto;
  }

  .footer-grid > p:not(.copyright) {
    grid-column: 1;
    grid-row: auto;
  }

  .page-intro {
    padding: 9rem 0 4rem;
  }

  .page-intro h1 {
    font-size: clamp(3.6rem, 17vw, 5.4rem);
  }

  .document-card {
    border-radius: 1.1rem;
  }
}

.questions-section {
  background: var(--porcelain);
}

.questions-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.questions-grid .section-heading {
  margin-bottom: 0;
}

.questions-list details {
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
}

.questions-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.questions-list summary {
  cursor: pointer;
  min-height: 2.75rem;
  padding-right: 0.5rem;
  font-size: 1.08rem;
  font-weight: 600;
}

.questions-list summary::marker {
  color: var(--pine-soft);
}

.questions-list p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

@media (max-width: 56rem) {
  .questions-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
