@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: rgba(255, 255, 255, 0.92);
  --text: #172033;
  --muted: #5b6678;
  --line: rgba(15, 23, 42, 0.12);
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: #e3f4f1;
  --warm: #b45309;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 14px 32px rgba(15, 23, 42, 0.06);
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(238, 246, 245, 0.92) 0%, var(--bg) 48%, #ffffff 100%),
    linear-gradient(120deg, rgba(15, 118, 110, 0.12), rgba(37, 99, 235, 0.05), rgba(245, 158, 11, 0.08));
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
}

body, p, h1, h2, h3, h4, ul, ol {
  margin: 0;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.shell {
  width: min(1100px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

/* Top brand bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.topbar a.brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.topbar nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.topbar nav a {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
}

.topbar nav a:hover { color: var(--accent-strong); }

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.5rem 0 0.25rem;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-strong); }
.breadcrumb span[aria-current] { color: var(--text); font-weight: 600; }

/* Buttons */
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.86rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

a.button:hover, a.button:focus-visible { transform: translateY(-1px); }

.button--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.22);
}

.button--primary:hover, .button--primary:focus-visible { background: var(--accent-strong); }

.button--ghost {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
  color: var(--accent-strong);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
  padding: clamp(1.4rem, 3.5vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), var(--surface));
  box-shadow: var(--shadow);
}

.hero__eyebrow {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 800;
}

h1, h2, h3, h4 {
  font-family: inherit;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  margin-top: 0.5rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.hero__subtitle {
  margin-top: 0.85rem;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero__intro {
  margin-top: 0.9rem;
  max-width: 68ch;
  color: var(--text);
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

/* Trust bullets */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.trust__item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.trust__item strong { display: block; font-size: 0.96rem; }
.trust__item span { color: var(--muted); font-size: 0.9rem; }
.trust__check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.8rem;
  margin-top: 0.1rem;
}

/* Sections */
section { margin-top: 2.2rem; }

.section-eyebrow {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

.section-title {
  margin-top: 0.35rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.section-lead {
  margin-top: 0.5rem;
  max-width: 60ch;
  color: var(--muted);
}

/* HowTo steps */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.15rem 1.15rem 1.15rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), var(--surface));
  box-shadow: var(--shadow-soft);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.steps li strong { display: block; font-size: 1.05rem; }
.steps li p { margin-top: 0.35rem; color: var(--muted); }

/* Feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.card {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), var(--surface));
  box-shadow: var(--shadow-soft);
}

.card h3 { font-size: 1.12rem; }
.card p { margin-top: 0.4rem; color: var(--muted); }

/* Privacy / E-E-A-T block */
.privacy {
  margin-top: 1.5rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--accent-soft), rgba(255, 255, 255, 0.96));
}

.privacy strong { color: var(--accent-strong); }
.privacy p { margin-top: 0.4rem; color: #234; }

.honesty {
  margin-top: 1rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(180, 83, 9, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 237, 213, 0.85), rgba(255, 255, 255, 0.96));
  color: #5b4108;
  font-size: 0.95rem;
}

/* FAQ */
.faq-list { display: grid; gap: 0.7rem; margin-top: 1.1rem; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.05rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 1.05rem 1rem; color: var(--muted); }

/* Internal links grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.related-grid a {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.related-grid a:hover {
  border-color: rgba(15, 118, 110, 0.3);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.related-grid a span { display: block; font-weight: 500; font-size: 0.85rem; color: var(--muted); margin-top: 0.2rem; }

/* Final CTA */
.final-cta {
  margin-top: 2.2rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(37, 99, 235, 0.08));
  text-align: center;
}

.final-cta h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.final-cta p { margin-top: 0.5rem; color: var(--muted); }
.final-cta .hero__actions { justify-content: center; }

/* Footer taxonomy */
.site-footer {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
}

.footer-cols h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-cols ul { list-style: none; padding: 0; display: grid; gap: 0.35rem; }
.footer-cols a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer-cols a:hover { color: var(--accent-strong); }

.footer-note {
  margin-top: 1.4rem;
  font-size: 0.85rem;
}

.footer-note a { color: var(--accent-strong); }

@media (max-width: 640px) {
  .hero__actions { flex-direction: column; }
  a.button { width: 100%; }
  .topbar { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}


/* Article pages */
.article-meta {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.article-body {
  margin-top: 1.8rem;
  max-width: 72ch;
}

.article-body h2 {
  margin-top: 2rem;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.article-body p {
  margin-top: 0.9rem;
  color: #2a3344;
  font-size: 1.04rem;
}

.article-body p:first-of-type {
  margin-top: 1rem;
}

.article-steps {
  margin-top: 1rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
  color: #2a3344;
}

.article-steps li {
  padding-left: 0.25rem;
}
