/* BitKoine website. Colours and type follow the app. */
@font-face { font-family: Figtree; src: url(fonts/Figtree-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Figtree; src: url(fonts/Figtree-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Figtree; src: url(fonts/Figtree-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Gentium; src: url(fonts/GentiumBookPlus-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Gentium; src: url(fonts/GentiumBookPlus-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --sunk: #eceef2;
  --ink: #1b2330;
  --ink2: #3d4757;
  --muted: #6b7484;
  --line: #dde1e7;
  --accent: #1d6b5f;
  --accent-ink: #ffffff;
  --accent-soft: #ddeee9;
  --gold: #9a6a12;
  --gold-soft: #f6ead2;
  --shadow: 0 18px 50px rgba(20, 35, 50, 0.16);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181d;
    --surface: #1b2027;
    --sunk: #232a33;
    --ink: #eef1f5;
    --ink2: #c7ced8;
    --muted: #8c96a4;
    --line: #2e3640;
    --accent: #62c3b1;
    --accent-ink: #0f1d1a;
    --accent-soft: #1f3833;
    --gold: #e0b45c;
    --gold-soft: #3a3020;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 Figtree, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.greek { font-family: Gentium, 'Gentium Book Plus', serif; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; }
.mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 22px/1 Gentium, serif; }
nav.links { display: flex; gap: 18px; margin-left: auto; align-items: center; }
nav.links a { color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 15px; }
nav.links a:hover { color: var(--accent); }
.langs { display: flex; gap: 2px; background: var(--sunk); border-radius: 99px; padding: 3px; }
.langs a { padding: 3px 10px; border-radius: 99px; font-size: 14px; }
.langs a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.secondary { color: var(--ink2); border: 1px solid var(--line); background: var(--surface); }
.btn.small { padding: 8px 14px; font-size: 15px; border-radius: 10px; }
@media (max-width: 720px) { nav.links .hide-narrow { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.uncial { position: absolute; inset: 0; font: 34px/1.35 Gentium, serif; letter-spacing: 6px; color: var(--ink); opacity: 0.05; word-break: break-all; pointer-events: none; user-select: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.badge { display: inline-block; margin: 0 0 16px; padding: 5px 14px; border-radius: 99px; background: var(--gold-soft); color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.hero h1 { font: 700 clamp(34px, 5.2vw, 56px)/1.08 Gentium, serif; margin: 0 0 18px; letter-spacing: -0.5px; }
.hero h1 .greek { color: var(--accent); }
.hero p.lede { font-size: 19px; color: var(--ink2); margin: 0 0 26px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.soon { font-size: 14px; color: var(--muted); margin-top: 14px; }
.phone { justify-self: center; width: min(330px, 80vw); border-radius: 38px; padding: 10px; background: #0d1117; box-shadow: var(--shadow); }
.phone img { border-radius: 30px; width: 100%; height: auto; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 36px; } }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font: 700 clamp(26px, 3.6vw, 36px)/1.2 Gentium, serif; margin: 0 0 12px; }
.sub { color: var(--ink2); max-width: 44em; margin: 0 0 32px; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.6px; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 8px; }

/* Coverage */
.bars { display: grid; gap: 12px; max-width: 620px; }
.bar { display: grid; grid-template-columns: 110px 1fr 56px; gap: 12px; align-items: center; }
.bar .n { font-weight: 700; text-align: right; color: var(--ink2); }
.bar .track { display: block; height: 18px; border-radius: 9px; background: var(--sunk); overflow: hidden; }
.bar .fill { display: block; height: 100%; background: var(--accent); border-radius: 9px; }
.bar .pct { color: var(--muted); font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: step; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
section:not(.alt) .step { background: var(--surface); }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step h3::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 15px; }
.step p { margin: 0; color: var(--ink2); font-size: 16px; }

/* Features with screenshots */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.feature:last-child { margin-bottom: 0; }
.feature:nth-child(even) .shot { order: -1; }
.feature h3 { font: 700 26px/1.25 Gentium, serif; margin: 0 0 10px; }
.feature p { color: var(--ink2); margin: 0 0 10px; }
.feature ul { color: var(--ink2); padding-left: 20px; margin: 0; }
.shot { justify-self: center; width: min(300px, 78vw); border-radius: 30px; padding: 8px; background: #0d1117; box-shadow: var(--shadow); }
.shot img { border-radius: 23px; width: 100%; height: auto; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; gap: 24px; } .feature:nth-child(even) .shot { order: 0; } }

/* Small cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--surface); }
section.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--ink2); font-size: 15.5px; }

/* Languages */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.chip.later { background: var(--sunk); color: var(--muted); font-weight: 600; }

/* Credits and legal text */
.credits { font-size: 15px; color: var(--ink2); }
.credits li { margin-bottom: 6px; }
.legal { max-width: 760px; padding-top: 40px; padding-bottom: 60px; }
.legal h1 { font: 700 clamp(30px, 4.4vw, 42px)/1.15 Gentium, serif; margin: 0 0 6px; }
.legal h2 { font-size: 24px; margin-top: 34px; }
.legal p, .legal li { color: var(--ink2); }
.legal .updated { color: var(--muted); margin-bottom: 28px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
footer a { color: var(--ink2); }
footer .spacer { flex: 1; }

/* Language suggestion */
.suggest { display: none; background: var(--gold-soft); color: var(--ink); font-size: 15px; }
.suggest .wrap { padding-top: 10px; padding-bottom: 10px; }
.suggest.show { display: block; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
