:root {
  --paper: #f7f8f5;
  --white: #fff;
  --ink: #152038;
  --blue: #435d9b;
  --blue-soft: #d9e1f1;
  --muted: #657080;
  --line: #cfd4d7;
  --keep: #278869;
  --archive: #e95f50;
  --dark: #10182a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid #f1a43c; outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; }
.brand img { border-radius: 7px; }
.site-header nav { display: flex; gap: clamp(20px, 3vw, 44px); font-size: .88rem; font-weight: 650; }
.site-header nav a { text-decoration: none; border-bottom: 1px solid transparent; }
.site-header nav a:hover { border-color: currentColor; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 7px 0; background: var(--ink); transition: transform .2s ease; }

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 76px));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: rgba(247,248,245,.3); }
.hero-copy { position: relative; z-index: 1; width: 100%; min-height: inherit; padding: clamp(70px, 10vh, 110px) clamp(24px, 7vw, 108px) 180px; }
.eyebrow { margin: 0 0 16px; color: var(--blue); text-transform: uppercase; font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4.2rem, 9vw, 8.6rem); line-height: .84; font-weight: 500; letter-spacing: 0; }
.hero h1 { position: absolute; left: clamp(24px, 7vw, 108px); right: clamp(24px, 7vw, 108px); bottom: 26px; margin: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(4.4rem, 10.5vw, 9.5rem); font-weight: 850; line-height: .82; text-transform: uppercase; white-space: nowrap; }
.hero-intro { max-width: 440px; margin-bottom: 34px; color: #263143; font-size: clamp(1.05rem, 1.5vw, 1.28rem); font-weight: 520; }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-size: .88rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.decision-strip {
  position: absolute;
  z-index: 2;
  top: 34px;
  right: clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 12px 18px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(21,32,56,.18);
  backdrop-filter: blur(12px);
  font-size: .78rem;
}
.decision-strip span { display: inline-flex; align-items: center; gap: 7px; }
.decision-strip i { width: 9px; height: 9px; border-radius: 50%; }
.keep-dot { background: var(--keep); }
.archive-dot { background: var(--archive); }
.decision-strip strong { padding-left: 24px; border-left: 1px solid var(--line); text-transform: uppercase; letter-spacing: .08em; }

.review-band, .organize-section, .control-section, .closing-section {
  padding: clamp(72px, 10vw, 150px) clamp(24px, 7vw, 108px);
}
.review-band { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(380px, 1.25fr); gap: clamp(50px, 10vw, 160px); background: var(--white); }
.section-heading { position: sticky; top: 44px; align-self: start; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 5.5vw, 5.8rem); font-weight: 500; line-height: .96; letter-spacing: 0; }
.lead { max-width: 660px; margin-bottom: 48px; font-size: clamp(1.08rem, 1.7vw, 1.35rem); color: #47515f; }
.decision-demo { max-width: 680px; }
.photo-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-soft); transition: transform .28s ease, box-shadow .28s ease; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; transform: scale(1.24); }
.frame-date { position: absolute; top: 15px; left: 15px; padding: 7px 10px; background: rgba(255,255,255,.9); font-size: .68rem; font-weight: 800; }
.decision-demo.is-keep .photo-frame { transform: translateX(10px) rotate(1deg); box-shadow: -10px 10px 0 var(--keep); }
.decision-demo.is-archive .photo-frame { transform: translateX(-10px) rotate(-1deg); box-shadow: 10px 10px 0 var(--archive); }
.demo-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; gap: 14px; }
.demo-actions button { min-height: 52px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-weight: 750; }
.demo-actions button:first-child:hover { color: var(--white); background: var(--archive); border-color: var(--archive); }
.demo-actions button:last-child:hover { color: var(--white); background: var(--keep); border-color: var(--keep); }
.demo-status { min-height: 1.6em; margin: 14px 0 0; color: var(--muted); font-size: .82rem; }

.organize-section { background: var(--paper); }
.section-heading.compact { position: static; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: end; margin-bottom: 70px; }
.section-heading.compact .eyebrow { align-self: start; }
.section-heading.compact h2 { margin: 0; }
.feature-ledger { border-top: 1px solid var(--ink); }
.feature-ledger article { display: grid; grid-template-columns: 70px 1fr 100px; align-items: center; gap: 28px; min-height: 160px; border-bottom: 1px solid var(--line); }
.feature-number { color: var(--muted); font: 700 .72rem/1 monospace; }
.feature-ledger h3 { margin-bottom: 8px; font-size: clamp(1.25rem, 2vw, 1.8rem); }
.feature-ledger p { max-width: 650px; margin-bottom: 0; color: var(--muted); }
.feature-mark { color: var(--blue); font: 500 clamp(2.2rem, 4vw, 4rem)/1 Georgia, serif; text-align: right; }

