/* YourIntervals website — matches the app's dark instrument look. */
:root {
  --bg: #0b0d10;
  --bg-2: #111418;
  --surface: #181c21;
  --surface-2: #20252b;
  --line: #2a3037;
  --text: #f7f8fa;
  --muted: #929aa5;
  --accent: #c7f36b;
  --accent-ink: #0b0d10;
  --z1: #6e7781; --z2: #4f8fe6; --z3: #3db88c; --z4: #9ebd45;
  --z5: #e5c14a; --z6: #ee9148; --z7: #e5605a; --z8: #a57ce8;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.caps { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.caps.accent { color: var(--accent); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 16, .78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface); text-decoration: none; }
.nav .nav-cta { background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-left: 8px; }
.nav .nav-cta:hover { background: #d6fa86; color: var(--accent-ink); }
.nav-toggle { display: none; background: var(--surface); border: 0; color: var(--text); width: 42px; height: 42px; border-radius: 12px; cursor: pointer; }
.nav-toggle svg { margin: auto; }
.header-end { order: 3; display: flex; align-items: center; gap: 8px; }
.lang, details.lang { position: relative; background: none; border: 0; padding: 0; margin: 0; border-radius: 0; }
.lang summary::after { content: none !important; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .04em; border: 1px solid var(--line); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); background: var(--surface); }
.lang ul { position: absolute; right: 0; top: 46px; list-style: none; margin: 0; padding: 6px; min-width: 180px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.45); z-index: 60; }
.lang a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--text); font-weight: 600; font-size: .95rem; }
.lang a:hover { background: var(--surface); text-decoration: none; }
.lang a[aria-current] { color: var(--accent); }
.lang .code { font-size: .72rem; font-weight: 800; color: var(--muted); width: 22px; }
.lang a[aria-current] .code { color: var(--accent); }
@media (max-width: 860px) {
  .header-end { margin-left: auto; }
  .nav-toggle { display: grid; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; background: rgba(11,13,16,.97); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.badge-link { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .15s ease, box-shadow .15s ease; }
.badge-link img { height: 54px; width: auto; }
.badge-link:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(199,243,107,.18); }
.badge-link.sm img { height: 44px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.btn:hover { text-decoration: none; border-color: #3d454e; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none;
  background:
    radial-gradient(600px 340px at 72% 30%, rgba(199,243,107,.16), transparent 70%),
    radial-gradient(500px 300px at 20% 10%, rgba(79,143,230,.14), transparent 70%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 .accent { color: var(--accent); }
.hero .lede { font-size: 1.25rem; color: #c3c9d1; max-width: 34ch; margin-bottom: 28px; }
.hero .fine { margin-top: 18px; color: var(--muted); font-size: .92rem; }
.hero .fine b { color: var(--text); font-weight: 600; }
.hero-phones { position: relative; height: 640px; }
.hero-phones .phone { position: absolute; width: 290px; }
.hero-phones .phone:nth-child(1) { right: 190px; top: 50px; transform: rotate(-6deg); opacity: .9; }
.hero-phones .phone:nth-child(2) { right: 0; top: 0; z-index: 2; }
@media (max-width: 960px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-phones { height: 520px; max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-phones .phone { width: 240px; }
  .hero-phones .phone:nth-child(1) { right: auto; left: 0; top: 40px; }
  .hero-phones .phone:nth-child(2) { right: 0; }
}
@media (max-width: 480px) {
  .hero-phones { height: 440px; }
  .hero-phones .phone { width: 200px; }
}

/* Phone frame around screenshots */
.phone {
  border-radius: 44px; padding: 9px; background: linear-gradient(145deg, #2c3138, #121519);
  box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.phone img, .phone picture { border-radius: 36px; width: 100%; height: auto; }

/* Trust strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.strip li { display: flex; align-items: center; gap: 10px; color: #c3c9d1; font-weight: 600; font-size: .95rem; }
.strip li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* Sections */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: #b4bbc4; font-size: 1.15rem; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.feature + .feature { border-top: 1px solid rgba(255,255,255,.05); }
.feature.flip .feature-media { order: -1; }
.feature-media { display: flex; justify-content: center; gap: 20px; }
.feature-media .phone { width: 300px; }
.feature-media .phone.sm { width: 250px; margin-top: 60px; }
.feature h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.025em; }
.feature p { color: #b4bbc4; font-size: 1.1rem; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: #d5dae0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: rgba(199,243,107,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c7f36b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-media { order: 0; }
  .feature-media .phone { width: 240px; }
  .feature-media .phone.sm { width: 200px; margin-top: 40px; }
}
@media (max-width: 480px) { .feature-media .phone.sm { display: none; } }

/* Cards & grids */
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.c4 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid rgba(255,255,255,.05); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .35em; }
.card p { color: #a9b1ba; margin: 0; font-size: .98rem; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(199,243,107,.12); display: grid; place-items: center; margin-bottom: 16px; color: var(--accent); }
a.card { color: inherit; transition: border-color .15s, transform .15s; display: block; }
a.card:hover { text-decoration: none; border-color: #3a424b; transform: translateY(-2px); }

/* Gallery */
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 36px; scrollbar-width: thin; scrollbar-color: #333a42 transparent; }
.gallery figure { margin: 0; flex: 0 0 auto; width: 250px; scroll-snap-align: center; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 14px; }
@media (min-width: 1200px) { .gallery { padding-left: calc((100vw - var(--max)) / 2 + 20px); } }

/* Zones */
.zones-bar { display: flex; height: 64px; border-radius: 14px; overflow: hidden; gap: 3px; }
.zones-bar span { flex: 1; display: grid; place-items: center; font-weight: 800; color: rgba(0,0,0,.72); font-size: .85rem; }
.zone-list { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 760px) { .zone-list { grid-template-columns: repeat(2, 1fr); } .zones-bar span { font-size: .7rem; } }
.zone-item { background: var(--surface); border-radius: var(--radius-sm); padding: 14px 16px; border-left: 4px solid var(--c); color: inherit; display: block; }
a.zone-item:hover { text-decoration: none; background: var(--surface-2); }
.zone-item b { display: block; }
.zone-item small { color: var(--muted); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: 8px; vertical-align: 1px; }

/* Workout cards */
.wcard { background: var(--surface); border: 1px solid rgba(255,255,255,.05); border-radius: var(--radius); padding: 18px 18px 16px; color: inherit; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, transform .15s; }
.wcard:hover { text-decoration: none; border-color: #3a424b; transform: translateY(-2px); }
.wcard .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wcard .profile { height: 64px; }
.wcard .profile svg { width: 100%; height: 100%; }
.wcard h3 { font-size: 1.08rem; margin: 0; }
.wcard .meta { display: flex; gap: 12px; color: var(--muted); font-size: .88rem; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.tag.free { background: rgba(199,243,107,.14); color: var(--accent); }
.tag.pro { background: rgba(255,255,255,.07); color: #c3c9d1; }
.cat-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; }
.cat-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-right: 8px; box-shadow: 0 0 10px var(--c); }
.diff { display: inline-flex; gap: 2px; align-items: center; }
.diff i { width: 4px; height: 12px; border-radius: 2px; background: #39414a; }
.diff i.on { background: var(--text); }

/* Library filter */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 600 .9rem var(--font); cursor: pointer; display: inline-flex; align-items: center; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip .dot { margin-right: 7px; }
.search { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 12px 16px; border-radius: 999px; font: 1rem var(--font); margin-bottom: 16px; }
.search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.count { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.cat-block { margin-bottom: 56px; }
.cat-block > header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.cat-block > header h2 { font-size: 1.7rem; margin: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }
.price-card { background: var(--surface); border-radius: 24px; padding: 32px; border: 1px solid rgba(255,255,255,.06); }
.price-card.pro { background: linear-gradient(160deg, #222a1a, #181c21 60%); border-color: rgba(199,243,107,.35); box-shadow: 0 0 60px rgba(199,243,107,.08); }
.price-card .price { font-family: var(--font-display); font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 0; }
.price-card .price small { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }

/* Breadcrumbs & page header */
.page-head { padding: 56px 0 24px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-head .lede { font-size: 1.2rem; color: #b4bbc4; max-width: 60ch; }

/* Workout detail */
.profile-card { background: var(--surface); border-radius: 24px; padding: 24px 24px 14px; border: 1px solid rgba(255,255,255,.05); }
.profile-card svg { width: 100%; height: auto; }
.axis { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.06); border-radius: 20px; overflow: hidden; margin: 20px 0; }
.stats div { background: var(--surface); padding: 18px 20px; }
.stats b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; font-stretch: condensed; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.intervals { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: 20px; border: 1px solid rgba(255,255,255,.05); overflow: hidden; }
.intervals li { display: grid; grid-template-columns: 6px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.05); }
.intervals li:first-child { border-top: 0; }
.intervals .bar { width: 4px; height: 34px; border-radius: 2px; background: var(--c); align-self: center; }
.intervals .t { font-weight: 600; }
.intervals .s { color: var(--muted); font-size: .9rem; }
.intervals .d { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.intervals li.rep { background: rgba(199,243,107,.04); }
.intervals li.rep .bar { background: var(--accent); }
.intervals ul { grid-column: 2 / -1; list-style: none; margin: 2px 0 0; padding: 0 0 0 14px; border-left: 2px solid rgba(199,243,107,.25); }
.intervals ul li { padding: 7px 0; border: 0; background: none; }
.intervals ul li .bar { height: 22px; }
.zone-dist { display: grid; gap: 10px; }
.zone-dist .row { display: grid; grid-template-columns: 110px 1fr 56px; gap: 12px; align-items: center; font-size: .92rem; }
.zone-dist .track { height: 10px; background: #252a31; border-radius: 6px; overflow: hidden; }
.zone-dist .fill { height: 100%; background: var(--c); border-radius: 6px; }
.zone-dist .pct { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.aside-card { background: var(--surface); border-radius: 20px; padding: 22px; border: 1px solid rgba(255,255,255,.05); margin-bottom: 20px; }
.aside-card h3 { font-size: 1.05rem; }
.cta-card { background: linear-gradient(160deg, #222a1a, #181c21 70%); border: 1px solid rgba(199,243,107,.3); border-radius: 20px; padding: 24px; margin-bottom: 20px; }
.cta-card p { color: #c3c9d1; font-size: .98rem; }

/* Prose */
.prose { font-size: 1.08rem; color: #d0d5db; }
.prose h2 { font-size: 1.7rem; margin-top: 2em; color: var(--text); }
.prose h3 { margin-top: 1.6em; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.callout { background: var(--surface); border-left: 3px solid var(--accent); border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 1.4em 0; }
.callout .caps { display: block; margin-bottom: 4px; }
.note { color: var(--muted); font-size: .92rem; }
.placeholder { background: rgba(229,193,74,.15); color: #f0d77a; padding: 0 4px; border-radius: 4px; }

/* Weekly plan */
.plan { background: var(--surface); border-radius: 24px; padding: 28px; border: 1px solid rgba(255,255,255,.05); margin-bottom: 28px; }
.plan h2 { font-size: 1.6rem; margin-bottom: .2em; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 20px 0; }
.week .day { background: var(--bg-2); border-radius: 14px; padding: 12px 10px; min-height: 120px; display: flex; flex-direction: column; gap: 6px; font-size: .85rem; }
.week .day.rest { opacity: .55; }
.week .day b { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.week .day a { color: var(--text); font-weight: 700; line-height: 1.25; }
.week .day .role { color: var(--c); font-weight: 700; font-size: .78rem; }
.week .day .bar { height: 4px; border-radius: 2px; background: var(--c); margin-top: auto; box-shadow: 0 0 10px var(--c); }
@media (max-width: 760px) {
  .week { grid-template-columns: 1fr; }
  .week .day { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .week .day.rest { display: none; }
  .week .day .bar { display: none; }
}
.plan-days { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan-days li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; background: var(--bg-2); border-radius: 14px; padding: 14px 16px; }
.plan-days .dname { font-weight: 800; color: var(--muted); }

/* FAQ */
details { background: var(--surface); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.05); }
details summary { cursor: pointer; font-weight: 650; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { color: #b4bbc4; padding-bottom: 16px; }
details > div p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { text-align: center; padding: 96px 0; background: radial-gradient(600px 260px at 50% 100%, rgba(199,243,107,.14), transparent 70%); }
.cta-band img.app-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 24px; box-shadow: 0 20px 50px rgba(199,243,107,.15); }
.cta-band .cta-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: .92rem; background: var(--bg-2); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { color: var(--text); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.site-footer .langs a { margin: 0 2px; }
.site-footer .trademarks { font-size: .78rem; margin: 14px 0 0; opacity: .8; }
.site-footer .bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > div:first-child { grid-column: 1 / -1; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
