/*
  Editorial refinement

  This layer restores the pre-Next site’s typographic roles, proportions and
  narrative pacing while retaining the current static content and Apple
  product-art implementation.
*/

:root {
  color-scheme: light dark;
  --ink: #1f1c19;
  --ink: light-dark(#1f1c19, #f3ede3);
  --ink-soft: #312c27;
  --ink-soft: light-dark(#312c27, #ddd5ca);
  --paper: #f5f1e8;
  --paper: light-dark(#f5f1e8, #201c18);
  --paper-deep: #eee7da;
  --paper-deep: light-dark(#eee7da, #27211c);
  --canvas: #fffdf9;
  --canvas: light-dark(#fffdf9, #171411);
  --muted: #706b63;
  --muted: light-dark(#706b63, #bdb4a8);
  --night: #211d19;
  --night: light-dark(#211d19, #0f0d0b);
  --night-ink: #f8f5ef;
  --night-muted: rgba(248, 245, 239, 0.65);
  --night-accent: #dca486;
  --cinnabar: #bd5a35;
  --cinnabar: light-dark(#bd5a35, #e18462);
  --cinnabar-bright: #c3402b;
  --cinnabar-bright: light-dark(#c3402b, #ee8b68);
  --cinnabar-dark: #73331f;
  --cinnabar-dark: light-dark(#73331f, #f0a280);
  --tea-leaf: #d9d57f;
  --tea-leaf: light-dark(#d9d57f, #e2df91);
  --tea-gold: #c89b55;
  --tea-gold: light-dark(#c89b55, #dbb678);
  --line: rgba(31, 28, 25, 0.12);
  --line: light-dark(rgba(31, 28, 25, 0.12), rgba(255, 248, 238, 0.12));
  --line-light: rgba(255, 255, 255, 0.14);
  --line-light: light-dark(rgba(255, 255, 255, 0.14), rgba(255, 248, 238, 0.14));
  --header-bg: rgba(245, 241, 232, 0.94);
  --header-bg: light-dark(rgba(245, 241, 232, 0.94), rgba(23, 20, 17, 0.94));
  --menu-bg: rgba(255, 253, 249, 0.98);
  --menu-bg: light-dark(rgba(255, 253, 249, 0.98), rgba(32, 28, 24, 0.98));
  --menu-control-bg: rgba(255, 253, 249, 0.68);
  --menu-control-bg: light-dark(rgba(255, 253, 249, 0.68), rgba(39, 33, 28, 0.78));
  --nav-text: #676159;
  --nav-text: light-dark(#676159, #c6bcae);
  --text-lede: #59534c;
  --text-lede: light-dark(#59534c, #c8bfb3);
  --text-soft: #716a61;
  --text-soft: light-dark(#716a61, #ada497);
  --text-body: #625b53;
  --text-body: light-dark(#625b53, #c4baae);
  --text-faint: #777067;
  --text-faint: light-dark(#777067, #a69d91);
  --text-legal: #69635c;
  --text-legal: light-dark(#69635c, #bdb4a8);
  --surface-library: #eee6dc;
  --surface-library: light-dark(#eee6dc, #2a241f);
  --surface-languages: #ebe9e4;
  --surface-languages: light-dark(#ebe9e4, #24211d);
  --surface-card: rgba(255, 253, 249, 0.62);
  --surface-card: light-dark(rgba(255, 253, 249, 0.62), rgba(255, 248, 238, 0.055));
  --surface-input: #fffdf8;
  --surface-input: light-dark(#fffdf8, #191613);
  --privacy-surface: #211d19;
  --privacy-surface: light-dark(#211d19, #eee7da);
  --privacy-ink: #fffaf3;
  --privacy-ink: light-dark(#fffaf3, #1f1c19);
  --privacy-muted: rgba(255, 250, 243, 0.65);
  --privacy-muted: light-dark(rgba(255, 250, 243, 0.65), #625b53);
  --privacy-accent: #dca486;
  --privacy-accent: light-dark(#dca486, #8c482e);
  --privacy-emphasis: #e1dd8b;
  --privacy-emphasis: light-dark(#e1dd8b, #73331f);
  --privacy-line: rgba(255, 255, 255, 0.14);
  --privacy-line: light-dark(rgba(255, 255, 255, 0.14), rgba(31, 28, 25, 0.13));
  --brand-shadow: rgba(72, 31, 18, 0.12);
  --brand-shadow: light-dark(rgba(72, 31, 18, 0.12), rgba(0, 0, 0, 0.3));
  --seal-shadow: rgba(72, 31, 18, 0.18);
  --seal-shadow: light-dark(rgba(72, 31, 18, 0.18), rgba(0, 0, 0, 0.42));
  --card-shadow: rgba(48, 37, 29, 0.1);
  --card-shadow: light-dark(rgba(48, 37, 29, 0.1), rgba(0, 0, 0, 0.34));
  --orbit-line: rgba(189, 90, 53, 0.09);
  --orbit-line: light-dark(rgba(189, 90, 53, 0.09), rgba(225, 132, 98, 0.13));
  --orbit-glow: rgba(217, 213, 127, 0.28);
  --orbit-glow: light-dark(rgba(217, 213, 127, 0.28), rgba(226, 223, 145, 0.12));
  --focus-ring: #ef765e;
  --focus-ring: light-dark(#b94d33, #f0a280);
  --selection: rgba(195, 64, 43, 0.22);
  --selection: light-dark(rgba(195, 64, 43, 0.22), rgba(225, 132, 98, 0.3));
  --display: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --sans:
    ui-rounded, "SF Pro Rounded", "Avenir Next", Avenir, system-ui,
    -apple-system, BlinkMacSystemFont, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

html {
  background: var(--canvas);
}

body {
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

::selection {
  background: var(--selection);
}

:focus-visible {
  outline-color: var(--focus-ring);
}

.skip-link {
  background: var(--ink);
  color: var(--canvas);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.055em;
}

h1 em,
h2 em,
h3 em {
  color: var(--cinnabar);
  font-style: italic;
}

.shell,
.nav-shell,
.legal-shell {
  width: min(calc(100% - 48px), 1180px);
}

.eyebrow {
  margin-bottom: 17px;
  color: var(--cinnabar-dark);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

/* Navigation */

.site-header {
  min-height: 88px;
  border-bottom-color: var(--line);
  background: var(--header-bg);
}

.site-header--hero {
  background: transparent;
  color: var(--ink);
}

.nav-shell {
  min-height: 88px;
}

.brand {
  gap: 11px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 5px 14px var(--brand-shadow);
}

.nav-links,
.site-header--hero .nav-links {
  gap: 31px;
  color: var(--nav-text);
  font-size: 0.8rem;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.site-header--hero .nav-links a:hover,
.site-header--hero .nav-links a:focus-visible {
  color: var(--cinnabar-dark);
}

.nav-store-link,
.nav-links .app-store-link,
.site-header:not(.site-header--hero) .nav-store-link,
.site-header:not(.site-header--hero) .nav-links .app-store-link {
  min-height: 44px;
  gap: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cinnabar-dark);
}

.has-js .nav-links .nav-store-link,
.has-js .nav-links .app-store-link {
  border: 0;
  background: transparent;
  color: var(--cinnabar-dark);
}

.menu-toggle {
  border-color: var(--line);
  border-radius: 50%;
  background: var(--menu-control-bg);
}

.appearance-menu {
  position: relative;
  display: none;
  flex: none;
}

.has-js .appearance-menu {
  display: block;
}

.appearance-trigger {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--nav-text);
  cursor: pointer;
  list-style: none;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.appearance-trigger::-webkit-details-marker {
  display: none;
}

.appearance-trigger:hover,
.appearance-trigger:focus-visible,
.appearance-menu[open] .appearance-trigger {
  background: var(--menu-control-bg);
  color: var(--cinnabar-dark);
}

.appearance-glyph {
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.appearance-popover {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 148px;
  gap: 2px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--menu-bg);
  box-shadow: 0 16px 42px var(--card-shadow);
}

.appearance-option {
  min-height: 38px;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-body);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 720;
  text-align: left;
}

.appearance-option:hover,
.appearance-option:focus-visible {
  background: var(--menu-control-bg);
  color: var(--cinnabar-dark);
}

.appearance-option[aria-pressed="true"] {
  background: var(--ink);
  color: var(--canvas);
}

/* Native screenshots follow the selected site appearance when both captures exist. */

.theme-screen--dark {
  display: none;
}

:root[data-theme="dark"] .theme-screen--light {
  display: none;
}

:root[data-theme="dark"] .theme-screen--dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-screen--light {
    display: none;
  }

  :root:not([data-theme="light"]) .theme-screen--dark {
    display: block;
  }
}

/* Official iPad Pro (M5) 13-inch portrait product artwork.
   Complete 2300 × 3000 bezel, displayed upright and unchanged.
   Screen opening: x 118, y 124, 2064 × 2752. */

.apple-device--ipad {
  aspect-ratio: 2300 / 3000;
}

.apple-device--ipad .apple-device__screen {
  top: 4.133333%;
  left: 5.130435%;
  width: 89.73913%;
  height: 91.733333%;
  border-radius: 4.3% / 3.25%;
  object-fit: contain;
}

/* Official iPad Pro (M5) 13-inch landscape product artwork.
   Complete 3000 × 2300 bezel, displayed upright and unchanged.
   Screen opening: x 124, y 118, 2752 × 2064. */

.apple-device--ipad-landscape {
  aspect-ratio: 3000 / 2300;
}

.apple-device--ipad-landscape .apple-device__screen {
  top: 5.130435%;
  left: 4.133333%;
  width: 91.733333%;
  height: 89.73913%;
  border-radius: 0;
  object-fit: contain;
  transform: scale(1.003);
  transform-origin: center;
}

/* Hero */

.hero {
  min-height: 920px;
  padding: 148px 0 104px;
  background: var(--paper);
  color: var(--ink);
}

.hero::after {
  top: -200px;
  right: -160px;
  bottom: auto;
  left: auto;
  width: 680px;
  height: 680px;
  border: 1px solid var(--orbit-line);
  border-radius: 50%;
  background: none;
  opacity: 1;
}

.hero-orbit--one {
  display: none;
}

.hero-orbit--two {
  bottom: -380px;
  left: -230px;
  width: 760px;
  height: 760px;
  border: 0;
  background: radial-gradient(
    circle,
    var(--orbit-glow),
    transparent 68%
  );
}

.hero-grid {
  min-height: 670px;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 6%;
}

.hero-copy {
  max-width: 590px;
}

.hero-copy .eyebrow {
  color: var(--cinnabar-dark);
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(4.5rem, 7.2vw, 7.35rem);
  font-weight: 400;
  letter-spacing: -0.072em;
  line-height: 0.86;
}

.hero h1 em {
  color: var(--cinnabar);
}

.hero-lede {
  max-width: 570px;
  margin-top: 31px;
  color: var(--text-lede);
  font-size: clamp(1.03rem, 1.7vw, 1.19rem);
  line-height: 1.7;
}

.hero-actions {
  gap: 25px;
  margin-top: 31px;
}

.app-store-badge {
  width: 160px;
  min-width: 160px;
  min-height: 54px;
}

.app-store-badge img {
  width: 160px;
  height: auto;
}

.hero .quiet-link,
.quiet-link {
  color: var(--cinnabar-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.availability {
  margin-top: 20px;
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 750;
}

.hero-product {
  min-height: 633px;
  align-self: center;
  align-items: center;
}

.apple-device--hero {
  width: 310px;
}

/* Proof */

.proof-rail {
  border-top: 1px solid var(--line);
  border-bottom-color: var(--line);
  background: var(--canvas);
}

.proof-grid > div {
  min-height: 118px;
  padding: 0 30px;
}

.proof-grid strong {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.proof-grid span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 780;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

/* Brewing story */

.ritual {
  padding: 112px 0 78px;
  background: var(--canvas);
}

.section-heading {
  display: block;
  max-width: 690px;
  margin-bottom: 60px;
}

.section-heading .eyebrow {
  margin-bottom: 17px;
}

.section-heading h2,
.library-copy h2,
.privacy-copy h2,
.platform-heading h2,
.languages-heading h2,
.final-cta h2,
.legal-header h1,
.support-header h1,
.changelog-header h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 5.7vw, 5.25rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.section-heading h2 em {
  color: var(--cinnabar);
}

.section-heading > p:last-child {
  max-width: 540px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.ritual-grid {
  display: block;
  border: 0;
}

.ritual-card {
  display: grid;
  min-height: 640px;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-rows: none;
  align-items: center;
  justify-items: initial;
  column-gap: clamp(44px, 7vw, 82px);
  padding: 54px 4%;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.ritual-card:last-child {
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.ritual-card:nth-child(even) {
  grid-template-columns: 300px minmax(0, 1fr);
}

.ritual-card:nth-child(even) .ritual-copy {
  grid-row: 1;
  grid-column: 2;
}

.ritual-card:nth-child(even) .apple-device {
  grid-row: 1;
  grid-column: 1;
}

.ritual-copy {
  width: auto;
  max-width: 540px;
  min-height: 0;
}

.step-number {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--cinnabar);
  font-family: var(--display);
  font-size: 1.07rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.ritual-copy .eyebrow {
  margin-bottom: 15px;
  color: var(--cinnabar-dark);
  font-size: 0.65rem;
}

.ritual-copy h3 {
  max-width: 540px;
  margin-bottom: 19px;
  font-size: clamp(2.35rem, 4vw, 3.55rem);
  font-weight: 400;
  line-height: 0.98;
}

.ritual-copy > p:last-child {
  max-width: 510px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.apple-device--ritual {
  width: 260px;
  justify-self: center;
}

/* Library */

.library {
  padding: 112px 0 118px;
  background: var(--surface-library);
}

.library::after {
  display: none;
}

.library-orbit {
  top: -330px;
  right: -250px;
  bottom: auto;
  width: 760px;
  height: 760px;
  border-color: var(--orbit-line);
}

.library-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  gap: 8%;
}

.library-copy {
  max-width: 620px;
}

.library-copy .eyebrow {
  color: var(--cinnabar-dark);
}

.library-copy h2 {
  font-size: clamp(3rem, 5.7vw, 5.25rem);
}

.library-copy h2 em {
  color: var(--cinnabar);
}

.library-copy > p:not(.eyebrow, .fact-note) {
  max-width: 570px;
  margin-top: 29px;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.75;
}

.library-facts {
  margin-top: 42px;
  border-top-color: var(--line);
  border-bottom-color: var(--line);
}

.library-facts div + div {
  border-left-color: var(--line);
}

.library-facts dt {
  font-family: var(--display);
  font-size: 2.65rem;
  font-weight: 400;
}

.library-facts dd {
  color: var(--muted);
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fact-note {
  color: var(--text-faint);
}

.library-products {
  gap: 12px;
}

.apple-device--library {
  max-width: 220px;
}

/* Privacy is the single dramatic pause */

.privacy-band {
  padding: 135px 0;
  background: var(--privacy-surface);
  color: var(--privacy-ink);
}

.privacy-band::after {
  display: none;
}

.privacy-grid {
  grid-template-columns: minmax(330px, 0.95fr) minmax(0, 1.05fr);
  gap: 12%;
}

.apple-device--privacy {
  width: 300px;
}

.privacy-copy {
  max-width: 550px;
}

.privacy-copy .eyebrow {
  color: var(--privacy-accent);
}

.privacy-copy h2 {
  font-size: clamp(3rem, 5.7vw, 5.25rem);
}

.privacy-copy h2 em {
  color: var(--privacy-emphasis);
}

.privacy-copy > p:not(.eyebrow) {
  margin-top: 29px;
  color: var(--privacy-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.privacy-list {
  margin-top: 39px;
  border-top-color: var(--privacy-line);
}

.privacy-list li {
  grid-template-columns: 165px 1fr;
  padding: 19px 0;
  border-bottom-color: var(--privacy-line);
}

.privacy-list strong {
  font-family: var(--sans);
  font-size: 0.76rem;
}

.privacy-list span {
  color: var(--privacy-muted);
  font-size: 0.7rem;
}

.privacy-band .quiet-link {
  color: var(--privacy-accent);
}

/* Supporting product detail */

.platform {
  padding: 115px 0 104px;
  background: var(--canvas);
}

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

.platform-heading h2 {
  font-size: clamp(3rem, 5.7vw, 5.25rem);
}

.platform-heading > p:last-child {
  max-width: 540px;
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.68;
}

.platform-grid {
  margin-top: 60px;
}

.platform-grid article {
  min-height: 230px;
  padding: 31px 25px 32px;
}

.platform-mark {
  margin-bottom: 62px;
  color: var(--cinnabar);
  font-family: var(--display);
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.platform-grid h3 {
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.05;
}

.platform-grid p {
  font-size: 0.77rem;
  line-height: 1.65;
}

.languages {
  padding: 112px 0 96px;
  background: var(--surface-languages);
}

.languages-heading {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 8%;
  margin-bottom: 60px;
}

.languages-heading h2 {
  font-size: clamp(3rem, 5.7vw, 5.25rem);
}

.languages-heading > p {
  color: var(--muted);
  line-height: 1.7;
}

.language-grid {
  gap: 12px;
}

.language-grid article {
  padding: 22px 20px 30px;
  background: var(--surface-card);
}

.language-grid article > p {
  margin-bottom: 24px;
  color: var(--cinnabar-dark);
  font-weight: 850;
}

.apple-device--language {
  width: min(78%, 210px);
}

/* Branded endpoint */

.final-cta {
  padding: 115px 0;
  background: var(--paper);
  color: var(--ink);
}

.final-grid {
  grid-template-columns: minmax(0, 1fr) 152px;
  gap: 48px;
}

.final-cta .eyebrow {
  color: var(--cinnabar-dark);
}

.final-cta h2 {
  max-width: 630px;
  font-size: clamp(2.6rem, 4.7vw, 4.5rem);
}

.final-cta h2 em {
  color: var(--cinnabar);
}

.final-cta p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.text-store-button {
  min-height: 44px;
  gap: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cinnabar-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.final-brand-seal {
  width: 152px;
  height: 152px;
  border-radius: 35px;
  box-shadow: 0 20px 45px var(--seal-shadow);
}

.final-app-artwork {
  display: block;
  width: 152px;
  height: 152px;
}

.final-app-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.final-seal,
.final-orbit {
  display: none;
}

/* Compact bridge from the product story to the release record. */

.release-strip {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.release-strip__layout {
  display: grid;
  min-height: 170px;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.15fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.release-strip .eyebrow {
  margin-bottom: 8px;
}

.release-strip h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 0.98;
}

.release-strip__layout > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.release-strip a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: var(--cinnabar-dark);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Footer */

.site-footer {
  padding: 72px 0 24px;
  background: var(--canvas);
}

.footer-grid {
  gap: 60px;
  padding-bottom: 50px;
}

.footer-grid > div:first-child > p {
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
}

.footer-links {
  color: var(--text-body);
  font-size: 0.73rem;
  font-weight: 700;
}

.footer-links span,
.footer-bottom {
  color: var(--text-faint);
}

.footer-bottom {
  min-height: 50px;
}

.apple-legal {
  margin: 14px auto 0;
  color: var(--text-faint);
  font-size: 0.56rem;
  line-height: 1.55;
}

/* Secondary pages share the same editorial voice */

.legal-header {
  padding: 96px 0 88px;
  background: var(--paper);
}

.legal-header-layout {
  gap: 9%;
}

.legal-header h1,
.support-header h1 {
  max-width: 780px;
  font-size: clamp(3.5rem, 6.5vw, 6rem);
  line-height: 0.91;
}

.legal-header h1 em,
.support-header h1 em {
  color: var(--cinnabar);
}

.legal-seal {
  border-color: var(--orbit-line);
  background: var(--canvas);
  color: var(--cinnabar);
}

.legal-seal--app-icon {
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.legal-seal-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.legal-seal--app-icon small {
  display: none;
}

.legal-document {
  max-width: 940px;
  padding: 92px 0 112px;
}

.legal-intro {
  max-width: 760px;
  color: var(--text-lede);
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.22;
}

.legal-summary {
  margin: 65px 0;
}

.legal-summary article {
  min-height: 225px;
  padding: 29px 25px;
}

.legal-summary span,
.legal-summary .summary-number {
  margin-bottom: 48px;
  color: var(--cinnabar);
  font-family: var(--display);
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.legal-summary h2 {
  font-size: 1.4rem;
  font-weight: 400;
}

.legal-summary p {
  font-size: 0.77rem;
  line-height: 1.65;
}

.legal-simplified {
  margin: 64px 0 82px;
  padding: clamp(26px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 92% 0%,
      rgba(217, 213, 127, 0.16),
      transparent 34%
    ),
    var(--night);
  box-shadow: 0 22px 52px var(--card-shadow);
  color: var(--night-ink);
}

.legal-simplified-header {
  max-width: 720px;
}

.legal-simplified-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(220, 164, 134, 0.35);
  border-radius: 999px;
  background: rgba(220, 164, 134, 0.1);
  color: var(--night-accent);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-simplified-header h2 {
  margin: 20px 0 8px;
  color: var(--night-ink);
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.legal-simplified-header p {
  margin: 0;
  color: var(--night-muted);
}

.legal-simplified .legal-summary {
  margin: 34px 0 0;
  border-color: var(--line-light);
}

.legal-simplified .legal-summary article {
  min-height: 220px;
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.035);
}

.legal-simplified .legal-summary span {
  color: var(--night-accent);
}

.legal-simplified .legal-summary h3 {
  margin: 0 0 11px;
  color: var(--night-ink);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.legal-simplified .legal-summary p {
  color: var(--night-muted);
}

.legal-rule {
  color: var(--cinnabar-dark);
}

.legal-seal small {
  color: var(--text-faint);
}

.legal-sections {
  gap: 0;
}

.legal-section,
.legal-sections section {
  padding: 45px 7% 42px;
  border-top: 1px solid var(--line);
}

.legal-section:last-child,
.legal-sections section:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-section h2,
.legal-sections h2 {
  max-width: 680px;
  margin-bottom: 17px;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.05;
}

.legal-section p,
.legal-section li,
.legal-sections p,
.legal-sections li {
  max-width: 760px;
  color: var(--text-legal);
  font-size: 0.92rem;
  line-height: 1.82;
}

.legal-section a,
.legal-sections a,
.support-copy a,
.form-note a {
  color: var(--cinnabar-dark);
  text-decoration-color: color-mix(in srgb, var(--cinnabar-dark) 35%, transparent);
}

.support-layout {
  max-width: 1040px;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 9%;
  padding: 100px 0 118px;
}

.support-copy h2 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 4.4vw, 3.3rem);
  font-weight: 400;
  line-height: 0.98;
}

.support-copy > p:not(.eyebrow) {
  font-size: 0.9rem;
  line-height: 1.75;
}

.support-form {
  padding: 36px;
  border-radius: 27px;
  background: var(--paper);
  box-shadow: 0 23px 55px var(--card-shadow);
}

.support-form label {
  color: var(--text-body);
}

.support-form label > span {
  color: var(--text-faint);
}

.support-form input,
.support-form select,
.support-form textarea {
  border-color: var(--line);
  background: var(--surface-input);
  color: var(--ink);
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: var(--cinnabar);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cinnabar) 15%, transparent);
}

.support-submit {
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
}

.support-submit:hover,
.support-submit:focus-visible {
  background: var(--cinnabar-dark);
  color: var(--canvas);
}

.form-note {
  color: var(--text-faint);
}

.support-faq {
  padding: 92px 0 30px;
}

.support-section-heading {
  max-width: 710px;
}

.support-section-heading h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 0.96;
}

.support-section-heading > p:last-child {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 740;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--cinnabar-dark);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 760px;
  margin: 0;
  padding: 0 48px 30px 0;
  color: var(--text-legal);
  font-size: 0.86rem;
  line-height: 1.78;
}

.support-paths {
  padding: 78px 0 12px;
}

.support-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.support-path {
  display: grid;
  min-height: 210px;
  align-content: end;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-card);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.support-path:hover,
.support-path:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--cinnabar) 42%, transparent);
  background: var(--paper);
}

.support-path > span {
  margin-bottom: auto;
  color: var(--cinnabar);
  font-family: var(--display);
  font-size: 0.86rem;
  font-style: italic;
}

.support-path strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.support-path small {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.support-paths + .support-layout {
  padding-top: 76px;
}

.changelog-header {
  padding: 110px 0 104px;
  overflow: hidden;
  background: var(--night);
  color: var(--night-ink);
}

.changelog-header h1 {
  max-width: 820px;
  font-size: clamp(3.8rem, 6.8vw, 6.5rem);
  line-height: 0.9;
}

.changelog-header .app-store-link {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--night-accent);
  font-weight: 800;
}

.changelog-header .eyebrow {
  color: var(--night-accent);
}

.changelog-intro {
  color: var(--night-muted);
}

.changelog-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 260px);
  align-items: center;
  gap: clamp(56px, 8vw, 110px);
}

.changelog-hero-copy {
  position: relative;
  z-index: 2;
}

.changelog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.changelog-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: var(--night-muted);
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.035em;
}

.changelog-header .app-store-badge {
  display: block;
  margin-top: 24px;
}

.changelog-hero-device {
  width: min(100%, 240px);
  justify-self: center;
}

.release-entry time {
  color: var(--text-faint);
}

.release-list {
  padding: 100px 0 120px;
}

.release-entry {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 7%;
  padding: 68px 0;
}

.release-version {
  color: color-mix(in srgb, var(--cinnabar-dark) 24%, transparent);
  font-family: var(--display);
  font-size: clamp(5rem, 9vw, 7.5rem);
  font-style: italic;
  font-weight: 400;
}

.release-entry h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.7vw, 4.5rem);
  font-weight: 400;
  line-height: 0.96;
}

.release-ledger {
  background: var(--canvas);
}

.release-ledger-layout {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 7vw, 94px);
  padding-block: 96px 126px;
}

.version-index {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 2px;
}

.version-index .eyebrow {
  margin-bottom: 15px;
}

.version-index a {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.version-index a[aria-current="true"] {
  color: var(--cinnabar-dark);
}

.version-index strong {
  color: currentColor;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
}

.version-index span {
  font-size: 0.61rem;
  font-weight: 720;
  line-height: 1.4;
}

.release-entry-list {
  min-width: 0;
}

.release-featured {
  display: block;
  padding: 0 0 100px;
  border-top: 0;
}

.release-entry-header {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(35px, 6vw, 72px);
  align-items: start;
}

.release-entry-version {
  margin: 0;
  color: color-mix(in srgb, var(--cinnabar-dark) 30%, transparent);
  font-family: var(--display);
  font-size: clamp(5rem, 8vw, 7.2rem);
  font-style: italic;
  line-height: 0.8;
}

.release-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin: 0 0 22px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--cinnabar) 28%, transparent);
  border-radius: 999px;
  color: var(--cinnabar-dark);
  font-size: 0.61rem;
  font-weight: 790;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-entry-header h2 {
  margin-bottom: 24px;
}

.release-entry-header > div:last-child > p:last-child {
  max-width: 700px;
}

.release-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 66px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.release-facts div {
  min-height: 128px;
  padding: 24px 20px;
  border-left: 1px solid var(--line);
}

.release-facts div:last-child {
  border-right: 1px solid var(--line);
}

.release-facts dt {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.release-facts dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.45;
}

.release-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.release-feature-grid section {
  min-height: 255px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-card);
}

.release-feature-grid h3 {
  max-width: 380px;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  line-height: 1;
}

.release-feature-grid section > p:last-child {
  max-width: 430px;
}

.changelog-showcase--devices {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3.3fr) minmax(190px, 1fr);
  align-items: end;
  gap: 18px;
  margin-top: 64px;
  padding: 100px 42px 0;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 100%, rgba(217, 213, 127, 0.15), transparent 34%),
    var(--night);
}

.changelog-device {
  width: 100%;
}

.changelog-device--iphone {
  max-width: 220px;
  justify-self: end;
}

.changelog-showcase--devices > p {
  position: absolute;
  z-index: 3;
  top: 30px;
  left: 42px;
  display: grid;
  gap: 3px;
  margin: 0;
}

.changelog-showcase--devices > p span {
  color: var(--night-accent);
  font-size: 0.62rem;
  font-weight: 790;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.changelog-showcase--devices > p strong {
  color: var(--night-ink);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
}

.release-archive {
  padding-top: 96px;
  border-top: 1px solid var(--line);
}

.release-archive-header {
  max-width: 700px;
  margin-bottom: 48px;
}

.release-archive-header h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 0.96;
}

.release-archive-header > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.release-list--compact {
  padding: 0;
}

.release-entry--compact {
  grid-template-columns: 135px minmax(0, 1fr);
  gap: clamp(30px, 6vw, 66px);
  padding: 58px 0;
}

.release-entry--compact h2 {
  font-size: clamp(2.25rem, 4vw, 3.6rem);
}

.footer-layout {
  gap: 60px;
}

@media (max-width: 980px) {
  .app-store-badge {
    width: 154px;
    min-width: 154px;
    min-height: 52px;
  }

  .app-store-badge img {
    width: 154px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .hero {
    min-height: 0;
    padding-bottom: 70px;
  }

  .hero-copy {
    max-width: 710px;
    justify-self: center;
    text-align: center;
  }

  .hero h1,
  .hero-lede {
    margin-inline: auto;
  }

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

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

  .apple-device--hero {
    width: 280px;
  }

  .ritual-card,
  .ritual-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 270px;
    min-height: 610px;
    column-gap: clamp(38px, 5vw, 56px);
    padding-inline: 0;
  }

  .ritual-card:nth-child(even) {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .apple-device--ritual {
    width: 236px;
  }

  .library-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .library-products {
    width: min(100%, 520px);
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .privacy-copy {
    order: -1;
    max-width: 650px;
  }

  .apple-device--privacy {
    width: 280px;
  }

  .languages-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .release-ledger-layout {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 42px;
  }

  .release-entry-header {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 34px;
  }
}

@media (max-width: 760px) {
  .shell,
  .nav-shell,
  .legal-shell {
    width: min(calc(100% - 32px), 620px);
  }

  .nav-shell {
    min-height: 70px;
  }

  .hero {
    padding: 118px 0 64px;
  }

  .hero h1 {
    font-size: clamp(3.65rem, 17vw, 5.4rem);
  }

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

  .hero-actions {
    flex-direction: column;
    gap: 17px;
  }

  .app-store-badge {
    width: 148px;
    min-width: 148px;
    min-height: 50px;
  }

  .app-store-badge img {
    width: 148px;
  }

  .apple-device--hero {
    width: min(238px, 68vw);
  }

  .proof-grid > div {
    min-height: 94px;
    padding: 0 17px;
  }

  .proof-grid strong {
    font-size: 1.32rem;
  }

  .proof-grid span {
    font-size: 0.56rem;
  }

  .ritual {
    padding: 82px 0 45px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .library-copy h2,
  .privacy-copy h2,
  .platform-heading h2,
  .languages-heading h2 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .ritual-card,
  .ritual-card:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 32px;
    padding: 48px 0;
  }

  .ritual-card:nth-child(even) .ritual-copy,
  .ritual-card:nth-child(even) .apple-device {
    grid-row: auto;
    grid-column: auto;
  }

  .ritual-copy {
    grid-row: 1;
  }

  .ritual-copy h3 {
    font-size: clamp(2.15rem, 9.5vw, 3rem);
  }

  .ritual-copy > p:last-child {
    font-size: 0.88rem;
  }

  .apple-device--ritual {
    width: min(220px, 62vw);
  }

  .library {
    padding: 80px 0 84px;
  }

  .library-products {
    gap: 12px;
  }

  .apple-device--library {
    max-width: 205px;
  }

  .privacy-band {
    padding: 82px 0 93px;
  }

  .apple-device--privacy {
    width: min(260px, 73vw);
  }

  .platform {
    padding: 82px 0 78px;
  }

  .platform-grid {
    margin-top: 48px;
  }

  .platform-grid article {
    min-height: 190px;
  }

  .platform-mark {
    margin-bottom: 42px;
  }

  .languages {
    padding: 82px 0 74px;
  }

  .language-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .language-grid article {
    padding: 17px 9px 22px;
  }

  .language-grid article > p {
    margin-bottom: 18px;
    font-size: 0.55rem;
  }

  .apple-device--language {
    width: 100%;
    max-width: 180px;
  }

  .final-cta {
    padding: 82px 0;
  }

  .final-grid {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 23px;
  }

  .final-grid > div:first-child {
    grid-row: 1;
    grid-column: 1 / -1;
  }

  .final-brand-seal {
    grid-row: 2;
    width: 82px;
    height: 82px;
    border-radius: 20px;
  }

  .final-app-artwork {
    grid-row: 2;
    width: 82px;
    height: 82px;
    border-radius: 20px;
  }

  .release-strip__layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 21px;
    padding-block: 48px;
  }

  .site-footer {
    padding-top: 62px;
  }

  .legal-header {
    padding: 67px 0 70px;
  }

  .legal-header h1,
  .support-header h1,
  .changelog-header h1 {
    font-size: clamp(3rem, 13.5vw, 4.4rem);
  }

  .legal-document {
    padding: 68px 0 80px;
  }

  .legal-simplified {
    margin: 46px 0 62px;
    padding: 23px 18px;
    border-radius: 23px;
  }

  .legal-simplified .legal-summary {
    margin-top: 28px;
  }

  .legal-simplified .legal-summary article {
    min-height: 175px;
  }

  .legal-summary {
    margin: 48px 0;
  }

  .legal-section,
  .legal-sections section {
    padding: 36px 0 34px;
  }

  .legal-section p,
  .legal-section li,
  .legal-sections p,
  .legal-sections li {
    font-size: 0.85rem;
  }

  .support-layout {
    padding: 70px 0 82px;
  }

  .support-faq {
    padding: 70px 0 18px;
  }

  .faq-list summary {
    min-height: 72px;
    font-size: 0.84rem;
  }

  .faq-list details p {
    padding-right: 24px;
  }

  .support-paths {
    padding-top: 60px;
  }

  .support-path-grid {
    grid-template-columns: 1fr;
  }

  .support-path {
    min-height: 160px;
  }

  .support-paths + .support-layout {
    padding-top: 62px;
  }

  .support-form {
    padding: 23px 19px;
    border-radius: 21px;
  }

  .changelog-hero-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .changelog-hero-device {
    width: min(205px, 58vw);
  }

  .release-ledger-layout {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-block: 72px 88px;
  }

  .version-index {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .version-index .eyebrow {
    grid-column: 1 / -1;
  }

  .release-entry-header {
    grid-template-columns: 1fr;
  }

  .release-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-facts div:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .release-facts div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .release-feature-grid section {
    min-height: 220px;
  }

  .changelog-showcase--devices {
    padding: 96px 22px 0;
  }

  .changelog-showcase--devices > p {
    top: 27px;
    left: 24px;
  }

  .release-entry--compact {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 28px;
  }

  .release-list {
    padding: 70px 0 88px;
  }

  .release-list--compact {
    padding: 0;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    min-height: 70px;
  }

  .has-js .nav-links {
    top: 70px;
    border-color: var(--line);
    background: var(--menu-bg);
    color: var(--ink);
    box-shadow: 0 20px 55px var(--card-shadow);
  }

  .appearance-menu {
    align-self: flex-end;
    margin-top: 4px;
  }

  .appearance-trigger {
    margin-left: auto;
  }

  .appearance-popover {
    top: auto;
    right: 0;
    bottom: calc(100% + 6px);
  }
}

@media (max-width: 520px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid > div,
  .proof-grid > div:nth-child(2),
  .proof-grid > div:last-child {
    border-right: 1px solid var(--line);
  }

  .proof-grid > div + div {
    border-top: 1px solid var(--line);
  }

  .version-index {
    grid-template-columns: 1fr;
  }

  .release-facts {
    grid-template-columns: 1fr;
  }

  .release-facts div,
  .release-facts div:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .release-facts div + div {
    border-top: 1px solid var(--line);
  }

  .changelog-showcase--devices {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 98px 20px 30px;
  }

  .changelog-device--iphone {
    width: min(150px, 46vw);
    justify-self: center;
  }

  .release-entry--compact {
    grid-template-columns: 1fr;
  }

  .library-products {
    width: min(100%, 380px);
  }

  .privacy-list li {
    grid-template-columns: 1fr;
  }

  .language-grid {
    gap: 7px;
  }

  .languages-heading {
    margin-bottom: 42px;
  }

  .footer-grid {
    gap: 38px 20px;
  }
}
