/* lineagebox.com: the app's own colors (lineagebox/web/static/app.css), light, and dark when the device is set to
   dark. No fonts or anything else from elsewhere: the server's Content-Security-Policy allows this site alone. */
:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --text: #1d1d1b;
  --muted: #5f5e58;
  --line: #e2e0da;
  --accent: #2f62c9;
  --accent-deep: #1b3f86;
  --on-accent: #ffffff;
  --tint: #e3e9f6;
  --panel: #2f62c9;
  --shadow: 0 1px 2px rgb(30 30 25 / 6%), 0 12px 32px -8px rgb(30 30 25 / 18%);
  --code-bg: #1d1d1b;
  --code-text: #ecebe5;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141413;
    --surface: #1c1c1a;
    --text: #ecebe5;
    --muted: #a3a29b;
    --line: #2e2d2a;
    --accent: #82a8f5;
    --accent-deep: #82a8f5;
    --on-accent: #10131a;
    --tint: #1f2a40;
    --panel: #22468f;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px -8px rgb(0 0 0 / 60%);
    --code-bg: #0e0e0d;
    --code-text: #ecebe5;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
       overflow-wrap: break-word; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 750; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0; }
code { font: .9em/1.5 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; }
q { quotes: "\201C" "\201D"; }
b { font-weight: 650; }
.sprite { display: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
           margin-bottom: 12px; }
.sub { color: var(--muted); max-width: 62ch; margin-top: 14px; font-size: 1.1rem; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8;
      stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 20; background: var(--surface); padding: 8px 14px;
        border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
section { padding: clamp(56px, 8vw, 104px) 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
       background: var(--accent); color: var(--on-accent); font-weight: 650; border: 2px solid var(--accent);
       transition: filter .15s, transform .15s; }
.btn:hover { text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); }
.btn .ic { width: 18px; height: 18px; }
.btn [href="#i-play"] { fill: currentColor; }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--accent); filter: none; }
.btn-small { padding: 7px 16px; font-size: .95rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ctas-center { justify-content: center; }

/* The bar at the top */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent);
       backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
       border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750;
         font-size: 1.15rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 30px; height: 30px; }
.links { display: flex; gap: 22px; margin-left: 12px; }
.links a { color: var(--muted); font-size: .95rem; font-weight: 550; }
.links a:hover { color: var(--text); text-decoration: none; }
.top-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.icon-link { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--text); }
.icon-link:hover { background: var(--line); }
.icon-link .ic { width: 22px; height: 22px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px;
                border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after {
  display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; content: ""; }
.menu summary span::before { position: absolute; top: -6px; }
.menu summary span::after { position: absolute; top: 6px; }
.menu nav { position: absolute; right: 0; top: 48px; display: flex; flex-direction: column; min-width: 200px;
            background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px;
            box-shadow: var(--shadow); }
.menu nav a { padding: 10px 12px; border-radius: 8px; color: var(--text); }
.menu nav a:hover { background: var(--bg); text-decoration: none; }
@media (max-width: 900px) {
  .links { display: none; }
  .menu { display: block; }
}
@media (max-width: 420px) {
  .icon-link { display: none; }
  .brand { font-size: 1.05rem; }
}

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 3.5vw, 3.1rem); font-weight: 780; letter-spacing: -0.03em; line-height: 1.06; }
.lead { color: var(--muted); font-size: 1.15rem; margin-top: 22px; max-width: 56ch; }
.fine { color: var(--muted); font-size: .9rem; margin-top: 22px; }
.hero-art { position: relative; min-height: 470px; }
.panel { position: absolute; inset: 0 -40vw 0 56px; background: var(--panel); border-radius: 28px 0 0 28px; }
.window { display: block; position: relative; background: var(--surface); border-radius: 12px; overflow: hidden;
          box-shadow: var(--shadow); border: 1px solid var(--line); }
.window-bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px;
              background: var(--bg); border-bottom: 1px solid var(--line); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.hero-window { position: absolute; left: 110px; top: 36px; width: min(560px, calc(100% - 70px)); margin: 0; }
.phone { margin: 0; background: var(--surface); border: 6px solid #1d1d1b; border-radius: 30px; overflow: hidden;
         box-shadow: 0 24px 48px -12px rgb(10 20 50 / 45%); }
