/* =========================================================
   ClaimX — shared stylesheet
   All colors are defined as CSS variables below so the entire
   brand palette can be swapped in one place.
   ========================================================= */

:root {
  /* ---- BRAND PALETTE (ClaimX) ---- */
  --color-primary:        #03213D;   /* navy — buttons / links / dark sections */
  --color-primary-dark:   #021627;   /* hover / pressed states */
  --color-primary-soft:   #e6ebf0;   /* cool navy tint (focus rings, pills) */
  --color-accent:         #F49E13;   /* orange — eyebrows, card top borders, highlights */
  --color-accent-dark:    #d6850a;   /* orange hover */
  --color-accent-soft:    #fdf0d8;   /* warm orange tint (icon backgrounds) */

  /* ---- NEUTRALS ---- */
  --color-ink:            #03213D;   /* headings / darkest text (navy) */
  --color-body:           #2f4456;   /* body copy (soft navy) */
  --color-muted:          #6a7c8a;   /* secondary text */
  --color-line:           #e7ddc9;   /* warm borders / dividers */
  --color-surface:        #FBF8F0;   /* cards / panels (warm off-white) */
  --color-bg:             #F5F1E6;   /* page background (canvas beige) */
  --color-bg-dark:        #03213D;   /* dark sections / footer (navy) */

  /* ---- TYPE ---- */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;

  /* ---- SHAPE & DEPTH ---- */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 19, 38, .06);
  --shadow:    0 10px 30px rgba(13, 19, 38, .08);
  --shadow-lg: 0 24px 60px rgba(13, 19, 38, .14);

  /* ---- LAYOUT ---- */
  --maxw: 1140px;
  --gutter: 24px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--color-ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(56px, 9vw, 110px) 0; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 14px;
}

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--color-muted); font-size: 1.1rem; }

.lead { font-size: 1.2rem; color: var(--color-body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-line);
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn-light {
  background: #fff;
  color: var(--color-primary);
}
.btn-light:hover { background: var(--color-primary-soft); color: var(--color-primary-dark); }

.btn-accent {
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover { background: var(--color-accent-dark); color: var(--color-primary); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--color-ink); }
.brand .mark {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--color-body);
  font-weight: 500;
  font-size: .98rem;
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-accent-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-ink);
  margin: 4px 0;
  transition: .2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 8vw, 100px);
  background:
    radial-gradient(900px 500px at 85% -10%, var(--color-accent-soft), transparent 60%),
    var(--color-bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 30px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  margin-top: 22px;
  font-size: .92rem;
  color: var(--color-muted);
}

/* Hero visual — mock product panel */
.hero-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.panel-bar {
  display: flex; gap: 6px; margin-bottom: 18px;
}
.panel-bar span {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--color-line);
}
.panel-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--color-bg);
}
.panel-row .label { font-weight: 600; color: var(--color-ink); font-size: .95rem; }
.panel-row .sub { font-size: .82rem; color: var(--color-muted); }
.pill {
  font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.pill-green { background: #e3f9f0; color: #0a8a5f; }
.pill-blue  { background: var(--color-primary-soft); color: var(--color-primary-dark); }
.pill-amber { background: #fff3e0; color: #b26a00; }

/* ---------- Logos / trust strip ---------- */
.trust { padding: 36px 0; border-bottom: 1px solid var(--color-line); }
.trust p {
  text-align: center; color: var(--color-muted);
  font-size: .85rem; text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 20px; font-weight: 600;
}
.trust-row {
  display: flex; flex-wrap: wrap; gap: 40px;
  align-items: center; justify-content: center;
  opacity: .7; font-weight: 700; color: var(--color-muted); font-size: 1.1rem;
}

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--color-muted); margin: 0; font-size: .98rem; }

/* ---------- Split / alternating sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  min-height: 280px;
}
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li {
  position: relative; padding-left: 32px; margin-bottom: 14px;
  color: var(--color-body);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Dark feature section ---------- */
.section-dark { background: var(--color-bg-dark); color: rgba(255,255,255,.82); }
.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.78); }
.section-dark .check-list li { color: rgba(255,255,255,.88); }

/* Line-item suggestion amounts + totals */
.pill-accent { background: var(--color-accent-soft); color: var(--color-accent-dark); }
.amount {
  font-weight: 800;
  color: var(--color-accent-dark);
  font-size: .95rem;
  white-space: nowrap;
}
.panel-head {
  background: var(--color-accent-soft);
  border-color: transparent !important;
}
.panel-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px; padding: 15px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
}
.panel-total .label { color: #fff; }
.panel-total .amount { color: var(--color-accent); font-size: 1.05rem; }

/* ---------- Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; text-align: center; }
.stat-grid > div {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 34px 20px;
  box-shadow: var(--shadow-sm);
}
.stat-num { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--color-ink); }
.stat-label { color: var(--color-muted); font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff; font-weight: 800; font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--color-muted); margin: 0; font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 400px at 80% 120%, rgba(255,255,255,.12), transparent 60%),
    var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }

/* ---------- Testimonial ---------- */
.quote {
  max-width: 820px; margin: 0 auto; text-align: center;
}
.quote blockquote {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.45; color: var(--color-ink);
  font-weight: 600; margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.quote .who { color: var(--color-muted); font-size: .98rem; }
.quote .who strong { color: var(--color-ink); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 44px);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--color-ink); margin-bottom: 6px; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-ink);
  transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Contact info ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.info-item .icon {
  flex: none;
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--color-accent-soft); color: var(--color-accent-dark);
}
.info-item h4 { margin: 0 0 2px; font-size: 1rem; }
.info-item p { margin: 0; color: var(--color-muted); font-size: .95rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.member { text-align: center; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  background: var(--color-accent-soft); color: var(--color-accent-dark);
  font-weight: 800; font-size: 1.6rem;
}
.member h3 { margin-bottom: 2px; font-size: 1.1rem; }
.member .role { color: var(--color-primary); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.member p { color: var(--color-muted); font-size: .92rem; margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(60px, 8vw, 96px) 0 clamp(40px, 5vw, 60px);
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% -20%, var(--color-accent-soft), transparent 60%),
    var(--color-bg);
}
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.15rem; color: var(--color-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-about { font-size: .95rem; max-width: 320px; }
.footer-col h4 {
  color: #fff; font-size: .85rem; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  font-size: .88rem; color: rgba(255,255,255,.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .steps, .stat-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-panel { max-width: 480px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--color-line);
    padding: 8px 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 24px; }
  .nav-toggle { display: block; }
  .nav .nav-cta .btn-ghost { display: none; }
  .grid-3, .steps, .stat-grid, .team-grid,
  .grid-2, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
