:root {
  --seo-ink: #10231f;
  --seo-muted: #526660;
  --seo-line: rgba(16, 35, 31, .12);
  --seo-paper: #f6f8f4;
  --seo-card: #ffffff;
  --seo-green: #145d4f;
  --seo-mint: #85e0ba;
  --seo-blue: #6bb9f0;
}

.seo-body {
  background: var(--seo-paper);
  color: var(--seo-ink);
}

.seo-body .navbar {
  background: rgba(246, 248, 244, .92);
  border-bottom: 1px solid var(--seo-line);
  backdrop-filter: blur(18px);
}

.seo-body .nav-links a { color: #29423b; }
.seo-body .nav-links a:hover,
.seo-body .nav-links a.active { color: #0d342d; background: rgba(20, 93, 79, .08); }
.seo-body .nav-cta { color: #fff !important; }

.seo-main { overflow: clip; }
.seo-container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.seo-narrow { width: min(780px, 100%); }

.seo-hero {
  position: relative;
  padding: 9.5rem 0 5rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(107,185,240,.24), transparent 30rem),
    radial-gradient(circle at 18% 22%, rgba(133,224,186,.28), transparent 28rem),
    linear-gradient(180deg, #f9fbf7 0%, #eff5ef 100%);
  border-bottom: 1px solid var(--seo-line);
}

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #62766f;
  font-size: .88rem;
}

.seo-breadcrumb a { color: var(--seo-green); text-decoration: none; }
.seo-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 .85rem;
  border: 1px solid rgba(20,93,79,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  color: var(--seo-green);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.seo-hero h1 {
  max-width: 900px;
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.65rem, 6vw, 5.35rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.seo-hero .seo-answer {
  max-width: 790px;
  margin: 0;
  color: #3f5750;
  font-size: clamp(1.07rem, 2vw, 1.32rem);
  line-height: 1.7;
}

.seo-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.seo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.25rem;
  border: 1px solid var(--seo-green);
  border-radius: 12px;
  background: var(--seo-green);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.seo-button:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(20,93,79,.18); }
.seo-button.secondary { background: rgba(255,255,255,.72); color: var(--seo-green); }

.seo-section { padding: 5rem 0; }
.seo-section.alt { background: #fff; border-block: 1px solid var(--seo-line); }
.seo-section h2 {
  max-width: 850px;
  margin: 0 0 1.1rem;
  font-size: clamp(1.9rem, 4vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.seo-section h3 { margin: 1.8rem 0 .65rem; font-size: 1.3rem; letter-spacing: -.02em; }
.seo-section p, .seo-section li { color: var(--seo-muted); font-size: 1.02rem; line-height: 1.78; }
.seo-section a { color: var(--seo-green); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.seo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.seo-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--seo-line);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 44px rgba(22,53,45,.055);
}
.seo-card .seo-card-label { color: var(--seo-green); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.seo-card h2, .seo-card h3 { margin: .55rem 0 .65rem; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.025em; }
.seo-card p { margin: 0 0 1.15rem; font-size: .94rem; line-height: 1.65; }
.seo-card a:last-child { margin-top: auto; font-weight: 700; text-decoration: none; }

.seo-callout {
  margin: 2rem 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(20,93,79,.18);
  border-left: 4px solid var(--seo-green);
  border-radius: 12px;
  background: rgba(133,224,186,.12);
}
.seo-callout strong { display: block; margin-bottom: .3rem; color: var(--seo-ink); }
.seo-callout p { margin: 0; }
.seo-callout.warning { border-left-color: #b2781b; background: rgba(247,205,112,.13); }

.seo-table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--seo-line); border-radius: 16px; background: #fff; }
.seo-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.seo-table th, .seo-table td { padding: 1rem; border-bottom: 1px solid var(--seo-line); text-align: left; vertical-align: top; }
.seo-table th { background: #edf4ef; color: #29443c; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.seo-table tr:last-child td { border-bottom: 0; }

.seo-steps { counter-reset: step; display: grid; gap: 1rem; padding: 0; list-style: none; margin: 2rem 0; }
.seo-steps li {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4.2rem;
  border: 1px solid var(--seo-line);
  border-radius: 16px;
  background: #fff;
}
.seo-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.15rem;
  top: 1.1rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--seo-mint), var(--seo-blue));
  color: #10231f;
  font-weight: 800;
}

.seo-source-list { padding-left: 1.15rem; }
.seo-meta { margin-top: 1.5rem; color: #71817c; font-size: .84rem; }

.seo-cta {
  padding: 4.5rem 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(133,224,186,.18), transparent 24rem),
    radial-gradient(circle at 90% 100%, rgba(107,185,240,.16), transparent 26rem),
    #0c211c;
  color: #fff;
}
.seo-cta h2 { color: #fff; }
.seo-cta p { color: rgba(255,255,255,.68); max-width: 700px; }

.generator-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.25rem; align-items: start; margin-top: 2rem; }
.generator-panel { padding: 1.35rem; border: 1px solid var(--seo-line); border-radius: 18px; background: #fff; }
.generator-panel h2 { font-size: 1.45rem; margin-bottom: .5rem; }
.generator-field { display: grid; gap: .4rem; margin-top: 1rem; }
.generator-field label { color: #29443c; font-size: .88rem; font-weight: 700; }
.generator-field input, .generator-field textarea, .generator-field select {
  width: 100%;
  min-height: 46px;
  padding: .75rem;
  border: 1px solid #cbd7d2;
  border-radius: 10px;
  background: #fbfcfb;
  color: var(--seo-ink);
  font: inherit;
}
.generator-field textarea { min-height: 150px; resize: vertical; }
.generator-controls { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.generator-note { margin-top: .9rem; color: #687b75; font-size: .8rem; line-height: 1.5; }
.generator-output { min-height: 370px; }
.generator-empty { display: grid; place-items: center; min-height: 320px; color: #71817c; text-align: center; }
.generated-schedule { overflow-x: auto; }
.generated-schedule table { width: 100%; min-width: 680px; border-collapse: collapse; }
.generated-schedule th, .generated-schedule td { padding: .75rem; border: 1px solid #dae2df; text-align: left; }
.generated-schedule th { background: #edf4ef; font-size: .82rem; }
.shift-pill { display: inline-flex; padding: .28rem .55rem; border-radius: 999px; background: rgba(20,93,79,.1); color: var(--seo-green); font-size: .78rem; font-weight: 700; }

.seo-footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

@media (max-width: 900px) {
  .seo-grid, .seo-grid.two, .generator-shell { grid-template-columns: 1fr; }
  .seo-hero { padding-top: 8rem; }
  .seo-footer-links { grid-template-columns: 1fr 1fr; }
  .seo-body .hamburger,
  .seo-body .hamburger::before,
  .seo-body .hamburger::after { background: var(--seo-ink); }
  .seo-body .nav-toggle.active .hamburger { background: transparent; }
  .seo-body .nav-links {
    background: rgba(248, 250, 247, .98) !important;
    border-bottom-color: var(--seo-line) !important;
    box-shadow: 0 18px 40px rgba(16, 35, 31, .12) !important;
  }
  .seo-body .nav-links a { color: #29423b !important; }
  .seo-body .nav-links .nav-cta { color: #fff !important; }
}

@media (max-width: 640px) {
  .seo-container { width: min(100% - 28px, 1120px); }
  .seo-hero { padding: 7rem 0 3.5rem; }
  .seo-hero h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .seo-section { padding: 3.6rem 0; }
  .seo-actions, .seo-button { width: 100%; }
  .seo-card { padding: 1.25rem; }
  .seo-footer-links { grid-template-columns: 1fr; }
}
