/* The Vault Hours product site at vaulthours.com. */
:root {
  --bg: #f3f6fa;
  --surface: #ffffff;
  --ink: #0f1d2c;
  --muted: #536274;
  --line: #d9e1ea;
  --blue: #0670b8;
  --blue-soft: #e2eef8;
  --open: #c62828;
  --good: #1f7a45;
  --band: #0b4f86;
  --band-ink: #ffffff;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --phone-frame: #1a2230;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1118; --surface: #151c26; --ink: #e9eef5; --muted: #98a6b7; --line: #263241;
    --blue: #4fb3f0; --blue-soft: #14283a; --open: #ff6b6b; --good: #5cd18f;
    --band: #0d2a45; --band-ink: #eaf4fd; --phone-frame: #2c3644; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c1118; --surface: #151c26; --ink: #e9eef5; --muted: #98a6b7; --line: #263241;
  --blue: #4fb3f0; --blue-soft: #14283a; --open: #ff6b6b; --good: #5cd18f;
  --band: #0d2a45; --band-ink: #eaf4fd; --phone-frame: #2c3644; color-scheme: dark;
}

/* Screenshots follow the viewer's theme */
.phone .d { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone .l { display: none; }
  :root:not([data-theme="light"]) .phone .d { display: block; }
}
:root[data-theme="dark"] .phone .l { display: none; }
:root[data-theme="dark"] .phone .d { display: block; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 58ch; }
.eyebrow { font: 700 0.78rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.t { font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t.open { color: var(--open); }
section { padding-block: clamp(64px, 9vw, 112px); }
section + section { border-top: 1px solid var(--line); }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; flex-wrap: wrap; }
.mark { display: flex; align-items: center; gap: 10px; font: 800 1.25rem/1 var(--display); }
.mark svg { width: 30px; height: 30px; }
.top-link { font: 600 0.92rem/1 var(--body); color: var(--blue); text-decoration: none; padding: 10px 14px; border-radius: 999px; background: var(--blue-soft); }
.top-link:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; font: 700 1rem/1 var(--body); padding: 14px 20px; border-radius: 12px; background: var(--blue); color: var(--surface); text-decoration: none; justify-self: start; }
.button:hover { filter: brightness(1.08); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding-block: 40px 88px; }
.hero h1 { font-size: clamp(2.8rem, 5.2vw, 4.5rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--blue); white-space: nowrap; }
.hero-copy { display: grid; gap: 24px; min-width: 0; padding-right: clamp(0px, 3vw, 40px); }
.shift-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 16px 18px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; font-size: 0.98rem; max-width: 520px; }
.shift-line .t { font-size: 1.4rem; }
.shift-line span.who { color: var(--muted); }
.fan { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 560px; }
.fan .phone { position: absolute; width: min(250px, 42%); }
.fan .phone:nth-child(1) { transform: translateX(-62%) rotate(-7deg) scale(0.9); z-index: 1; }
.fan .phone:nth-child(2) { z-index: 3; width: min(280px, 48%); position: relative; }
.fan .phone:nth-child(3) { transform: translateX(62%) rotate(7deg) scale(0.9); z-index: 2; }

/* Phone frame */
.phone { margin: 0; aspect-ratio: 402 / 874; max-width: 100%; border-radius: 44px; padding: 9px; background: var(--phone-frame); box-shadow: 0 30px 60px -24px rgba(8, 30, 56, 0.45), inset 0 0 0 2px rgba(255,255,255,0.08); position: relative; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; display: block; }
.phone::after { content: ""; position: absolute; top: calc(9px + 1.25%); left: 50%; width: 31%; height: 4.2%; transform: translateX(-50%); border-radius: 999px; background: #000; }
@media (prefers-reduced-motion: no-preference) {
  .fan .phone { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
  .fan:hover .phone:nth-child(1) { transform: translateX(-70%) rotate(-9deg) scale(0.9); }
  .fan:hover .phone:nth-child(3) { transform: translateX(70%) rotate(9deg) scale(0.9); }
}

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 22px 20px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { font: 800 2.2rem/1 var(--display); font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: 0.92rem; }

/* Before / after */
.split-head { display: grid; gap: 16px; margin-bottom: 44px; }
.ledger { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.ledger .row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.2fr); border-top: 1px solid var(--line); }
.ledger .row:first-child { border-top: 0; }
.ledger .row > * { padding: 18px 20px; min-width: 0; }
.ledger .row > :nth-child(2) { color: var(--muted); border-left: 1px dashed var(--line); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--open) 55%, transparent); }
.ledger .row > :nth-child(3) { border-left: 1px solid var(--line); }
.ledger .head > * { font: 700 0.74rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none !important; background: var(--bg); }
.ledger .task { font-weight: 600; }