.hero-phone { position: absolute; left: 0; top: 110px; width: 196px; }
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { min-height: 0; aspect-ratio: 1.35; max-width: 640px; width: 100%; margin: 0 auto; }
  .panel { inset: 8% -24px 0 18%; border-radius: 24px; }
  .hero-window { left: 24%; top: 0; width: 76%; }
  .hero-phone { top: 18%; width: 30%; border-width: 4px; border-radius: 20px; }
}

/* Two things apart */
.joins { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--muted); }
.ic-big { width: 34px; height: 34px; color: var(--accent); stroke-width: 1.6; }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } }

/* The tour */
.video { margin: 40px auto 0; max-width: 1000px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
         border: 1px solid var(--line); background: #000; }
.video video { width: 100%; aspect-ratio: 16 / 9; }
.video { position: relative; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
              display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px 16px 22px; border: 0;
              border-radius: 999px; background: #2f62c9; color: #fff; font: inherit; font-size: 1.1rem; font-weight: 650;
              line-height: 1; cursor: pointer;
              box-shadow: 0 10px 30px rgb(0 0 0 / 35%); transition: transform .15s, filter .15s; }
.video-play:hover { filter: brightness(1.1); transform: translate(-50%, -50%) scale(1.04); }
.video-play .ic { width: 22px; height: 22px; fill: currentColor; }
.video-play[hidden] { display: none; }

/* Features */
.features { padding-top: 24px; }
.features > .wrap > h2 { margin-bottom: 16px; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center;
       margin-top: clamp(56px, 7vw, 96px); }
.row.flip .row-words { order: 2; }
.row-words h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 750; letter-spacing: -0.015em; }
.row-words p { color: var(--muted); margin-top: 14px; max-width: 54ch; }
.row-words p b { color: var(--text); }
.shot { cursor: zoom-in; transition: transform .2s; }
.shot:hover { transform: translateY(-3px); }
.shot-plain { background: #f6f6f3; }
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; gap: 24px; }
  .row.flip .row-words { order: 0; }
}
.more-title { margin-top: clamp(64px, 8vw, 104px); font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 750; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px;
           margin-top: 28px; }
.tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
        border-radius: 14px; overflow: hidden; color: var(--muted); font-size: .95rem; cursor: zoom-in;
        transition: transform .2s, box-shadow .2s; }
.tile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.tile img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.tile span { padding: 14px 16px 16px; }
.tile b { color: var(--text); }

/* Everything in it */
.lists { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 44px; }
.col h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--accent); }
.col h3 .ic { color: var(--accent); width: 24px; height: 24px; }
.col ul { list-style: none; padding: 0; margin: 8px 0 0; }
.col li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .98rem; }
.col li:last-child { border-bottom: 0; }
.col li b { color: var(--text); }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; gap: 32px; } }

/* How it compares */
.spectrum { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 0; margin-top: 44px; align-items: stretch; }
.spec { padding: 26px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.spec:first-child { border-radius: 16px 0 0 16px; border-right: 0; }
.spec:last-child { border-radius: 0 16px 16px 0; border-left: 0; }
.spec h3 { color: var(--text); margin-bottom: 8px; }
.spec-us { background: var(--accent); border-color: var(--accent); color: var(--on-accent); border-radius: 16px;
           transform: scale(1.04); box-shadow: var(--shadow); position: relative; z-index: 1; }
.spec-us h3 { color: var(--on-accent); font-size: 1.35rem; }
@media (max-width: 820px) {
  .spectrum { grid-template-columns: 1fr; gap: 12px; }
  .spec, .spec:first-child, .spec:last-child { border: 1px solid var(--line); border-radius: 16px; }
  .spec-us { transform: none; border-color: var(--accent); }
}
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 28px 40px;
          margin-top: 56px; }
.point { display: flex; gap: 16px; }
.point > .ic { width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.point p { color: var(--muted); margin-top: 6px; }
.point p b { color: var(--text); }

/* Privacy */
.privacy { background: var(--tint); }
.privacy-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding: 16px 18px 16px 52px; background: var(--surface); border-radius: 12px;
             border: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%;
                     background: var(--accent); }
.checks li::after { content: ""; position: absolute; left: 24px; top: 24px; width: 8px; height: 4px;
                    border-left: 2px solid var(--on-accent); border-bottom: 2px solid var(--on-accent);
                    transform: rotate(-45deg); }
