/* ============================================================
   EasyIO — style.css
   Design system: "Warm, Airy Help Desk"
   Palette : stormy teal + pearl aqua + almond silk + tangerine
   Type    : Fraunces (soft display serif) / Figtree (rounded body)
   Mood    : calm, friendly, generous whitespace, soft blobs,
             large radii and layered pillowy shadows. No all-caps.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette */
  --teal:       #006d77;   /* primary */
  --teal-700:   #00565e;   /* hover / deeper */
  --teal-800:   #013e44;   /* darkest */
  --aqua:       #83c5be;   /* pearl aqua secondary */
  --aqua-soft:  #cfe8e4;   /* soft aqua surface */
  --aqua-tint:  #e3f2f0;   /* faint aqua wash */
  --bg:         #edf6f9;   /* alice-blue page background */
  --almond:     #ffddd2;   /* warm almond-silk tint */
  --almond-soft:#ffe9e2;   /* lighter almond */
  --tangerine:  #e29578;   /* warm CTA / accent */
  --tangerine-600:#d27d5e; /* CTA hover */
  --tangerine-tint:#fbe4da;

  --card:       #ffffff;
  --ink:        #143338;   /* main text */
  --slate:      #40595c;   /* secondary text */
  --muted:      #6d8689;   /* muted text */
  --line:       #d6e6e7;   /* hairlines */
  --line-2:     #c3dadb;

  /* Severity dots (warm, friendly, still distinct) */
  --sev-critical: #d9594f;
  --sev-high:     #e2855f;
  --sev-medium:   #2a9d8f;
  --sev-low:      #83c5be;

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Figtree', system-ui, 'Segoe UI', sans-serif;
  --font-mono:    'Figtree', system-ui, sans-serif; /* no monospace in this design */

  /* Radius */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 24px;
  --r-xl: 34px;

  /* Layered, pillowy shadows (not one flat grey) */
  --shadow-sm: 0 2px 6px rgba(1,62,68,.05);
  --shadow:    0 14px 32px -18px rgba(1,62,68,.28), 0 4px 10px -6px rgba(1,62,68,.10);
  --shadow-lg: 0 34px 64px -30px rgba(1,62,68,.34), 0 10px 26px -14px rgba(1,62,68,.16);
  --shadow-warm: 0 16px 30px -14px rgba(226,149,120,.55), 0 4px 10px -6px rgba(226,149,120,.4);
  --ring: 0 0 0 3px rgba(0,109,119,.30);

  --wrap: 1140px;
  --gap: clamp(1rem, 3vw, 2rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.68;
  font-size: 1.04rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--teal-700); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.16; letter-spacing: -0.01em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--teal); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top .2s ease; font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* Universal focus visibility (a11y floor) */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: none; box-shadow: var(--ring); border-radius: var(--r-sm);
}

