/* offlok.org: the window's teal and gold, light and dark following the system. Nothing loaded from elsewhere. */
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f4f7f7;
  --bg-alt: #eaf2f1;
  --surface: #ffffff;
  --surface-2: #f7fbfa;
  --line: #d9e4e3;
  --ink: #142022;
  --ink-soft: #4b6265;
  --ink-faint: #7a8e90;
  --teal: #0f9c8f;
  --teal-strong: #0a7076;
  --teal-soft: #d9f3ef;
  --teal-line: rgb(15 156 143 / 28%);
  --teal-glow: rgb(18 181 166 / 22%);
  --on-teal: #ffffff;
  --grad-a: #12b5a6;
  --grad-b: #0a7076;
  --gold: #f5a012;
  --gold-ink: #8f5600;
  --gold-soft: #fff2d6;
  --orange: #d45a08;
  --orange-soft: #fdebdc;
  --red: #cc3434;
  --red-soft: #fbe1e1;
  --code-bg: #10191a;
  --code-ink: #d6ecea;
  --shadow-sm: 0 1px 2px rgb(20 32 34 / 6%), 0 2px 8px rgb(20 32 34 / 5%);
  --shadow: 0 1px 2px rgb(20 32 34 / 6%), 0 8px 28px rgb(20 32 34 / 8%);
  --shadow-lg: 0 2px 6px rgb(20 32 34 / 6%), 0 24px 60px rgb(10 112 118 / 16%);
  --dots: rgb(10 112 118 / 16%);
  --header-bg: rgb(244 247 247 / 82%);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1314;
    --bg-alt: #0f191a;
    --surface: #142021;
    --surface-2: #111c1d;
    --line: #223739;
    --ink: #e9f1f0;
    --ink-soft: #a0b5b6;
    --ink-faint: #6f8687;
    --teal: #2cc9b8;
    --teal-strong: #6ee7d6;
    --teal-soft: #113634;
    --teal-line: rgb(44 201 184 / 30%);
    --teal-glow: rgb(44 201 184 / 16%);
    --on-teal: #04211e;
    --grad-a: #6ee7d6;
    --grad-b: #2cc9b8;
    --gold-ink: #fed040;
    --gold-soft: #33260c;
    --orange: #f9873a;
    --orange-soft: #3a2414;
    --red: #f06363;
    --red-soft: #3b1a1b;
    --code-bg: #081011;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 30%), 0 2px 8px rgb(0 0 0 / 20%);
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 10px 30px rgb(0 0 0 / 30%);
    --shadow-lg: 0 2px 6px rgb(0 0 0 / 30%), 0 24px 70px rgb(0 0 0 / 45%);
    --dots: rgb(110 231 214 / 10%);
    --header-bg: rgb(12 19 20 / 80%);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0c1314;
  --bg-alt: #0f191a;
  --surface: #142021;
  --surface-2: #111c1d;
  --line: #223739;
  --ink: #e9f1f0;
  --ink-soft: #a0b5b6;
  --ink-faint: #6f8687;
  --teal: #2cc9b8;
  --teal-strong: #6ee7d6;
  --teal-soft: #113634;
  --teal-line: rgb(44 201 184 / 30%);
  --teal-glow: rgb(44 201 184 / 16%);
  --on-teal: #04211e;
  --grad-a: #6ee7d6;
  --grad-b: #2cc9b8;
  --gold-ink: #fed040;
  --gold-soft: #33260c;
  --orange: #f9873a;
  --orange-soft: #3a2414;
  --red: #f06363;
  --red-soft: #3b1a1b;
  --code-bg: #081011;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 30%), 0 2px 8px rgb(0 0 0 / 20%);
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 10px 30px rgb(0 0 0 / 30%);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / 30%), 0 24px 70px rgb(0 0 0 / 45%);
  --dots: rgb(110 231 214 / 10%);
  --header-bg: rgb(12 19 20 / 80%);
  color-scheme: dark;
}

