/* Restoration CFO — brand tokens from the 2026 brand guide */
:root {
  --navy: #142d3b;
  --teal: #087f78;
  --teal-dark: #066660;
  --off: #f4f6f3;
  --slate: #566975;
  --mint: #dceae6;
  --white: #ffffff;
  --muted: #7d8f99;
  --line: rgba(20, 45, 59, 0.14);
  --line-strong: rgba(20, 45, 59, 0.22);
  --red: #b3452f;
  --shadow: 0 1px 2px rgba(20, 45, 59, 0.06), 0 8px 24px rgba(20, 45, 59, 0.06);
  --radius: 10px;
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --frame: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--off);
  color: var(--navy);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Frame: dashed guides like a blueprint ---------- */
.frame {
  max-width: var(--frame);
  margin: 0 auto;
  border-left: 1px dashed var(--line-strong);
  border-right: 1px dashed var(--line-strong);
}
.rule { border-top: 1px dashed var(--line-strong); }
.rule-solid { border-top: 1px solid var(--line); }
.pad { padding-left: 40px; padding-right: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 20px;
  border-radius: 10px; border: 1px solid transparent;
  font-size: 17px; font-weight: 700; white-space: nowrap;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { background: var(--white); border-color: var(--line-strong); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--navy); color: var(--white);
  font-size: 15px; text-align: center; padding: 11px 16px;
}
.announce a { display: inline; }
.announce strong { font-weight: 700; }
.announce span { color: #a9bcc6; }
.announce a:hover span { color: var(--white); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 243, 0.92);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px dashed var(--line-strong);
}
.nav {
  max-width: var(--frame); margin: 0 auto;
  display: flex; align-items: center; gap: 36px;
  height: 84px; padding: 0 0;
}
.brand { flex-shrink: 0; display: block; padding: 8px 0; }
.brand img { width: 220px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 12px; border-radius: 8px;
  background: none; border: 0; cursor: pointer;
  font-size: 17px; font-weight: 700; color: var(--navy);
}
.nav-links > li > a:hover, .nav-links > li > button:hover { background: var(--mint); }
.chev { width: 14px; height: 14px; transition: transform .15s; }
.has-menu:hover .chev, .has-menu:focus-within .chev { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 10px 12px; border-radius: 8px; }
.menu a:hover { background: var(--off); }
.menu strong { display: block; font-size: 16px; }
.menu small { display: block; font-size: 14px; color: var(--slate); line-height: 1.35; margin-top: 2px; }
.nav-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle svg { margin: auto; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 104px; padding-bottom: 104px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 18px; height: 3px; background: var(--teal); border-radius: 2px; }
.hero h1 { font-size: 48px; line-height: 1.1; }
.m { color: var(--muted); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; padding: 0; list-style: none; font-size: 16px; color: var(--slate); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }
.hero-copy p { font-size: 20px; color: var(--slate); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Product tabs + mock ---------- */
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px dashed var(--line-strong); }
.tab {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 60px; background: none; border: 0; cursor: pointer;
  font-size: 18px; font-weight: 700; color: var(--slate);
  border-bottom: 2px solid transparent;
}
.tab + .tab { border-left: 1px dashed var(--line-strong); }
.tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.tab svg { width: 20px; height: 20px; }

.stage {
  padding: 52px 64px 60px;
  background-color: #e9eeeb;
  background-image:
    linear-gradient(var(--off) 1px, transparent 1px),
    linear-gradient(90deg, var(--off) 1px, transparent 1px);
  background-size: 34px 34px;
  border-top: 1px solid var(--line);
}
.panel[hidden] { display: none; }

.app {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 0 0 6px rgba(255,255,255,.55), 0 24px 60px rgba(20,45,59,.12);
  display: grid; grid-template-columns: 210px 1fr 280px; min-height: 640px;
  font-size: 13px; line-height: 1.4; overflow: hidden;
}
.app.app-2 { grid-template-columns: 210px 1fr; }

.side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; background: #fbfcfb; }
.ws { display: flex; align-items: center; gap: 8px; padding: 4px 6px 12px; font-weight: 700; }
.ws i { width: 22px; height: 22px; border-radius: 6px; background: var(--mint); color: var(--teal); font-style: normal; font-size: 12px; display: grid; place-items: center; }
.ws small { font-weight: 400; color: var(--muted); margin-left: auto; font-size: 11px; }
.side-search { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; color: var(--muted); margin-bottom: 12px; background: var(--white); }
.side-search svg { width: 13px; height: 13px; }
.side h5 { margin: 12px 6px 4px; font-size: 11px; color: var(--muted); font-weight: 400; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 6px; color: var(--slate); }
.side li svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .8; }
.side li.on { background: var(--mint); color: var(--navy); font-weight: 700; }
.side li .n { margin-left: auto; font-size: 11px; background: var(--off); border-radius: 10px; padding: 0 6px; }
.side .grow { flex: 1; }

