:root {
  --page: min(78rem, calc(100% - 3rem));
  --canvas: #eef3fb;
  --page-background:
    radial-gradient(circle at 8% 8%, rgba(111, 231, 187, 0.22), transparent 25rem),
    linear-gradient(145deg, #f8fbff 0%, #eef3fb 54%, #edf1f8 100%);
  --ink: #18221f;
  --muted: #69746f;
  --soft: #8d9692;
  --accent: #58c99d;
  --accent-dark: #237a5b;
  --night: #14201d;
  --line: rgba(24, 34, 31, 0.12);
  --paper: #f3f5f2;
  --glass-border: rgba(255,255,255,.76);
  --glass-background: rgba(255,255,255,.56);
  --glass-highlight: rgba(255,255,255,.92);
  --glass-shadow: rgba(66,79,112,.09);
  --panel-background: rgba(255,255,255,.5);
  --control-background: rgba(255,255,255,.62);
  --control-highlight: rgba(255,255,255,.88);
  --list-background: rgba(255,255,255,.56);
  --list-ink: #4e5a55;
  --support-glow: rgba(138,158,226,.13);
  --icon-background: rgba(104,220,178,.28);
  --icon-shadow: rgba(45,110,83,.12);
  --marble-image: url("assets/patterns/suminagashi.svg");
  --marble-opacity: .34;
  --marble-blend: multiply;
  --rounded: "Avenir Next", ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --canvas: #10161f;
  --page-background:
    radial-gradient(circle at 4% 5%, rgba(52, 153, 117, .16), transparent 25rem),
    linear-gradient(145deg, #121a22 0%, #111722 52%, #171623 100%);
  --ink: #f1f6f3;
  --muted: #abb7b2;
  --soft: #87948f;
  --accent: #6be6b8;
  --accent-dark: #81e8c2;
  --night: #0c1317;
  --line: rgba(230, 240, 236, .13);
  --paper: #10161f;
  --glass-border: rgba(255,255,255,.11);
  --glass-background: rgba(20,27,35,.68);
  --glass-highlight: rgba(255,255,255,.08);
  --glass-shadow: rgba(0,0,0,.24);
  --panel-background: rgba(20,27,35,.6);
  --control-background: rgba(255,255,255,.055);
  --control-highlight: rgba(255,255,255,.075);
  --list-background: rgba(255,255,255,.045);
  --list-ink: #b8c3be;
  --support-glow: rgba(100,120,211,.12);
  --icon-background: rgba(104,220,178,.16);
  --icon-shadow: rgba(0,0,0,.18);
  --marble-opacity: .15;
  --marble-blend: screen;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background-color: var(--canvas);
  background-image: var(--page-background);
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  background-color: var(--canvas);
  background-image: var(--page-background);
  font-family: var(--rounded);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 0;
  width: min(50rem, 68vw);
  height: min(72rem, 118vh);
  pointer-events: none;
  content: "";
  opacity: var(--marble-opacity);
  background-image: var(--marble-image);
  background-position: center top;
  background-size: cover;
  mix-blend-mode: var(--marble-blend);
  -webkit-mask-image:
    linear-gradient(to left, #000 8%, transparent 90%),
    linear-gradient(to bottom, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to left, #000 8%, transparent 90%),
    linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-composite: intersect;
}

a { color: var(--accent-dark); }
h1, h2, h3, p { margin-top: 0; }

::selection { color: var(--night); background: var(--accent); }
* { scrollbar-color: var(--accent-dark) transparent; scrollbar-width: thin; }
*::-webkit-scrollbar { width: .65rem; height: .65rem; }
*::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: var(--accent-dark); background-clip: padding-box; }

.site-header,
main,
footer {
  width: var(--page);
  margin-inline: auto;
}

main,
footer { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4.75rem;
  margin-top: 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  background: var(--glass-background);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 .8rem 2.5rem var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(150%);
}

.header-actions {
  display: flex;
  gap: .8rem;
  align-items: center;
}

.header-actions > p {
  margin: 0;
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: .72rem;
  color: var(--ink);
  background: var(--control-background);
  box-shadow: inset 0 1px 0 var(--control-highlight);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.theme-toggle:hover { border-color: var(--accent-dark); color: var(--accent-dark); transform: translateY(-1px); }
.theme-toggle svg { position: absolute; width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity 180ms ease, transform 260ms var(--ease); }
.theme-icon-moon { opacity: 1; transform: rotate(0) scale(1); }
.theme-icon-sun { opacity: 0; transform: rotate(-45deg) scale(.7); }
:root[data-theme="dark"] .theme-icon-moon { opacity: 0; transform: rotate(45deg) scale(.7); }
:root[data-theme="dark"] .theme-icon-sun { opacity: 1; transform: rotate(0) scale(1); }

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-monogram {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  color: var(--accent);
  background: var(--night);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0.35rem 1rem rgba(20,32,29,.16);
  font-size: 0.65rem;
  letter-spacing: -0.03em;
}

.apps-section { padding: clamp(5rem, 10vw, 8rem) 0 clamp(6rem, 11vw, 9rem); }

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(15rem, .7fr);
  gap: 2rem;
  align-items: end;
  max-width: none;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.section-intro h1,
.legal-header h1,
.product-hero h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(4rem, 9vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-wrap: balance;
}

.section-intro p {
  justify-self: end;
  max-width: 23ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.4;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(20rem, .8fr);
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  row-gap: 1.5rem;
  align-items: stretch;
  justify-content: space-between;
}

.app-card {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: 1.52 / 1;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 1rem;
  color: #f4faf7;
  background:
    radial-gradient(circle at var(--spot-x, 18%) var(--spot-y, 12%), rgba(48,77,97,.82), transparent 18rem),
    radial-gradient(circle at 100% 100%, rgba(82,64,46,.54), transparent 18rem),
    linear-gradient(145deg, #1f2633 0%, #141a24 72%);
  box-shadow: 0 1.5rem 3.5rem rgba(20,26,36,.22), inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}

.app-card::after {
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(107,230,184,.08);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 3.5rem rgba(48,77,97,.045), 0 0 0 7rem rgba(48,77,97,.025);
  pointer-events: none;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2rem 4.5rem rgba(20,26,36,.3), inset 0 1px 0 rgba(255,255,255,.12);
}

.app-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 2.2rem);
  align-items: center;
  min-height: calc(100% - 5.75rem);
  padding: clamp(2.5rem, 5vw, 4rem);
}

.app-icon {
  display: block;
  width: 8rem;
  height: 8rem;
  border-radius: 1rem;
}

.app-card--coming-soon {
  grid-column: 1;
  grid-row: 2;
  min-height: 14.5rem;
  aspect-ratio: auto;
  background:
    radial-gradient(circle at 11% 50%, rgba(107,230,184,.2), transparent 15rem),
    radial-gradient(circle at 92% 4%, rgba(103,121,190,.24), transparent 18rem),
    linear-gradient(145deg, #1d2530 0%, #171a25 76%);
  box-shadow: 0 1.1rem 2.8rem rgba(20,26,36,.18), inset 0 1px 0 rgba(255,255,255,.09);
}

.app-card--coming-soon:hover {
  transform: none;
  box-shadow: 0 1.1rem 2.8rem rgba(20,26,36,.18), inset 0 1px 0 rgba(255,255,255,.09);
}

.app-card--coming-soon .app-card-content {
  grid-template-columns: 6rem minmax(0, 1fr);
  min-height: 100%;
  padding: clamp(1.75rem, 4vw, 2.4rem);
}

.app-card--coming-soon .app-copy h2 {
  font-size: clamp(2.5rem, 5vw, 3.7rem);
}

.app-icon--placeholder {
  display: grid;
  place-items: center;
  width: 6rem;
  height: 6rem;
  color: rgba(223,243,235,.78);
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 .9rem 2rem rgba(5,10,14,.22);
}

.app-icon--placeholder svg {
  width: 3.15rem;
  height: 3.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform,
.eyebrow {
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.app-card .platform { color: #6be6b8; }

.app-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.app-copy .platform { grid-column: 2; grid-row: 1; margin-bottom: .5rem; }

.app-copy h2 {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0.65rem;
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
}

.app-copy > p:last-child {
  grid-column: 1 / -1;
  max-width: 35ch;
  margin-bottom: 0;
  color: #c2c9d6;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
  text-wrap: pretty;
}

.app-card-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  min-height: 5.75rem;
  padding: .85rem clamp(1.5rem, 4vw, 2.35rem);
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.025);
}

.app-version {
  color: rgba(235,245,240,.45);
  font-size: 0.75rem;
}

.card-legal {
  display: flex;
  gap: .45rem;
  align-items: center;
}

.card-legal a {
  padding: .48rem .62rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: .55rem;
  color: rgba(245,250,248,.86);
  font-size: .69rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card-legal a:hover {
  border-color: #6be6b8;
  color: #141a24;
  background: #6be6b8;
}

.details-link {
  flex: 0 0 auto;
  color: #ecf8f3;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.details-link span { display: inline-block; margin-left: 0.25rem; transition: transform 180ms ease; }
.details-link:hover { color: #6be6b8; }
.details-link:hover span { transform: translate(2px, -2px); }

.card-actions {
  display: flex;
  flex: 0 0 auto;
  gap: .9rem;
  align-items: center;
}

.app-store-badge {
  display: inline-flex;
  flex: 0 0 auto;
  border-radius: .55rem;
  line-height: 0;
  transition: transform 180ms var(--ease);
}

.app-store-badge:hover { transform: translateY(-2px); }
.app-store-badge:active { transform: translateY(0); }

.app-store-badge img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.app-store-badge--compact { width: 8.25rem; }

.support {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  max-width: none;
  min-height: 100%;
  padding: clamp(1.75rem, 4vw, 2.6rem);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0, var(--support-glow), transparent 16rem),
    var(--panel-background);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 1.3rem 3.5rem var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(140%);
}

.support-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 2rem;
  border-radius: .85rem;
  color: var(--ink);
  background: var(--icon-background);
  box-shadow: 0 .45rem 1.2rem var(--icon-shadow), inset 0 1px 0 var(--glass-highlight);
}

.support-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.support .eyebrow { color: var(--accent-dark); }

.support h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.support-copy {
  max-width: 31ch;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 1.03rem;
  text-wrap: pretty;
}

.email-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  color: var(--ink);
  background: var(--control-background);
  box-shadow: inset 0 1px 0 var(--control-highlight);
  font-size: .78rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.email-link:hover { border-color: rgba(35,122,91,.45); color: var(--accent-dark); transform: translateY(-2px); }
.email-link span:last-child { font-size: 1.15rem; }

.support-details {
  margin-top: auto;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.support-details h3 {
  margin-bottom: .8rem;
  font-size: .82rem;
  font-weight: 700;
}

.support-list {
  display: grid;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-list li {
  position: relative;
  padding: .68rem .75rem .68rem 2.35rem;
  border: 1px solid var(--line);
  border-radius: .72rem;
  color: var(--list-ink);
  background: var(--list-background);
  box-shadow: inset 0 1px 0 var(--control-highlight);
  font-size: .76rem;
  font-weight: 600;
}

.support-list li::before {
  position: absolute;
  top: .66rem;
  left: .7rem;
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  color: var(--accent-dark);
  background: rgba(107,230,184,.3);
  content: "✓";
  font-size: .65rem;
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.75rem;
}

footer a { color: var(--muted); font-weight: 650; text-underline-offset: 0.2rem; }

/* Product and legal pages */
.subpage-main { padding: clamp(4rem, 8vw, 7rem) 0 clamp(7rem, 11vw, 10rem); }

.back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.back-link:hover { color: var(--ink); transform: translateX(-2px); }

.legal-topline {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  max-width: 68rem;
  margin-bottom: 2.5rem;
}

.legal-topline .back-link { margin-bottom: 0; }

.language-switcher {
  display: flex;
  gap: .65rem;
  align-items: center;
}

.language-switcher label {
  color: var(--soft);
  font-size: .76rem;
  font-weight: 700;
}

.language-switcher select {
  min-width: 8.5rem;
  padding: .66rem 2.15rem .66rem .8rem;
  border: 1px solid var(--line);
  border-radius: .72rem;
  appearance: none;
  color: var(--ink);
  background-color: var(--control-background);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2369746f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right .75rem center;
  background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 var(--control-highlight);
  font: inherit;
  font-size: .8rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.language-switcher select:hover { border-color: var(--accent-dark); }

.legal-header,
.legal-content,
.product-copy { max-width: 68rem; }

.legal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 3rem;
  align-items: end;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  grid-column: 1;
  grid-row: 1 / 3;
  overflow-wrap: anywhere;
  font-size: clamp(3.5rem, 8vw, 6rem);
  hyphens: auto;
}
.legal-header .eyebrow { grid-column: 2; grid-row: 1; margin: 0; text-align: right; }
.legal-header p:last-child { grid-column: 2; grid-row: 2; margin-bottom: .35rem; color: var(--soft); font-size: 0.85rem; }

.legal-content {
  display: grid;
  grid-template-columns: minmax(12rem, .65fr) minmax(0, 1.35fr);
  column-gap: clamp(2rem, 6vw, 5rem);
  padding-top: 1.5rem;
}
.legal-content h2,
.product-copy h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.legal-content > h2,
.legal-content > p {
  margin: 0;
  padding-block: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}

.legal-content > h2:first-child,
.legal-content > h2:first-child + p { border-top: 0; }

.legal-content > h2 { grid-column: 1; }
.legal-content > p { grid-column: 2; }

.legal-content p,
.legal-content li,
.product-copy p,
.product-copy li { max-width: 64ch; color: var(--list-ink); }

.legal-content a { text-underline-offset: 0.2rem; }

.product-hero {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: none;
  min-height: 26rem;
  margin-bottom: clamp(4.5rem, 8vw, 7rem);
  padding: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 1rem;
  color: #f4faf7;
  background:
    radial-gradient(circle at 18% 12%, rgba(48,77,97,.82), transparent 18rem),
    radial-gradient(circle at 100% 100%, rgba(82,64,46,.54), transparent 18rem),
    linear-gradient(145deg, #1f2633 0%, #141a24 72%);
  box-shadow: 0 1.5rem 3.5rem rgba(20,26,36,.22), inset 0 1px 0 rgba(255,255,255,.1);
}

.product-hero > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 2rem; align-items: end; }
.product-hero .app-icon { width: 9rem; height: 9rem; border-radius: 1rem; }
.product-hero h1 { grid-column: 1; grid-row: 1; margin-bottom: 0; font-size: clamp(3.5rem, 8vw, 6rem); }
.product-hero p { margin-bottom: 0; color: rgba(235,245,240,.66); font-size: 1.03rem; }
.product-hero > div > p:not(.eyebrow) { grid-column: 1 / -1; max-width: 48ch; }
.product-hero .eyebrow { grid-column: 2; grid-row: 1; margin-bottom: .6rem; color: var(--accent); }

.product-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .75rem; }
.product-meta span { color: rgba(235,245,240,.45); font-size: 0.76rem; }

.product-hero .app-store-badge {
  grid-column: 1 / -1;
  justify-self: start;
  width: 15.3125rem;
  max-width: 100%;
  margin-top: .75rem;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(15rem, .75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.product-feature > p,
.product-feature > div { margin: 0; }
.product-copy ul { margin-bottom: 0; padding-left: 1.3rem; }
.product-copy li { margin-bottom: 0.5rem; }

.product-legal-links { max-width: none; margin-top: clamp(1.5rem, 3vw, 2.5rem); }

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.legal-links a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
}

.legal-links a:hover { color: var(--accent-dark); }

:focus-visible { outline: 3px solid #1674d1; outline-offset: 4px; }

@media (max-width: 760px) {
  :root { --page: calc(100% - 1.5rem); }
  body::before {
    width: 100%;
    height: 47rem;
    opacity: calc(var(--marble-opacity) * .76);
    background-position: 62% top;
    background-size: cover;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  }
  .site-header { top: .65rem; min-height: 4rem; margin-top: .65rem; border-radius: 1.05rem; }
  .header-actions > p { display: none; }
  .apps-section { padding-top: 4.5rem; }
  .section-intro { display: block; }
  .section-intro p { justify-self: auto; max-width: 28ch; }
  .section-intro { margin-bottom: 2.5rem; }
  .home-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .app-card { min-height: auto; border-radius: 1rem; }
  .app-card-content { grid-template-columns: 5rem minmax(0, 1fr); gap: 1.2rem; padding: 1.5rem; }
  .app-icon { width: 5rem; height: 5rem; border-radius: .9rem; }
  .app-copy h2 { font-size: 2.25rem; }
  .app-copy > p:last-child { font-size: 0.9rem; }
  .app-card { max-width: none; min-height: 25rem; aspect-ratio: auto; }
  .app-card-content { min-height: auto; }
  .app-card-bottom { flex-wrap: wrap; align-items: center; padding: 1rem 1.5rem; }
  .app-card-bottom { min-height: auto; row-gap: .8rem; }
  .card-legal { order: 3; width: 100%; padding-bottom: .1rem; }
  .app-card--coming-soon,
  .support { grid-column: auto; grid-row: auto; }
  .app-card--coming-soon { min-height: 15rem; }
  .app-card--coming-soon .app-card-content { grid-template-columns: 5rem minmax(0, 1fr); }
  .app-icon--placeholder { width: 5rem; height: 5rem; }
  .support { max-width: none; min-height: auto; margin-top: 2rem; }
  .support-details { margin-top: 2rem; }
  .product-hero { grid-template-columns: 5rem 1fr; gap: 1.25rem; min-height: 0; padding: 1.5rem; border-radius: 1rem; }
  .product-hero .app-icon { width: 5rem; height: 5rem; border-radius: .9rem; }
  .product-hero h1 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .product-hero .app-store-badge { width: 12rem; }
  .product-feature,
  .legal-content { display: block; }
  .product-feature { padding-block: 2.25rem; }
  .product-feature h2 { margin-bottom: .8rem; }
  .legal-content > h2 { padding: 2.25rem 0 0; }
  .legal-content > p { padding: .65rem 0 2.25rem; border-top: 0; }
  .legal-header { display: block; }
  .legal-header .eyebrow { margin-bottom: .35rem; text-align: left; }
  .legal-topline { flex-wrap: wrap; }
  footer { align-items: flex-end; }
}

@media (max-width: 420px) {
  .brand > span:last-child { font-size: 0.82rem; }
  .app-card-content { grid-template-columns: 1fr; }
  .app-copy { grid-template-columns: 1fr; }
  .app-copy .platform,
  .app-copy h2 { grid-column: 1; }
  .app-copy .platform { grid-row: 1; }
  .app-copy h2 { grid-row: 2; }
  .app-copy > p:last-child { max-width: 31ch; }
  .product-hero { grid-template-columns: 1fr; }
  .product-hero > div { grid-template-columns: 1fr; }
  .product-hero .eyebrow { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  .product-hero h1 { grid-column: 1; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