/* Base. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-strong); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
strong, b { font-weight: 650; }
code, kbd, pre { font-family: ui-monospace, "Cascadia Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace; }
code { font-size: 0.88em; padding: 1px 6px; border-radius: 6px; background: var(--teal-soft); color: var(--teal-strong); }
kbd {
  font-size: 0.8em;
  padding: 1px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  background: var(--surface);
  color: var(--ink);
  white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { position: relative; padding: 104px 0; }
.alt { background: var(--bg-alt); }

/* Section heads. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-strong);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fed040, #f5a012);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.head { max-width: 760px; margin-bottom: 56px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { margin: 14px 0 18px; font-size: clamp(32px, 4.2vw, 46px); }
.head .lead { font-size: 19px; color: var(--ink-soft); }
.grad {
  background: linear-gradient(110deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-gold {
  background: linear-gradient(180deg, #fed040, #f5a012);
  color: #2a1a00;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 45%), 0 8px 24px rgb(245 160 18 / 28%);
}
.btn-gold:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 45%), 0 12px 30px rgb(245 160 18 / 38%); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-teal { background: var(--teal); color: var(--on-teal); }
.btn-small { padding: 9px 14px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn .file { font-weight: 500; font-size: 13px; opacity: 0.75; }
.btn-col { flex-direction: column; gap: 2px; }

/* Header. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a, .lang {
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 550;
}
.nav a:hover, .lang:hover { color: var(--ink); background: var(--teal-soft); }
.bar-end { display: flex; align-items: center; gap: 8px; }
.brand + .bar-end { margin-left: auto; }
.lang { border: 1px solid var(--line); font-size: 13.5px; font-weight: 650; letter-spacing: 0.04em; }
.menu { position: relative; display: none; }
.menu summary {
  list-style: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  padding: 8px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.menu-list a { padding: 10px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 550; }
.menu-list a:hover { background: var(--teal-soft); }

/* Hero. */
.hero { padding: 72px 0 112px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(640px 460px at 75% 44%, var(--teal-glow), transparent 70%),
    radial-gradient(360px 260px at 86% 64%, rgb(245 160 18 / 9%), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--dots) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-soft);
}
.pill .tag { padding: 2px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-strong); font-weight: 650; font-size: 12.5px; }
.hero h1 .grad { white-space: nowrap; }
.hero h1 { margin: 22px 0 22px; font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.025em; }
.hero .lead { font-size: 20px; color: var(--ink-soft); max-width: 590px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-faint); font-size: 15px; }
.reassure span { display: inline-flex; align-items: center; gap: 7px; }
.reassure .icon { color: var(--teal); width: 18px; height: 18px; }

.hero-visual { position: relative; width: min(500px, 100%); aspect-ratio: 1; margin: 0 auto; }
/* Each label turns back as much as its orbit turns, so it stays upright. */
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed var(--teal-line); animation: spin 90s linear infinite; }
.orbit.o1 { inset: 9%; }
.orbit.o2 { inset: -3%; animation: spin-back 140s linear infinite; border-style: dotted; }
.tld {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}
.tld span {
  position: absolute;
  translate: -50% -50%;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  animation: spin-back 90s linear infinite;
}
.o2 .tld span { animation: spin 140s linear infinite; color: var(--ink-soft); font-weight: 600; }
.tld span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--gold); vertical-align: 2px; }
/* Places on the orbits, around their own circle: .fr, .org and .com at 0, 120 and 240 degrees; the outer three
   between them. */
