/* ozufit.com — same look as the Fitnance landing (projects/fitnance/frontend/src/landing/landing.css):
   Elms Sans / Inter, warm canvas, black hero band with a white center glow, mint as the only brand color,
   flat bright green CTA, fixed frosted nav. Locked taste: knowledge/shared/design-taste.md. */
:root {
  --oz-font-display: 'Elms Sans', system-ui, sans-serif;
  --oz-font-text: 'Inter', system-ui, sans-serif;
  --oz-canvas: #faf9f5;
  --oz-surface: #ffffff;
  --oz-ink: #141413;
  --oz-text-secondary: #535461;
  --oz-text-tertiary: #70707d;
  --oz-mint: #3dbe8b;
  --oz-lead-50: #f1fbf6;
  --oz-lead-100: #dcf5e9;
  --oz-lead-200: #bdecd6;
  --oz-lead-700: #17704d;
  --oz-cta: #4ade80;
  --oz-cta-hover: #86efac;
  --oz-cta-ink: #052e16;
  --oz-hero-center: #f4f4f2;
  --oz-hero-mid: #5b5b59;
  --oz-hero-edge: #0b0b0b;
  --oz-ink-copy: color-mix(in srgb, var(--oz-canvas) 72%, transparent);
  --oz-hairline: color-mix(in srgb, var(--oz-ink) 8%, transparent);
  --oz-edge: oklch(0.869 0.005 56.366);
  --oz-focus-color: var(--oz-lead-700);
  --oz-ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --oz-space-4: 4px;
  --oz-space-6: 6px;
  --oz-space-8: 8px;
  --oz-space-12: 12px;
  --oz-space-16: 16px;
  --oz-space-20: 20px;
  --oz-space-24: 24px;
  --oz-space-32: 32px;
  --oz-space-40: 40px;
  --oz-space-48: 48px;
  --oz-space-64: 64px;
  --oz-radius-md: 8px;
  --oz-radius-lg: 12px;
  --oz-radius-xl: 24px;
  --oz-pill: 999px;

  --oz-size-xs: 11px;
  --oz-size-sm: 12px;
  --oz-size-body: 14px;
  --oz-size-md: 16px;
  --oz-size-copy: 18px;
  --oz-size-subheading: 21px;
  --oz-size-small-heading: 32px;
  --oz-size-heading: 49px;
  --oz-size-display: 65px;
  --oz-weight-regular: 400;
  --oz-weight-medium: 500;
  --oz-tracking: -0.02em;
  --oz-label-tracking: 0.02em;

  --oz-max-width: 1200px;
  --oz-wide-width: 1600px;
  --oz-prose-width: 720px;
  --oz-nav-height: 80px;
  --oz-section-space: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--oz-nav-height) + var(--oz-space-8)); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body { margin: 0; background: var(--oz-canvas); color: var(--oz-ink); font-family: var(--oz-font-text); font-size: var(--oz-size-md); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body::after { content: ''; position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--oz-font-display); font-weight: var(--oz-weight-medium); letter-spacing: var(--oz-tracking); line-height: 1.1; text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--oz-focus-color); outline-offset: var(--oz-space-4); border-radius: var(--oz-space-4); }

.oz-container { width: min(var(--oz-max-width), calc(100% - var(--oz-space-64))); margin-inline: auto; }
.oz-wide { width: min(var(--oz-wide-width), calc(100% - var(--oz-space-64))); margin-inline: auto; }
.oz-skip-link { position: absolute; left: var(--oz-space-16); top: var(--oz-space-16); z-index: 10; padding: var(--oz-space-8) var(--oz-space-16); border-radius: var(--oz-radius-md); background: var(--oz-ink); color: var(--oz-canvas); transform: translateY(-200%); }
.oz-skip-link:focus { transform: none; }
.oz-wordmark { font-family: var(--oz-font-display); font-size: var(--oz-size-small-heading); font-weight: var(--oz-weight-medium); letter-spacing: var(--oz-tracking); line-height: 1.2; }
.oz-brand-dot { color: var(--oz-lead-700); }
.oz-eyebrow { display: flex; align-items: center; gap: var(--oz-space-8); font-size: var(--oz-size-sm); font-weight: var(--oz-weight-medium); letter-spacing: var(--oz-label-tracking); color: var(--oz-text-secondary); }

