/* KW Metrics - shared stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #2A3441;
  --navy-light: #3D4A5C;
  --coral: #FF5C5C;
  --coral-dark: #E14444;
  --cream: #F7F3EA;
  --white: #FFFFFF;
  --text: #2A3441;
  --text-muted: #6B7280;
  --border: #E8E2D4;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(42, 52, 65, 0.08);
  --shadow-lg: 0 12px 40px rgba(42, 52, 65, 0.12);
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0 0 16px; color: var(--text-muted); }
ul { margin: 0; padding: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo img { height: 36px; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links > li > a {
  font-weight: 600; font-size: 15px; text-decoration: none; color: var(--navy);
  padding: 8px 0; transition: color .15s;
}
.nav__links > li > a:hover { color: var(--coral); }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

.nav__links > li > a { position: relative; }
.nav__links > li > a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: left; transition: transform .15s;
}
.nav__links > li > a:hover::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 10px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: all .15s;
}
.btn--primary { background: var(--coral); color: var(--white); }
.btn--primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 24px;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); margin: 0 0 18px; color: var(--navy); }
.hero h1 .accent { color: var(--coral); }
.hero__sub { font-size: 18px; max-width: 480px; margin: 0 0 32px; color: var(--text-muted); }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.hero__trust { font-size: 13.5px; color: var(--text-muted); font-weight: 500; }

/* ---------- Stat panel visual ---------- */
.statpanel { background: var(--navy); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); }
.statpanel__label { color: #92A0B3; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.statpanel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.statcard { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 18px; }
.statcard__num { font-size: 26px; font-weight: 800; color: var(--white); }
.statcard__num .unit { font-size: 14px; color: #92A0B3; font-weight: 600; }
.statcard__label { font-size: 12.5px; color: #92A0B3; margin-top: 4px; font-weight: 500; }
.statcard--accent { grid-column: span 2; background: var(--coral); border-color: var(--coral); display: flex; align-items: center; justify-content: space-between; }
.statcard--accent .statcard__num { color: var(--white); }
.statcard--accent .statcard__label { color: #FFE0E0; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__eyebrow { color: var(--coral); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.section__head h2 { font-size: clamp(28px, 3.5vw, 38px); color: var(--navy); }
.section__head p { font-size: 17px; }

/* ---------- Feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; background: #FDEAEA; color: var(--coral);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14.5px; margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding-left: 4px; }
.step__num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 18px; font-size: 15px;
}
.step h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14.5px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); border-radius: 24px; padding: 64px 40px; text-align: center; margin: 0 auto; }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.cta-band p { color: #C7CEDA; font-size: 16px; margin-bottom: 30px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 880px; margin: 0 auto; align-items: stretch; }
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; }
.price-card--featured { border: 2px solid var(--coral); box-shadow: var(--shadow-lg); position: relative; }
.price-card__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--coral); color: var(--white);
  font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .03em;
}
.price-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.price-card__price { font-size: 38px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.price-card__price span { font-size: 15px; font-weight: 600; color: var(--text-muted); }
.price-card__desc { font-size: 14.5px; margin-bottom: 26px; }
.price-card__features { list-style: none; margin: 0 0 30px; padding: 0; flex-grow: 1; }
.price-card__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text); padding: 9px 0; border-top: 1px solid var(--border); }
.price-card__features li:first-child { border-top: none; }
.price-card__features svg { flex-shrink: 0; margin-top: 3px; color: var(--coral); }

.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.faq-item p { margin: 0; font-size: 14.5px; }

/* ---------- Content pages ---------- */
.page-hero { padding: 72px 0 48px; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); color: var(--navy); max-width: 720px; margin: 0 auto 16px; }
.page-hero p { font-size: 17px; max-width: 600px; margin: 0 auto; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 24px; color: var(--navy); margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; color: var(--navy); margin-top: 28px; }
.prose p, .prose li { font-size: 15.5px; color: var(--text-muted); }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--navy); }
.prose .callout {
  background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--coral);
  border-radius: var(--radius-sm); padding: 18px 22px; margin: 24px 0;
}
.prose .callout p { margin: 0; font-size: 14.5px; }
.updated-note { text-align: center; font-size: 13.5px; color: var(--text-muted); margin-bottom: 44px; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; max-width: 980px; margin: 0 auto; align-items: start; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14.5px; background: var(--white); color: var(--text); resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.contact-side { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.contact-side h3 { font-size: 16px; color: var(--navy); margin-bottom: 10px; }
.contact-side p { font-size: 14.5px; margin-bottom: 18px; }
.contact-side a.email { font-weight: 700; color: var(--coral); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #AEB8C4; padding: 64px 0 28px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 32px; margin-bottom: 14px; }
.footer-brand p { color: #9AA5B3; font-size: 14px; max-width: 260px; }
.footer-col h4 { color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #AEB8C4; text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; color: #8894A3; }
.footer-bottom .disclaimer { max-width: 620px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2, .steps, .pricing-grid, .contact-grid, .hero__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__sub { max-width: 100%; }
}
@media (max-width: 760px) {
  .nav__links { position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: var(--cream); flex-direction: column; align-items: flex-start; padding: 24px; gap: 4px; transform: translateX(100%); transition: transform .2s; overflow-y: auto; }
  .nav__links.open { transform: translateX(0); }
  .nav__links > li { width: 100%; }
  .nav__links > li > a { display: block; padding: 14px 4px; width: 100%; }
  .nav__toggle { display: block; }
  .nav__actions .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