.o1 .tld:nth-child(1) { top: 0; left: 50%; }
.o1 .tld:nth-child(2) { top: 75%; left: 93.3%; }
.o1 .tld:nth-child(3) { top: 75%; left: 6.7%; }
.o2 .tld:nth-child(1) { top: 25%; left: 93.3%; }
.o2 .tld:nth-child(2) { top: 100%; left: 50%; }
.o2 .tld:nth-child(3) { top: 25%; left: 6.7%; }
.halo { position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle, var(--teal-glow), transparent 68%); filter: blur(10px); }
.hero-mark {
  position: absolute;
  inset: 21%;
  width: 58%;
  filter: drop-shadow(0 18px 34px rgb(10 112 118 / 30%));
  animation: float 7s ease-in-out infinite;
}
.status-card {
  position: absolute;
  left: -6%;
  bottom: -9%;
  width: min(320px, 74%);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.status-card img { width: 40px; height: 40px; flex: none; }
.chip { display: inline-block; padding: 1px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-strong); font-size: 12px; font-weight: 650; }
.status-card strong { display: block; margin: 4px 0 2px; font-size: 16.5px; line-height: 1.25; }
.status-card p { font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin-back { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* The DNS, explained. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 18px; color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose h2 { color: var(--ink); font-size: clamp(32px, 4.2vw, 46px); margin: -4px 0 2px; }
.prose h3 { color: var(--ink); font-size: 26px; margin-top: 6px; }
.prose .eyebrow { align-self: flex-start; }

.lookup {
  padding: 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.urlbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
}
.urlbar .icon { color: var(--ink-faint); width: 18px; height: 18px; }
.urlbar .caret { width: 2px; height: 18px; margin-left: -6px; background: var(--teal); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bubble { max-width: 86%; display: flex; flex-direction: column; gap: 4px; }
.bubble .who { font-size: 12.5px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); }
.bubble p { padding: 12px 16px; border-radius: 16px; font-size: 16.5px; line-height: 1.4; }
.bubble.ask { align-self: flex-end; text-align: right; }
.bubble.ask p { background: var(--teal); color: var(--on-teal); border-bottom-right-radius: 5px; }
.bubble.answer p { background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink); }
.bubble.answer b { font-family: ui-monospace, "Cascadia Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace; font-size: 0.95em; color: var(--gold-ink); }
.done { display: flex; align-items: center; gap: 10px; padding-top: 6px; color: var(--teal-strong); font-weight: 600; font-size: 15.5px; }
.done .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--teal-soft); }

.who-holds { margin-top: 96px; }
.journal {
  margin: 0;
  padding: 24px 26px 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.journal figcaption { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; margin-bottom: 14px; }
.journal figcaption .icon { color: var(--orange); width: 22px; height: 22px; }
.journal ol { list-style: none; margin: 0; padding: 0; font-family: ui-monospace, "Cascadia Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace; font-size: 15px; }
.journal li { display: flex; gap: 16px; align-items: baseline; padding: 9px 0; border-top: 1px dashed var(--line); }
.journal time { color: var(--ink-faint); flex: none; }
.journal .what { margin-left: auto; padding: 1px 9px; border-radius: 999px; background: var(--orange-soft); color: var(--orange); font-family: "Outfit", system-ui, sans-serif; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.journal .note { margin-top: 12px; font-size: 13.5px; color: var(--ink-faint); }

/* Without and with OffLok. */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.panel.after { border-color: var(--teal-line); box-shadow: var(--shadow-lg), 0 0 0 4px var(--teal-glow); }
.panel h3 { font-size: 22px; margin-top: 10px; }
.tag-before, .tag-after { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 13px; font-weight: 650; }
.tag-before { background: var(--orange-soft); color: var(--orange); }
.tag-after { background: var(--teal-soft); color: var(--teal-strong); }
.flow { display: flex; flex-direction: column; align-items: stretch; }
.node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.3;
}
.node small { display: block; font-weight: 450; color: var(--ink-soft); font-size: 14px; }
.node .ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--bg-alt); color: var(--ink-soft); }
.node .ico .icon { width: 22px; height: 22px; }
.node .ico img { width: 30px; height: 30px; }
.node.watcher { border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); background: color-mix(in srgb, var(--orange-soft) 55%, var(--surface)); }
.node.watcher .ico { background: var(--orange-soft); color: var(--orange); }
.node .eye { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; flex: none; }
.node .eye .icon { width: 19px; height: 19px; }
.link { position: relative; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 14px 58px; }
.link::before { content: ""; position: absolute; left: 35px; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--ink-faint) 0 5px, transparent 5px 10px); opacity: 0.6; }
.link .q { padding: 3px 10px; border-radius: 8px; background: var(--bg-alt); color: var(--ink-soft); font-size: 13.5px; font-family: ui-monospace, "Cascadia Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace; }
.link.empty { min-height: 26px; }
.before .flow { flex: 1; }
.before .link { flex: 1; align-content: center; }

.steps { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 12px; }
.steps::before { content: ""; position: absolute; left: 35px; top: -12px; bottom: 30px; width: 2px; background: linear-gradient(var(--teal), var(--gold)); }
.steps li { position: relative; padding-left: 58px; }
.steps li::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fed040, #f5a012);
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--teal-line);
}
.step { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.step .ask { display: block; font-family: ui-monospace, "Cascadia Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace; font-size: 14px; color: var(--teal-strong); }
.step .to { display: block; margin: 3px 0 6px; font-weight: 650; }
.sees { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-size: 13.5px; font-weight: 550; }
.sees .icon { width: 15px; height: 15px; }
.notes { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; font-size: 15.5px; color: var(--ink-soft); }
.notes li { display: flex; gap: 10px; align-items: flex-start; }
.notes .icon { width: 20px; height: 20px; margin-top: 2px; }
.before .notes .icon { color: var(--orange); }
.after .notes .icon { color: var(--teal); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; }
.feature {
  padding: 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(140deg, var(--teal-soft), color-mix(in srgb, var(--teal-soft) 40%, var(--surface)));
  color: var(--teal-strong);
  border: 1px solid var(--teal-line);
}
.feature .ico .icon { width: 25px; height: 25px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: 16px; }

.honest {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 36px;
  padding: 34px;
  border-radius: 24px;
  border: 1px dashed color-mix(in srgb, var(--ink-faint) 60%, transparent);
  background: var(--surface-2);
}
.honest h3 { font-size: 24px; }
.honest .sub { margin-top: 10px; color: var(--ink-soft); }
.honest ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.honest li { display: flex; gap: 12px; color: var(--ink-soft); font-size: 15.5px; }
.honest li strong { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 2px; }
.honest li > .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--bg-alt); color: var(--ink-soft); margin-top: 1px; }