/* ---------- Eyebrow label (sentence case, warm) ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: .55rem;
  margin-bottom: .9rem; letter-spacing: 0;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--tangerine); box-shadow: 0 0 0 4px var(--tangerine-tint);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .16s ease, box-shadow .22s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--tangerine); color: #fff; box-shadow: var(--shadow-warm); }
.btn-primary:hover { background: var(--tangerine-600); color: #fff; }
.btn-dark, .btn-teal { background: var(--teal); color: #fff; box-shadow: 0 14px 30px -16px rgba(0,109,119,.7); }
.btn-dark:hover, .btn-teal:hover { background: var(--teal-700); color: #fff; }
.btn-ghost { background: #fff; color: var(--teal); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-700); }
.btn-light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { background: rgba(255,255,255,.26); color: #fff; }
.btn-sm { padding: .58rem 1.1rem; font-size: .9rem; }
.ic, .ic-sm { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 17px; height: 17px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.top-bar { background: var(--teal-800); color: #cfe6e4; font-size: .84rem; line-height: 1.5; text-align: center; padding: .55rem 1rem; }
.top-bar p { margin: 0; }
.top-bar .tb-dot { color: var(--tangerine); font-weight: 700; padding: 0 .35rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(237,246,249,.82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(237,246,249,.94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--teal); border-radius: 14px; color: #fff;
  box-shadow: 0 10px 22px -12px rgba(0,109,119,.7);
}
.brand-ic { width: 25px; height: 25px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.brand-sub { font-family: var(--font-body); font-size: .72rem; color: var(--muted); font-weight: 500; }

.primary-nav { display: flex; align-items: center; gap: 1.2rem; }
.primary-nav > ul { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  color: var(--slate); font-weight: 500; font-size: 1rem;
  padding: .5rem .85rem; border-radius: 999px; position: relative;
}
.primary-nav a:hover { color: var(--teal); background: var(--aqua-tint); }
.primary-nav a.is-active { color: var(--teal); background: var(--aqua-soft); }
.nav-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--teal); color: #fff !important; padding: .6rem 1.1rem; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  box-shadow: 0 12px 24px -14px rgba(0,109,119,.7);
}
.nav-cta:hover { background: var(--teal-700); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle-bar { width: 24px; height: 2.5px; background: var(--teal); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: .3rem; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 1rem clamp(1rem,4vw,2rem) 1.4rem; box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .32s cubic-bezier(.4,0,.2,1);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: .1rem; }
  .primary-nav a { padding: .85rem .7rem; font-size: 1.05rem; }
  .nav-cta { justify-content: center; margin-top: .6rem; }
}

/* ============================================================
   HOME HERO — airy, left-aligned, soft aqua blobs
   ============================================================ */
.home-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 60%, var(--bg) 100%);
  padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 48% 52% 55% 45% / 55% 48% 52% 45%; filter: blur(2px); opacity: .7; }
.blob-1 { width: 520px; height: 520px; top: -160px; right: -140px; background: radial-gradient(circle at 35% 35%, var(--aqua-soft), var(--aqua) 80%); opacity: .55; }
.blob-2 { width: 360px; height: 360px; bottom: -150px; left: -120px; background: radial-gradient(circle at 40% 40%, var(--almond-soft), var(--almond) 85%); opacity: .6; }
.blob-3 { width: 220px; height: 220px; top: 40px; left: 46%; background: radial-gradient(circle at 40% 40%, var(--tangerine-tint), var(--tangerine) 90%); opacity: .25; }
.home-hero .container { position: relative; z-index: 2; }
.home-hero-copy { max-width: 760px; animation: heroRise .7s cubic-bezier(.2,.7,.2,1) both; }
.home-hero h1 { margin-bottom: .55rem; }
.home-hero h1 .accent { color: var(--teal); position: relative; white-space: nowrap; }
.home-hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .26em;
  background: var(--tangerine); opacity: .32; border-radius: 999px; z-index: -1;
}
.hero-sub { color: var(--slate); font-size: 1.2rem; max-width: 54ch; margin-bottom: 2rem; }

@keyframes heroRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Hero tile question label */
.hero-q { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin: 0 0 1rem; font-weight: 600; }

/* The three big friendly pillar tiles */
.pillar-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2rem; }
@media (max-width: 760px){ .pillar-tiles { grid-template-columns: 1fr; } }
.pillar-card {
  position: relative; overflow: hidden; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .55rem;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .25s ease, border-color .2s ease;
}
.pillar-card:nth-child(2) { background: linear-gradient(170deg, #fff, var(--almond-soft)); }
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar-swoosh { position: absolute; right: -10px; top: -10px; width: 120px; height: 120px; color: var(--aqua); opacity: .45; pointer-events: none; }
.pillar-card:nth-child(2) .pillar-swoosh { color: var(--tangerine); opacity: .35; }
.pillar-card:nth-child(3) .pillar-swoosh { color: var(--teal); opacity: .22; }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--aqua-tint); color: var(--teal); position: relative; z-index: 1;
}
.pillar-card:nth-child(2) .pillar-icon { background: var(--tangerine-tint); color: var(--tangerine-600); }
.pillar-icon .ic { width: 30px; height: 30px; }
.pillar-card h3 { font-size: 1.5rem; margin: .3rem 0 0; position: relative; z-index: 1; }
.pillar-card p { color: var(--slate); font-size: .98rem; margin: 0; position: relative; z-index: 1; }
.pillar-foot { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .45rem; color: var(--teal); font-weight: 600; position: relative; z-index: 1; }
.pillar-card:hover .pillar-foot { gap: .7rem; }

