:root {
  color-scheme: light dark;
  --bg: #fbfcfe;
  --bg-soft: #f1f5fb;
  --card: #ffffff;
  --text: #0b1424;
  --muted: #4f5b70;
  --line: #e1e7f0;
  --accent: #0b63e5;
  --button: #0a6cff;
  --shadow: 0 1px 2px rgb(11 20 36 / 6%), 0 14px 36px -16px rgb(11 20 36 / 22%);
  --screen-bg: #f0f3f8;
  --screen-card: #ffffff;
  --screen-text: #0b1424;
  --screen-muted: #687388;
  --ok: #15803d;
  --wire: #b4c6e3;
  --window: #f6f8fc;
  --window-line: #d5dce8;
  --metal: #c3cad6;
  --metal-dark: #a3acbb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070b14;
    --bg-soft: #0c1322;
    --card: #0f1828;
    --text: #edf2fa;
    --muted: #a2adc2;
    --line: #1f2a40;
    --accent: #5ea6ff;
    --button: #2b7fff;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 18px 44px -18px rgb(0 0 0 / 70%);
    --screen-bg: #0d1220;
    --screen-card: #182134;
    --screen-text: #edf2fa;
    --screen-muted: #98a3ba;
    --ok: #4ade80;
    --wire: #2c3c5c;
    --window: #1b2333;
    --window-line: #33405a;
    --metal: #3a4357;
    --metal-dark: #2a3142;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 28px; font-size: .95rem; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 680px) { .nav-links { display: none; } }

/* Hero */
.hero { padding: 80px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
@media (max-width: 1179px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 700px; }
}
h1 { font-size: clamp(2.5rem, 5.2vw, 3.5rem); line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 24px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 33em; margin: 0 0 34px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
}
.btn:hover { text-decoration: none; }
.btn-soon { flex-direction: column; align-items: flex-start; justify-content: center; background: var(--text); color: var(--bg); line-height: 1.2; }
.btn-soon small { font-size: .72rem; font-weight: 500; opacity: .75; }
.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }

/* Hero picture: the phone, wired to a Mac and a Linux machine. Everything has a fixed
   size so the wires (SVG, in stage pixels) meet the phone's cards and the computers. */
.stage { position: relative; z-index: 0; justify-self: center; width: 610px; height: 610px; }
.stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -120px;
  top: -60px;
  width: 540px;
  height: 730px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(10 108 255 / 16%), transparent);
}
.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wires-narrow { display: none; }
.wire { fill: none; stroke: var(--wire); stroke-width: 2; }
/* pathLength="100": a dash of 22% of the wire that starts and ends off the wire. */
.pulse { fill: none; stroke: var(--button); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 22 200; stroke-dashoffset: 30; }
.pulse.glow { stroke-width: 10; opacity: .3; }
.stage .phone { position: absolute; top: 0; left: 0; }
.mac, .linux { position: absolute; left: 370px; width: 240px; }
.mac { top: 40px; }
.linux { top: 296px; }
.computer-name { margin: 10px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
@media (max-width: 699px) {
  .stage { width: 340px; height: 830px; }
  .stage::before { left: -100px; }
  .stage .phone { left: 20px; }
  .wires-wide { display: none; }
  .wires-narrow { display: block; }
  .mac, .linux { top: 676px; transform: scale(.66); transform-origin: 0 0; }
  .mac { left: 4px; }
  .linux { left: 178px; }
  .computer-name { font-size: 1.2rem; }
}
@media (max-width: 379px) { .stage { zoom: .88; } }

/* The phone */
.phone {
  position: relative;
  width: 300px;
  height: 610px;
  padding: 11px;
  border-radius: 52px;
  background: #0a0e18;
  box-shadow: inset 0 0 0 2px #2a3550, 0 50px 90px -30px rgb(10 60 160 / 40%);
}
.island { position: absolute; top: 23px; left: 50%; width: 92px; height: 27px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.screen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 60px 15px 18px;
  border-radius: 42px;
  background: var(--screen-bg);
  color: var(--screen-text);
  font-size: 14px;
  line-height: 1.35;
}
.app-title { margin: 0 4px 2px; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.machine { padding: 14px; border-radius: 18px; background: var(--screen-card); box-shadow: 0 1px 2px rgb(0 0 0 / 6%); }
.machine-head { display: flex; align-items: center; gap: 10px; }
.machine-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--button) 13%, transparent);
  color: var(--button);
}
.machine-icon svg { width: 19px; height: 19px; }
.machine-name { display: block; font-weight: 600; }
.machine-state { display: block; font-size: 12.5px; color: var(--screen-muted); }
.chips { margin-left: auto; justify-items: end; }
.chip { padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgb(217 119 6 / 15%); color: #c26a05; }
.chip-ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.cmd {
  margin: 12px 0 0;
  padding: 9px 11px;
  border-radius: 10px;
  background: #0b1424;
  color: #e6ebf5;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
}
.app-btn { position: relative; display: block; margin-top: 12px; padding: 11px; border-radius: 12px; text-align: center; font-weight: 600; background: var(--button); color: #fff; }
.app-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-btn-row .secondary { background: rgb(120 135 160 / 16%); color: var(--screen-text); }
.done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ok) 13%, transparent);
  color: var(--ok);
  font-weight: 600;
}
.done svg { width: 15px; height: 15px; }
/* A finger's tap on a button */
.tap { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgb(255 255 255 / 60%); opacity: 0; }
/* Two states in one place: the "after" one shows once the computer got the request. */
.swap { display: grid; }
.swap > * { grid-area: 1 / 1; }
.mac-after, .linux-after, .term-out { opacity: 0; }