.main { padding: 12px 14px 14px; background: #f7f9f8; min-width: 0; }
.bar { display: flex; align-items: center; gap: 10px; padding: 2px 2px 12px; color: var(--slate); }
.bar b { color: var(--navy); }
.bar .chip { margin-left: auto; }
.chip { font-size: 11px; border: 1px solid var(--line); border-radius: 20px; padding: 2px 9px; background: var(--white); color: var(--slate); white-space: nowrap; }
.chip.teal { background: var(--mint); border-color: transparent; color: var(--teal); font-weight: 700; }
.avs { display: flex; }
.avs span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #f7f9f8; margin-left: -6px; font-size: 9px; font-weight: 700; display: grid; place-items: center; color: var(--white); }

.grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 10px; }
.grid-b { display: grid; grid-template-columns: 160px 1fr; gap: 10px; margin-top: 10px; }
.stack { display: grid; gap: 10px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.card-h { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 700; }
.card-h small { font-weight: 400; color: var(--muted); }
.card-b { padding: 12px; }
.legend { display: flex; gap: 14px; justify-content: center; font-size: 11px; color: var(--slate); margin-bottom: 4px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.chart text { font-family: var(--font); font-size: 10px; fill: var(--muted); }
.chart .lbl { fill: var(--navy); font-weight: 700; }
.chart.dense text { font-size: 13px; }

.donut-wrap { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; }
.donut-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 12px; }
.donut-list li { display: grid; grid-template-columns: 10px 1fr; gap: 7px; align-items: start; }
.donut-list li i { margin-top: 3px; }
.donut-list b { display: block; }
.donut-list i { width: 9px; height: 9px; border-radius: 2px; }
.donut-list b { font-variant-numeric: tabular-nums; }
.donut-list em { font-style: normal; color: var(--muted); font-size: 11px; }

.kpi { text-align: center; padding: 18px 12px 16px; }
.kpi .lab { color: var(--slate); }
.kpi .val { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 6px; font-variant-numeric: tabular-nums; }
.delta { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--mint); color: var(--teal); }
.kpi .sub { display: block; font-size: 11px; color: var(--muted); margin-top: 6px; }

.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 7px 9px; text-align: left; white-space: nowrap; }
.tbl th { font-weight: 700; font-size: 12px; color: var(--navy); border-bottom: 1px solid var(--line); }
.tbl td { color: var(--navy); border-bottom: 1px solid rgba(20,45,59,.06); }
.tbl .r { text-align: right; }
.tbl tfoot td { font-weight: 700; border-top: 1px solid var(--line); border-bottom: 0; }
.neg { color: var(--red) !important; font-weight: 700; }
.pos { color: var(--teal) !important; }
.pill { display: inline-block; font-size: 11px; border-radius: 10px; padding: 1px 7px; background: var(--off); color: var(--slate); }

