:root {
  --brand: #4f1004;
  --brand-deep: #2b0b05;
  --brand-bright: #7b2817;
  --ink: #17191f;
  --muted: #646c84;
  --line: #e5e2df;
  --paper: #ffffff;
  --wash: #f7f5f2;
  --warm: #efe7df;
  --success: #246b4d;
  --shadow: 0 30px 80px rgba(43, 11, 5, 0.16);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }

.skip-link { position: fixed; z-index: 100; top: 0.75rem; left: 0.75rem; transform: translateY(-200%); padding: 0.75rem 1rem; background: var(--paper); border: 2px solid var(--brand); border-radius: 0.5rem; }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid rgba(229, 226, 223, 0.85); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 150px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; color: #434854; font-size: 0.91rem; font-weight: 650; }
.nav-links > a:not(.button) { text-decoration: none; }
.nav-links > a:not(.button):hover { color: var(--brand); }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0.75rem 1.2rem; border: 1px solid transparent; border-radius: 0.45rem; font-size: 0.93rem; font-weight: 750; text-decoration: none; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .text-link:focus-visible, .nav-links a:focus-visible, .footer-links a:focus-visible { outline: 3px solid rgba(123, 40, 23, 0.32); outline-offset: 4px; }
.button-small { min-height: 40px; padding: 0.55rem 1rem; }
.button-primary { color: var(--paper); background: var(--brand); box-shadow: 0 12px 28px rgba(79, 16, 4, 0.2); }
.button-primary:hover { background: var(--brand-bright); }
.button-outline { color: var(--brand); border-color: rgba(79, 16, 4, 0.32); background: transparent; }
.button-outline:hover { border-color: var(--brand); background: #fbf6f4; }
.button-light { color: var(--brand-deep); background: var(--paper); }
.button-light:hover { background: var(--warm); }
.text-link { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--brand); font-weight: 750; text-decoration: none; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(3px); }

