/* journaltoday.app. Nunito (the apps' own font), each app in its own colours, light and dark, phones drawn in CSS.
   Text colours are held to 4.5:1 on their backgrounds; the buttons' fills are darker (light) or lighter (dark)
   steps of the apps' colours for that reason. */

@font-face { font-family: "Nunito"; src: url("/fonts/nunito-400.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-700.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-800.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --bg: #FAF8F5;
  --bg-soft: #F3EFE9;
  --card: #FFFFFF;
  --ink: #1F2328;
  --ink-2: #4D5560;
  --ink-3: #69717D;
  --line: #E6E0D8;
  --line-strong: #CFC7BC;
  --shadow: 0 1px 2px rgba(31, 35, 40, .05), 0 12px 32px -12px rgba(31, 35, 40, .16);
  --store-bg: #16181B;
  --store-ink: #FFFFFF;
  --bezel: #121314;
  --bezel-ring: #3A3B3E;
  /* Baby Feed's blue by default (the home page's links); each app's page and card sets its own. */
  --accent: #13709A;
  --accent-fill: #146F98;
  --on-accent: #FFFFFF;
  --tint: #E2F0F7;
  --glow-a: rgba(26, 134, 180, .16);
  --glow-b: rgba(233, 165, 146, .20);
  --stage-a: #E6F2F8;
  --stage-b: #F7EEE9;
  --radius: 24px;
  --wrap: 1120px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1012;
    --bg-soft: #14171A;
    --card: #191C20;
    --ink: #F1F3F5;
    --ink-2: #BAC1CA;
    --ink-3: #939CA8;
    --line: #272B31;
    --line-strong: #3A4048;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
    --store-bg: #F3F4F6;
    --store-ink: #0E1012;
    --bezel: #1B1C1E;
    --bezel-ring: #4A4C50;
    --accent: #7CC3F0;
    --accent-fill: #7CC3F0;
    --on-accent: #06141D;
    --tint: #13293A;
    --glow-a: rgba(87, 168, 224, .16);
    --glow-b: rgba(232, 167, 149, .10);
    --stage-a: #13212B;
    --stage-b: #221A18;
  }
}

.theme-journal {
  --accent: #A6553F;
  --accent-fill: #AC5942;
  --on-accent: #FFFFFF;
  --tint: #FAE8E1;
  --glow-a: rgba(208, 140, 120, .22);
  --glow-b: rgba(240, 196, 120, .18);
  --stage-a: #FAEDE7;
  --stage-b: #F6EFE2;
}
@media (prefers-color-scheme: dark) {
  .theme-journal {
    --accent: #F2A58F;
    --accent-fill: #F2A58F;
    --on-accent: #2B120A;
    --tint: #3A221A;
    --glow-a: rgba(232, 167, 149, .14);
    --glow-b: rgba(240, 196, 120, .08);
    --stage-a: #271B17;
    --stage-b: #221E16;
  }
}
.theme-baby {
  --accent: #13709A;
  --accent-fill: #146F98;
  --on-accent: #FFFFFF;
  --tint: #E2F0F7;
  --glow-a: rgba(26, 134, 180, .17);
  --glow-b: rgba(233, 165, 146, .18);
  --stage-a: #E4F1F8;
  --stage-b: #EEF0F8;
}
@media (prefers-color-scheme: dark) {
  .theme-baby {
    --accent: #7CC3F0;
    --accent-fill: #7CC3F0;
    --on-accent: #06141D;
    --tint: #13293A;
    --glow-a: rgba(87, 168, 224, .16);
    --glow-b: rgba(232, 167, 149, .08);
    --stage-a: #12212C;
    --stage-b: #171B26;
  }
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.62 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 800; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.i { width: 1.2em; height: 1.2em; flex: none; }
[dir="rtl"] .i.arrow, [dir="rtl"] .i.chevron { transform: scaleX(-1); }
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lead { color: var(--ink-2); font-size: clamp(18px, 2.1vw, 21px); line-height: 1.55; }
.muted { color: var(--ink-3); }
.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 32px; }