/* Feature sections */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feature.flip .shots { order: -1; }
.feature .copy { display: grid; gap: 22px; min-width: 0; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.shots .phone:nth-child(2) { margin-top: 64px; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.points li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; }
.points li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.points b { font-weight: 700; }

/* Coverage check illustration */
.check { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow-x: auto; }
.check table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.check th, .check td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); }
.check th { font: 700 0.72rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.check caption { caption-side: bottom; text-align: left; padding: 12px 16px; color: var(--muted); font-size: 0.86rem; border-top: 1px solid var(--line); }
.ok { color: var(--good); font-weight: 700; white-space: nowrap; }

/* Rules grid */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 44px; }
.rule { background: var(--surface); padding: 26px 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.rule .num { font: 800 2.4rem/1 var(--display); color: var(--blue); font-variant-numeric: tabular-nums; }
.rule .num small { font: 600 0.95rem var(--body); color: var(--muted); margin-left: 4px; }
.rule p { color: var(--muted); font-size: 0.95rem; }

/* Trust band */
.band { background: var(--band); color: var(--band-ink); border-top: 0 !important; }
.band .eyebrow { color: color-mix(in srgb, var(--band-ink) 70%, transparent); }
.band .lede { color: color-mix(in srgb, var(--band-ink) 78%, transparent); }
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin-top: 44px; }
.trust div { display: grid; gap: 6px; align-content: start; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--band-ink) 25%, transparent); min-width: 0; }
.trust h3 { font-size: 1.15rem; }
.trust p { color: color-mix(in srgb, var(--band-ink) 78%, transparent); font-size: 0.97rem; }

.top-nav { display: flex; flex-wrap: wrap; gap: 8px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id], .ask[id] { scroll-margin-top: 16px; }

/* Reasons for regional leadership */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reason { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.reason .num { font: 700 0.85rem/1 var(--mono); color: var(--blue); letter-spacing: 0.08em; }
.reason p { color: var(--muted); font-size: 0.97rem; }

/* Security groups */
.sec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; }
.sec-group { display: grid; gap: 14px; align-content: start; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--band-ink) 25%, transparent); min-width: 0; }
.sec-group h3 { font-size: 1.2rem; }
.sec-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sec-group li { color: color-mix(in srgb, var(--band-ink) 80%, transparent); font-size: 0.97rem; padding-left: 18px; position: relative; text-wrap: pretty; }
.sec-group li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: color-mix(in srgb, var(--band-ink) 60%, transparent); }
.sec-group li b { color: var(--band-ink); font-weight: 700; }
.sec-group.review { background: color-mix(in srgb, var(--band-ink) 8%, transparent); border: 1px solid color-mix(in srgb, var(--band-ink) 22%, transparent); border-radius: 16px; padding: 22px 24px; }

/* Status and next step */
.status { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-top: 44px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline .when { font: 700 0.82rem/1.6 var(--mono); color: var(--muted); }
.ask { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 18px; align-content: start; }
.ask ol { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.ask li { text-wrap: pretty; }
.ask ol li::marker { font-family: var(--mono); font-weight: 700; color: var(--blue); }
.foot { padding-block: 36px 56px; color: var(--muted); font-size: 0.88rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero, .feature, .status { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .shots { order: 0; }
  .fan { min-height: 0; padding-block: 12px 0; }
  .rules, .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 380px) {
  .hero h1 em { white-space: normal; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .rules, .trust, .reasons { grid-template-columns: minmax(0, 1fr); }
  .top-link { padding: 9px 12px; font-size: 0.86rem; }
  .ledger .row { grid-template-columns: minmax(0, 1fr); }
  .ledger .row > :nth-child(2), .ledger .row > :nth-child(3) { border-left: 0; padding-top: 0; }
  .ledger .row > :nth-child(1) { padding-bottom: 6px; }
  .ledger .row > :nth-child(2) { padding-bottom: 6px; }
  .ledger .head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ledger .row > :nth-child(2)::before { content: "Today:\a0"; text-decoration: none; display: inline-block; font-weight: 600; }
  .ledger .row > :nth-child(3)::before { content: "Vault Hours:\a0"; font-weight: 700; color: var(--blue); }
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(72vw, 280px); overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 8px 48px; margin-block-end: -36px; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))) calc(-1 * max(20px, env(safe-area-inset-right, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); scroll-padding-inline-start: max(20px, env(safe-area-inset-left, 0px)); }
  .shots .phone { scroll-snap-align: start; }
  .shots .phone:nth-child(2) { margin-top: 0; }
  .check table { font-size: 0.86rem; }
  .check th, .check td { padding: 10px 10px; }
  .phone { border-radius: 30px; padding: 6px; }
  .phone img { border-radius: 25px; }
  .phone::after { top: calc(6px + 1.25%); }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ask { padding: 24px; }
}
