@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
/* ==========================================================================
   Protection Connect design system v3 "Flat Studio"
   Bold black outlines, flat fills, zero shadows, zero gradients.
   Palette + illustration language from client reference art.
   Legacy tokens are remapped so every existing page inherits the new look.
   ========================================================================== */

/* 1. Tokens -------------------------------------------------------------- */
:root {
  /* new flat palette */
  --ink: #1A1A1A;
  --ink-soft: #4A4A46;
  --cream: #EEEBE4;      /* page ground */
  --paper: #FBF8F0;      /* cards / surfaces */
  --ochre: #F3AD5A;
  --ochre-d: #E79A3E;
  --coral: #EE7557;
  --forest: #204E46;
  --forest-d: #183A34;
  --pink-soft: #EBA6C6;
  --sage: #B9CFC7;       /* light text on forest */
  --line: #DCD5C6;       /* hairline internal dividers */
  --tint: #F6E7CE;       /* soft ochre tint for icon tiles */

  /* legacy tokens remapped to the flat palette (keeps inline styles working) */
  --navy: #1A1A1A;
  --navy-deep: #204E46;
  --navy-soft: #4A4A46;
  --blue: #F3AD5A;       /* accent fill (chips on dark, etc.) */
  --teal: #204E46;       /* links / primary */
  --blue-dark: #183A34;
  --light-blue: #B9CFC7;
  --blue-tint: #F6E7CE;
  --line-dark: #2E5A50;
  --bg-soft: #E6E1D3;
  --white: #FBF8F0;
  --card: #FBF8F0;
  --error: #B3261E;
  --success: #2E7D32;
  --pink: #EE7557;       /* legacy strong accent = coral */
  --lilac: #C7B6F2;
  --butter: #F4CE5E;
  --paper-legacy: #EEEBE4;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-tile: 28px;
  --radius-card: 22px;
  --radius-panel: 16px;
  --radius-control: 999px;

  --stroke: 2.5px;
  --shadow-panel: none;
  --shadow-chip: none;
}

/* 2. Base ---------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
img { max-width: 100%; }
a { color: inherit; }
.container, .wrap { max-width: 1180px; margin: 0 auto; padding: 0 26px; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }

/* 3. Buttons (outlined, flat) ------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  text-decoration: none; font-family: var(--font-body); font-weight: 700; white-space: nowrap;
  border: var(--stroke) solid var(--ink); cursor: pointer;
  border-radius: var(--radius-control); padding: 13px 26px; font-size: 15px;
  transition: transform .14s ease, background .14s ease, color .14s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: var(--paper); }
.btn-primary:hover { background: var(--forest-d); }
.btn-accent { background: var(--ochre); color: var(--ink); }
.btn-accent:hover { background: var(--ochre-d); }
.btn-outline { background: var(--paper); color: var(--ink); }
.btn-outline:hover { background: #fff; }
.btn-on-dark { background: var(--ochre); color: var(--ink); border-color: var(--ink); }
.btn-on-dark:hover { background: var(--ochre-d); }
.btn-ghost-dark { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost-dark:hover { background: rgba(251,248,240,0.12); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

.text-link {
  color: var(--forest); font-weight: 700; text-decoration: none; font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px;
}
.text-link::after { content: "\2192"; transition: transform 0.15s ease; }
.text-link:hover::after { transform: translateX(4px); }

/* 4. Header / nav -------------------------------------------------------- */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream); border-bottom: var(--stroke) solid var(--ink);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.nav-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.nav-logo img { height: 30px; display: block; }
.nav-logo .mark { width: 38px; height: 38px; flex: none; }
.nav-logo span { white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--forest); }
.nav-links .nav-cta-item { display: none; } /* mobile-only Sign up clone */
.nav .btn { padding: 11px 22px; }

/* 5. Sections ------------------------------------------------------------ */
section { padding: 84px 0; }
.section-kicker, .eyebrow {
  color: var(--coral); font-weight: 800; font-size: 13px; letter-spacing: 0.13em;
  text-transform: uppercase; margin-bottom: 14px; font-family: var(--font-body);
}
.section-title, .h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-bottom: 16px; max-width: 760px; }
.section-lead, .lead { font-size: 18px; color: var(--ink-soft); max-width: 640px; margin-bottom: 10px; }
.centered, .center { text-align: center; }
.centered .section-title, .centered .section-lead,
.center .h2, .center .lead { margin-left: auto; margin-right: auto; }
.alt { background: var(--bg-soft); }

