/* Lockar — site styles
   Layout: one centered column (max 1120px) of full-bleed bands; editorial serif headlines,
   clean sans body, mono for technical facts. Deliberately dark: navy and brass, like the app. */

@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --vault: #0A101C;       /* page background */
  --navy: #0F1726;        /* app navy, alternate bands */
  --plate: #151F35;       /* raised surfaces */
  --rule: #253149;        /* hairlines */
  --brass: #D6B06A;       /* the one accent */
  --brass-hi: #E8CC92;
  --brass-dim: #9C8150;
  --ivory: #EEE8DC;       /* body text */
  --mist: #A4ADBF;        /* secondary text */
  --fog: #6F7A90;         /* captions */
  --danger: #E2847A;

  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Figtree", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.2vw, 3.1rem);
  --step-4: clamp(2.7rem, 1.8rem + 4vw, 4.6rem);

  --wrap: 1120px;
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--vault); color: var(--ivory);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brass-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ivory); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brass); color: var(--vault); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; margin: 0; color: var(--ivory); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-family: var(--body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
h1 em, h2 em { font-style: italic; color: var(--brass); }
p { margin: 0; }

.wrap {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); border-top: 1px solid var(--rule); }
.band--navy { background: var(--navy); }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.lead { font-size: var(--step-1); color: var(--mist); max-width: 38rem; }
.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.muted { color: var(--mist); }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: var(--brass); color: var(--vault); padding: 8px 12px; z-index: 50; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(10,16,28,0.92); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(10,16,28,0.86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(37,49,73,0.7); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ivory); text-decoration: none; font-family: var(--display); font-size: 1.45rem; letter-spacing: -0.01em; }
.brand svg { width: 22px; height: auto; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; }
.nav a { color: var(--mist); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a.btn--brass, .nav a.btn--brass:hover { color: #121A2B; }
@media (max-width: 760px) { .nav a.hide-sm { display: none; } .nav { gap: 1rem; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: scale(0.98); }
.btn--brass { background: var(--brass); color: #121A2B; }
.btn--brass:hover { background: var(--brass-hi); color: #121A2B; }
.btn--ghost { border-color: var(--rule); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--brass-dim); color: var(--ivory); }
.btn--sm { min-height: 40px; padding: 0 1.05rem; font-size: 0.92rem; }
.btn svg { width: 18px; height: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.cta-note { font-size: var(--step--1); color: var(--fog); }

/* Hero */
.hero { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(4rem, 3rem + 5vw, 7rem); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2.5rem, 2rem + 4vw, 5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.6rem; }
.hero-copy .lead { max-width: 33rem; }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-family: var(--mono); font-size: 0.8rem; color: var(--mist); padding: 0; margin: 0.4rem 0 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-visual { order: 2; } .phone { width: min(216px, 62%); } }

/* Phone mockup (everything scaled to 80% of the original design, Oct 2026) */
.phone { position: relative; width: min(264px, 100%); margin-inline: auto; aspect-ratio: 9 / 18.6; border-radius: 37px; padding: 10px; background: linear-gradient(160deg, #2A344B, #121828 40%, #1D2537); box-shadow: 0 32px 64px -24px rgba(0,0,0,0.7), 0 0 0 1px rgba(214,176,106,0.12) inset; }
.phone-screen { height: 100%; border-radius: 29px; background: linear-gradient(180deg, #17233B 0%, #0F1726 55%, #0B111D 100%); display: flex; flex-direction: column; align-items: center; padding: 1.76rem 1.12rem 1.28rem; text-align: center; overflow: hidden; }
.phone-notch { width: 34%; height: 18px; border-radius: 0 0 11px 11px; background: #0A0F19; position: absolute; top: 10px; left: 33%; }
.phone-screen .ps-lock { width: 24px; margin: 0.64rem 0 0.8rem; }
.phone-screen .ps-title { font-family: var(--display); font-size: 1.2rem; color: var(--ivory); }
.phone-screen .ps-sub { font-size: 0.68rem; color: var(--mist); margin-top: 0.28rem; }
.phone-screen .pad { width: 100%; margin-top: auto; margin-bottom: auto; }
.phone-screen .ps-foot { font-size: 0.64rem; color: var(--brass); }
.pad .trail { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s 0.4s cubic-bezier(.6,.05,.3,1) forwards; }
.pad .on { opacity: 0; animation: pop .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pad .trail { stroke-dashoffset: 0; } .pad .on { opacity: 1; } }

/* Hidden vs locked */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.disk { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--vault); overflow: hidden; display: flex; flex-direction: column; }
.disk--lockar { border-color: rgba(214,176,106,0.35); }
.disk-bar { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 0.78rem; color: var(--mist); }
.disk-bar strong { color: var(--ivory); font-weight: 400; }
.disk--lockar .disk-bar strong { color: var(--brass); }
.disk-files { list-style: none; margin: 0; padding: 0.4rem 0; font-family: var(--mono); font-size: 0.8rem; }
.disk-files li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 0.85rem; align-items: center; padding: 0.55rem 1.1rem; }
.disk-files li + li { border-top: 1px dashed rgba(37,49,73,0.8); }
.disk-files .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ivory); }
.disk-files .size { color: var(--fog); }
.thumb { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; }
.thumb canvas { width: 100%; height: 100%; display: block; }
.disk-verdict { margin-top: auto; padding: 1rem 1.1rem 1.15rem; border-top: 1px solid var(--rule); font-size: 0.95rem; color: var(--mist); }
.disk-verdict b { color: var(--ivory); font-weight: 600; }
.disk--lockar .disk-verdict b { color: var(--brass); }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: s; }
.steps li { display: grid; gap: 0.8rem; align-content: start; padding-top: 1.4rem; border-top: 1px solid var(--brass-dim); counter-increment: s; }
.steps li::before { content: "0" counter(s); font-family: var(--mono); font-size: 0.8rem; color: var(--brass); }
.steps p { color: var(--mist); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }

/* Spec plate */
.spec-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.plate { border: 1px solid rgba(214,176,106,0.35); border-radius: var(--radius); background: linear-gradient(180deg, rgba(214,176,106,0.06), rgba(214,176,106,0) 40%), var(--plate); padding: 0.4rem 0; position: relative; }
.plate::before, .plate::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--brass-dim); top: 12px; }
.plate::before { left: 12px; } .plate::after { right: 12px; }
.plate dl { margin: 0; }
.plate .row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 1rem; padding: 0.95rem 1.5rem; }
.plate .row + .row { border-top: 1px solid var(--rule); }
.plate dt { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass); padding-top: 0.2rem; }
.plate dd { margin: 0; color: var(--ivory); }
.plate dd small { display: block; color: var(--mist); font-size: 0.88rem; margin-top: 0.15rem; }
@media (max-width: 880px) { .spec-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .plate .row { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.feature { display: grid; gap: 0.6rem; align-content: start; padding: 2rem 1.75rem 2.1rem 0; border-bottom: 1px solid var(--rule); }
.feature:not(:nth-child(3n+1)) { padding-left: 1.75rem; border-left: 1px solid var(--rule); }
.feature svg { width: 28px; height: 28px; color: var(--brass); }
.feature p { color: var(--mist); font-size: 0.98rem; }
@media (max-width: 880px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .feature:nth-child(2n) { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
}
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } .feature:nth-child(2n) { padding-left: 0; border-left: 0; } .feature { padding-right: 0; } }

/* Never */
.never { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0 0 2.5rem; }
.never li { font-family: var(--display); font-size: var(--step-2); line-height: 1.15; display: grid; gap: 0.6rem; }
.never li span { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fog); }
.honest { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: start; padding: 1.5rem 1.6rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--plate); max-width: 52rem; }
.honest svg { width: 26px; height: 26px; color: var(--brass); margin-top: 3px; }
.honest p { color: var(--mist); }
.honest p strong { color: var(--ivory); font-weight: 600; }
@media (max-width: 760px) { .never { grid-template-columns: minmax(0, 1fr); } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 900px; }
.plan { border: 1px solid var(--rule); border-radius: var(--radius); padding: 2rem 1.75rem; display: grid; gap: 1.1rem; align-content: start; background: var(--vault); }
.plan--pro { border-color: rgba(214,176,106,0.5); background: linear-gradient(180deg, rgba(214,176,106,0.07), rgba(214,176,106,0) 50%), var(--plate); }
.plan-name { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.price { font-family: var(--display); font-size: var(--step-3); line-height: 1; }
.price small { font-family: var(--body); font-size: 1rem; color: var(--mist); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 0.7rem; color: var(--mist); }
.plan li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--brass); }
.plan .alt { font-size: var(--step--1); color: var(--fog); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 52rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; font-size: var(--step-1); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--brass); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.5rem; color: var(--mist); max-width: 44rem; display: grid; gap: 0.8rem; }