/* Download. */
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.platform {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.platform-head { display: flex; gap: 16px; align-items: center; }
.platform-head .ico { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 15px; background: var(--teal-soft); color: var(--teal-strong); }
.platform-head .ico .icon { width: 28px; height: 28px; }
.platform-head h3 { font-size: 26px; }
.platform-head p { color: var(--ink-soft); font-size: 15px; line-height: 1.4; margin-top: 3px; }
.yours {
  display: none;
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fed040, #f5a012);
  color: #2a1a00;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
html[data-os="windows"] .platform[data-os="windows"],
html[data-os="linux"] .platform[data-os="linux"],
html[data-os="mac"] .soon[data-os="mac"],
html[data-os="mobile"] .soon[data-os="mobile"] { border-color: var(--teal); box-shadow: var(--shadow-lg), 0 0 0 4px var(--teal-glow); }
html[data-os="windows"] .platform[data-os="windows"] .yours,
html[data-os="linux"] .platform[data-os="linux"] .yours,
html[data-os="mac"] .soon[data-os="mac"] .yours,
html[data-os="mobile"] .soon[data-os="mobile"] .yours { display: block; }
html[data-os="linux"] .platform[data-os="linux"] { order: -1; }

.howto { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 14px; }
.howto > li { min-width: 0; position: relative; padding-left: 42px; color: var(--ink-soft); font-size: 16px; counter-increment: step; }
.howto > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-strong);
  font-weight: 700;
  font-size: 14px;
}
.howto b { color: var(--ink); }
.howto .why { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-faint); }

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 13px; background: var(--bg); border: 1px solid var(--line); }
.tabs button {
  border: 0;
  border-radius: 10px;
  padding: 9px 10px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--teal-strong); box-shadow: var(--shadow-sm); }
.tabs { display: none; }
html.js .tabs { display: grid; }
.tab-panel { display: flex; flex-direction: column; gap: 18px; }
.tab-panel + .tab-panel { padding-top: 22px; border-top: 1px solid var(--line); }
html.js .tab-panel + .tab-panel { padding-top: 0; border-top: 0; }
html.js .tab-panel[hidden] { display: none; }
.tab-title { font-weight: 650; }
html.js .tab-title { display: none; }
.pkgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pkg { text-align: left; align-items: flex-start; }
.btn-row { display: inline-flex; align-items: center; gap: 8px; }