.hero { position: relative; overflow: hidden; padding: 7.5rem 0 6.5rem; background: radial-gradient(circle at 78% 10%, rgba(150, 80, 55, 0.23), transparent 34%), linear-gradient(145deg, #fff 0%, #fbf6f3 58%, #eee1d8 100%); }
.hero::before { position: absolute; inset: auto auto -190px -130px; width: 440px; height: 440px; border: 1px solid rgba(79, 16, 4, 0.11); border-radius: 50%; content: ""; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.eyebrow { margin: 0 0 1.1rem; color: var(--brand); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.hero h1, .section-heading h2, .split-grid h2, .security-panel h2, .cta-panel h2, .legal-shell h1, .error-card h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 { max-width: 760px; font-size: clamp(3.4rem, 6.4vw, 6.6rem); }
.hero-lede { max-width: 650px; margin: 1.7rem 0 0; color: #505563; font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.2rem; }

.signal-card { position: relative; min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; color: var(--paper); background: linear-gradient(150deg, #5b180d 0%, #270906 100%); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 1rem; box-shadow: var(--shadow); }
.signal-card::after { position: absolute; inset: 18px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0.7rem; content: ""; pointer-events: none; }
.signal-topline { display: flex; justify-content: space-between; color: rgba(255, 255, 255, 0.86); font-size: 0.76rem; font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; }
.status-dot { display: inline-flex; align-items: center; gap: 0.45rem; color: #d8efe3; }
.status-dot::before { width: 7px; height: 7px; background: #71c99b; border-radius: 50%; content: ""; box-shadow: 0 0 0 5px rgba(113, 201, 155, 0.1); }
.signal-chart { height: 190px; display: flex; align-items: flex-end; gap: 0.8rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.bar { flex: 1; min-height: 20px; background: linear-gradient(to top, #ba6954, #f1c0ad); border-radius: 0.25rem 0.25rem 0 0; opacity: 0.92; }
.bar-one { height: 34%; } .bar-two { height: 53%; } .bar-three { height: 45%; } .bar-four { height: 72%; } .bar-five { height: 64%; } .bar-six { height: 91%; }
.signal-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.signal-stats div { display: flex; flex-direction: column; gap: 0.35rem; }
.signal-stats strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; font-weight: 500; }
.signal-stats span { color: rgba(255, 255, 255, 0.56); font-size: 0.72rem; }

.proof-strip { padding: 1.25rem 0; background: var(--brand-deep); color: rgba(255, 255, 255, 0.7); }
.proof-grid { display: grid; grid-template-columns: minmax(220px, 1.8fr) repeat(4, auto); align-items: center; gap: 2rem; font-size: 0.76rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.proof-grid p { margin: 0; color: var(--paper); letter-spacing: normal; text-transform: none; }

.section { padding: 7.5rem 0; }
.section-heading { max-width: 780px; }
.section-heading h2, .split-grid h2, .security-panel h2 { font-size: clamp(2.6rem, 4.8vw, 4.6rem); }
.section-heading > p:last-child { max-width: 660px; margin: 1.4rem 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.75; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 4rem; }
.feature-card { min-height: 310px; padding: 2rem; background: var(--wash); border: 1px solid var(--line); border-radius: 0.7rem; }
.feature-number { color: var(--brand); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.14em; }
.feature-card h3 { margin: 5.8rem 0 0.8rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 500; line-height: 1.15; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.section-contrast { color: var(--paper); background: var(--ink); }
.section-contrast .eyebrow { color: #e8b6a6; }
.split-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 8vw, 8rem); }
.steps { display: grid; }
.steps article { display: grid; grid-template-columns: 42px 1fr; gap: 1.2rem; padding: 0 0 2.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.steps article + article { padding-top: 2.2rem; }
.steps > article > span { color: #e8b6a6; font-size: 0.75rem; font-weight: 800; }
.steps h3 { margin: 0 0 0.5rem; font-size: 1.12rem; }
.steps p { margin: 0; color: rgba(255, 255, 255, 0.65); line-height: 1.7; }

.security-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; padding: 4rem; background: var(--wash); border: 1px solid var(--line); border-radius: 1rem; }
.security-panel > div:last-child > p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.security-links { display: grid; gap: 1rem; margin-top: 2rem; }
.cta-section { padding: 0 0 7.5rem; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 4rem; color: var(--paper); background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%); border-radius: 1rem; }
.cta-panel h2 { max-width: 730px; font-size: clamp(2.3rem, 4vw, 4rem); }
.eyebrow-light { color: #efc6b9; }

.site-footer { padding: 4.5rem 0 3rem; color: rgba(255, 255, 255, 0.7); background: #101116; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.footer-grid img { width: 135px; }
.footer-grid p { margin: 0.8rem 0 0; font-size: 0.86rem; }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.88rem; font-weight: 700; }
.footer-links a { color: var(--paper); text-decoration: none; }
.copyright { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }

.legal-main { padding: 6.5rem 0 7.5rem; background: var(--wash); }
.legal-shell { max-width: 820px; }
.legal-shell h1 { font-size: clamp(3.4rem, 7vw, 6.4rem); }
.legal-updated { margin: 1rem 0 2.2rem; color: var(--muted); font-size: 0.9rem; }
.legal-intro { margin: 0 0 4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); font-size: 1.2rem; line-height: 1.8; }
.legal-shell section { margin-top: 3rem; }
.legal-shell h2 { margin: 0 0 0.9rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; font-weight: 500; }
.legal-shell section p { color: #4f5563; line-height: 1.8; }
.legal-shell section a { color: var(--brand); font-weight: 700; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; background: var(--wash); }
.error-card { width: min(620px, 100%); padding: clamp(2rem, 6vw, 5rem); background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
.error-card img { width: 150px; margin-bottom: 4rem; }
.error-card h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.error-card > p:not(.eyebrow) { margin: 1.2rem 0 2rem; color: var(--muted); font-size: 1.05rem; }

@media (max-width: 880px) {
  .nav-links > a:not(.button) { display: none; }
  .hero { padding: 5.5rem 0; }
  .hero-grid, .split-grid, .security-panel { grid-template-columns: 1fr; }
  .signal-card { min-height: 380px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid p { grid-column: 1 / -1; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card h3 { margin-top: 3.5rem; }
  .security-panel, .cta-panel { padding: 2.5rem; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 2rem, 1160px); }
  .nav-shell { min-height: 68px; }
  .brand img { width: 125px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .signal-card { min-height: 350px; padding: 1.4rem; }
  .signal-stats { gap: 0.5rem; }
  .signal-stats strong { font-size: 0.95rem; }
  .section { padding: 5.5rem 0; }
  .section-heading h2, .split-grid h2, .security-panel h2 { font-size: 2.65rem; }
  .security-panel, .cta-panel { padding: 2rem 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
}

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