@font-face { font-family: Inter; src: url(/fonts/inter-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/JetBrainsMono-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/JetBrainsMono-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

/* The app's own looks (Ink.kt): Light by day, True black at night, one blue light source. Text is 7:1. */
:root {
  color-scheme: light dark;
  --bg: #f6f7f9; --card: #fff; --well: #eceef2; --hover: #e6e9ee; --border: #dfe2e8;
  --text: #121418; --soft: #3d414a; --primary: #0a45ad; --on-primary: #fff; --brand: #0068ff;
  --glow: rgba(0, 104, 255, .10); --stage: #e3e5ea;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: min(1160px, 100% - 40px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000; --card: #0d0d10; --well: #16171b; --hover: #1c1d22; --border: #24252b;
    --text: #fff; --soft: #b6b8c0; --primary: #7aaeff; --on-primary: #04132e;
    --glow: rgba(11, 45, 102, .55); --stage: #0d0d10;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); }
a { color: var(--primary); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--card); color: var(--text); padding: 12px 18px; border-radius: 8px; border: 2px solid var(--primary); }
.skip:focus { top: 16px; }
.wrap { width: var(--wrap); margin-inline: auto; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0; }
img { max-width: 100%; height: auto; }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--text); text-decoration: none; font: 600 1.15rem/1 var(--sans); letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
.bar nav { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.bar nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 8px; color: var(--soft); text-decoration: none; font-size: .95rem; }
.bar nav a:hover { background: var(--hover); color: var(--text); }
.bar nav a.get { background: var(--primary); color: var(--on-primary); margin-left: 6px; font-weight: 600; }
@media (max-width: 760px) { .bar nav .hide-s { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid var(--border); background: var(--card); color: var(--text); }
.btn:hover { background: var(--hover); }
.btn.main { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn svg { width: 20px; height: 20px; }

/* Hero: one light source from the top, the way the icon is lit */
.top { background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--glow), transparent 70%); }
.hero { padding: clamp(36px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero .over { font: 400 .9rem var(--mono); color: var(--soft); margin-bottom: 16px; }
.hero .lead { margin-top: 20px; font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--soft); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.price { margin-top: 18px; color: var(--soft); font-size: .98rem; }
.price b { font: 600 1.3rem var(--sans); color: var(--text); margin-right: 6px; }
.kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; padding: 0; list-style: none; }
.kinds li { font: 400 .8rem var(--mono); color: var(--soft); background: var(--well); border-radius: 6px; padding: 4px 9px; }
.phones { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.phones img:last-child { margin-top: 56px; }
.phone { border-radius: 22px; border: 1px solid var(--border); display: block; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .45); background: var(--stage); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .phones { max-width: 520px; } }

/* Sections */
section { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--border); }
section > .wrap > p.sub { margin-top: 12px; color: var(--soft); max-width: 44em; font-size: 1.1rem; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card h3 svg { width: 22px; height: 22px; color: var(--primary); flex: none; }
.card p { margin-top: 10px; color: var(--soft); }
.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 32px; }
/* 8 cards and 6 screens: columns that divide them evenly at every width, so no row is left half empty. */
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(2, 1fr); } .shots { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } .shots { grid-template-columns: repeat(2, 1fr); } }
.shots figure { margin: 0; }
.shots figcaption { margin-top: 10px; color: var(--soft); font-size: .95rem; }
.steps { margin: 24px 0 0; padding-left: 1.4em; display: grid; gap: 10px; max-width: 44em; }
.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin-top: 28px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--card); }
.promise div { padding: 20px 22px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 0 -1px -1px 0; }
.promise b { display: block; font: 700 1.5rem var(--mono); }
.promise span { color: var(--soft); font-size: .95rem; }
.faq { margin-top: 28px; display: grid; gap: 12px; max-width: 52em; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; font-weight: 600; }
.faq details p { padding: 0 0 18px; color: var(--soft); }

/* Policy pages */
.doc { padding: clamp(32px, 6vw, 72px) 0; }
.doc article { max-width: 46em; }
.doc h2 { font-size: 1.35rem; margin-top: 36px; }
.doc p, .doc li { color: var(--soft); }
.doc p { margin-top: 14px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-top: 8px; }
.doc strong { color: var(--text); }
.eff { font: 400 .9rem var(--mono); }

footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--soft); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px; }
footer nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 10px; color: var(--soft); }
footer a[aria-current] { color: var(--text); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
