:root {
  --ink: #142438;
  --ink-soft: #546174;
  --navy: #16263a;
  --brand: #c94929;
  --brand-dark: #a8371e;
  --mint: #0d8c7d;
  --mint-soft: #dff3ef;
  --cream: #fbf7f1;
  --paper: #ffffff;
  --line: #e6ddd4;
  --shadow: 0 20px 55px rgba(20, 36, 56, .10);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 30; background: white; padding: 10px 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 241, .92);
  border-bottom: 1px solid rgba(230, 221, 212, .8);
  backdrop-filter: blur(16px);
}
.nav { min-height: 76px; 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: 850; letter-spacing: -.03em; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: white; background: linear-gradient(145deg, var(--brand), #ee704e); box-shadow: 0 10px 24px rgba(201, 73, 41, .24); }
.brand-mark svg { width: 27px; height: 27px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .95rem; font-weight: 650; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--brand); }
.cta-short { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 16px; background: var(--brand); color: white; text-decoration: none; font-weight: 800; box-shadow: 0 10px 22px rgba(201, 73, 41, .2); transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: var(--brand-dark); }
.button.secondary { color: var(--ink); background: white; border: 1px solid var(--line); box-shadow: none; }

.hero { padding: 84px 0 68px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border-radius: 999px; background: var(--mint-soft); color: #096f64; font-size: .82rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(13, 140, 125, .12); }
h1 { margin: 24px 0 20px; max-width: 760px; font-size: clamp(2.7rem, 6.3vw, 5.6rem); line-height: .98; letter-spacing: -.065em; }
.hero-copy > p { max-width: 650px; margin: 0; color: var(--ink-soft); font-size: clamp(1.06rem, 2vw, 1.27rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 20px; font-size: .88rem; color: var(--ink-soft); }

.phone-stage { position: relative; min-height: 560px; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; inset: 12% -10%; border-radius: 48% 52% 42% 58%; background: linear-gradient(135deg, #f4c4b4, #d9eee9); transform: rotate(-8deg); }
.phone {
  position: relative;
  width: min(360px, 88vw);
  padding: 18px;
  border: 10px solid var(--navy);
  border-radius: 44px;
  background: #f8f4ed;
  box-shadow: 0 38px 80px rgba(20, 36, 56, .25);
  transform: rotate(3deg);
}
.phone-top { margin: -4px auto 18px; width: 88px; height: 7px; border-radius: 8px; background: var(--navy); }
.app-bar { margin: -1px -1px 16px; padding: 22px 18px; border-radius: 25px; background: var(--navy); color: white; }
.app-bar small { color: #cbd5df; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric { padding: 13px 8px; border-radius: 16px; background: white; text-align: center; border: 1px solid var(--line); }
.metric strong { display: block; font-size: 1.35rem; color: var(--mint); }
.tables { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.table-card { min-height: 130px; padding: 15px; border-radius: 20px; background: #e5f5f1; border: 1px solid #b8ded7; }
.table-card.busy { background: #ffe1d7; border-color: #efbaa9; }
.table-card span { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 800; color: var(--mint); }
.table-card.busy span { color: var(--brand); }
.table-card b { display: block; margin-top: 25px; font-size: 2rem; text-align: center; }

.section { padding: 78px 0; }
.section.white { background: white; }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head h2 { margin: 12px 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.08; letter-spacing: -.045em; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--cream); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--mint-soft); color: var(--mint); font-size: 1.35rem; }
.feature-card h3 { margin: 18px 0 8px; line-height: 1.2; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: flow; }
.flow article { position: relative; padding: 32px; border-radius: var(--radius); background: var(--navy); color: white; counter-increment: flow; }
.flow article::before { content: "0" counter(flow); display: block; margin-bottom: 46px; color: #89bfb7; font-weight: 900; }
.flow p { margin-bottom: 0; color: #cbd5df; }
.trust-band { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 38px; border-radius: var(--radius); background: linear-gradient(120deg, #def3ee, #fff0e8); border: 1px solid #cde4dd; }
.trust-band h2 { margin: 0 0 8px; letter-spacing: -.035em; }
.trust-band p { margin: 0; color: var(--ink-soft); }

.legal-hero { padding: 72px 0 40px; }
.legal-hero h1 { max-width: 850px; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 44px; align-items: start; padding-bottom: 90px; }
.legal-nav { position: sticky; top: 102px; padding: 22px; border-radius: 20px; background: white; border: 1px solid var(--line); }
.legal-nav strong { display: block; margin-bottom: 10px; }
.legal-nav a { display: block; padding: 7px 0; color: var(--ink-soft); text-decoration: none; font-size: .92rem; }
.legal-content { padding: clamp(26px, 5vw, 58px); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.legal-content h2 { margin-top: 42px; line-height: 1.2; letter-spacing: -.025em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #445165; }
.legal-content li + li { margin-top: 8px; }
.callout { margin: 28px 0; padding: 20px 22px; border-left: 4px solid var(--mint); border-radius: 8px 18px 18px 8px; background: var(--mint-soft); }
.contact-card { max-width: 760px; margin: 30px auto 90px; padding: clamp(28px, 6vw, 58px); border-radius: var(--radius); background: white; box-shadow: var(--shadow); text-align: center; }
.contact-card h1 { margin: 0 0 16px; font-size: clamp(2.2rem, 5vw, 4rem); }
.contact-card p { color: var(--ink-soft); }

.site-footer { padding: 42px 0; color: #d5dde6; background: var(--navy); }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: #d5dde6; text-decoration: none; }
.footer-links a:hover { color: white; }
.fine { font-size: .86rem; color: #9ba8b7; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .phone-stage { min-height: 510px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}
@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav { gap: 10px; }
  .brand { gap: 8px; font-size: .93rem; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .nav-links { gap: 8px; }
  .nav-links a:not(.button) { display: none; }
  .nav-links .button { min-height: 42px; padding: 0 15px; font-size: .88rem; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .hero { padding-top: 52px; }
  .hero-grid { gap: 12px; }
  .hero-copy, .hero-grid > * { min-width: 0; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.2rem); overflow-wrap: anywhere; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .phone-stage { min-height: 480px; }
  .phone { width: min(330px, 86vw); transform: rotate(2deg); }
  .feature-grid, .flow { grid-template-columns: 1fr; }
  .trust-band { grid-template-columns: 1fr; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