/* 6. Trust strip (forest band) ------------------------------------------ */
.trust { background: var(--forest); border-top: var(--stroke) solid var(--ink); border-bottom: var(--stroke) solid var(--ink); padding: 20px 0; }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.trust li { color: var(--paper); font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.trust li::before { content: "\2713"; color: var(--ochre); font-weight: 800; }
.trust svg { width: 20px; height: 20px; flex: none; }

/* 7. Photography --------------------------------------------------------- */
.photo-card { border-radius: var(--radius-card); overflow: hidden; display: block; border: var(--stroke) solid var(--ink); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   HOMEPAGE (v2 flat illustration components)
   ========================================================================== */
.hero { padding: 62px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 46px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px;
  background: var(--pink-soft); color: var(--ink);
  border: var(--stroke) solid var(--ink); border-radius: 999px;
  padding: 7px 15px; margin-bottom: 22px;
}
.kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--forest); }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); margin-bottom: 20px; }
.hero h1 .u { position: relative; white-space: nowrap; }
.hero h1 .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px; background: var(--ochre); z-index: -1; border-radius: 3px; }
.hero-sub { font-size: 19px; color: var(--ink-soft); max-width: 480px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-mini { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-mini span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hero-mini svg { width: 18px; height: 18px; flex: none; }
.hero-note { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.scene { position: relative; width: 100%; max-width: 540px; margin: 0 auto; }
.scene svg { width: 100%; height: auto; overflow: visible; }
.hero-scene { max-width: 600px; animation: bob 6s ease-in-out infinite; }
.hero-img { width: 100%; height: auto; display: block; }

/* how it works steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.step { background: var(--paper); border: var(--stroke) solid var(--ink); border-radius: var(--radius-card); padding: 30px 28px; }
.step .art { width: 118px; height: 118px; margin-bottom: 8px; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: var(--paper); font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.step h3 { font-size: 21px; margin-bottom: 8px; font-weight: 800; }
.step p { font-size: 15.5px; color: var(--ink-soft); }

/* feature rows (renamed from v2 .feature to avoid clash with guide cards) */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.frow + .frow { margin-top: 70px; }
.frow.flip .f-art { order: 2; }
.f-art { display: flex; justify-content: center; }
.f-art .panel { width: 100%; max-width: 420px; border: var(--stroke) solid var(--ink); border-radius: var(--radius-card); padding: 34px; }
.f-art .panel.ochre { background: var(--ochre); }
.f-art .panel.pink { background: var(--pink-soft); }
.f-art .panel.cream { background: var(--paper); }
.f-art svg { width: 100%; height: auto; overflow: visible; }
.frow h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; font-weight: 800; }
.frow p { font-size: 17px; color: var(--ink-soft); margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips span { background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 700; }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.numstat { border: var(--stroke) solid var(--ink); border-radius: var(--radius-card); padding: 34px 30px; min-height: 236px; display: flex; flex-direction: column; }
.numstat .big { font-size: 72px; font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; }
.numstat h4 { font-size: 20px; margin: 14px 0 8px; font-weight: 800; }
.numstat p { font-size: 15px; }
.numstat.ochre { background: var(--ochre); }
.numstat.forest { background: var(--forest); color: var(--paper); }
.numstat.forest p { color: var(--sage); }
.numstat.pink { background: var(--pink-soft); }

/* CTA band */
.cta-band { padding: 70px 0; }
.cta-box { background: var(--ochre); border: var(--stroke) solid var(--ink); border-radius: 32px; padding: 58px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-box h2 { font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 14px; position: relative; z-index: 2; }
.cta-box p { font-size: 18px; color: var(--ink); margin-bottom: 26px; position: relative; z-index: 2; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-box .btn { position: relative; z-index: 2; }
.cta-box .blob { position: absolute; z-index: 1; }

/* ==========================================================================
   GUIDE CARDS + ICONS (used on homepage + guides hub)
   ========================================================================== */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 50px; }
.feature {
  border: var(--stroke) solid var(--ink); border-radius: var(--radius-card);
  padding: 34px 32px; background: var(--paper); text-align: left;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .14s ease;
}
.feature:hover { transform: translateY(-3px); }
.feature h3 { font-size: 21px; font-weight: 800; }
.feature p { color: var(--ink-soft); font-size: 15px; }
.feature .text-link { margin-top: auto; padding-top: 8px; }
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.kicon-box {
  width: 58px; height: 58px; border-radius: 16px; background: var(--tint);
  border: var(--stroke) solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center; flex: none; margin-bottom: 14px;
}
.kicon-box svg { width: 30px; height: 30px; display: block; fill: none; }
.kicon-ink { stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.kicon-accent { stroke: var(--coral); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.kicon-dot { fill: var(--coral); stroke: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 800px; margin: 44px auto 0; text-align: left; }
.faq-list details {
  border: var(--stroke) solid var(--ink); border-radius: 16px; margin-bottom: 12px;
  background: var(--paper); overflow: hidden;
}
.faq-list summary {
  cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 24px; color: var(--forest); flex: none; font-weight: 700; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 24px 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }

/* ==========================================================================
   ARTICLE PAGES (guides + legal)
   ========================================================================== */
.article-hero { background: var(--bg-soft); border-bottom: var(--stroke) solid var(--ink); padding: 64px 0 52px; }
.article-hero .container { max-width: 820px; }
.article-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-bottom: 16px; }
.article-hero .article-meta { color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.article { padding: 56px 0 80px; }
.article .container { max-width: 800px; }
.article h2 { font-size: 27px; font-weight: 800; margin: 44px 0 14px; }
.article h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.article p, .article li { font-size: 16px; color: #26302B; margin-bottom: 14px; line-height: 1.75; }
.article ul, .article ol { padding-left: 24px; margin-bottom: 16px; }
.article li { margin-bottom: 8px; }
.article strong { font-weight: 700; color: var(--ink); }
.article a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article .note {
  background: var(--tint); border: var(--stroke) solid var(--ink); border-radius: 14px;
  padding: 16px 20px; font-size: 14.5px; color: #26302B; margin: 22px 0;
}
.article-cta {
  background: var(--forest); color: var(--paper); border: var(--stroke) solid var(--ink);
  border-radius: var(--radius-card); padding: 40px 36px; margin-top: 48px; text-align: center;
}
.article-cta h2 { color: var(--paper); margin: 0 0 10px; font-size: 24px; }
.article-cta p { color: var(--sage); margin-bottom: 22px; }

/* styled tables */
.table-wrap { border: var(--stroke) solid var(--ink); border-radius: 16px; overflow: hidden; margin: 24px 0 28px; }
.table-wrap table { margin: 0; border-collapse: separate; border-spacing: 0; width: 100%; }
.table-wrap th { background: var(--forest); color: var(--paper); font-weight: 700; padding: 14px 20px; border: 0; font-size: 14.5px; text-align: left; }
.table-wrap td { padding: 15px 20px; border: 0; border-top: 1.5px solid var(--line); font-size: 15px; background: var(--paper); }
.table-wrap tr:nth-child(odd) td { background: var(--bg-soft); }
.table-wrap td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.row-highlight td { background: #F6E7CE !important; border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); }
.row-highlight td:first-child { border-left: 2.5px solid var(--ink); }
.row-highlight td:last-child { border-right: 2.5px solid var(--ink); }
.row-highlight + tr td { border-top: 0; }
.offer-badge {
  display: inline-block; margin-left: 10px; background: var(--forest); color: var(--paper);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 999px; padding: 3px 10px; vertical-align: middle;
}
/* plain article table fallback */
.article table:not(.table-wrap table) { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; }
.article th:not(.table-wrap th) { text-align: left; background: var(--bg-soft); font-weight: 700; }
.article :not(.table-wrap) > table th, .article :not(.table-wrap) > table td { padding: 12px 16px; border: 1.5px solid var(--ink); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 16px; border: 2px solid var(--ink); border-radius: 12px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--paper);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(32,78,70,0.15); }
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:user-invalid, .form-field textarea:user-invalid { border-color: var(--error); }
.field-error { color: var(--error); font-size: 13px; margin-top: 6px; }
.form-message { border-radius: 12px; padding: 14px 18px; font-size: 15px; margin-bottom: 18px; border: 2px solid var(--ink); }
.form-message.error { background: #FBEDEC; color: var(--error); }
.form-message.success { background: #EAF4EB; color: var(--success); }
.form-note { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 14px; }

/* ==========================================================================
   WIZARD (signup)
   ========================================================================== */
.wizard { max-width: 720px; margin: 44px auto 0; text-align: left; background: var(--paper); border: var(--stroke) solid var(--ink); border-radius: var(--radius-card); padding: 46px 42px; }
.wizard-progress { display: flex; align-items: flex-start; margin-bottom: 38px; }
.wizard-progress .wp-step { flex: 1; text-align: center; position: relative; }
.wizard-progress .wp-step:not(:first-child)::before { content: ""; position: absolute; top: 19px; right: 50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.wizard-progress .wp-step.done:not(:first-child)::before, .wizard-progress .wp-step.active:not(:first-child)::before { background: var(--forest); }
.wizard-progress .wp-dot { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; margin: 0 auto 8px; background: var(--cream); border: 2.5px solid var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: var(--ink); }
.wizard-progress .active .wp-dot { background: var(--ochre); border-color: var(--ink); color: var(--ink); }
.wizard-progress .done .wp-dot { background: var(--forest); border-color: var(--ink); color: var(--paper); }
.wizard-progress .done .wp-dot::after { content: "\2713"; }
.wizard-progress .done .wp-dot span { display: none; }
.wizard-progress .wp-label { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.wizard-progress .active .wp-label { color: var(--ink); }
.wizard-step-title { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.wizard-step-title .big-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); border: 2.5px solid var(--ink); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.wizard-step-title .big-icon svg { width: 26px; height: 26px; }
.wizard-step-title h3 { font-size: 22px; font-weight: 800; }
.wizard-step-sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 26px; }
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.option-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.option-card { position: relative; }
.option-card input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; cursor: pointer; }
.option-card label, .option-card .option-body { display: flex; flex-direction: column; align-items: center; gap: 10px; border: 2.5px solid var(--ink); border-radius: 16px; padding: 22px 14px; text-align: center; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; height: 100%; background: var(--paper); transition: transform .14s ease, background .14s ease; }
.option-card label:hover { transform: translateY(-2px); }
.option-card .option-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--tint); border: 2px solid var(--ink); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.option-card .option-icon svg { width: 26px; height: 26px; }
.option-card small { font-weight: 500; color: var(--ink-soft); font-size: 12.5px; line-height: 1.4; }
.option-card input:checked + label { border-color: var(--ink); background: var(--ochre); }
.option-card input:checked + label .option-icon { background: var(--paper); }
.option-card input:focus-visible + label { outline: 3px solid var(--forest); outline-offset: 2px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; }
.wizard-nav .btn { min-width: 140px; }
.wizard-error { color: var(--error); font-size: 14px; margin-top: 14px; display: none; font-weight: 600; }
.wizard-error.show { display: block; }
.review-note { display: flex; align-items: flex-start; gap: 10px; background: var(--bg-soft); border: 2px solid var(--ink); border-radius: 12px; padding: 14px 18px; font-size: 13.5px; color: var(--ink-soft); margin-top: 20px; }
.review-note::before { content: "\24D8"; color: var(--forest); font-weight: 700; }
.conditional-fields { border-left: 3px solid var(--ochre); padding-left: 18px; margin: 4px 0 18px; }
.declaration { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 18px; }
.declaration input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--forest); flex: none; }
.declaration label { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.wizard-step { border: 0; min-inline-size: auto; }
.wizard-step legend { padding: 0; float: left; width: 100%; }
.wizard-step legend + * { clear: both; }
.js .wizard-step { display: none; }
.js .wizard-step.current { display: block; }
.js .conditional-fields[hidden] { display: none; }
html:not(.js) .wizard-nav button[data-next], html:not(.js) .wizard-nav button[data-back] { display: none; }

/* ==========================================================================
   AUTH PAGES (sign up, log in)
   ========================================================================== */
.auth-header { border-bottom: var(--stroke) solid var(--ink); background: var(--cream); }
.auth-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 14px; }
.auth-header .nav-logo img { height: 30px; display: block; }
.auth-header .auth-alt { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.auth-header .auth-alt a { color: var(--forest); font-weight: 700; text-decoration: none; }
.auth-header .auth-alt a:hover { text-decoration: underline; }
.auth-main { padding: 60px 0 96px; background: var(--bg-soft); min-height: calc(100vh - 74px); }
.auth-intro { text-align: center; max-width: 640px; margin: 0 auto 8px; }
.auth-intro h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 14px; }
.auth-intro p { color: var(--ink-soft); font-size: 16px; }
.auth-note { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 26px; }
.auth-note a { color: var(--forest); font-weight: 700; }
.login-card { max-width: 480px; margin: 44px auto 0; background: var(--paper); border: var(--stroke) solid var(--ink); border-radius: var(--radius-card); padding: 46px 42px; text-align: center; }
.login-card .big-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--tint); border: 2.5px solid var(--ink); color: var(--ink); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.login-card .big-icon svg { width: 30px; height: 30px; }
.login-card h2 { font-size: 22px; margin-bottom: 12px; font-weight: 800; }
.login-card p { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; }

/* legacy homepage CTA panel (kept for safety) */
.final-cta { text-align: center; }
.cta-panel { text-align: center; }
.cta-panel .btn { margin-top: 10px; }
.cta-note { font-size: 14px; color: var(--ink-soft); margin-top: 18px; }

/* ==========================================================================
   UTILITY PAGES (thank-you, 404)
   ========================================================================== */
.page-center { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.page-center .logo { margin-bottom: 34px; display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: var(--ink); }
.page-center .logo .mark { width: 42px; height: 42px; }
.page-center .logo img { height: 30px; }
.page-center h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; font-weight: 800; }
.page-center p { color: var(--ink-soft); max-width: 520px; margin-bottom: 30px; font-size: 17px; }
.page-center .photo-card { max-width: 420px; margin-top: 40px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { background: var(--forest); color: var(--sage); border-top: var(--stroke) solid var(--ink); padding: 48px 0 32px; }
footer .container { }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
footer .nav-logo, footer .foot-brand { color: var(--paper); margin-bottom: 14px; }
footer .foot-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
footer .foot-brand .mark { width: 38px; height: 38px; }
footer p { font-size: 14px; color: var(--sage); max-width: 340px; }
footer h5 { color: var(--paper); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; font-weight: 800; }
.foot-links, .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; }
.foot-links a, .footer-links a { font-size: 14.5px; color: var(--sage); text-decoration: none; }
.foot-links a:hover, .footer-links a:hover { color: var(--paper); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.16); margin-top: 32px; padding-top: 22px; font-size: 13px; color: var(--sage); }
/* legacy simple footer layout */
footer.legacy .container, footer .container.legacy { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

/* ==========================================================================
   CHAT WIDGET
   ========================================================================== */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; border: var(--stroke) solid var(--ink); cursor: pointer; background: var(--coral); color: var(--paper); display: flex; align-items: center; justify-content: center; transition: transform 0.15s ease; }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab svg { width: 26px; height: 26px; }
.chat-panel { position: fixed; right: 22px; bottom: 94px; z-index: 90; width: 340px; max-width: calc(100vw - 44px); max-height: 70vh; background: var(--paper); border: var(--stroke) solid var(--ink); border-radius: 18px; overflow: hidden; display: none; flex-direction: column; }
.chat-panel.open { display: flex; }
.chat-head { background: var(--forest); color: var(--paper); padding: 18px 20px; }
.chat-head h4 { font-size: 16px; font-weight: 800; }
.chat-head p { font-size: 12.5px; color: var(--sage); margin-top: 2px; }
.chat-body { padding: 18px; overflow-y: auto; }
.chat-bubble { background: var(--bg-soft); border: 2px solid var(--ink); border-radius: 14px 14px 14px 4px; padding: 12px 15px; font-size: 14px; color: #26302B; margin-bottom: 14px; line-height: 1.55; }
.chat-form .form-field { margin-bottom: 10px; }
.chat-form input, .chat-form textarea { width: 100%; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 10px; font-family: var(--font-body); font-size: 14px; color: var(--ink); background: var(--paper); }
.chat-form input:focus, .chat-form textarea:focus { outline: none; border-color: var(--forest); }
.chat-form textarea { resize: vertical; min-height: 70px; }
.chat-form .btn { width: 100%; padding: 12px 18px; font-size: 14.5px; }
.chat-success { display: none; }
.chat-success.show { display: block; }
.chat-note { font-size: 11.5px; color: var(--ink-soft); margin-top: 10px; text-align: center; }

/* ==========================================================================
   COOKIE BAR
   ========================================================================== */
.cookie-bar[hidden] { display: none; }
.cookie-bar { position: fixed; left: 16px; bottom: 16px; z-index: 95; max-width: 400px; width: calc(100vw - 32px); background: var(--paper); border: var(--stroke) solid var(--ink); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.cookie-bar p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; }
.cookie-bar p a { color: var(--forest); font-weight: 700; }
.cookie-bar .cookie-actions { display: flex; gap: 10px; }
.cookie-bar .btn { padding: 9px 20px; font-size: 13.5px; }

/* ==========================================================================
   MOTION (flat illustrations)
   ========================================================================== */
@keyframes bob      { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-9px); } }
@keyframes bob-sm   { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-5px); } }
@keyframes drift    { 0%,100%{ transform: translate(0,0) rotate(0); } 50%{ transform: translate(6px,-8px) rotate(6deg); } }
@keyframes drift2   { 0%,100%{ transform: translate(0,0) rotate(0); } 50%{ transform: translate(-7px,7px) rotate(-8deg); } }
@keyframes blink    { 0%,100%{ opacity: 1; } 50%{ opacity: .25; } }
@keyframes ring     { 0%{ transform: scale(.6); opacity: .9; } 100%{ transform: scale(1.9); opacity: 0; } }
@keyframes draw     { to { stroke-dashoffset: 0; } }
@keyframes sweep    { 0%,100%{ transform: translateX(0); } 50%{ transform: translateX(22px); } }
@keyframes grow-bar { 0%{ transform: scaleY(.35); } 100%{ transform: scaleY(1); } }
@keyframes wiggle   { 0%,100%{ transform: rotate(-3deg); } 50%{ transform: rotate(3deg); } }
@keyframes spin-slow{ to { transform: rotate(360deg); } }
.an-bob    { animation: bob 4.5s ease-in-out infinite; }
.an-bob2   { animation: bob-sm 3.6s ease-in-out infinite; }
.an-drift  { animation: drift 7s ease-in-out infinite; transform-origin: center; }
.an-drift2 { animation: drift2 8s ease-in-out infinite; transform-origin: center; }
.an-blink  { animation: blink 1.4s ease-in-out infinite; }
.an-spin   { animation: spin-slow 22s linear infinite; transform-origin: center; }
.an-wiggle { animation: wiggle 3s ease-in-out infinite; transform-origin: center bottom; }
.arrow-draw { stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 2.4s ease-out forwards; }
.ring1, .ring2, .ring3 { transform-origin: center; }
.ring1 { animation: ring 2.4s ease-out infinite; }
.ring2 { animation: ring 2.4s ease-out infinite 0.8s; }
.ring3 { animation: ring 2.4s ease-out infinite 1.6s; }
.scan { animation: sweep 3.4s ease-in-out infinite; }
.hp-live-dot { animation: blink 1.6s infinite ease-in-out; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
.nav-toggle { display: none; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .scene { max-width: 460px; }
  .steps, .numbers { grid-template-columns: 1fr; }
  .frow, .frow.flip { grid-template-columns: 1fr; gap: 26px; }
  .frow .f-art, .frow.flip .f-art { order: -1; }
  .features, .guide-cards { grid-template-columns: 1fr; }
  section { padding: 62px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  header.site-header .nav { position: relative; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 42px; background: var(--paper); border: var(--stroke) solid var(--ink); border-radius: 12px; cursor: pointer; }
  .nav-toggle span { display: block; width: 20px; height: 2.5px; background: var(--ink); margin: 0 auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
  header.site-header .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: var(--stroke) solid var(--ink); padding: 8px 26px 18px;
  }
  header.site-header.nav-open .nav-links { display: flex; }
  header.site-header .nav-links li { list-style: none; width: 100%; }
  header.site-header .nav-links .nav-cta-item { display: block; }
  header.site-header .nav-links a { display: block; width: 100%; padding: 13px 0; font-size: 17px; border-bottom: 1px solid rgba(26,26,26,0.1); }
  header.site-header .nav-links a.menu-cta { color: var(--forest); font-weight: 800; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 620px) {
  .nav-logo span { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .trust ul { display: grid; grid-template-columns: 1fr; gap: 10px; width: fit-content; margin: 0 auto; }
  section { padding: 52px 0; }
  .wizard { padding: 32px 20px; }
  .option-grid, .option-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .wizard-progress .wp-label { display: none; }
  .cta-box { padding: 44px 24px; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .an-bob, .an-bob2, .an-drift, .an-drift2, .an-blink, .an-spin, .an-wiggle,
  .arrow-draw, .ring1, .ring2, .ring3, .scan, .hp-live-dot {
    animation: none !important; transition: none !important; stroke-dashoffset: 0 !important;
  }
  .btn:hover { transform: none; }
}