.code {
  position: relative;
  margin: 10px 0 0;
  border-radius: 12px;
  background: var(--code-bg);
  color: var(--code-ink);
  border: 1px solid rgb(255 255 255 / 6%);
  padding-top: 36px;
}
.code::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3b4b4c;
  box-shadow: 15px 0 #3b4b4c, 30px 0 #3b4b4c;
}
.code pre { margin: 0; padding: 4px 16px 14px; overflow-x: auto; font-size: 13.5px; line-height: 1.65; white-space: pre; }
.copy {
  position: absolute;
  top: 5px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 1px solid rgb(255 255 255 / 12%);
  background: rgb(255 255 255 / 6%);
  color: #d6ecea;
  cursor: pointer;
}
.copy:hover { background: rgb(255 255 255 / 12%); }
.copy .icon { width: 16px; height: 16px; }
.copy .ok { display: none; color: #6ee7d6; }
.copy.copied .ok { display: block; }
.copy.copied .copy-ico { display: none; }
.copy { display: none; }
html.js .copy { display: grid; }

.soon-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.soon {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--surface-2);
  border: 1px dashed var(--line);
}
.soon .ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--bg-alt); color: var(--ink-soft); }
.soon .ico .icon { width: 24px; height: 24px; }
.soon h3 { font-size: 19px; }
.soon p { color: var(--ink-soft); font-size: 15px; line-height: 1.45; }
.soon .chip { margin-left: 6px; vertical-align: 3px; background: var(--gold-soft); color: var(--gold-ink); }