/* Final CTA */
.closer { text-align: center; }
.closer .wrap { display: grid; justify-items: center; gap: 1.5rem; }
.closer svg.big { width: 64px; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding-block: 3rem calc(2.5rem + env(safe-area-inset-bottom, 0px)); font-size: 0.95rem; color: var(--mist); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.site-footer h3 { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fog); font-weight: 400; margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }
.site-footer .fine { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: 0.85rem; color: var(--fog); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
@media (max-width: 640px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .site-footer .about { grid-column: 1 / -1; } }

/* Article pages (guides, legal) */
.article-head { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 2.5rem; }
.article-head .wrap, .article .wrap { max-width: 780px; }
.crumbs { font-family: var(--mono); font-size: 0.78rem; color: var(--fog); margin-bottom: 1.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.crumbs a { color: var(--mist); text-decoration: none; }
.article-head h1 { font-size: var(--step-3); }
.article-head .lead { margin-top: 1.2rem; }
.byline { margin-top: 1.4rem; font-family: var(--mono); font-size: 0.78rem; color: var(--fog); }
.article { padding-bottom: clamp(4rem, 3rem + 4vw, 6rem); }
.prose { display: grid; gap: 1.15rem; }
.prose > h2 { font-size: var(--step-2); margin-top: 2.2rem; }
.prose > h3 { margin-top: 1.2rem; }
.prose p, .prose li { color: #D9D3C7; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.45rem; }
.prose li::marker { color: var(--brass); }
.prose a { overflow-wrap: anywhere; }
.prose strong { color: var(--ivory); font-weight: 600; }
.prose code { font-family: var(--mono); font-size: 0.9em; background: var(--plate); padding: 0.1em 0.35em; border-radius: 5px; }
.answer-box { border-left: 2px solid var(--brass); padding: 0.2rem 0 0.2rem 1.2rem; font-size: var(--step-1); color: var(--ivory) !important; }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); }
.prose table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.93rem; }
.prose th, .prose td { text-align: left; padding: 0.8rem 1rem; vertical-align: top; border-bottom: 1px solid var(--rule); }
.prose th { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); font-weight: 400; background: var(--plate); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--ivory); font-weight: 500; }
.callout { border: 1px solid rgba(214,176,106,0.35); background: var(--plate); border-radius: var(--radius); padding: 1.4rem 1.5rem; display: grid; gap: 0.8rem; margin-top: 0.5rem; }
.callout p { color: var(--mist) !important; }
.sources { font-size: 0.9rem; }
.placeholder { background: rgba(226,132,122,0.15); color: var(--danger); padding: 0 0.3em; border-radius: 4px; font-family: var(--mono); font-size: 0.9em; }

