/* Relocker project site. Colours come from the app icons' gradient: cobalt to azure to teal. */
:root {
  --c1: #1849f0;
  --c2: #1163f6;
  --c3: #0482ef;
  --c4: #019dd8;
  --c5: #01b2af;
  --c6: #00b99b;
  --brand: linear-gradient(135deg, var(--c1) 0%, var(--c2) 24%, var(--c3) 50%, var(--c4) 75%, var(--c5) 90%, var(--c6) 100%);
  --brand-soft: linear-gradient(135deg, rgba(24, 73, 240, .12), rgba(1, 178, 175, .12));

  --bg: #f6f9ff;
  --surface: #ffffff;
  --tint: #eef4ff;
  --ink: #0b1633;
  --muted: #4b5a7c;
  --line: #dde5f4;
  --accent: #0d5cf0;
  --code-bg: #0b1633;
  --code-ink: #dbe6ff;
  --shadow: 0 1px 2px rgba(11, 22, 51, .06), 0 12px 32px -12px rgba(11, 22, 51, .18);
  --icon-shadow: 0 24px 48px -16px rgba(17, 99, 246, .55);

  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 18px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #060c1d;
    --surface: #0c1530;
    --tint: #09122a;
    --ink: #e8eeff;
    --muted: #9eadcc;
    --line: #1c2a4c;
    --accent: #5aa2ff;
    --code-bg: #030817;
    --code-ink: #cfdcff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
    --icon-shadow: 0 24px 56px -16px rgba(4, 130, 239, .45);
    --brand-soft: linear-gradient(135deg, rgba(24, 73, 240, .22), rgba(1, 178, 175, .18));
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--c3); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico, .ico-lg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico { width: 18px; height: 18px; }
.ico-lg { width: 24px; height: 24px; }
.ico .fill, .ico-lg .fill { fill: currentColor; stroke: none; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

.skip { position: absolute; left: 16px; top: -48px; padding: 8px 14px; background: var(--surface); color: var(--ink); border-radius: 8px; z-index: 20; }
.skip:focus { top: 12px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { border-radius: 22%; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--ink); background: var(--tint); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px;
  font: 600 16px/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 15px; border-radius: 10px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(17, 99, 246, .7); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(17, 99, 246, .8); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--c3) 45%, var(--line)); }