@media (max-width: 860px) { .privacy-in { grid-template-columns: 1fr; gap: 28px; } }

/* Install */
.install-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; margin-top: 44px;
              align-items: start; }
.code { background: var(--code-bg); color: var(--code-text); border-radius: 16px; overflow: hidden;
        box-shadow: var(--shadow); }
.code-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 10px 18px;
            border-bottom: 1px solid #333330; font-size: .85rem; color: #a3a29b; }
.copy { font: inherit; color: var(--code-text); background: #333330; border: 0; border-radius: 6px; padding: 4px 12px;
        cursor: pointer; }
.copy:hover { background: #45443f; }
.code pre { margin: 0; padding: 18px; overflow-x: auto; font-size: .92rem; line-height: 1.7; }
.code-note { padding: 0 18px 18px; color: #a3a29b; font-size: .9rem; }
.install-in > * { min-width: 0; }   /* a long command wraps in its box instead of widening the column */
#quick { white-space: pre-wrap; overflow-wrap: anywhere; padding-bottom: 14px; }
.code-note code { color: var(--code-text); }
.nas-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; max-width: 780px;
            margin-top: 22px; color: var(--muted); font-size: .92rem; }
.nas-list span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px;
                 color: var(--text); font-weight: 550; }
.online { display: block; margin-top: 16px; padding: 18px 20px; border-radius: 14px; background: var(--tint);
          border: 1px solid var(--tint); color: var(--text); transition: border-color .15s; }
.online:hover { text-decoration: none; border-color: var(--accent); }
.online b { display: block; color: var(--accent); }
.online b::after { content: " \2192"; }
.online span { display: block; color: var(--muted); font-size: .95rem; margin-top: 4px; }
.wizard-safe { max-width: 74ch; margin: 32px auto 0; text-align: center; color: var(--muted); font-size: .95rem; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; color: var(--muted); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px;
                    display: grid; place-items: center; border-radius: 50%; background: var(--tint);
                    color: var(--accent); font-weight: 700; font-size: .9rem; }
.steps b { color: var(--text); }
.reqs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.req { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.req p { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.guides { margin-top: 28px; text-align: center; color: var(--muted); }
@media (max-width: 900px) {
  .install-in { grid-template-columns: 1fr; }
  .reqs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .reqs { grid-template-columns: 1fr; } }

/* Under the hood */
.hood { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.stat { padding: 24px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 780; letter-spacing: -0.03em;
          color: var(--accent); line-height: 1.1; }
.stat span { display: block; color: var(--muted); margin-top: 8px; font-size: .95rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }

/* Questions */
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 48px; }
.qs details { border-bottom: 1px solid var(--line); }
.qs details:first-child { border-top: 1px solid var(--line); }
.qs summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 650; font-size: 1.08rem;
              position: relative; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 10px; height: 10px;
                     border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
                     transform: rotate(45deg); transition: transform .2s; }
.qs details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.qs p { color: var(--muted); padding: 0 0 22px; max-width: 70ch; }
@media (max-width: 820px) { .faq-in { grid-template-columns: 1fr; gap: 20px; } }

/* The end */
.end { padding: 0 0 clamp(56px, 8vw, 104px); }
.end-in { background: var(--panel); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 72px) 24px;
          text-align: center; }
.end-in h2 { color: #fff; }
.end-in p { max-width: 58ch; margin: 16px auto 0; color: rgb(255 255 255 / 85%); font-size: 1.1rem; }
.btn-on-blue { background: #fff; color: #1b3f86; border-color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 55%); }
.btn-ghost:hover { border-color: #fff; filter: none; }
.end .btn:focus-visible { outline-color: #fff; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: .92rem; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot p { margin-top: 10px; max-width: 46ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: flex-start; max-width: 520px; }
.foot nav a { color: var(--muted); }
.foot nav a:hover { color: var(--text); }

/* A screenshot, large */
.zoom { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.zoom::backdrop { background: rgb(10 10 9 / 82%); }
.zoom img { max-width: 96vw; max-height: 90vh; border-radius: 10px; box-shadow: 0 20px 60px rgb(0 0 0 / 50%); }
.zoom form { position: absolute; right: -6px; top: -48px; }
.zoom-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #1d1d1b;
              font-size: 26px; line-height: 1; cursor: pointer; }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.lost p { color: var(--muted); margin-top: 12px; }