/* Secondary hero search */
.hero-search-wrap { max-width: 620px; }
.hero-search-label { color: var(--muted); font-size: .96rem; margin: 0 0 .6rem; }
.search-console {
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: .4rem .4rem .4rem .5rem;
  display: flex; align-items: center; gap: .4rem; box-shadow: var(--shadow);
}
.search-console .sc-icon { color: var(--teal); padding-left: .7rem; display: grid; place-items: center; }
.search-console input {
  flex: 1; background: transparent; border: 0; color: var(--ink); font-family: var(--font-body);
  font-size: 1.04rem; padding: .7rem .4rem; min-width: 0;
}
.search-console input::placeholder { color: var(--muted); }
.search-console input:focus { outline: none; box-shadow: none; }
.search-console button { flex: none; }

.pop-searches { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem; }
.pop-searches .pl { font-size: .9rem; color: var(--muted); margin-right: .2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; border: 1px solid var(--line-2);
  color: var(--slate); padding: .42rem .9rem; border-radius: 999px; font-size: .9rem;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.chip:hover { background: var(--aqua-tint); border-color: var(--aqua); color: var(--teal); transform: translateY(-1px); }

/* Hero trust stats */
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 2.4rem; }
.hero-stat .n { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; color: var(--teal); }
.hero-stat .l { font-size: .9rem; color: var(--muted); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--tint { background: var(--almond-soft); }
.section--aqua { background: var(--aqua-tint); }
.section-head { max-width: 660px; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--slate); font-size: 1.1rem; margin: 0; }
.section-flex { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.section-flex .section-head { margin-bottom: 0; }
.link-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--teal); }
.link-more:hover { gap: .65rem; }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 920px){ .grid-4{grid-template-columns:repeat(2,1fr)} .grid-3{grid-template-columns:repeat(2,1fr)} }
@media (max-width: 600px){ .grid-4,.grid-3,.grid-2{grid-template-columns:1fr} }

/* ---------- Problem card ---------- */
.p-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.3rem; display: flex; flex-direction: column; gap: .8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  overflow: hidden;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.p-card .p-top { display: flex; align-items: center; justify-content: space-between; }
.p-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--aqua-tint); color: var(--teal); flex: none;
}
.p-icon .ic { width: 25px; height: 25px; }
.p-card h3 { font-size: 1.12rem; margin: 0; line-height: 1.3; }
.p-tag { display: flex; align-items: center; gap: .55rem; }
.p-tag .mono-code { color: var(--muted); font-size: .86rem; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px rgba(0,109,119,.06); }
.sev-critical .status-dot, .dot-critical { background: var(--sev-critical); }
.sev-high .status-dot, .dot-high { background: var(--sev-high); }
.sev-medium .status-dot, .dot-medium { background: var(--sev-medium); }
.sev-low .status-dot, .dot-low { background: var(--sev-low); }
.p-arrow { color: var(--muted); transition: transform .2s ease, color .2s ease; }
.p-card:hover .p-arrow { color: var(--teal); transform: translateX(4px); }

/* soft pill for small meta labels (replaces old mono code) */
.mono-code { font-family: var(--font-body); font-size: .88rem; letter-spacing: 0; text-transform: none; }