/* Scripts with their own needs: no letter-spacing where letters join or are not Latin; CJK and Thai lines taller. */
:lang(zh-Hans) { --font: "Nunito", -apple-system, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
:lang(zh-Hant) { --font: "Nunito", -apple-system, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
:lang(ja) { --font: "Nunito", -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; }
:lang(ko) { --font: "Nunito", -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
:lang(ar) { --font: -apple-system, "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
:lang(th) { --font: "Nunito", -apple-system, Thonburi, "Noto Sans Thai", "Leelawadee UI", sans-serif; }
body:lang(zh-Hans), body:lang(zh-Hant), body:lang(ja), body:lang(ko) { line-height: 1.75; }
body:lang(th) { line-height: 1.8; }
:lang(zh-Hans) :is(h1, h2, h3, .eyebrow), :lang(zh-Hant) :is(h1, h2, h3, .eyebrow), :lang(ja) :is(h1, h2, h3, .eyebrow),
:lang(ko) :is(h1, h2, h3, .eyebrow), :lang(ar) :is(h1, h2, h3, .eyebrow), :lang(th) :is(h1, h2, h3, .eyebrow) { letter-spacing: 0; }
:lang(zh-Hans) :is(h1, h2), :lang(zh-Hant) :is(h1, h2), :lang(ja) :is(h1, h2), :lang(ko) :is(h1, h2) { line-height: 1.3; }
:lang(ar) :is(h1, h2), :lang(th) :is(h1, h2) { line-height: 1.35; }
:lang(zh-Hans) .eyebrow, :lang(zh-Hant) .eyebrow, :lang(ja) .eyebrow, :lang(ko) .eyebrow, :lang(ar) .eyebrow, :lang(th) .eyebrow,
:lang(zh-Hans) .site-footer h2, :lang(zh-Hant) .site-footer h2, :lang(ja) .site-footer h2, :lang(ko) .site-footer h2 { text-transform: none; letter-spacing: .02em; }
:lang(ko) { word-break: keep-all; }
:lang(ja), :lang(zh-Hans), :lang(zh-Hant) { line-break: strict; }

/* Buttons */

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: 999px;
  font-size: 16px; font-weight: 800; line-height: 1.2; text-decoration: none;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-store { background: var(--store-bg); color: var(--store-ink); }
.btn-store:hover { filter: brightness(1.15); }
.btn-accent { background: var(--accent-fill); color: var(--on-accent); }
.btn-accent:hover { filter: brightness(1.08); }
.btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { background: var(--card); }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; }
.more-link:hover { text-decoration: underline; }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.bar { display: flex; align-items: center; gap: 12px 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.brand .mark { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 700; font-size: 15.5px; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.lang-menu { position: relative; }
.lang-menu summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  list-style: none; cursor: pointer; color: var(--ink-2); font-weight: 700; font-size: 15px;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.lang-menu ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  width: min(380px, calc(100vw - 2 * var(--gutter))); max-height: min(70vh, 560px); overflow: auto;
  padding: 8px; list-style: none; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.lang-menu li a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.lang-menu li a:hover { background: var(--bg-soft); }
.lang-menu li a[aria-current="true"] { color: var(--accent); background: var(--tint); }

@media (max-width: 719px) {
  .bar { padding-block: 8px; }
  .nav { order: 3; width: 100%; margin-inline: -12px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .lang-menu { margin-inline-start: auto; }
}
@media (max-width: 400px) {
  .lang-menu summary span { display: none; }
}

/* Phones, drawn around the screenshots (iPhone 17: a 402-point screen, 55-point corners, the Dynamic Island) */

.phone {
  --pw: 280px;
  position: relative; flex: none; width: var(--pw); margin: 0;
  padding: calc(var(--pw) * .03);
  border-radius: calc(var(--pw) * .16);
  background: var(--bezel);
  box-shadow: inset 0 0 0 calc(var(--pw) * .006) var(--bezel-ring), 0 2px 4px rgba(0, 0, 0, .08), 0 30px 60px -24px rgba(20, 24, 30, .45);
}
.phone img { width: 100%; height: auto; border-radius: calc(var(--pw) * .129); background: var(--bg-soft); }
.phone::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(var(--pw) * (.03 + .94 * .027));
  width: calc(var(--pw) * .94 * .313); height: calc(var(--pw) * .94 * .092);
  border-radius: 999px; background: #000;
}

/* Home */

.home-hero { padding: clamp(56px, 9vw, 112px) 0 clamp(36px, 5vw, 56px); text-align: center;
  background: radial-gradient(48% 60% at 18% 20%, var(--glow-b), transparent 70%), radial-gradient(50% 60% at 84% 6%, var(--glow-a), transparent 70%); }
.home-hero .eyebrow { margin-bottom: 18px; }
.home-hero h1 { font-size: clamp(40px, 7.4vw, 76px); max-width: 900px; margin: 0 auto 22px; }
.home-hero .lead { max-width: 700px; margin-inline: auto; }

.app-cards { display: grid; gap: 24px; padding-bottom: clamp(56px, 8vw, 96px); }
@media (min-width: 880px) { .app-cards { grid-template-columns: 1fr 1fr; } }
.app-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 32px; background: linear-gradient(170deg, var(--stage-a), var(--card) 62%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.app-card-text { padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) 28px; display: flex; flex-direction: column; gap: 12px; }
.app-icon { width: 88px; height: 88px; border-radius: 22.5%; box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 10px 24px -10px rgba(0, 0, 0, .35); }
.app-card h2 { font-size: clamp(28px, 3.4vw, 36px); margin-top: 8px; }
.app-card h2 a { color: var(--ink); text-decoration: none; }
.app-card h2 a:hover { color: var(--accent); }
.app-card .tagline { color: var(--accent); font-weight: 800; font-size: 18px; }
.app-card p { color: var(--ink-2); }
.app-card .platforms { color: var(--ink-3); font-size: 14.5px; }
.app-card .actions { margin-top: 10px; }
.app-card-shot { display: flex; justify-content: center; height: clamp(330px, 40vw, 420px); overflow: hidden; margin-top: auto; padding-top: 8px; }
.app-card-shot .phone { --pw: clamp(240px, 26vw, 290px); }

.values { padding-bottom: clamp(56px, 8vw, 96px); }
.values-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .values-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.value h3 { font-size: 20px; margin: 16px 0 8px; }
.value p { color: var(--ink-2); }
.icon-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--accent); }
.icon-tile .i { width: 26px; height: 26px; }

.support { padding-bottom: clamp(64px, 9vw, 112px); }
.support-card { display: grid; gap: 32px; padding: clamp(28px, 5vw, 48px); border-radius: 32px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 860px) { .support-card { grid-template-columns: 1.3fr 1fr; gap: 56px; } }
.support-main h2 { font-size: clamp(28px, 4vw, 40px); margin: 18px 0 12px; }
.support-main .lead { margin-bottom: 14px; }
.support-main p a { font-weight: 800; }
.support-side h3 { font-size: 18px; margin-bottom: 12px; }
.link-list { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px;
  background: var(--bg-soft); color: var(--ink); font-weight: 700; text-decoration: none;
}
.link-list a:hover { background: var(--tint); }
.link-list .chevron { color: var(--ink-3); }

/* An app's page */

.hero { overflow: clip; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px);
  background: radial-gradient(46% 60% at 88% 18%, var(--glow-a), transparent 70%), radial-gradient(40% 50% at 6% 4%, var(--glow-b), transparent 70%); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; } }
.hero-text .app-icon { width: 96px; height: 96px; margin-bottom: 24px; }
.hero-text .eyebrow { margin-bottom: 12px; }
.hero-text h1 { font-size: clamp(38px, 5.8vw, 64px); margin-bottom: 20px; }
.hero-text .lead { margin-bottom: 28px; max-width: 620px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 26px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; font-weight: 700; }
.hero-phones { position: relative; display: flex; justify-content: center; padding: 8px 0 24px; }
.hero-phones .front { --pw: clamp(220px, 25vw, 300px); z-index: 2; margin-inline-start: calc(clamp(220px, 25vw, 300px) * .36); }
.hero-phones .back { --pw: clamp(190px, 21.5vw, 258px); position: absolute; z-index: 1; top: 56px; left: 50%;
  transform: translateX(calc(-50% - clamp(220px, 25vw, 300px) * .42)) rotate(-6deg); }
[dir="rtl"] .hero-phones .back { left: auto; right: 50%; transform: translateX(calc(50% + clamp(220px, 25vw, 300px) * .42)) rotate(6deg); }
@media (max-width: 480px) {
  .hero-phones .front { --pw: 206px; margin-inline-start: 62px; }
  .hero-phones .back { --pw: 168px; top: 40px; transform: translateX(calc(-50% - 82px)) rotate(-6deg); }
  [dir="rtl"] .hero-phones .back { transform: translateX(calc(50% + 82px)) rotate(6deg); }
}

.highlights { display: grid; gap: 28px 32px; padding-block: clamp(40px, 6vw, 72px); }
@media (min-width: 620px) { .highlights { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .highlights { grid-template-columns: repeat(4, 1fr); } }
.highlight h3 { font-size: 19px; margin: 16px 0 6px; }
.highlight p { color: var(--ink-2); font-size: 16px; }

.features { display: grid; gap: clamp(48px, 8vw, 104px); padding-block: clamp(24px, 4vw, 48px) clamp(64px, 9vw, 120px); }
.feature { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature:nth-child(even) .feature-media { order: -1; }
}
.feature-text .eyebrow { margin-bottom: 12px; }
.feature-text h2 { font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 16px; }
.feature-text > p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; margin-bottom: 22px; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .i { color: var(--accent); width: 22px; height: 22px; margin-top: .2em; }
.feature-media {
  display: flex; justify-content: center; padding: clamp(28px, 5vw, 48px) 16px;
  border-radius: 36px; background: linear-gradient(150deg, var(--stage-a), var(--stage-b));
}
.feature-media .phone { --pw: clamp(220px, 24vw, 270px); }

.more { background: var(--bg-soft); padding-block: clamp(56px, 8vw, 96px); border-block: 1px solid var(--line); }
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.tile { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.tile h3 { font-size: 18px; margin: 16px 0 6px; }
.tile p { color: var(--ink-2); font-size: 15.5px; }

.band {
  display: flex; gap: 24px; align-items: flex-start; margin-block: clamp(56px, 8vw, 96px) 0;
  padding: clamp(28px, 5vw, 48px); border-radius: 32px; background: linear-gradient(150deg, var(--stage-a), var(--stage-b));
}
.band-icon { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 20px; background: var(--card); color: var(--accent); box-shadow: var(--shadow); }
.band-icon .i { width: 34px; height: 34px; }
.band h2 { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 12px; }
.band p { color: var(--ink-2); max-width: 760px; }
.band p + p { margin-top: 14px; }
@media (max-width: 600px) { .band { flex-direction: column; } }

.faq { padding-block: clamp(56px, 8vw, 96px); max-width: calc(860px + 2 * var(--gutter)); }
.faq .section-title { text-align: center; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 4px; cursor: pointer; list-style: none; font-weight: 800; font-size: 18px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq .faq-mark { width: 26px; height: 26px; color: var(--accent); transition: transform .2s ease; }
.faq details[open] .faq-mark { transform: rotate(45deg); }
.faq details p { padding: 0 4px 22px; color: var(--ink-2); max-width: 760px; }

.cta { padding-bottom: clamp(64px, 9vw, 112px); }
.cta .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.cta .wrap { padding-block: clamp(40px, 6vw, 64px); border-radius: 36px; background: radial-gradient(60% 80% at 50% 0%, var(--glow-a), transparent 75%), var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.cta h2 { font-size: clamp(30px, 4.6vw, 46px); margin-top: 8px; }
.cta p { color: var(--ink-2); max-width: 640px; padding-inline: 8px; }
.cta .actions { justify-content: center; margin-top: 8px; }
.cta .fineprint { color: var(--ink-3); font-size: 14.5px; margin-top: 8px; }
@media (max-width: 1159px) { .cta { padding-inline: var(--gutter); } }

/* Privacy policies and terms */

.legal { max-width: calc(760px + 2 * var(--gutter)); padding-block: clamp(32px, 5vw, 56px) clamp(64px, 9vw, 112px); }
.crumbs a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 800; text-decoration: none; }
.crumbs img { width: 28px; height: 28px; border-radius: 22.5%; }
.crumbs a:hover { color: var(--accent); }
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin: 22px 0 8px; }
.legal .updated { color: var(--ink-3); font-size: 15px; margin-bottom: 22px; }
.legal .notice { padding: 14px 18px; border-radius: 16px; background: var(--tint); color: var(--ink); font-size: 15.5px; margin-bottom: 22px; }
.legal .intro { font-size: 19px; color: var(--ink-2); }
.legal section { margin-top: 36px; }
.legal h2 { font-size: 22px; letter-spacing: -.01em; margin-bottom: 10px; }
.legal section p + p, .legal section p + ul, .legal section ul + p { margin-top: 12px; }
.legal ul { padding-inline-start: 22px; display: grid; gap: 8px; }
.legal li::marker { color: var(--accent); }
.legal-next { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-next a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; }
.legal-next a:hover { text-decoration: underline; }

.not-found { text-align: center; padding-block: clamp(80px, 14vw, 160px); }
.not-found h1 { font-size: clamp(40px, 7vw, 64px); margin-bottom: 16px; }
.not-found .lead { margin-bottom: 32px; }
.not-found .btn { display: inline-flex; }

/* Footer */

.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding-top: 48px; color: var(--ink-2); font-size: 15px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-about { grid-column: 1 / -1; display: grid; gap: 14px; max-width: 360px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; } .footer-about { grid-column: auto; } }
.site-footer h2 { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-langs { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-langs ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-langs a { font-size: 14px; }
.footer-langs a[aria-current="true"] { color: var(--ink); font-weight: 800; }
.footer-bottom { display: grid; gap: 6px; padding-block: 24px 40px; color: var(--ink-3); font-size: 14px; }
@media (max-width: 400px) { .footer-grid { grid-template-columns: 1fr; } }

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

@media print {
  .site-header, .site-footer, .skip, .actions { display: none; }
  body { background: #fff; color: #000; }
}