.guide-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.guide-list li { border-bottom: 1px solid var(--rule); }
.guide-list a { display: grid; gap: 0.4rem; padding: 1.6rem 0; text-decoration: none; color: var(--ivory); }
.guide-list a span { color: var(--mist); }
.guide-list a strong { font-family: var(--display); font-weight: 400; font-size: var(--step-2); }
.guide-list a:hover strong { color: var(--brass-hi); }

@media (max-width: 880px) { .hero .phone { width: min(216px, 62%); } }

/* Figures and click-to-load video (guides) */
.figure { margin: 0.6rem 0; display: grid; gap: 0.6rem; }
.figure img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--rule); }
.figure figcaption { font-size: 0.88rem; color: var(--fog); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(214,176,106,0.35); background: var(--plate); margin-top: 0.8rem; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ivory); }
.video-play img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55); transition: filter .2s; }
.video-play:hover img { filter: brightness(0.7); }
.video-btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--brass); color: #121A2B; display: grid; place-items: center; }
.video-btn svg { width: 34px; height: 34px; margin-left: 4px; }
.video-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9rem 1.1rem; font-weight: 600; text-align: left; background: linear-gradient(0deg, rgba(10,16,28,0.9), rgba(10,16,28,0)); }
.video-note { font-size: 0.88rem; color: var(--fog) !important; }