/* ---------- Category card ---------- */
.c-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.4rem; display: flex; flex-direction: column; gap: .55rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.c-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--teal); color: #fff; margin-bottom: .3rem; }
.c-icon .ic { width: 26px; height: 26px; }
.c-card h3 { font-size: 1.18rem; margin: 0; color: var(--ink); }
.c-card p { color: var(--slate); font-size: .95rem; margin: 0; }
.c-card .c-foot { margin-top: auto; padding-top: .6rem; display: flex; align-items: center; gap: .5rem; color: var(--teal); font-weight: 600; font-size: .94rem; }
.c-card:hover .c-foot { gap: .75rem; }

/* Category / pillar group label */
.cat-group { grid-column: 1 / -1; display: flex; align-items: center; gap: .9rem; margin-top: 1rem; }
.cat-group:first-child { margin-top: 0; }
.cat-group h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); margin: 0; }
.cat-group .line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--aqua), transparent); border-radius: 2px; }

/* ---------- Featured / article card ---------- */
.f-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .25s ease;
}
.f-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.f-thumb { position: relative; aspect-ratio: 16/9; display: grid; place-items: center; color: #fff; overflow: hidden; }
.f-thumb .ic { width: 48px; height: 48px; opacity: .97; position: relative; z-index: 2; }
.f-thumb::after { content:""; position:absolute; width: 150px; height: 150px; right: -40px; bottom: -50px; border-radius: 50%; background: rgba(255,255,255,.14); }
.thumb-1 { background: linear-gradient(140deg,var(--teal),var(--aqua)); }
.thumb-2 { background: linear-gradient(140deg,var(--tangerine),#f2c2ac); }
.thumb-3 { background: linear-gradient(140deg,var(--teal-800),var(--teal)); }
.thumb-4 { background: linear-gradient(140deg,#c9775a,var(--tangerine)); }
.thumb-5 { background: linear-gradient(140deg,var(--teal),#4a9aa0); }
.thumb-6 { background: linear-gradient(140deg,var(--aqua),var(--teal)); }
.f-body { padding: 1.2rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.f-meta { display: flex; align-items: center; gap: .7rem; }
.badge {
  font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: 0; text-transform: none;
  background: var(--aqua-tint); color: var(--teal); padding: .28rem .7rem; border-radius: 999px;
}
.f-date { font-size: .85rem; color: var(--muted); }
.f-card h3 { font-size: 1.22rem; margin: 0; }
.f-card h3 a { color: var(--ink); }
.f-card h3 a:hover { color: var(--teal); }
.f-card p { color: var(--slate); font-size: .95rem; margin: 0; }
.f-read { margin-top: auto; padding-top: .4rem; font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--teal); }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: var(--aqua); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { width: 28px; height: 28px; flex: none; position: relative; border-radius: 50%; background: var(--aqua-tint); transition: background .2s ease; }
.faq-plus::before, .faq-plus::after { content:""; position:absolute; top:50%; left:50%; width:12px; height:2.2px; background: var(--teal); transform: translate(-50%,-50%); border-radius: 2px; transition: transform .25s ease; }
.faq-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: translate(-50%,-50%) rotate(0); }
.faq-item[open] .faq-plus { background: var(--aqua); }
.faq-answer { padding: 0 1.4rem 1.3rem; color: var(--slate); }
.faq-answer p { margin: 0; }

/* ============================================================
   CTA band — tangerine CTA on teal (the bold moment)
   ============================================================ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background:
  radial-gradient(520px 280px at 88% -10%, rgba(131,197,190,.4), transparent 60%),
  linear-gradient(140deg, var(--teal), var(--teal-800));
  color: #fff; padding: clamp(2.4rem, 6vw, 4rem); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content:""; position:absolute; width: 260px; height: 260px; border-radius: 50%; left: -90px; bottom: -120px; background: radial-gradient(circle, rgba(226,149,120,.35), transparent 70%); }
.cta-band h2, .cta-band h1 { color: #fff; position: relative; }
.cta-band p { color: #cdeae6; max-width: 54ch; margin: 0 auto 1.8rem; font-size: 1.1rem; position: relative; }
.cta-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================================================
   BREADCRUMBS + inner page header
   ============================================================ */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--aqua-tint), var(--bg)); padding: clamp(2.2rem,5vw,3.4rem) 0 clamp(2.4rem,5vw,3rem); }
.page-hero::before { content:""; position:absolute; width: 360px; height: 360px; border-radius: 48% 52% 55% 45% / 55% 48% 52% 45%; top: -150px; right: -110px; background: radial-gradient(circle at 40% 40%, var(--aqua-soft), var(--aqua) 85%); opacity: .4; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: .5rem; }
.page-hero > .container > p, .page-hero p.lead-sub { color: var(--slate); max-width: 62ch; margin: 0; font-size: 1.12rem; }

.crumbs { margin-bottom: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; font-size: .9rem; }
.crumbs li { display: flex; align-items: center; gap: .5rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; color: var(--line-2); }
.crumbs a { color: var(--teal); }
.crumbs a:hover { color: var(--teal-700); }
.crumbs li[aria-current] { color: var(--ink); }

/* ============================================================
   CONTENT LAYOUT (guides / legal / static)
   ============================================================ */
.layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.layout--narrow { max-width: 820px; margin-inline: auto; }
@media (max-width: 940px){ .layout { grid-template-columns: 1fr; } }

.prose { color: var(--slate); font-size: 1.08rem; }
.prose h2 { margin-top: 2.4rem; font-size: 1.8rem; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; font-size: 1.25rem; color: var(--ink); }
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .55rem; }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--aqua); }
.prose a:hover { text-decoration-color: var(--teal); }
.prose strong { color: var(--ink); }

