:root {
  --ink: #171512;
  --ink-soft: #39342d;
  --paper: #f6f0e4;
  --paper-deep: #efe4d0;
  --linen: #fbf8f0;
  --muted: #716757;
  --red: #d8583d;
  --red-deep: #a33e2b;
  --gold: #c49a53;
  --line: rgba(23, 21, 18, .16);
  --shadow: 0 20px 60px rgba(23, 21, 18, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216, 88, 61, .08), transparent 30rem),
    linear-gradient(180deg, var(--linen) 0%, var(--paper) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(rgba(23,21,18,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,21,18,.025) 1px, transparent 1px);
  background-size: 26px 26px;
  mix-blend-mode: multiply;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,240,228,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.04em;
}
.brand img { width: 54px; height: 54px; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  text-decoration: none;
  font-weight: 800;
  color: var(--ink-soft);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: .93rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  background: rgba(216,88,61,.12);
  color: var(--ink);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 900;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 13px 18px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(23,21,18,.13); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-small { padding: 9px 13px; font-size: .86rem; }

.hero {
  padding: 76px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.45);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .75rem;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(216,88,61,.14);
}
h1, h2, h3, .display {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: .98;
  letter-spacing: -.055em;
}
h1 { font-size: clamp(3.6rem, 8vw, 7.9rem); margin: 0 0 22px; }
h2 { font-size: clamp(2.45rem, 5vw, 4.85rem); margin: 0 0 18px; }
h3 { font-size: clamp(1.45rem, 2vw, 2rem); margin: 0 0 10px; }
p { margin: 0 0 18px; color: var(--ink-soft); }
.lead {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 62ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.motto-line {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 800;
}

.paper-preview {
  position: relative;
  padding: 26px;
  border: 1px solid var(--ink);
  background: #fffaf0;
  box-shadow: var(--shadow);
  transform: rotate(-1.8deg);
}
.paper-preview::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 30%;
  width: 1px;
  background: rgba(23,21,18,.18);
}
.paper-masthead {
  border-bottom: 6px double var(--ink);
  padding-bottom: 12px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.paper-masthead strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.8vw, 4.7rem);
  line-height: .85;
  letter-spacing: -.08em;
}
.paper-masthead span {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  text-align: right;
  color: var(--muted);
  font-weight: 900;
}
.paper-columns {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
}
.article-kicker {
  font-weight: 900;
  color: var(--red-deep);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.article-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: .92;
  letter-spacing: -.05em;
  margin: 6px 0 12px;
}
.fake-lines { display: grid; gap: 8px; margin-top: 14px; }
.fake-lines i {
  display: block;
  height: 9px;
  background: rgba(23,21,18,.18);
}
.fake-lines i:nth-child(2n) { width: 84%; }
.fake-lines i:nth-child(3n) { width: 65%; }
.side-stack { display: grid; gap: 14px; }
.side-card { border: 1px solid var(--line); padding: 12px; background: rgba(246,240,228,.45); }
.side-card b { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.13rem; line-height: 1.05; }
.kiosk-card {
  margin-top: 28px;
  border-radius: var(--radius);
  padding: 22px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.kiosk-card p { color: rgba(246,240,228,.82); }
.kiosk-light {
  height: 12px;
  width: 72px;
  border-radius: 999px;
  background: var(--red);
  margin-bottom: 16px;
}

.section { padding: 76px 0; }
.section-tight { padding: 50px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 26px;
  margin-bottom: 30px;
}
.section-head p { max-width: 58ch; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.45);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 32px rgba(23,21,18,.06);
}
.card-dark {
  background: var(--ink);
  color: var(--paper);
}
.card-dark p, .card-dark li { color: rgba(246,240,228,.82); }
.card-red { background: var(--red); color: #fff; border-color: var(--red); }
.card-red p { color: rgba(255,255,255,.85); }
.number {
  width: 46px;
  height: 46px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 950;
  margin-bottom: 18px;
}
.card-red .number { background: #fff; color: var(--red); }
.list-clean { padding-left: 1.15rem; margin: 12px 0 0; color: var(--ink-soft); }
.list-clean li { margin: 8px 0; }

.band {
  border-block: 1px solid var(--line);
  background: rgba(23,21,18,.04);
  padding: 20px 0;
  overflow: hidden;
}
.band-track {
  display: flex;
  width: max-content;
  gap: 34px;
  animation: ticker 38s linear infinite;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.feature-block {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: start;
}
.callout {
  border-left: 8px solid var(--red);
  padding: 24px;
  background: rgba(255,255,255,.56);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.demo-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.form-card label {
  display: block;
  font-weight: 900;
  margin: 16px 0 7px;
}
.input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font: inherit;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin: 16px 0;
}
legend { padding: 0 8px; font-weight: 950; }
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.check-pill {
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
  padding: 10px 10px;
  border-radius: 999px;
  background: rgba(23,21,18,.045);
  font-weight: 800 !important;
  cursor: pointer;
}
.check-pill input { accent-color: var(--red); }
.output-paper {
  min-height: 540px;
  padding: 24px;
  border: 1px solid var(--ink);
  background: #fffaf0;
  box-shadow: var(--shadow);
}
.output-paper .front-label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 5px double var(--ink);
  padding-bottom: 12px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
  font-weight: 950;
  color: var(--muted);
}
.output-paper h3 { font-size: 2.1rem; }
.story-list { display: grid; gap: 12px; margin-top: 18px; }
.story-item {
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.story-item strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.26rem; line-height: 1.08; }
.story-item small { color: var(--muted); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }

.timeline {
  counter-reset: step;
  display: grid;
  gap: 16px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
}
.timeline-item::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-weight: 950;
  background: var(--paper);
}
.timeline-content {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 900;
  background: rgba(255,255,255,.45);
}

.cta {
  padding: 70px 0;
}
.cta-box {
  border-radius: calc(var(--radius) + 12px);
  background:
    radial-gradient(circle at right, rgba(216,88,61,.55), transparent 26rem),
    var(--ink);
  color: var(--paper);
  padding: clamp(30px, 6vw, 66px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.cta-box h2 { color: var(--paper); max-width: 860px; }
.cta-box p { color: rgba(246,240,228,.82); max-width: 690px; }
.footer {
  padding: 46px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(23,21,18,.04);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .7fr);
  gap: 30px;
}
.footer a { display: block; color: var(--ink-soft); text-decoration: none; margin: 8px 0; }
.footer a:hover { color: var(--red-deep); }
.footer small { color: var(--muted); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 950; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; }
.footer-brand img { width: 42px; height: 42px; }

.page-hero {
  padding: 72px 0 42px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(3.2rem, 7vw, 7rem); }
.page-hero .lead { max-width: 850px; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.stat {
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.48);
}
.stat strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; line-height: 1; }
.stat span { color: var(--muted); font-size: .85rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.legal-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(216,88,61,.08);
  padding: 20px;
  color: var(--ink-soft);
}

@media (max-width: 960px) {
  .hero-grid, .feature-block, .demo-panel, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .paper-preview { transform: none; }
  .kiosk-card { transform: none; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 78px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 12px; }
  .hero { padding-top: 42px; }
  .grid-3, .footer-grid, .stat-grid, .paper-columns { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .check-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3rem, 18vw, 5rem); }
}
@media print {
  .site-header, .footer, .cta, .hero-actions, .btn, .band { display: none !important; }
  body { background: #fff; }
  .card, .output-paper, .paper-preview { box-shadow: none; }
}
