/* Fonts: self-hosted variable woff2. Latin + latin-ext (Estonian š/ž live in latin-ext). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-tight-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-tight-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0a0a0a;
  --ink-2: #555555;
  --ink-3: #6b6b6b;
  --line: #ececec;
  --navy: #0f2a4a;
  --bg: #ffffff;
  --pad: clamp(20px, 5vw, 48px);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: var(--pad); top: -100px; z-index: 10; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip:focus { top: 12px; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--pad); border-bottom: 1px solid var(--line); font-size: 14px; }
.brand { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: var(--ink-2); text-decoration: none; }
.main-nav a:hover { color: var(--ink); }
.lang { color: var(--ink-3); white-space: nowrap; }
.lang a { color: var(--ink-3); text-decoration: none; padding: 4px 2px; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; padding: clamp(56px, 10vw, 112px) var(--pad) clamp(48px, 8vw, 88px); }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; overflow-wrap: break-word; }
.hero-side p { color: var(--ink-2); font-size: 17px; }
.link-cta { display: inline-block; margin-top: 20px; font-weight: 600; font-size: 14px; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--navy); padding-bottom: 3px; }

/* Numbered rows */
.row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 48px var(--pad); border-top: 1px solid var(--line); }
.row-label { font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: 0.01em; padding-top: 6px; }
.section-title, .statement { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.02em; max-width: 26ch; overflow-wrap: break-word; }
.statement { max-width: 34ch; }
.text-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid currentColor; }

/* 01 Company */
.company { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.founder { display: flex; gap: 16px; align-items: center; }
.avatar { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; }
.founder-name { font-weight: 600; }
.founder-role { color: var(--ink-2); font-size: 14px; }
.founder .text-link { margin-top: 4px; }

/* 02 Ludocca */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.app-icon { width: 64px; height: 64px; border-radius: 15px; }
.product h3 { font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin: 16px 0 8px; }
.product-intro > p { color: var(--ink-2); max-width: 46ch; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin: 20px 0 4px; }
.badges img { height: 40px; width: auto; }
.badges img.play { height: 58px; margin: -9px 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; align-self: start; border-top: 1px solid var(--ink); }
.facts div { display: flex; flex-direction: column-reverse; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.facts dd { font-family: var(--display); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.facts dt { font-size: 13px; color: var(--ink-3); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 720px; margin-top: 40px; }
.shots img { border-radius: 18px; border: 1px solid var(--line); }

/* 03 Roadmap */
.road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.road li { border-top: 2px solid #d4d4d4; padding-top: 14px; font-size: 14px; color: var(--ink-2); }
.road li.done { border-top-color: var(--navy); }
.road .when { margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.road li.done .when { color: var(--navy); }

/* 04 Technology */
.tech { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; margin-top: 28px; }
.tech li { padding: 16px 0; border-top: 1px solid var(--line); }
.tech h4 { margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.tech p { font-size: 14px; color: var(--ink-2); }

/* 05 Contact */
.contact > p { margin-top: 8px; color: var(--ink-2); }
.email { display: inline-block; margin-top: 16px; font-family: var(--display); font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: -0.02em; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--navy); overflow-wrap: anywhere; }
.legal { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px 32px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.legal dt { font-size: 12px; color: var(--ink-3); }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; align-items: center; padding: 28px var(--pad); background: var(--ink); color: #a3a3a3; font-size: 13px; }
.footer-brand { color: #fff; font-weight: 500; }
.site-footer .lang a { color: #a3a3a3; }
.site-footer .lang a[aria-current="page"], .site-footer .lang a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .hero, .product, .company { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .row { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 40px; }
  .road { grid-template-columns: minmax(0, 1fr); }
  .shots { gap: 10px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
