/* Cognico marketing site — tokens and layout from design_handoff_cognico_landing */

:root {
  --ink: #23211C;
  --accent: #DD5234;
  --accent-deep: #c0654c;
  --accent-hover: #c94a2e;
  --accent-tint: #FCEFEA;
  --bg: #FBFAF8;
  --band-soft: #F7F3EC;
  --body: #4E4B45;
  --secondary: #8b877f;
  --tertiary: #b9b2a7;
  --tertiary-alt: #bdb6aa;
  --track: #e4ddd3;
  --border: #ece5db;
  --border-coral: #f3d4ca;
  --dark: #1a1814;
  --success: #4F8A6B;
  --success-tint: #EFF5EF;
  --success-deep: #3c6b53;
  --info: #3f7e98;
  --info-tint: #EAF4F9;
  --amber-deep: #9a7220;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

/* 1120px content + 40px side padding (border-box) */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-mascot { width: 44px; height: auto; }
.nav-wordmark { font-weight: 900; font-size: 20px; letter-spacing: -0.02em; }
.btn-dark {
  display: inline-block; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 14px; padding: 11px 22px; border-radius: 14px;
}
.btn-dark:hover { background: #3a372f; color: #fff; }

/* ---------- Hero ---------- */
.hero-band { background: linear-gradient(180deg, #FBEEE7 0%, #F5D9CC 100%); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px;
  align-items: center; padding: 64px 0 96px;
}
.eyebrow {
  font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 18px; color: var(--accent-deep);
}
.eyebrow.green { color: var(--success-deep); }
.eyebrow.blue { color: var(--info); }
.eyebrow.amber { color: var(--amber-deep); }
h1 {
  margin: 0 0 22px; font-weight: 800; font-size: 54px; line-height: 1.08;
  letter-spacing: -0.02em; text-wrap: balance;
}
.hero-lede {
  margin: 0 0 34px; font-size: 18px; line-height: 1.6; color: var(--body);
  max-width: 480px; text-wrap: pretty;
}
.hero-cta-row { display: flex; align-items: center; gap: 18px; }
.btn-coral {
  display: inline-block; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 16px; padding: 16px 32px; border-radius: 16px;
  box-shadow: 0 8px 20px rgba(221, 82, 52, 0.26);
}
.btn-coral:hover { background: var(--accent-hover); color: #fff; }
.hero-microcopy { font-size: 13px; color: var(--secondary); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-disc {
  position: absolute; top: 50%; left: 50%; width: 374px; height: 374px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
.hero-visual svg { position: relative; }
.chip {
  position: absolute; border-radius: 999px; padding: 8px 16px;
  font-size: 13px; font-weight: 600; background: #fff; color: var(--body);
  box-shadow: 0 6px 16px rgba(35, 33, 28, 0.12);
  transform: rotate(var(--rot));
  animation: chip-drift 7s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.chip.coral { background: var(--accent-tint); color: var(--accent-deep); }
.chip.green { background: var(--success-tint); color: var(--success-deep); }
@keyframes chip-drift {
  0%, 100% { transform: rotate(var(--rot)) translateY(0); }
  50% { transform: rotate(var(--rot)) translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
  .chip { animation: none; }
}

/* ---------- Section headers ---------- */
.section { padding: 96px 40px; }
.section-header { text-align: center; margin: 0 auto 52px; }
h2 {
  margin: 0 0 14px; font-weight: 800; font-size: 36px;
  letter-spacing: -0.02em; text-wrap: balance;
}
.lede { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); text-wrap: pretty; }

/* ---------- Method cards ---------- */
.method { padding: 88px 40px 40px; }
.method .section-header { max-width: 640px; }
.method h2 { font-size: 38px; }
.method .lede { font-size: 16.5px; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.method-card {
  background: #fff; border-radius: 20px; padding: 28px;
  box-shadow: 0 5px 16px rgba(35, 33, 28, 0.07);
}
.method-card-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 18px;
}
.icon-well {
  width: 46px; height: 46px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
}
.icon-well.coral { background: var(--accent-tint); }
.icon-well.green { background: var(--success-tint); }
.icon-well.blue { background: var(--info-tint); }
.method-title { font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.method-desc { font-size: 14px; line-height: 1.55; color: var(--secondary); }

/* ---------- Numbers band ---------- */
.numbers-wrap { padding: 40px 40px 0; }
.numbers {
  background: var(--dark); border-radius: 24px; padding: 44px 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.num-value { font-weight: 800; font-size: 38px; color: #fff; letter-spacing: -0.02em; }
.num-value.coral { color: #E58F76; }
.num-value.blue { color: #9DBFD6; }
.num-caption { font-size: 13.5px; color: var(--tertiary); margin-top: 6px; line-height: 1.5; }

/* ---------- Two-column feature sections ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.feature h2 { margin-bottom: 16px; }
.feature .lede { margin-bottom: 26px; }
.band-soft { background: var(--band-soft); }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.check-row { display: flex; align-items: center; gap: 12px; }
.check-row span { font-size: 15px; color: var(--body); }

.clock-card {
  background: #fff; border-radius: 24px; padding: 36px;
  box-shadow: 0 22px 50px rgba(35, 33, 28, 0.13), 0 6px 18px rgba(35, 33, 28, 0.07);
  border: 1px solid rgba(35, 33, 28, 0.09);
}
.clock-card-figure { display: flex; justify-content: center; margin-bottom: 26px; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.legend-row { display: flex; align-items: center; gap: 10px; }
.legend-swatch { width: 11px; height: 11px; border-radius: 4px; flex-shrink: 0; }
.legend-name { font-weight: 500; font-size: 14px; flex: 1; }
.legend-hours { font-size: 13px; color: var(--secondary); }

/* ---------- Pools mock card ---------- */
.mock-center { display: flex; justify-content: center; }
.pool-card {
  width: 451px; background: #fff; border-radius: 22px;
  border: 1.5px solid var(--border-coral); padding: 24px;
  box-shadow: 0 22px 50px rgba(35, 33, 28, 0.10);
}
.pool-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pool-head .icon-well { width: 38px; height: 38px; border-radius: 12px; }
.pool-head-title { font-weight: 700; font-size: 16px; }
.pool-head-meta { font-size: 12px; color: var(--secondary); }
.pool-rows { display: flex; flex-direction: column; gap: 8px; }
.pool-row {
  display: flex; align-items: center; gap: 12px;
  background: #f7f3ee; border-radius: 12px; padding: 13px 14px;
}
.pool-row.active { background: var(--accent-tint); }
.pool-dot { width: 8px; height: 8px; border-radius: 50%; background: #c7c0b6; flex-shrink: 0; }
.pool-row.active .pool-dot { background: var(--accent); }
.pool-row-label { flex: 1; font-size: 14px; color: var(--body); }
.pool-row.active .pool-row-label { font-weight: 500; color: var(--ink); }
.pool-progress { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.progress-track { flex: 1; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.progress-fill { width: 25%; height: 100%; background: var(--accent); border-radius: 3px; }
.pool-progress-label { font-weight: 600; font-size: 12px; color: var(--secondary); }
.tip-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--success-tint); border-radius: 14px; padding: 12px 18px;
}
.tip-chip span { font-weight: 600; font-size: 13.5px; color: var(--success-deep); }

/* ---------- Switching ---------- */
.switching .section-header { max-width: 620px; margin-bottom: 50px; }
.switch-grid {
  display: grid; grid-template-columns: 1fr 36px 1fr 36px 1fr 36px 1fr;
  gap: 0; align-items: center;
}
.switch-card {
  background: #fff; border-radius: 18px; padding: 22px;
  box-shadow: 0 5px 16px rgba(35, 33, 28, 0.07);
}
.switch-card.final {
  border: 1.5px solid var(--accent);
  box-shadow: 0 8px 20px rgba(221, 82, 52, 0.12);
}
.switch-tile {
  width: 38px; height: 38px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-weight: 800; font-size: 15px;
}
.switch-tile.coral { background: var(--accent-tint); color: var(--accent); }
.switch-tile.blue { background: var(--info-tint); color: var(--info); }
.switch-tile.green { background: var(--success-tint); color: var(--success); }
.switch-tile.solid { background: var(--accent); }
.switch-title { font-weight: 700; font-size: 15px; margin-bottom: 5px; }
.switch-sub { font-size: 13px; color: var(--secondary); line-height: 1.5; }
.switch-sub.done { font-weight: 600; color: var(--success); }
.switch-arrow { display: flex; justify-content: center; }
.switch-banner {
  max-width: 776px; margin: 44px auto 0; background: var(--dark);
  border-radius: 18px; padding: 20px 28px; text-align: center;
}
.switch-banner span { font-weight: 600; font-size: 15px; color: #fff; }

/* ---------- Reminders mock ---------- */
.reminders-card {
  width: 474px; background: #fff; border-radius: 22px; padding: 26px;
  box-shadow: 0 22px 50px rgba(35, 33, 28, 0.10);
  border: 1px solid rgba(35, 33, 28, 0.07);
}
.rem-section-label {
  font-weight: 700; font-size: 12px; letter-spacing: 0.08em;
  color: var(--tertiary); margin-bottom: 12px;
}
.rem-group { display: flex; flex-direction: column; gap: 14px; }
.rem-group.today { margin-bottom: 22px; }
.rem-row { display: flex; align-items: center; gap: 14px; }
.rem-check { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #d8d2c8; flex-shrink: 0; }
.rem-check.due { border-color: var(--accent); }
.rem-check.done {
  width: 26px; height: 26px; border: none; background: var(--success);
  display: flex; align-items: center; justify-content: center;
}
.rem-body { flex: 1; }
.rem-body.done { opacity: 0.5; }
.rem-title { font-weight: 600; font-size: 15px; }
.rem-body.done .rem-title { text-decoration: line-through; }
.rem-meta { font-size: 12.5px; color: var(--secondary); }
.rem-meta.overdue { color: var(--accent); }
.cadence-pill {
  display: inline-flex; align-items: center; gap: 6px; background: #F2ECE3;
  border-radius: 999px; padding: 5px 12px; font-weight: 600; font-size: 12px;
  color: var(--body);
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 34px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-mascot { width: 34px; height: auto; }
.footer-name { font-weight: 800; font-size: 15px; }
.footer-tagline { font-size: 13px; color: var(--secondary); margin-left: 8px; }
.footer-links { display: flex; align-items: center; gap: 26px; }
.footer-links a { font-size: 12.5px; color: var(--secondary); }
.footer-links a:hover { color: var(--accent); }

/* ---------- Legal document pages ---------- */
.legal-nav-band { border-bottom: 1px solid var(--border); background: var(--bg); }
.doc { max-width: 760px; margin: 0 auto; padding: 64px 40px 96px; }
.doc h1 { font-size: 38px; margin-bottom: 10px; }
.doc-updated { font-size: 13px; color: var(--secondary); margin-bottom: 40px; }
.doc h2 { font-size: 21px; font-weight: 700; margin: 40px 0 12px; }
.doc h3 { font-size: 16px; font-weight: 700; margin: 26px 0 8px; }
.doc p, .doc li { font-size: 15px; line-height: 1.7; color: var(--body); }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--ink); }
.doc-note {
  background: var(--band-soft); border-radius: 14px; padding: 14px 18px;
  font-size: 14px; line-height: 1.6; color: var(--body); margin: 0 0 14px;
}
.lic-table { width: 100%; border-collapse: collapse; margin: 0 0 14px; }
.lic-table th {
  text-align: left; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--secondary);
  padding: 8px 12px 8px 0; border-bottom: 1px solid var(--border);
}
.lic-table td {
  font-size: 14px; color: var(--body); padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--border);
}

/* ---------- Responsive (production addition per handoff README) ---------- */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .section { padding: 64px 24px; }
  .method { padding: 64px 24px 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 40px 0 72px; }
  .hero-visual svg { width: min(420px, 92vw); height: auto; }
  .hero-disc { width: min(374px, 82vw); height: min(374px, 82vw); }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .method h2 { font-size: 31px; }
  .method-grid { grid-template-columns: 1fr; }
  .numbers-wrap { padding: 24px 24px 0; }
  .numbers { grid-template-columns: 1fr 1fr; padding: 32px; }
  .feature { grid-template-columns: 1fr; gap: 44px; }
  .switch-grid { grid-template-columns: 1fr; gap: 10px; }
  .switch-arrow { transform: rotate(90deg); padding: 2px 0; }
  .pool-card, .reminders-card { width: 100%; max-width: 420px; }
  .footer-inner { flex-direction: column; gap: 18px; padding: 28px 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
  .doc { padding: 48px 24px 72px; }
}
