/* AdjusterHQ – Shared Stylesheet */

:root {
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --panel: #ffffff;
  --panel-alt: #f8f9fa;
  --text: #1a1a1a;
  --text-alt: #2d3748;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  --line: rgba(0,0,0,.08);
  --line-light: rgba(0,0,0,.05);

  --blue: #0a66c2;
  --blue-light: #1f8fff;
  --blue-bg: #eff6ff;
  --green: #3db54a;
  --green-light: #7bdc3b;
  --green-bg: #f0fdf4;

  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Topbar ─────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  min-width: 220px;
  text-decoration: none;
}

.brand img { height: 60px; width: auto; object-fit: contain; }

.brand .name { display: flex; flex-direction: column; }
.brand .name span:first-child { font-weight: 700; letter-spacing: -.3px; font-size: 19px; color: var(--text); }
.brand .name span:last-child  { font-size: 12px; color: var(--muted); font-weight: 400; }

nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }

.navlink {
  text-decoration: none;
  color: var(--text-alt);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}
.navlink:hover  { background: var(--bg-alt); color: var(--text); }
.navlink.active { background: var(--blue-bg); color: var(--blue); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
}
.btn.primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: white;
  box-shadow: var(--shadow);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn.ghost {
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn.ghost:hover { background: var(--panel-alt); }

.btn.outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn.outline:hover { background: var(--blue-bg); }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ── Hero (Home) ─────────────────────────────────────────── */
header.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: stretch;
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 32px;
}

h1 {
  margin: 0 0 16px 0;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text);
  font-weight: 700;
}

.lead {
  margin: 0 0 8px 0;
  color: var(--text-alt);
  font-size: 18px;
  max-width: 65ch;
  line-height: 1.65;
}

.mini {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.5;
}

/* ── Page Hero (sub-pages) ───────────────────────────────── */
.page-hero {
  padding: 64px 0 52px;
  background: linear-gradient(160deg, #f0f7ff 0%, #f8f9fa 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { font-size: 40px; margin: 0 0 12px 0; letter-spacing: -.8px; }
.page-hero .lead { font-size: 17px; margin: 0; }

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ── Stats / Pills ───────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.stat {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  transition: all 0.2s;
}
.stat:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.stat .k { font-weight: 700; font-size: 18px; color: var(--text); margin-bottom: 4px; }
.stat .v { color: var(--muted); font-size: 14px; line-height: 1.5; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--green-bg);
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(61,181,74,.15);
}

/* ── Sections ────────────────────────────────────────────── */
section { padding: 60px 0; }
section.alt { background: var(--bg-alt); }

h2.section-title {
  font-size: 32px;
  margin: 0 0 12px 0;
  letter-spacing: -.5px;
  color: var(--text);
  font-weight: 700;
}

.section-lead {
  color: var(--text-alt);
  font-size: 17px;
  max-width: 60ch;
  margin: 0 0 40px 0;
  line-height: 1.65;
}

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

.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s;
}
.feature:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }

.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.feature h3 { margin: 0 0 10px 0; font-size: 17px; font-weight: 600; color: var(--text); }
.feature p  { margin: 0; color: var(--text-alt); font-size: 15px; line-height: 1.6; }

/* ── Feature groups (features page) ─────────────────────── */
.feature-group { margin-bottom: 56px; }
.feature-group:last-child { margin-bottom: 0; }

.group-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-bg);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

h3.group-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px 0;
  letter-spacing: -.4px;
}

.group-desc {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 28px 0;
  max-width: 55ch;
}

/* ── Split layout ────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.panel h3 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.panel p  { margin: 0; color: var(--text-alt); font-size: 16px; line-height: 1.65; }
.panel p + p { margin-top: 12px; }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  color: white;
}
.cta-banner h2 { margin: 0 0 12px; font-size: 28px; color: white; letter-spacing: -.4px; }
.cta-banner p  { margin: 0 0 28px; opacity: .9; font-size: 16px; }
.btn.white {
  background: white;
  color: var(--blue);
  font-weight: 700;
  box-shadow: var(--shadow);
}
.btn.white:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn.white-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,.6);
}
.btn.white-outline:hover { background: rgba(255,255,255,.1); border-color: white; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.pricing-card .price-label { font-size: 40px; font-weight: 800; color: var(--text); margin: 16px 0 8px; letter-spacing: -1px; }
.pricing-card .price-sub   { color: var(--muted); font-size: 15px; margin-bottom: 32px; }

.pricing-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  text-align: left;
}
.pricing-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 15px;
  color: var(--text-alt);
  line-height: 1.5;
}
.pricing-list li:last-child { border-bottom: none; }
.check { color: var(--green); font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
}
.contact-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.contact-card p  { color: var(--text-alt); margin: 0 0 20px; line-height: 1.65; }

.contact-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
}
.contact-link:hover { text-decoration: underline; }

.info-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
}
.info-row:last-child { border-bottom: none; }
.info-icon {
  width: 36px; height: 36px;
  background: var(--blue-bg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.info-label { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.info-value { font-size: 15px; color: var(--text-alt); font-weight: 500; }
.info-value a { color: var(--blue); }
.info-value a:hover { text-decoration: underline; }

/* ── About ───────────────────────────────────────────────── */
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }

.value-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.value-card .icon { font-size: 28px; margin-bottom: 12px; }
.value-card h4 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.value-card p  { margin: 0; color: var(--text-alt); font-size: 14px; line-height: 1.6; }

/* ── Prose (legal / long-form) ───────────────────────────── */
.prose {
  max-width: 780px;
  margin: 0 auto;
  color: var(--text-alt);
  font-size: 16px;
  line-height: 1.75;
}
.prose h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  letter-spacing: -.3px;
}
.prose h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 28px 0 8px; }
.prose p  { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 24px; }
.prose ul li { margin-bottom: 6px; }
.prose a  { color: var(--blue); text-decoration: underline; }
.prose a:hover { color: var(--blue-light); }
.prose .effective-date {
  display: inline-block;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 32px;
}
.prose .callout {
  background: var(--bg-alt);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--text-alt);
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand .name { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.footer-brand .tagline { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 28ch; }

.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-alt); font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--blue); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}

.small { font-size: 14px; color: var(--muted); }
.small a { color: var(--blue); text-decoration: none; }
.small a:hover { text-decoration: underline; }

/* ── Utilities ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-32 { margin-top: 32px; }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid     { grid-template-columns: 1fr; }
  h1             { font-size: 34px; }
  .page-hero h1  { font-size: 30px; }
  h2.section-title { font-size: 26px; }
  .grid3         { grid-template-columns: 1fr; }
  .grid2         { grid-template-columns: 1fr; }
  .split         { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .about-values  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .brand         { min-width: auto; }
  header.hero    { padding: 52px 0 36px; }
  .page-hero     { padding: 44px 0 36px; }
  section        { padding: 44px 0; }
  .cta-banner    { padding: 36px 24px; }
  .pricing-card  { padding: 28px 20px; }
}

@media (max-width: 600px) {
  nav .navlink { display: none; }
  nav .navlink.active { display: inline-flex; }
}