/* Nav: transparent at the top, a frosted bar edge to edge once scrolled; tone follows the band behind it. */
.oz-scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: var(--oz-space-16); pointer-events: none; }
.oz-nav { position: fixed; z-index: 4; inset: 0 0 auto; min-height: var(--oz-nav-height); display: flex; align-items: center; color: var(--oz-ink); transition: color 300ms var(--oz-ease-out); }
.oz-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--oz-space-32); }
.oz-nav::before, .oz-nav::after { content: ''; position: absolute; z-index: -1; inset: 0; opacity: 0; pointer-events: none; transition: opacity 300ms var(--oz-ease-out); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); }
.oz-nav::before { background: rgb(11 11 11 / 0.28); box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.08); }
.oz-nav::after { background: rgb(255 255 255 / 0.5); box-shadow: inset 0 -1px 0 var(--oz-hairline); }
.oz-nav[data-scrolled="true"][data-tone="dark"]::before, .oz-nav[data-scrolled="true"][data-tone="light"]::after { opacity: 1; }
.oz-nav[data-tone="dark"] { color: var(--oz-canvas); --oz-focus-color: var(--oz-lead-200); }
.oz-nav[data-tone="dark"] .oz-brand-dot { color: var(--oz-lead-200); }
.oz-nav nav { display: flex; gap: var(--oz-space-8); font-size: var(--oz-size-body); font-weight: var(--oz-weight-medium); }
.oz-nav nav a { padding: var(--oz-space-8) var(--oz-space-12); border-radius: var(--oz-radius-md); transition: background-color 200ms var(--oz-ease-out); }
.oz-nav nav a:hover { background: color-mix(in srgb, currentColor 8%, transparent); }

/* Buttons */
.oz-button { display: inline-flex; align-items: center; gap: var(--oz-space-8); padding: var(--oz-space-12) var(--oz-space-20); border-radius: var(--oz-radius-md); background: var(--oz-cta); color: var(--oz-cta-ink); font-size: var(--oz-size-body); font-weight: var(--oz-weight-medium); line-height: 20px; transition: background-color 160ms ease, transform 160ms var(--oz-ease-out); }
.oz-button:hover { background: var(--oz-cta-hover); }
.oz-button:active { transform: scale(0.97); }
.oz-arrow { width: 16px; height: 16px; flex: none; transition: transform 200ms var(--oz-ease-out); }

/* Hero band: black with a white glow from the center; light text. */
.oz-hero-band { position: relative; isolation: isolate; overflow: clip; padding-top: var(--oz-nav-height); background: radial-gradient(ellipse 70% 75% at 60% 45%, var(--oz-hero-center) 0%, var(--oz-hero-mid) 45%, var(--oz-hero-edge) 100%); color: var(--oz-canvas); --oz-focus-color: var(--oz-lead-200); }
.oz-hero-band::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse 45% 50% at 60% 45%, rgb(255 255 255 / 0.18), transparent 70%); }
.oz-hero { min-height: min(760px, calc(100svh - var(--oz-nav-height))); display: flex; flex-direction: column; justify-content: center; padding-block: var(--oz-space-64) calc(var(--oz-space-64) * 1.5); }
.oz-hero .oz-eyebrow { color: var(--oz-ink-copy); font-size: var(--oz-size-xs); }
.oz-live-dot { flex: 0 0 var(--oz-space-6); height: var(--oz-space-6); border-radius: var(--oz-pill); background: var(--oz-lead-200); position: relative; }
.oz-live-dot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: inherit; }
.oz-hero h1 { margin-top: var(--oz-space-24); max-width: 22ch; font-size: var(--oz-size-display); }
.oz-hero h1 span { color: var(--oz-lead-200); }
.oz-hero-copy { margin-top: var(--oz-space-24); max-width: 40ch; font-size: var(--oz-size-copy); color: var(--oz-ink-copy); }
.oz-hero-actions { margin-top: var(--oz-space-40); display: flex; flex-wrap: wrap; gap: var(--oz-space-12); }