/* chat */
.chat { border-left: 1px solid var(--line); display: flex; flex-direction: column; padding: 12px; background: var(--white); }
.chat-h { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.chat-h .av { width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.chat-h b { display: block; }
.chat-h small { color: var(--muted); font-size: 11px; }
.msgs { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.q { align-self: flex-end; background: var(--mint); border-radius: 10px 10px 2px 10px; padding: 8px 11px; max-width: 88%; }
.a { color: var(--navy); }
.a ul { margin: 6px 0 0; padding-left: 16px; }
.a li { margin: 2px 0; }
.typing { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.compose { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; color: var(--muted); }
.compose div { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.compose .send { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }

/* bars (tab 2) */
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: 120px 1fr 44px; gap: 10px; align-items: center; }
.hbar .track { height: 12px; background: var(--off); border-radius: 4px; overflow: hidden; }
.hbar .fill { height: 100%; background: var(--teal); border-radius: 4px; }
.hbar b { text-align: right; font-variant-numeric: tabular-nums; }
.note { margin-top: 12px; padding: 10px 12px; background: var(--off); border-radius: 8px; color: var(--slate); }
.note b { color: var(--navy); }

/* ---------- Tools strip ---------- */
.strip-title { text-align: center; color: var(--slate); font-size: 16px; padding: 28px 16px; }
.tools { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px dashed var(--line-strong); }
.tool {
  display: grid; place-items: center; height: 92px; padding: 0 12px; text-align: center;
  font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: #3c5260;
  border-bottom: 1px dashed var(--line-strong);
}
.tool:not(:nth-child(5n)) { border-right: 1px dashed var(--line-strong); }
.tool small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.strip-note { text-align: center; font-size: 14px; color: var(--muted); padding: 16px; }

/* ---------- Section heads ---------- */
.sec-head { padding-top: 96px; padding-bottom: 72px; }
.sec-head h2, .big-h { font-size: 44px; line-height: 1.12; max-width: 820px; }
.sec-head p.lead { margin-top: 20px; font-size: 20px; color: var(--slate); max-width: 640px; }
h2.h2 { font-size: 32px; line-height: 1.2; }

/* ---------- Three pillars ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }
.col { padding: 32px 30px 36px; display: flex; flex-direction: column; }
.col + .col { border-left: 1px dashed var(--line-strong); }
.viz { height: 340px; display: grid; place-items: center; position: relative; margin-bottom: 28px; }
.col h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 10px; letter-spacing: -0.01em; }
.col h3 svg { width: 22px; height: 22px; color: var(--teal); }
.col p { color: var(--slate); font-size: 17px; }

/* orbit */
.orbit { position: relative; width: 300px; height: 300px; }
.orbit::before { content: ""; position: absolute; inset: 40px; border: 1.5px dashed var(--line-strong); border-radius: 50%; }
.orbit .core {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%);
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  display: grid; place-items: center;
}
.orbit .core img { width: 46px; }
.sat {
  position: absolute; width: 66px; height: 66px; margin: -33px 0 0 -33px;
  background: var(--white); border-radius: 50%; box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  display: grid; place-items: center; text-align: center;
  font-size: 10.5px; font-weight: 700; line-height: 1.15; color: var(--navy);
}
.sat svg { width: 20px; height: 20px; color: var(--teal); margin: 0 auto 3px; }
.spin { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.spin .sat { animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ask card */
.ask {
  width: 100%; max-width: 360px; background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 18px 18px 14px; font-size: 17px;
}
.ask .typed { min-height: 52px; }
.ask .typed::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; background: var(--navy); vertical-align: -2px; margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ask .row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: 15px; color: var(--slate); }
.ask .send { width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; }
.ask .send svg { width: 16px; height: 16px; }
.answer-peek {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: 90%; max-width: 330px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  font-size: 13px; color: var(--navy); box-shadow: var(--shadow);
  opacity: 0; transition: opacity .4s;
}
.answer-peek.show { opacity: 1; }
.answer-peek b { color: var(--red); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px dashed var(--line-strong); }
.svc { padding: 40px; }
.svc:nth-child(odd) { border-right: 1px dashed var(--line-strong); }
.svc:nth-child(n+3) { border-top: 1px dashed var(--line-strong); }
.svc .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 13px; color: var(--slate); margin-bottom: 18px; background: var(--white); }
.svc h3 { font-size: 24px; margin-bottom: 10px; }
.svc > p { color: var(--slate); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 17px; }
.checks svg { width: 18px; height: 18px; color: var(--teal); margin-top: 4px; }

/* ---------- Quote band ---------- */
.quote { position: relative; height: 560px; display: grid; place-items: center; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tile { position: absolute; background: #eaf1ee; border: 1px solid rgba(20,45,59,.07); }
.quote-body { position: relative; text-align: center; max-width: 660px; padding: 0 24px; }
.quote-body p.big { font-size: 42px; line-height: 1.18; font-weight: 700; letter-spacing: -0.02em; }
.quote-body .by { margin-top: 26px; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; color: var(--slate); font-size: 16px; }
.quote-body .by img { width: 28px; }
.quote-body .by span + span { border-left: 1px solid var(--line-strong); padding-left: 14px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }
.plan { padding: 36px 32px 40px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px dashed var(--line-strong); }
.plan.feat { background: var(--white); box-shadow: inset 0 3px 0 var(--teal); }
.plan .tag { font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: .05em; text-transform: uppercase; min-height: 20px; }
.plan h3 { font-size: 26px; margin: 8px 0 8px; }
.plan > p { color: var(--slate); font-size: 17px; min-height: 78px; }
.plan .price { margin: 20px 0 22px; font-size: 16px; color: var(--slate); }
.plan .price b { display: block; font-size: 22px; color: var(--navy); }
.plan .checks { margin-top: 0; flex: 1; }
.plan .btn { margin-top: 28px; justify-content: center; }
.fine { padding: 18px 40px; font-size: 15px; color: var(--slate); }

/* ---------- Setup band ---------- */
.setup { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 88px; padding-bottom: 80px; }
.setup h2 { font-size: 44px; line-height: 1.12; }
.setup p { font-size: 20px; color: var(--slate); }
.book { margin-top: 22px; }
.faces { display: inline-flex; }
.faces span { width: 26px; height: 26px; border-radius: 7px; margin-left: -4px; border: 2px solid var(--white); display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }
.step { padding: 32px 30px 36px; }
.step + .step { border-left: 1px dashed var(--line-strong); }
.step h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; letter-spacing: -0.01em; }
.step h3 span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 13px; color: var(--slate); font-weight: 400; background: var(--white); }
.step p { margin-top: 12px; color: var(--slate); font-size: 17px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; padding-top: 88px; padding-bottom: 88px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .2s; color: var(--teal); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--slate); max-width: 680px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 88px; padding-bottom: 96px; background: var(--mint); }
.contact h2 { font-size: 44px; line-height: 1.12; }
.contact .m { color: var(--slate); }
.contact .lead { margin-top: 18px; font-size: 20px; color: var(--slate); }
.contact ul.checks { margin-top: 28px; }
form.card-form { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--navy);
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 11px 12px; background: var(--white); width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 14px; color: var(--slate); }
.form-ok { display: none; padding: 14px 16px; border-radius: 8px; background: var(--mint); color: var(--navy); font-weight: 700; }
form.sent .form-ok { display: block; }

/* ---------- Footer ---------- */
.footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer img { width: 220px; height: auto; }
.footer .desc { margin-top: 18px; color: var(--slate); font-size: 16px; max-width: 300px; }
.footer h4 { font-size: 15px; margin-bottom: 14px; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 16px; color: var(--slate); }
.footer a:hover { color: var(--teal); }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .frame { margin: 0 20px; }
  .nav { padding: 0 20px; }
}
@media (max-width: 1180px) {
  .app { grid-template-columns: 200px 1fr; }
  .app .chat { display: none; }
  .nav-links > li > a, .nav-links > li > button { padding: 0 9px; font-size: 16px; }
  .nav { gap: 20px; }
}
@media (max-width: 1020px) {
  .nav-links, .nav-actions { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav { display: block; border-top: 1px dashed var(--line-strong); padding: 8px 20px 20px; background: var(--off); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { display: block; padding: 12px 0; font-weight: 700; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { display: flex; justify-content: center; margin-top: 16px; border-bottom: 0; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 64px; padding-bottom: 64px; }
  .stage { padding: 28px 20px 32px; }
  .app, .app.app-2 { grid-template-columns: 1fr; min-height: 0; }
  .side { display: none; }
  .cols3, .steps, .plans { grid-template-columns: 1fr; }
  .col + .col, .step + .step, .plan + .plan { border-left: 0; border-top: 1px dashed var(--line-strong); }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .tool:not(:nth-child(5n)) { border-right: 0; }
  .tool:nth-child(odd) { border-right: 1px dashed var(--line-strong); }
  .setup, .faq, .contact { grid-template-columns: 1fr; gap: 28px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .plan > p { min-height: 0; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .frame { margin: 0; border-left: 0; border-right: 0; }
  .pad { padding-left: 16px; padding-right: 16px; }
  .nav { padding: 0 16px; height: 72px; }
  .brand img { width: 170px; }
  .hero h1 { font-size: 32px; }
  .hero-copy p, .sec-head p.lead, .setup p, .contact .lead { font-size: 18px; }
  .sec-head { padding-top: 64px; padding-bottom: 44px; }
  .sec-head h2, .big-h, .setup h2, .contact h2 { font-size: 30px; }
  h2.h2 { font-size: 26px; }
  .tab { font-size: 16px; }
  .stage { padding: 20px 12px 24px; }
  .grid, .grid-b { grid-template-columns: 1fr; }
  .grid-b .stack { grid-template-columns: 1fr 1fr; }
  .kpi .val { font-size: 30px; }
  .donut-wrap { grid-template-columns: 110px 1fr; }
  .services { grid-template-columns: 1fr; }
  .svc { padding: 32px 16px; }
  .svc:nth-child(odd) { border-right: 0; }
  .svc:nth-child(n+2) { border-top: 1px dashed var(--line-strong); }
  .col, .step, .plan { padding-left: 16px; padding-right: 16px; }
  .viz { height: 300px; }
  .quote { height: 460px; }
  .quote-body p.big { font-size: 28px; }
  .quote .tile.hide-sm { display: none; }
  .quote-body .by span + span { border-left: 0; padding-left: 0; width: 100%; }
  .fine { padding: 16px; }
  .two { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; gap: 28px; }
  .tool { font-size: 17px; height: 76px; }
  .announce { font-size: 14px; }
  .hbar { grid-template-columns: 96px 1fr 40px; }
}