/* Guide article card wrapper */
.article-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.4rem, 4vw, 2.8rem); box-shadow: var(--shadow); }

/* Guide meta bar */
.guide-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; padding: 0 0 1.4rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.guide-meta .gm { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--slate); }
.guide-meta .ic-sm { color: var(--teal); }

/* Symptom / cause list boxes */
.info-box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.5rem; margin: 1.6rem 0; }
.info-box h3 { display: flex; align-items: center; gap: .6rem; margin-top: 0; font-size: 1.14rem; }
.info-box ul { margin: 0; padding-left: 1.2rem; }
.info-box li { margin-bottom: .5rem; }
.box-symptom { background: var(--almond-soft); border-color: var(--almond); }
.box-symptom h3 { color: #b5603c; }
.box-cause { background: var(--aqua-tint); border-color: var(--aqua-soft); }
.box-cause h3 { color: var(--teal-700); }

/* Step list — friendly numbered procedure */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.6rem 0; display: flex; flex-direction: column; gap: 1rem; }
.steps > li {
  position: relative; counter-increment: step; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.4rem 1.3rem 4.4rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.steps > li:hover { border-color: var(--aqua); box-shadow: var(--shadow); transform: translateY(-1px); }
.steps > li::before {
  content: counter(step); position: absolute; left: 1.1rem; top: 1.15rem;
  width: 2.3rem; height: 2.3rem; display: grid; place-items: center;
  background: var(--teal); color: #fff; border-radius: 50%;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
}
.steps h3 { margin: 0 0 .3rem; font-size: 1.14rem; }
.steps p { margin: 0; color: var(--slate); font-size: 1rem; }

/* Prevention / tips list with checks */
.check-list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .75rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list .ic-sm { color: var(--teal); background: var(--aqua-tint); border-radius: 50%; padding: 4px; width: 26px; height: 26px; flex: none; margin-top: 1px; }
.check-list a { font-weight: 600; }

/* Callout */
.callout { display: flex; gap: .9rem; background: var(--almond-soft); border: 1px solid var(--almond); border-radius: var(--r-lg); padding: 1.2rem 1.3rem; margin: 1.8rem 0; }
.callout .ic { color: var(--tangerine-600); flex: none; }
.callout p { margin: 0; color: #7a4a35; font-size: .98rem; }
.callout strong { color: #5e3826; }

/* Table of contents */
.toc { background: var(--aqua-tint); border: 1px solid var(--aqua-soft); border-radius: var(--r-lg); padding: 1.2rem 1.4rem; margin-bottom: 1.8rem; }
.toc h2 { font-size: 1.05rem !important; margin: 0 0 .6rem !important; color: var(--teal-700); font-family: var(--font-display); }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.toc li { margin-bottom: .35rem; }
.toc a { color: var(--slate); }
.toc a:hover { color: var(--teal); }
@media (max-width:560px){ .toc ol { columns: 1; } }

/* Related guides */
.related-guides { display: grid; gap: .9rem; grid-template-columns: repeat(3,1fr); margin-top: 1rem; }
@media (max-width: 700px){ .related-guides { grid-template-columns: 1fr; } }
.rel-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem 1.1rem; background: var(--card); display: flex; align-items: center; gap: .8rem; box-shadow: var(--shadow-sm); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.rel-card:hover { border-color: var(--aqua); transform: translateY(-2px); box-shadow: var(--shadow); }
.rel-card .p-icon { width: 42px; height: 42px; }
.rel-card span { font-weight: 600; font-size: .98rem; color: var(--ink); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.1rem; }
@media (max-width: 940px){ .side { position: static; } }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.side-title { display: flex; align-items: center; gap: .5rem; font-size: 1.08rem; margin: 0 0 .9rem; }
.side-title .ic-sm { color: var(--teal); }
.side-form { display: flex; gap: .4rem; }
.side-form input { flex: 1; border: 1px solid var(--line-2); border-radius: 999px; padding: .65rem 1rem; font: inherit; min-width: 0; }
.side-form input:focus { outline: none; box-shadow: var(--ring); border-color: var(--teal); }
.side-form button { background: var(--teal); color: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; flex: none; }
.side-form button:hover { background: var(--teal-700); }
.side-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.side-list li { border-top: 1px solid var(--line); }
.side-list li:first-child { border-top: 0; }
.side-list a { display: flex; align-items: center; gap: .6rem; padding: .7rem 0; color: var(--slate); font-size: .98rem; }
.side-list a:hover { color: var(--teal); }
.side-tag { background: var(--aqua-tint); color: var(--teal); font-size: .76rem; font-weight: 600; padding: .18rem .5rem; border-radius: 999px; }
.side-tip { background: linear-gradient(160deg, var(--teal), var(--teal-800)); color: #cfe6e4; border-color: transparent; box-shadow: var(--shadow); }
.side-tip .side-title { color: #fff; }
.side-tip .side-title .ic-sm { color: var(--aqua); }
.side-tip p { margin: 0 0 .6rem; }
.side-tip strong { color: #fff; }
.side-steps { color: #eaf6f4; font-size: .96rem; margin: 0; }

/* ============================================================
   FORMS (contact)
   ============================================================ */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .96rem; margin-bottom: .4rem; }
.field .req { color: var(--tangerine-600); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: 14px; padding: .8rem 1rem;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: var(--ring); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: .86rem; color: var(--muted); margin: .35rem 0 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px){ .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: .88rem; color: var(--muted); }

.alert { border-radius: var(--r); padding: 1rem 1.2rem; margin-bottom: 1.4rem; display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; }
.alert .ic-sm { flex: none; margin-top: 2px; }
.alert-success { background: var(--aqua-tint); border: 1px solid var(--aqua); color: var(--teal-700); }
.alert-error { background: var(--tangerine-tint); border: 1px solid var(--tangerine); color: #a8482f; }

/* Contact info tiles */
.contact-info { display: grid; gap: 1rem; }
.ci-tile { display: flex; gap: .9rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; }
.ci-tile .p-icon { width: 46px; height: 46px; }
.ci-tile h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.ci-tile p { margin: 0; color: var(--slate); font-size: .96rem; }
.ci-tile a { color: var(--teal); }

/* ============================================================
   VALUE / feature rows (about, support)
   ============================================================ */
.feature-row { display: flex; gap: 1rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.feature-row .p-icon { width: 52px; height: 52px; }
.feature-row h3 { font-size: 1.18rem; margin: .1rem 0 .4rem; }
.feature-row p { color: var(--slate); margin: 0; }

/* Stat tiles */
.stat-tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
@media (max-width:820px){ .stat-tiles{ grid-template-columns: repeat(2,1fr);} }
.stat-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat-tile .n { font-family: var(--font-display); font-weight: 600; font-size: 2.1rem; color: var(--teal); }
.stat-tile .l { color: var(--slate); font-size: .95rem; }

/* Sitemap page */
.sitemap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
@media (max-width:820px){ .sitemap-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:560px){ .sitemap-grid{grid-template-columns:1fr} }
.sitemap-col h3 { font-size: 1.2rem; padding-bottom: .5rem; border-bottom: 2px solid var(--aqua); display: inline-block; }
.sitemap-col ul { list-style: none; padding: 0; margin: .8rem 0 0; }
.sitemap-col li { padding: .32rem 0; }
.sitemap-col a { color: var(--slate); }
.sitemap-col a:hover { color: var(--teal); }

/* ============================================================
   Cookie bar + back-to-top
   ============================================================ */
.cookie-bar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150; max-width: 760px; margin-inline: auto;
  background: #fff; color: var(--slate); border-radius: var(--r-lg); padding: 1.1rem 1.3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.cookie-bar p { margin: 0; font-size: .95rem; }
.cookie-bar a { color: var(--teal); }
.cookie-actions { display: flex; gap: .6rem; }

.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  background: var(--teal); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px) rotate(-90deg);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0) rotate(-90deg); }
.to-top:hover { background: var(--teal-700); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--teal-800); color: #a9cdc9; padding: clamp(3rem,6vw,4.5rem) 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; gap:1.6rem;} .footer-brand{ grid-column: 1 / -1; } }
@media (max-width: 520px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand .brand--footer { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-mark { background: var(--tangerine); color: #fff; }
.footer-blurb { font-size: .95rem; max-width: 42ch; margin-bottom: 1.2rem; color: #a9cdc9; }
.footer-head { color: #fff; font-size: 1rem; font-family: var(--font-display); font-weight: 600; margin-bottom: 1rem; }
.footer-independent { text-align: center; max-width: 820px; margin: 2.2rem auto 0; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer-independent h3 { color: #fff; font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 .5rem; }
.footer-independent p { color: #a9cdc9; font-size: .92rem; line-height: 1.7; margin: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: #a9cdc9; font-size: .96rem; }
.footer-col a:hover { color: var(--aqua); }
.footer-disclaimer { display: flex; gap: .8rem; align-items: flex-start; padding: 1.6rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-disclaimer .ic-sm { color: var(--aqua); flex: none; margin-top: 2px; }
.footer-disclaimer p { margin: 0; font-size: .88rem; color: #8fb6b2; max-width: 95ch; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom-links a { color: #a9cdc9; }
.footer-bottom-links a:hover { color: var(--aqua); }

/* ============================================================
   Utilities
   ============================================================ */
.text-center { text-align: center; }
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.stack-lg { display: flex; flex-direction: column; gap: 2.6rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 2rem 0; }
.lead { font-size: 1.2rem; color: var(--slate); }
.pill-note { display:inline-flex; align-items:center; gap:.5rem; background: var(--aqua-tint); color: var(--teal-700); font-size:.9rem; font-weight: 600; padding:.45rem .9rem; border-radius:999px; }

/* Reveal-on-scroll (progressive; visible by default if JS/motion off) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .home-hero-copy { animation: none; }
}
