/* Lockoi — shared styles */
:root {
  --ink: #1c2a2b;
  --ink-soft: #4a5a5b;
  --cream: #faf6ef;
  --paper: #ffffff;
  --line: #e6ded0;
  --teal: #1f5c58;
  --teal-deep: #143f3c;
  --open: #2f8a4f;
  --open-bg: #e3f3e7;
  --locked: #b5502f;
  --locked-bg: #f8e6de;
  --amber: #e0a23a;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(28, 42, 43, .06), 0 8px 28px rgba(28, 42, 43, .08);
  --display: "Fraunces", Georgia, serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-deep); }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); margin-bottom: .8rem; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.5rem; font-weight: 700; }
.logo svg { width: 32px; height: 32px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.nav a.btn, .nav a.btn:hover { color: #fff; }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--teal); color: #fff; border: 0; border-radius: 999px;
  padding: 14px 24px; font: 700 1rem var(--body); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--teal-deep); color: #fff; transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.btn-ghost:hover { background: var(--teal); }

/* Hero */
.hero { padding: 40px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 22px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(224,162,58,.2); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* The box illustration */
.box {
  background: var(--teal-deep); border-radius: 26px; padding: 22px; box-shadow: var(--shadow);
  position: relative;
}
.box-top { display: flex; justify-content: space-between; align-items: center; color: #cfe3e0; font-size: .85rem; margin-bottom: 16px; padding: 0 4px; }
.box-clock { font-family: var(--display); font-size: 1.6rem; color: #fff; font-variant-numeric: tabular-nums; }
.slots { display: grid; gap: 12px; }
.slot {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  background: var(--paper); border-radius: 14px; padding: 16px 18px; border-left: 6px solid var(--locked);
  transition: border-color .3s, background .3s;
}
.slot.is-open { border-left-color: var(--open); background: #f6fcf7; }
.slot-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--locked-bg); color: var(--locked); transition: background .3s, color .3s; }
.slot.is-open .slot-icon { background: var(--open-bg); color: var(--open); }
.slot-icon svg { width: 22px; height: 22px; }
.slot-name { font-weight: 700; font-size: 1.05rem; }
.slot-window { font-size: .88rem; color: var(--ink-soft); }
.slot-state { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: var(--locked-bg); color: var(--locked); white-space: nowrap; }
.slot.is-open .slot-state { background: var(--open-bg); color: var(--open); }
.box-foot { color: #cfe3e0; font-size: .9rem; margin-top: 16px; padding: 0 4px; min-height: 1.5em; }

/* Sections */
section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.band { background: var(--paper); border-block: 1px solid var(--line); }

.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .problem { grid-template-columns: 1fr; } }
.quote { font-family: var(--display); font-size: 1.5rem; line-height: 1.35; border-left: 4px solid var(--amber); padding-left: 22px; color: var(--ink); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--locked-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5502f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/12px no-repeat; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.band .card { background: var(--cream); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; margin-bottom: 18px; }
.card p:last-child { margin-bottom: 0; }

/* Schedule table */
.schedule { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.schedule th, .schedule td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.schedule th { background: var(--teal-deep); color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.schedule tr:last-child td { border-bottom: 0; }
.schedule td strong { font-family: var(--display); font-size: 1.15rem; }
@media (max-width: 560px) { .schedule th, .schedule td { padding: 12px; font-size: .92rem; } }

/* Demo */
.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .demo { grid-template-columns: 1fr; } }
.slider-row { margin-top: 24px; }
.slider-row label { font-weight: 700; display: block; margin-bottom: 8px; }
input[type="range"] { width: 100%; accent-color: var(--teal); }
.slider-meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-soft); }

.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 880px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .audience { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-bottom: 6px; }

/* Waitlist */
.waitlist { background: var(--teal-deep); color: #fff; border-radius: 28px; padding: clamp(32px, 6vw, 64px); text-align: center; }
.waitlist h2 { color: #fff; }
.waitlist p { color: #cfe3e0; max-width: 34em; margin-inline: auto; }
.form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.form input, .form select {
  flex: 1 1 220px; max-width: 320px; padding: 14px 18px; border-radius: 999px; border: 0;
  font: 1rem var(--body); color: var(--ink); background: #fff;
}
.form .btn { background: var(--amber); color: var(--ink); }
.form .btn:hover { background: #f0b552; color: var(--ink); }
.form-msg { margin-top: 16px; font-weight: 700; min-height: 1.5em; }
.hp { position: absolute; left: -9999px; }

/* Article */
.article { padding: 40px 0 80px; }
.article h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.article h2 { font-size: 1.7rem; margin-top: 1.8em; }
.article .meta { color: var(--ink-soft); font-size: .95rem; margin-bottom: 32px; }
.article li { margin-bottom: .5em; }
.callout { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 12px; padding: 18px 22px; margin: 28px 0; }
.note { font-size: .92rem; color: var(--ink-soft); }

/* Footer */
.site-footer { padding: 40px 0 56px; color: var(--ink-soft); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 28px; }
.site-footer a { color: var(--ink-soft); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Utility classes (no inline styles, so CSP can stay strict) */
.hero { padding-top: 24px; }
.table-wrap { margin-top: 48px; overflow-x: auto; }
.mt-32 { margin-top: 32px; }
.eyebrow-tight { margin-bottom: .4rem; }
.eyebrow-amber { color: var(--amber); }