/* Section rhythm */
.oz-section { padding-block: var(--oz-section-space); }
.oz-section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--oz-space-24); margin-bottom: var(--oz-space-48); }
.oz-section-heading h2 { margin-top: var(--oz-space-16); font-size: var(--oz-size-heading); }
.oz-section-heading h2 span { background: linear-gradient(transparent 80%, var(--oz-mint) 80%, var(--oz-mint) 88%, transparent 88%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: 0.06em; }
.oz-section-heading > p { max-width: 36ch; color: var(--oz-text-secondary); }

/* Product cards: white panels, hairline edge, small mint accents only. */
.oz-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--oz-space-24); }
.oz-product { position: relative; display: flex; flex-direction: column; gap: var(--oz-space-20); min-height: 360px; padding: var(--oz-space-40); border-radius: var(--oz-radius-xl); background: var(--oz-surface); box-shadow: 0 0 0 1px var(--oz-hairline), 0 1px 2px rgb(20 20 19 / 0.04), 0 12px 32px -12px rgb(20 20 19 / 0.12); transition: transform 300ms var(--oz-ease-out), box-shadow 300ms var(--oz-ease-out); }
.oz-product-top { display: flex; align-items: center; justify-content: space-between; gap: var(--oz-space-16); }
.oz-product .oz-wordmark { font-size: 40px; }
.oz-status { display: inline-flex; align-items: center; gap: var(--oz-space-6); padding: var(--oz-space-4) var(--oz-space-12); border-radius: var(--oz-pill); background: var(--oz-lead-50); color: var(--oz-lead-700); font-size: var(--oz-size-sm); font-weight: var(--oz-weight-medium); white-space: nowrap; }
.oz-status::before { content: ''; width: var(--oz-space-6); height: var(--oz-space-6); border-radius: var(--oz-pill); background: var(--oz-mint); }
.oz-product h3 { font-size: var(--oz-size-subheading); line-height: 1.3; max-width: 28ch; }
.oz-product p { color: var(--oz-text-secondary); max-width: 46ch; }
.oz-product-for { margin-top: auto; padding-top: var(--oz-space-20); border-top: 1px solid var(--oz-hairline); font-size: var(--oz-size-body); color: var(--oz-text-tertiary); }
.oz-product-link { display: inline-flex; align-items: center; gap: var(--oz-space-8); font-size: var(--oz-size-body); font-weight: var(--oz-weight-medium); }
.oz-product-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.oz-product:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--oz-hairline), 0 2px 4px rgb(20 20 19 / 0.04), 0 24px 48px -16px rgb(20 20 19 / 0.18); }
.oz-product:hover .oz-arrow { transform: translateX(4px); }
.oz-product:has(.oz-product-link:focus-visible) { outline: 2px solid var(--oz-focus-color); outline-offset: var(--oz-space-4); }
.oz-product-link:focus-visible { outline: none; }