.more { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; color: var(--ink-soft); font-size: 16px; }
.verify { width: 100%; max-width: 820px; text-align: left; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.verify summary { padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; align-items: center; gap: 10px; }
.verify summary::-webkit-details-marker { display: none; }
.verify summary .icon { color: var(--teal); }
.verify .body { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; }

/* Every day. */
.daily { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.app-frame {
  position: relative;
  margin: 0 auto;
  width: min(440px, 100%);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--bg);
}
.app-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--bg)); }
.app-frame img { width: 100%; }
.app-caption { text-align: center; margin-top: 14px; color: var(--ink-faint); font-size: 14px; }
.states { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.states li { display: flex; gap: 18px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; transition: background 0.2s; }
.states li:hover { background: var(--surface); }
.states img { width: 48px; height: 48px; flex: none; }
.states strong { display: block; font-size: 18px; margin-bottom: 2px; }
.states p { color: var(--ink-soft); font-size: 16px; }
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.tip { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tip .icon { width: 26px; height: 26px; color: var(--teal); margin-bottom: 10px; }
.tip strong { display: block; margin-bottom: 6px; font-size: 16.5px; line-height: 1.3; }
.tip p { color: var(--ink-soft); font-size: 15px; }

/* History. */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 133px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(var(--teal), var(--teal) 60%, var(--gold));
  opacity: 0.55;
}
.timeline li { display: grid; grid-template-columns: 110px 46px 1fr; align-items: start; padding: 0 0 38px; }
.timeline li:last-child { padding-bottom: 0; }
.year { justify-self: end; padding: 3px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 15px; color: var(--teal-strong); box-shadow: var(--shadow-sm); white-space: nowrap; }
.timeline .dot {
  justify-self: center;
  margin-top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fed040, #f5a012);
  box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px var(--teal-line);
}
.timeline h3 { font-size: 21px; margin: 2px 0 8px; }
.timeline p { color: var(--ink-soft); font-size: 16.5px; }
.timeline li.now .year { background: linear-gradient(180deg, #fed040, #f5a012); color: #2a1a00; border-color: transparent; }
.timeline li.now h3 { color: var(--teal-strong); }

/* Questions. */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 650;
  font-size: 18px;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--teal); width: 22px; height: 22px; transition: transform 0.2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 10px; }

/* Last call. */
.final { padding: 40px 0 112px; }
.final-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 44px 48px;
  border-radius: 28px;
  background:
    radial-gradient(500px 300px at 10% 50%, rgb(110 231 214 / 22%), transparent 70%),
    radial-gradient(400px 300px at 95% 100%, rgb(245 160 18 / 18%), transparent 70%),
    linear-gradient(135deg, #0b3134, #0a1f21);
  color: #e9f1f0;
  box-shadow: var(--shadow-lg);
}
.final-card img { width: 112px; height: 112px; }
.final-card h2 { font-size: clamp(28px, 3.4vw, 38px); }
.final-card p { margin-top: 8px; color: #a9c6c4; font-size: 17.5px; }
.final-card .cta { margin: 0; flex-direction: column; align-items: stretch; }
.final-card .btn-ghost { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 16%); color: #e9f1f0; box-shadow: none; }

/* Footer. */
.site-footer { padding: 64px 0 40px; background: var(--bg-alt); border-top: 1px solid var(--line); font-size: 15.5px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot p { color: var(--ink-soft); margin-top: 12px; max-width: 360px; }
.foot h4 { margin: 4px 0 14px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.foot ul { color: var(--ink-soft); list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot ul a { color: var(--ink-soft); text-decoration: none; }
.foot ul a:hover { color: var(--teal-strong); text-decoration: underline; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--ink-faint); font-size: 14px; }
.foot-bottom a { color: inherit; }

/* The legal notice. */
.legal { max-width: 780px; padding-top: 56px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 14px; color: var(--ink-soft); }
.legal h1 { margin: 10px 0 18px; font-size: clamp(34px, 5vw, 48px); color: var(--ink); }
.legal h2 { margin-top: 22px; font-size: 22px; color: var(--ink); }
.legal strong { color: var(--ink); }
.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.site-footer.slim { padding: 26px 0; }
.site-footer.slim .foot-bottom { margin-top: 0; padding-top: 0; border-top: 0; }

/* Appearing as one scrolls (only with the script, and never with reduced motion). */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js .lookup[data-reveal] > * { opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.5s ease; }
html.js .lookup[data-reveal].in > * { opacity: 1; transform: none; }
html.js .lookup[data-reveal].in > :nth-child(2) { transition-delay: 0.45s; }
html.js .lookup[data-reveal].in > :nth-child(3) { transition-delay: 1.2s; }
html.js .lookup[data-reveal].in > :nth-child(4) { transition-delay: 1.8s; }

/* Printing shows every section, whatever has been scrolled to. */
@media print {
  html.js [data-reveal], html.js .lookup[data-reveal] > * { opacity: 1; transform: none; }
  .site-header { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  html.js [data-reveal], html.js .lookup[data-reveal] > * { opacity: 1; transform: none; transition: none; }
}

/* Narrower screens. */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: block; }
  .bar-end { margin-left: auto; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  section { padding: 80px 0; }
  .hero { padding: 40px 0 88px; }
  .hero-grid, .split, .daily { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { width: min(420px, 100%); }
  .compare, .platforms, .soon-row { grid-template-columns: minmax(0, 1fr); }
  .honest { grid-template-columns: 1fr; gap: 24px; }
  .final-card { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 40px 28px; gap: 22px; }
  .final-card .cta { width: 100%; max-width: 360px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
  .who-holds { margin-top: 72px; }
  .who-holds .journal { order: 1; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .head { margin-bottom: 36px; }
  .head .lead, .hero .lead { font-size: 18px; }
  .brand { font-size: 19px; }
  .bar { gap: 12px; height: 62px; }
  .bar-end .btn { display: none; }
  .hero-visual { width: min(330px, 100%); }
  .o2 .tld { display: none; }
  .tld span { font-size: 13.5px; padding: 4px 10px; }
  .hero-visual { margin-bottom: 120px; }
  .status-card { top: calc(100% + 22px); bottom: auto; left: 0; width: 100%; }
  .features { grid-template-columns: 1fr; }
  .honest ul { grid-template-columns: 1fr; }
  .panel, .platform { padding: 22px 18px; }
  .pkgs { grid-template-columns: 1fr; }
  .lookup { padding: 16px; }
  .journal { padding: 20px 18px; }
  .journal li { flex-wrap: wrap; gap: 4px 12px; }
  .journal .what { margin-left: 0; }
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 16px 1fr; column-gap: 18px; row-gap: 8px; }
  .timeline .dot { grid-column: 1; grid-row: 1 / span 2; margin-top: 6px; }
  .year { grid-column: 2; grid-row: 1; justify-self: start; }
  .timeline li > div { grid-column: 2; grid-row: 2; }
  .tips { grid-template-columns: 1fr; }
  .soon { padding: 18px; }
  .foot { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; padding: 16px 18px; }
  .faq .answer { padding: 0 18px 18px; }
}
