/* Disk Butler — shared site styles. Palette matches Hollis's own brand/mascot/*.svg colors
   (checked 30 Oct 2026: #0F2A4A, #22A35A, #F6F8FB, #FFFFFF all appear in brand/mascot/hollis-idle.svg). */
:root {
  --ink: #0F2A4A; --muted: #4A5D75; --line: #DCE4EE; --bg: #F6F8FB; --card: #FFFFFF;
  --accent: #1E6FD9; --free: #22A35A; --warn: #C2410C;
  --radius: 16px; --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #EAF1FA; --muted: #9DB0C8; --line: #23344A; --bg: #0B1626; --card: #112036; --accent: #5A9BFF; --free: #4ADE80; --warn: #FB923C; }
}
* { box-sizing: border-box; }
html { color-scheme: light dark; }
body { margin: 0; font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; object-fit: contain; }
nav a { margin-left: 22px; text-decoration: none; color: var(--muted); font-size: 15px; }
nav a:hover { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding: 56px 0 72px; }
.hollis-intro, .section-intro { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.hollis-intro span, .section-intro span { color: var(--muted); font-size: 15.5px; }
/* Hollis's props (the scanning pose's magnifying glass, notably) are flat-filled in the page's
   own light "bg" tone, so a plain transparent PNG loses them on a light page — a tinted circle
   behind every pose fixes that in both color schemes. */
.hollis-intro .hollis, .section-intro .hollis { width: 48px; height: 48px; object-fit: contain; flex: none; }
/* The butler logo is the hero's picture; the menu bar preview overlaps its lower corner. */
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(440px, 100%); height: auto; filter: drop-shadow(0 24px 40px rgba(15, 42, 74, 0.28)); }
.hero-art .gauge-card { width: min(380px, 100%); margin-top: -70px; position: relative; }
h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-block; background: var(--accent); color: #fff; padding: 13px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 0; font-size: 16px; cursor: pointer; font-family: inherit; }
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--line); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* The menu bar gauge, drawn in HTML: what people see every day. */
.gauge-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 20px 50px rgba(15, 42, 74, 0.12); }
.gauge-card h3 { margin: 0 0 14px; font-size: 15px; }
.drive { margin-bottom: 16px; }
.drive .row { display: flex; justify-content: space-between; font-size: 14px; }
.drive .row span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { position: relative; height: 9px; border-radius: 9px; background: var(--line); margin: 7px 0 5px; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 9px; }
.bar b { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); }
.drive small { color: var(--muted); font-size: 12.5px; }
.route { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.route .dot { width: 16px; height: 16px; border-radius: 50%; flex: none; margin-top: 2px; background: var(--free); }
.route .dot.off { background: transparent; border: 2px solid var(--line); }
.route small { display: block; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.route .dot.locked { background: transparent; border: 2px solid var(--warn); }

section { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -0.015em; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 0 36px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .size { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }

.compare { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15.5px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 14px; color: var(--muted); font-weight: 600; }
.compare td:first-child { font-weight: 600; }
/* brand/guide.md (30 Oct 2026): --free fails AA as small text, so it's a fill here (the check
   mark), not the text color — the word itself stays in --ink. */
.compare .yes::before { content: "✓ "; color: var(--free); font-weight: 800; }
.compare .yes { font-weight: 700; }
.compare .no { color: var(--muted); }
.compare tr:last-child td { border-bottom: 0; }

.rules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.rules li { padding-left: 30px; position: relative; }
.rules li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--free); font-weight: 800; }
.rules strong { display: block; }
.rules span { color: var(--muted); font-size: 15.5px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.tier .label { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; }
/* --free as the tinted fill, not the text (brand/guide.md: fails AA at this size as text). */
.tier.rebuilds .label { background: color-mix(in srgb, var(--free) 22%, transparent); color: var(--ink); }
.tier.reinstallable .label { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.tier.personal .label { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.tier h3 { margin: 0 0 6px; font-size: 17px; }
.tier p { margin: 0; color: var(--muted); font-size: 15px; }

.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.shot { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--card); }
.shot img { display: block; width: 100%; height: auto; }
.shot-placeholder { aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: var(--muted); font-size: 14px; background: repeating-linear-gradient(135deg, var(--bg) 0 14px, var(--card) 14px 28px); }
.shot-placeholder strong { color: var(--ink); font-size: 15px; }

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan h3 { margin: 0 0 4px; font-size: 20px; }
.plan .price { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: 15.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--free); font-weight: 800; }
.plan.pro li.locked::before { content: "🔒"; }
.plan.pro li.locked { color: var(--muted); }
.plan.pro { border-color: var(--accent); }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 16px 42px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 4px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.steps strong { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 15px; }

.faq { max-width: 46em; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 0 0 14px; }

.signup { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 36px; text-align: center; }
.signup form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.signup input[type="email"] { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); min-width: 260px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .note { margin-top: 14px; font-size: 14px; color: var(--muted); }

footer { padding: 36px 0 60px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer .links a { margin-right: 16px; }

.legal { padding: 48px 0 80px; max-width: 46em; }
.legal h1 { font-size: 32px; margin-bottom: 4px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 20px; margin-top: 32px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }

.copybox { display: flex; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font: 15px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; margin: 18px 0; }
.copybox code { flex: 1; }
.copybox button { flex: none; }

.change { max-width: 46em; }
.change .entry { border-top: 1px solid var(--line); padding: 20px 0; }
.change .entry:first-child { border-top: 0; }
.change time { color: var(--muted); font-size: 14px; }
.change h3 { margin: 4px 0 8px; }
.change ul { margin: 0; padding-left: 20px; color: var(--muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 28px; }
  /* On a phone the logo comes first, above the headline. */
  .hero-art { order: -1; }
  .hero-logo { width: min(280px, 78vw); }
  .grid, .tiers, .shots, .plans { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  nav { display: none; }
  .compare th:nth-child(3), .compare td:nth-child(3) { display: none; }
}