/* Legal pages: readable prose column on the canvas. */
.oz-doc { padding-top: calc(var(--oz-nav-height) + var(--oz-space-64)); padding-bottom: var(--oz-section-space); }
.oz-prose { width: min(var(--oz-prose-width), calc(100% - var(--oz-space-64))); margin-inline: auto; }
.oz-prose h1 { margin-top: var(--oz-space-16); font-size: var(--oz-size-heading); }
.oz-updated { margin-top: var(--oz-space-16); font-size: var(--oz-size-body); color: var(--oz-text-tertiary); }
.oz-lede { margin-top: var(--oz-space-32); font-size: var(--oz-size-copy); color: var(--oz-text-secondary); }
.oz-prose h2 { margin-top: var(--oz-space-64); padding-top: var(--oz-space-24); border-top: 1px solid var(--oz-hairline); font-size: var(--oz-size-subheading); line-height: 1.3; }
.oz-prose h3 { margin-top: var(--oz-space-32); font-family: var(--oz-font-text); font-size: var(--oz-size-md); font-weight: 600; letter-spacing: 0; }
.oz-prose p, .oz-prose ul, .oz-prose ol { margin-top: var(--oz-space-16); color: var(--oz-text-secondary); }
.oz-prose ul, .oz-prose ol { padding-left: var(--oz-space-24); }
.oz-prose li + li { margin-top: var(--oz-space-8); }
.oz-prose li::marker { color: var(--oz-mint); }
.oz-prose strong { color: var(--oz-ink); font-weight: var(--oz-weight-medium); }
.oz-prose a:not(.oz-button) { color: var(--oz-lead-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.oz-callout { margin-top: var(--oz-space-24); padding: var(--oz-space-24); border-radius: var(--oz-radius-lg); background: var(--oz-surface); box-shadow: 0 0 0 1px var(--oz-hairline); }
.oz-callout p:first-child { margin-top: 0; }
.oz-identity { margin-top: var(--oz-space-16); display: grid; grid-template-columns: max-content 1fr; gap: var(--oz-space-8) var(--oz-space-24); color: var(--oz-text-secondary); }
.oz-identity dt { color: var(--oz-text-tertiary); font-size: var(--oz-size-body); }
.oz-identity dd { margin: 0; color: var(--oz-ink); }

/* Placeholder page (Hana) */
.oz-placeholder .oz-hero { min-height: min(640px, calc(100svh - var(--oz-nav-height))); }
.oz-placeholder-note { margin-top: var(--oz-space-32); font-size: var(--oz-size-body); color: var(--oz-ink-copy); }

/* Footer */
.oz-footer { padding-block: var(--oz-space-64) var(--oz-space-48); border-top: 1px solid var(--oz-hairline); }
.oz-footer-inner { display: grid; grid-template-columns: 1fr auto; gap: var(--oz-space-32) var(--oz-space-48); }
.oz-footer-brand p { margin-top: var(--oz-space-8); color: var(--oz-text-secondary); font-size: var(--oz-size-body); }
.oz-footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: var(--oz-space-8) var(--oz-space-24); font-size: var(--oz-size-body); }
.oz-footer-links a:hover { text-decoration: underline; text-underline-offset: var(--oz-space-4); }
.oz-legal-id { grid-column: 1 / -1; padding-top: var(--oz-space-24); border-top: 1px solid var(--oz-hairline); font-size: var(--oz-size-sm); color: var(--oz-text-tertiary); }

@media (max-width: 900px) {
  :root { --oz-size-display: 44px; --oz-size-heading: 36px; --oz-section-space: 80px; --oz-nav-height: 64px; }
  .oz-container, .oz-wide, .oz-prose { width: calc(100% - var(--oz-space-32)); }
  .oz-wordmark { font-size: 26px; }
  /* The glow sits low and right on phones so it never washes out the headline. */
  .oz-hero-band { background: radial-gradient(ellipse 90% 45% at 75% 92%, var(--oz-hero-center) 0%, var(--oz-hero-mid) 45%, var(--oz-hero-edge) 100%); }
  .oz-hero-band::before { background: radial-gradient(ellipse 60% 30% at 75% 92%, rgb(255 255 255 / 0.18), transparent 70%); }
  .oz-products { grid-template-columns: 1fr; }
  .oz-product { min-height: 0; padding: var(--oz-space-24); }
  .oz-product .oz-wordmark { font-size: 32px; }
  .oz-footer-inner { grid-template-columns: 1fr; }
  .oz-identity { grid-template-columns: 1fr; gap: var(--oz-space-4); }
  .oz-identity dd + dt { margin-top: var(--oz-space-12); }
}

@media (max-width: 30rem) {
  :root { --oz-size-display: 38px; --oz-size-heading: 32px; }
}

/* Motion: transform/opacity only; nothing moves under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .oz-hero > * { animation: oz-rise 800ms var(--oz-ease-out) backwards; }
  .oz-hero > :nth-child(2) { animation-delay: 80ms; }
  .oz-hero > :nth-child(3) { animation-delay: 160ms; }
  .oz-hero > :nth-child(4) { animation-delay: 240ms; }
  .oz-hero-band::before { animation: oz-glow-breathe 8s ease-in-out infinite alternate; }
  .oz-live-dot::after { animation: oz-dot-pulse 2.4s var(--oz-ease-out) infinite; }
  .oz-nav-inner > * { animation: oz-drop 600ms var(--oz-ease-out) backwards; }
  .oz-nav-inner > :nth-child(2) { animation-delay: 60ms; }
  .oz-product { animation: oz-rise 800ms var(--oz-ease-out) backwards; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  .oz-doc .oz-prose > :nth-child(-n+4) { animation: oz-rise 700ms var(--oz-ease-out) backwards; }
  .oz-doc .oz-prose > :nth-child(2) { animation-delay: 60ms; }
  .oz-doc .oz-prose > :nth-child(3) { animation-delay: 120ms; }
  .oz-doc .oz-prose > :nth-child(4) { animation-delay: 180ms; }
}
@keyframes oz-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes oz-drop { from { opacity: 0; transform: translateY(-8px); } }
@keyframes oz-glow-breathe { from { opacity: 0.6; transform: scale(0.96); } to { opacity: 1; transform: scale(1.04); } }
@keyframes oz-dot-pulse { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(3); } }

/* Legal tables */
.oz-table { margin-top: var(--oz-space-16); overflow-x: auto; border-radius: var(--oz-radius-lg); background: var(--oz-surface); box-shadow: 0 0 0 1px var(--oz-hairline); }
.oz-table table { width: 100%; border-collapse: collapse; font-size: var(--oz-size-body); }
.oz-table :is(th, td) { padding: var(--oz-space-12) var(--oz-space-16); text-align: left; vertical-align: top; }
.oz-table th { color: var(--oz-text-tertiary); font-weight: var(--oz-weight-medium); }
.oz-table td { border-top: 1px solid var(--oz-hairline); color: var(--oz-text-secondary); }
.oz-table td:first-child { color: var(--oz-ink); }
