/* =========================
   RESET & BASE
========================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html:focus-within { scroll-behavior: smooth; }
body { min-height: 100vh; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:where(p, ul, ol) + :where(p, ul, ol) { margin-top: 1rem; }

/* =========================
   THEME
========================= */
:root{
  --brand-700:#236b51;
  --brand-600:#2b7a5c;
  --brand-500:#3a8c6c;

  --bg:#ffffff;
  --surface:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;

  --radius-1:.375rem;
  --radius-2:.75rem;
  --radius-3:1.25rem;

  --shadow-1:0 1px 2px rgba(16,24,40,.06),0 1px 3px rgba(16,24,40,.1);
  --shadow-2:0 12px 40px rgba(16,24,40,.12);

  --container-max:1100px;

  --hero-bg: linear-gradient(180deg, rgba(43,122,92,.10), rgba(43,122,92,0));
}

/* =========================
   TYPOGRAPHY
========================= */
html { font-size: 100%; }
body{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
               "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 2.6vw + 1rem, 3rem); font-weight: 850; }
h2 { font-size: clamp(1.35rem, 1.4vw + .8rem, 2rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 800; }
p, li { color: var(--muted); }

/* =========================
   UTILITIES
========================= */
.container{
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}
.skip-link{ position:absolute; left:-9999px; }
.skip-link:focus{
  position:fixed; left:1rem; top:1rem; padding:.5rem .75rem; background:#fff;
  border:2px solid var(--brand-600); border-radius:.5rem; z-index:9999;
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.85rem 1.15rem;
  font-weight:700;
  border-radius:999px;
  border:1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .05s ease;
  text-align:center;
  white-space: nowrap;
}
.btn-primary{
  background: var(--brand-600);
  color:#fff;
  box-shadow: var(--shadow-1);
}
.btn-primary:hover{ background: color-mix(in oklab, var(--brand-600) 85%, black); }
.btn-primary:active{ transform: translateY(1px); }

.btn-outline{
  background:#fff;
  color: var(--brand-600);
  border:1px solid color-mix(in oklab, var(--brand-600) 70%, #fff);
  box-shadow: var(--shadow-1);
}
.btn-outline:hover{ background: color-mix(in oklab, var(--brand-600) 6%, #fff); }

.btn-ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
}
.btn-ghost:hover{ background: color-mix(in oklab, var(--border) 25%, #fff); }

.w-full{ width:100%; }

/* =========================
   HERO
========================= */
.ed-hero{
  padding: clamp(2rem, 6vw, 4rem) 0;
  background: var(--hero-bg);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
}
.ed-hero-inner{
  display: grid;
  gap: 1rem;
}

.breadcrumb{
  display:flex;
  gap:.5rem;
  align-items:center;
  flex-wrap: wrap;
  font-size: .95rem;
  color: var(--muted);
}
.breadcrumb a{ color: var(--muted); }
.breadcrumb a:hover{ text-decoration: underline; color: var(--text); }

.lead{
  max-width: 60ch;
  font-size: 1.05rem;
  color: color-mix(in oklab, var(--muted) 92%, #000);
}

.cta-row{
  display:flex;
  gap:.7rem;
  flex-wrap: wrap;
  align-items:center;
  margin-top:.25rem;
}

.notice{
  margin-top: .75rem;
  border-radius: var(--radius-3);
  padding: .85rem 1rem;
  background: color-mix(in oklab, var(--brand-600) 6%, #fff);
  border: 1px solid color-mix(in oklab, var(--brand-600) 18%, #fff);
  color: color-mix(in oklab, var(--text) 80%, #000);
}
.notice strong{ color: var(--text); }

/* =========================
   CONTENT GRID
========================= */
.content{ padding: clamp(2rem, 5vw, 3.25rem) 0; }

.grid{
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: start;
}
@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
}

/* =========================
   CARDS
========================= */
.card{
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-2);
  padding: clamp(1rem, 2.5vw, 1.35rem);
}

.card-soft{
  background: color-mix(in oklab, var(--border) 18%, #fff);
  border-color: color-mix(in oklab, var(--border) 55%, transparent);
}

.divider{
  height:1px;
  background: color-mix(in oklab, var(--border) 75%, transparent);
  margin: 1rem 0;
}

/* =========================
   STEPS
========================= */
.steps{
  list-style: none;
  display: grid;
  gap: .85rem;
  margin-top: .9rem;
}
.steps li{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
}
.step-num{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: color-mix(in oklab, var(--brand-600) 12%, #fff);
  color: var(--brand-700);
  font-weight: 900;
  box-shadow: var(--shadow-1);
}

/* =========================
   CONTACT LIST
========================= */
.contact-list{
  list-style: none;
  display: grid;
  gap: .6rem;
  margin-top: .75rem;
}
.contact-list li{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: .6rem;
  align-items: baseline;
}
.contact-list .k{
  font-weight: 800;
  color: var(--text);
  font-size: .95rem;
}
.contact-list .v{
  color: var(--muted);
}
.contact-list a.v:hover{
  color: var(--brand-600);
  text-decoration: underline;
}

/* =========================
   CALLOUT
========================= */
.callout{
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-3);
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--brand-600) 16%, #fff);
  box-shadow: var(--shadow-1);
}
.callout h3{ margin-bottom: .25rem; }

/* =========================
   FAQ (optional if you use details/summary)
========================= */
.faq{
  margin-top: .9rem;
  display: grid;
  gap: .65rem;
}
details{
  border: 1px solid color-mix(in oklab, var(--border) 75%, transparent);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
summary{
  cursor: pointer;
  list-style: none;
  padding: .9rem 1rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
summary::-webkit-details-marker{ display:none; }
summary::after{
  content: "＋";
  font-weight: 900;
  color: var(--muted);
}
details[open] summary::after{ content: "－"; }
.faq-body{
  padding: 0 1rem 1rem;
  color: var(--muted);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; }
}
