/* DEC website draft - one stylesheet, no JS */
:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #1c2321;
  --muted: #5a645f;
  --line: #e2ddd2;
  --accent: #1f613f;      /* logo green */
  --accent-2: #1380b3;    /* logo blue, darkened for text */
  --accent-ink: #ffffff;
  --radius: 14px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121615;
    --surface: #1a201e;
    --ink: #ecebe6;
    --muted: #a3aca7;
    --line: #2a3330;
    --accent: #4fb48c;
    --accent-2: #4cc0ef;
    --accent-ink: #0d1211;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; }
.brand-mark { display: block; width: 40px; }
.brand-mark img { width: 40px; height: auto; border-radius: 0; }
.brand small { display: block; font: 400 .75rem/1.2 var(--font); color: var(--muted); }
nav ul { list-style: none; display: flex; gap: 4px 18px; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
.eyebrow { color: var(--accent-2); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }

.hero { padding: 72px 0 56px; }
.hero h1 { max-width: 18em; }
.hero-band { height: 6px; border-radius: 3px; margin-top: 32px; max-width: 220px;
  background: linear-gradient(90deg, #fed200 0 20%, #14a0dc 20% 60%, var(--accent) 60% 100%); }

.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 1px solid var(--accent); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { color: var(--accent); }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--muted); }
.card .tag { display: inline-block; font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); color: var(--accent-2); font-weight: 700; margin-bottom: 6px; }

.placeholder { border-style: dashed; color: var(--muted); text-align: center; min-height: 96px; display: grid; place-items: center; }
.note { font-size: .85rem; color: var(--muted); }
.status { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--accent-2); padding-left: 12px; }

figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

dl.contact { display: grid; grid-template-columns: 1fr; gap: 4px 20px; margin: 0; }
@media (min-width: 640px) { dl.contact { grid-template-columns: 9em 1fr; } }
dl.contact dt { font-weight: 600; }
dl.contact dd { margin: 0 0 10px; color: var(--muted); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .9rem; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-foot a { color: var(--muted); }

/* Our tools */
.tools { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 900px) { .tools { grid-template-columns: repeat(3, 1fr); } }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.tool img { border-radius: 0; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.tool figcaption { padding: 16px 18px 20px; margin: 0; font-size: .92rem; }
.tool figcaption strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.05rem; margin-bottom: 4px; }
@media (min-width: 900px) { .tools.tools-2 { grid-template-columns: repeat(2, 1fr); } }