.btn-light { background: #fff; color: var(--c1); }
.top .btn { margin-left: 8px; }

/* Hero */
.hero { position: relative; padding: 72px 0 24px; isolation: isolate; }
.glow {
  position: absolute; inset: -120px 0 auto; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 46% at 78% 30%, rgba(4, 130, 239, .22), transparent 70%),
    radial-gradient(30% 36% at 92% 8%, rgba(1, 178, 175, .20), transparent 70%),
    radial-gradient(36% 40% at 12% 10%, rgba(24, 73, 240, .14), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 48px; align-items: center; }
.status {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #f2a516; box-shadow: 0 0 0 4px rgba(242, 165, 22, .18); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 750; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--muted); }

.hero-art { position: relative; justify-self: center; width: 280px; aspect-ratio: 1; }
.app-icon { border-radius: 22%; box-shadow: var(--icon-shadow); }
.hero-art .big { width: 240px; height: 240px; }
.hero-art .small { position: absolute; right: -8px; bottom: -14px; width: 124px; height: 124px; outline: 6px solid var(--bg); }

.shot {
  margin: 64px 0 0; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--tint); }
.shot-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.shot-bar em { margin-left: 10px; font-style: normal; font-size: 13px; color: var(--muted); }
.shot img { width: 100%; }

/* Strip */
.strip { margin-top: 56px; border-block: 1px solid var(--line); background: var(--surface); }
.strip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 18px; }
.strip-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 12px 0 0; padding: 0; list-style: none; }
.strip li { padding: 5px 12px; border-radius: 999px; background: var(--tint); font-size: 15px; font-weight: 600; }

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; font-weight: 720; }
.section-head p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  margin-bottom: 14px; font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content;
}

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card .ico-lg { box-sizing: content-box; padding: 10px; border-radius: 12px; background: var(--brand-soft); color: var(--accent); }
.card h3 { margin-top: 18px; font-size: 1.12rem; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* Key flow */
.flow {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.flow-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.flow-server { padding: 18px; border-radius: 14px; background: var(--tint); border: 1px dashed var(--line); }
.flow-title { font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chip { display: inline-block; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: 15px; }
.chip-key { background: var(--brand); color: #fff; border-color: transparent; }
.chip-dim { background: var(--surface); color: var(--muted); font-weight: 500; }
.op { padding-left: 14px; border-left: 2px solid var(--line); font-size: 13.5px; color: var(--muted); }
.flow-arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--accent); font-size: 12px; font-weight: 700; white-space: nowrap; }
.flow-arrow .ico { width: 26px; height: 26px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 16px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px;
}
.steps h3 { font-size: 1.1rem; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* Apps */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.app { display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.app h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.app-sub { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.ticks { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--brand); }
.ticks strong { color: var(--ink); font-weight: 650; }

/* Hosting */
.hosts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.host { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.host h3 { font-size: 1.35rem; }
.host dl { margin: 16px 0 20px; display: grid; }
.host dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.host dt { color: var(--muted); }
.host dd { margin: 0; font-weight: 600; text-align: right; }
pre { margin: auto 0 0; padding: 18px 20px; border-radius: 12px; background: var(--code-bg); color: var(--code-ink); overflow-x: auto; font: 14px/1.7 var(--mono); }
.note { margin-top: 24px; color: var(--muted); max-width: 760px; }

/* Security */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: start; }
.ledger { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.ledger-col { padding: 26px; }
.ledger-col + .ledger-col { border-left: 1px solid var(--line); }
.ledger h3 { font-size: 1rem; letter-spacing: 0; }
.ledger ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ledger li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--muted); }
.ledger li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--tint); border: 1.5px solid var(--line); }
.never { background: var(--brand-soft); }
.never li::before { background: var(--brand); border-color: transparent; }
.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.facts li { color: var(--muted); font-size: 16px; }
.facts strong { color: var(--ink); }

.callout {
  display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 24px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid color-mix(in srgb, #f2a516 45%, var(--line));
}
.callout .ico-lg { color: #d98e00; margin-top: 2px; }
.callout h3 { font-size: 1.08rem; }
.callout p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--tint); color: var(--accent); font-size: 20px; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* Closing band */
.cta { background: var(--brand); color: #fff; }
.cta-row { display: flex; align-items: center; gap: 28px; padding-block: 56px; }
.cta .app-icon { box-shadow: 0 16px 32px -12px rgba(3, 20, 70, .55); outline: 2px solid rgba(255, 255, 255, .35); }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.025em; }
.cta p { margin-top: 6px; opacity: .9; }
.cta .btn { margin-left: auto; }

/* Footer */
.foot { padding: 36px 0 44px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot p { color: var(--muted); font-size: 14px; }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.foot nav a:hover { color: var(--ink); }

/* Narrower screens */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; justify-self: start; width: 180px; }
  .hero-art .big { width: 150px; height: 150px; }
  .hero-art .small { width: 80px; height: 80px; right: 4px; bottom: 4px; outline-width: 4px; }
  .flow { grid-template-columns: 1fr; justify-items: start; }
  .flow-arrow { flex-direction: row; }
  .flow-arrow .ico { transform: rotate(90deg); }
  .flow-server { width: 100%; }
  .steps, .apps, .hosts, .split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .section { padding: 72px 0; }
  .ledger { grid-template-columns: 1fr; }
  .ledger-col + .ledger-col { border-left: 0; border-top: 1px solid var(--line); }
  .cta-row { flex-wrap: wrap; }
  .cta .btn { margin-left: 0; }
  .foot nav { margin-left: 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .hero { padding-top: 40px; }
  .actions .btn { flex: 1 1 100%; }
  .app { grid-template-columns: 1fr; padding: 24px; }
  .app .app-icon { width: 64px; height: 64px; }
  .card, .host, .ledger-col { padding: 22px; }
  .flow { padding: 20px; }
}