/* The Mac */
.lid { height: 146px; margin: 0 13px; padding: 7px 7px 9px; border-radius: 12px 12px 0 0; background: #0a0e18; box-shadow: inset 0 0 0 1.5px #2a3550; }
.display { position: relative; height: 100%; overflow: hidden; border-radius: 3px; }
.desktop, .lockscreen {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 80% at 15% 0%, #6db0ff, transparent 70%),
    radial-gradient(80% 90% at 100% 100%, #0d3fc4, transparent 75%),
    linear-gradient(160deg, #2a62e0, #0b2a7a);
}
.menubar { position: absolute; top: 0; right: 0; left: 0; height: 7px; background: rgb(255 255 255 / 32%); }
.window {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 128px;
  height: 80px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 7px 6px, #ff5f57 2px, transparent 2.5px),
    radial-gradient(circle at 14px 6px, #febc2e 2px, transparent 2.5px),
    radial-gradient(circle at 21px 6px, #28c840 2px, transparent 2.5px),
    linear-gradient(var(--window-line), var(--window-line)) 10px 22px / 70px 3px no-repeat,
    linear-gradient(var(--window-line), var(--window-line)) 10px 31px / 94px 3px no-repeat,
    linear-gradient(var(--window-line), var(--window-line)) 10px 40px / 54px 3px no-repeat,
    var(--window);
  box-shadow: 0 8px 18px rgb(0 0 0 / 30%);
}
.dock { position: absolute; bottom: 4px; left: 50%; width: 84px; height: 12px; margin-left: -42px; border-radius: 4px; background: rgb(255 255 255 / 32%); }
.lockscreen { display: flex; flex-direction: column; align-items: center; padding: 12px 0 10px; color: #fff; }
.lock-date { font-size: 7.5px; font-weight: 600; opacity: .85; }
.lock-time { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.lock-user { width: 18px; height: 18px; margin-top: auto; border-radius: 50%; background: rgb(255 255 255 / 45%); }
.lock-field { margin-top: 5px; padding: 1px 9px; border-radius: 999px; background: rgb(255 255 255 / 22%); font-size: 6.5px; }
.base { position: relative; height: 10px; border-radius: 1px 1px 10px 10px; background: var(--metal); }
.base::before { content: ""; position: absolute; top: 0; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 0 0 5px 5px; background: var(--metal-dark); }

/* The Linux machine: Hyprland with a terminal, as on Omarchy */
.monitor { height: 156px; padding: 7px; border-radius: 10px; background: #0a0e18; box-shadow: inset 0 0 0 1.5px #2a3550; }
.linux-screen { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 3px; background: #1a1b26; }
.waybar { display: flex; justify-content: space-between; padding: 2px 7px; color: #565f89; font: 600 7px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.terminal {
  flex: 1;
  margin: 0 5px 5px;
  padding: 5px 7px;
  border: 1.5px solid #7aa2f7;
  border-radius: 4px;
  color: #a9b1d6;
  font: 8.5px/1.45 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.terminal p { margin: 0; }
.prompt { color: #7aa2f7; }
.term-dim { color: #787c99; }
.term-ok { color: #9ece6a; }
.stand { position: relative; width: 34px; height: 24px; margin: 0 auto 7px; background: var(--metal); }
.stand::after { content: ""; position: absolute; top: 100%; left: 50%; width: 104px; height: 7px; margin-left: -52px; border-radius: 6px 6px 2px 2px; background: var(--metal); }

/* One 10 s loop: tap Approve, the approval travels to the workstation and sudo goes on;
   then tap Unlock, it travels to the Mac and the Mac unlocks; hold, then start over. */
@media (prefers-reduced-motion: no-preference) {
  .stage { --loop: 10s; }
  .approve .tap { animation: tap-approve var(--loop) infinite; }
  .approve { animation: press-approve var(--loop) infinite; }
  .to-linux { animation: to-linux var(--loop) ease-in-out infinite; }
  .linux-before { animation: linux-before var(--loop) infinite; }
  .linux-after { animation: linux-after var(--loop) infinite; }
  .term-out { animation: term-out var(--loop) infinite; }
  .term-out + .term-out { animation-delay: .4s; }
  .term-out + .term-out + .term-out { animation-delay: .8s; }
  .unlock .tap { animation: tap-unlock var(--loop) infinite; }
  .unlock { animation: press-unlock var(--loop) infinite; }
  .to-mac { animation: to-mac var(--loop) ease-in-out infinite; }
  .mac-before { animation: mac-before var(--loop) infinite; }
  .mac-after { animation: mac-after var(--loop) infinite; }
  .desktop { animation: desktop var(--loop) infinite; }
}
@keyframes tap-approve { 0%, 8% { opacity: 0; transform: scale(.3); } 9% { opacity: .7; } 13%, 100% { opacity: 0; transform: scale(1.3); } }
@keyframes press-approve { 0%, 9% { transform: none; } 10.5% { transform: scale(.94); } 13%, 100% { transform: none; } }
@keyframes to-linux { 0%, 13% { stroke-dashoffset: 30; } 24%, 100% { stroke-dashoffset: -108; } }
@keyframes linux-before { 0%, 24% { opacity: 1; } 27%, 88% { opacity: 0; } 92%, 100% { opacity: 1; } }
@keyframes linux-after { 0%, 24% { opacity: 0; } 27%, 88% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes term-out { 0%, 24% { opacity: 0; } 24.5%, 88% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes tap-unlock { 0%, 40% { opacity: 0; transform: scale(.3); } 41% { opacity: .7; } 45%, 100% { opacity: 0; transform: scale(1.3); } }
@keyframes press-unlock { 0%, 41% { transform: none; } 42.5% { transform: scale(.97); } 45%, 100% { transform: none; } }
@keyframes to-mac { 0%, 45% { stroke-dashoffset: 30; } 56%, 100% { stroke-dashoffset: -108; } }
@keyframes mac-before { 0%, 56% { opacity: 1; } 61%, 88% { opacity: 0; } 92%, 100% { opacity: 1; } }
@keyframes mac-after { 0%, 56% { opacity: 0; } 59%, 88% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes desktop { 0%, 56% { transform: scale(1.06); } 61%, 92% { transform: none; } 93%, 100% { transform: scale(1.06); } }

/* Sections */
section { padding: 96px 0; }
.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 740px; margin: 0 0 52px; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 14px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.15rem; }
h3 { margin: 0 0 8px; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; }

/* Three columns with a rule on top: the reasons, the steps and the trust points */
.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 860px) { .columns { grid-template-columns: 1fr; gap: 32px; } }
.columns > * { padding-top: 22px; border-top: 2px solid var(--accent); }
.columns p { margin: 0; color: var(--muted); }
.reasons h3 { font-size: 1.3rem; }
.reasons p { font-size: 1.05rem; }

.steps { counter-reset: step; }
.steps li { counter-increment: step; border-top-color: var(--line); }
.steps li::before { content: counter(step); display: block; margin-bottom: 10px; font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--accent); }
.note { margin: 36px 0 0; color: var(--muted); }

/* Two-column lists: the features and the security points */
.list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 760px) { .list { grid-template-columns: 1fr; } }
.list li { padding: 22px 0; border-top: 1px solid var(--line); }
.list p { margin: 0; color: var(--muted); }

/* Trust */
.trust {
  color: #edf2fa;
  background:
    radial-gradient(at 12% 0%, rgb(18 92 235 / 50%) 0%, transparent 55%),
    radial-gradient(at 92% 100%, rgb(10 70 190 / 45%) 0%, transparent 50%),
    #060c1b;
}
.trust .section-head p, .trust .columns p { color: #b5c1d8; }
.trust .columns > * { border-top-color: #4d93ff; }
.trust h3 { font-size: 1.35rem; }
.trust a { color: #8fbaff; }

/* Security */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; margin: 0 0 48px; }
.node { padding: 22px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); text-align: center; }
.node strong { display: block; font-size: 1.05rem; }
.node span { display: block; margin-top: 4px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.node-relay { border-style: dashed; box-shadow: none; background: transparent; }
.arrow { color: var(--accent); font-size: 1.6rem; line-height: 1; text-align: center; }
.arrow .v { display: none; }
@media (max-width: 820px) {
  .flow { grid-template-columns: 1fr; }
  .arrow .h { display: none; }
  .arrow .v { display: inline; }
}

/* FAQ */
.faq { max-width: 780px; }
details { padding: 18px 0; border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; font-size: 1.08rem; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; color: var(--muted); font-size: 1.5rem; font-weight: 400; line-height: 1.1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.site-footer { padding: 44px 0 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.fineprint { margin: 22px 0 0; font-size: .82rem; }

/* Text pages */
.prose { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.prose h1 { font-size: clamp(2.3rem, 5vw, 3.1rem); margin-bottom: 8px; }
.prose h2 { margin: 44px 0 10px; font-size: 1.45rem; letter-spacing: -0.015em; }
.prose p, .prose li { color: var(--muted); }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); }
.updated { margin: 0 0 30px; color: var(--muted); }
.summary-box { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft); }
.summary-box p { margin: 0; color: var(--text); }