.control-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(50px, 10vw, 150px); color: var(--white); background: var(--dark); }
.control-copy .eyebrow { color: #aabce4; }
.control-copy p:last-child { max-width: 680px; color: #bec5d2; font-size: 1.08rem; }
.control-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid #485064; }
.control-steps li { display: grid; grid-template-columns: 48px 110px 1fr; gap: 18px; align-items: baseline; padding: 25px 0; border-bottom: 1px solid #485064; }
.control-steps span { color: #8490a5; font: .7rem monospace; }
.control-steps p { margin: 0; color: #aab2c1; font-size: .88rem; }

.closing-section { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: clamp(40px, 8vw, 120px); background: #dfe5f1; }
.closing-section img { border-radius: 30px; }
.closing-section h2 { max-width: 1000px; margin: 0; }

footer { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 30px; align-items: center; padding: 38px clamp(24px, 7vw, 108px); color: #d5dae3; background: var(--dark); font-size: .8rem; }
footer p { margin: 0; }
.footer-links { display: flex; gap: 24px; justify-content: flex-end; }
.footer-links a { text-underline-offset: 4px; }
.copyright { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid #384156; color: #858fa2; }

.legal-main { min-height: calc(100svh - 76px); padding: clamp(70px, 11vw, 150px) clamp(24px, 12vw, 190px); }
.legal-shell { max-width: 900px; }
.legal-shell h1 { margin-bottom: 26px; font-size: clamp(3.3rem, 7vw, 7rem); line-height: .93; }
.legal-meta { padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--muted); }
.legal-body { padding: 42px 0 12px; }
.legal-body h2 { margin: 46px 0 16px; color: var(--blue); font-family: inherit; font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 750; line-height: 1.2; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { max-width: 800px; margin-bottom: 18px; }
.legal-body a { text-underline-offset: 4px; }
.legal-empty { min-height: 260px; padding: 55px 0; }
.legal-empty p { max-width: 620px; color: var(--muted); }
.legal-contact { padding-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 820px) {
  .site-header { min-height: 68px; }
  .menu-toggle { display: block; }
  .site-header nav { display: none; position: absolute; z-index: 20; top: 68px; left: 0; right: 0; padding: 24px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; }
  .site-header nav.is-open { display: flex; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .hero { min-height: 760px; }
  .hero-image { object-position: 63% center; }
  .hero-shade { background: rgba(247,248,245,.44); }
  .hero-copy { width: 100%; padding: 104px 24px 220px; }
  h1 { font-size: clamp(4.1rem, 21vw, 6.5rem); }
  .hero h1 { left: 24px; right: 24px; bottom: 28px; font-size: clamp(3.8rem, 19vw, 6.2rem); line-height: .84; white-space: normal; }
  .decision-strip { top: 20px; left: 24px; right: 24px; gap: 14px; justify-content: space-between; }
  .decision-strip strong { padding-left: 13px; }
  .review-band, .control-section { grid-template-columns: 1fr; }
  .section-heading { position: static; }
  .section-heading.compact { grid-template-columns: 1fr; gap: 8px; margin-bottom: 44px; }
  .feature-ledger article { grid-template-columns: 36px 1fr 55px; gap: 14px; min-height: 180px; }
  .control-steps li { grid-template-columns: 34px 88px 1fr; gap: 10px; }
  .closing-section { grid-template-columns: 88px 1fr; gap: 26px; }
  .closing-section img { border-radius: 18px; }
  .closing-section h2 { font-size: clamp(2rem, 9vw, 3.2rem); }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero { min-height: 700px; }
  .hero-copy { padding-top: 100px; }
  .hero-intro { font-size: 1rem; }
  .decision-strip { font-size: .7rem; }
  .review-band, .organize-section, .control-section, .closing-section { padding-left: 20px; padding-right: 20px; }
  h2 { font-size: 2.7rem; }
  .feature-ledger article { grid-template-columns: 28px 1fr; }
  .feature-mark { display: none; }
  .control-steps li { grid-template-columns: 30px 1fr; }
  .control-steps p { grid-column: 2; }
  .closing-section { grid-template-columns: 64px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
