/* Daystrom Research — Glacial Current. Tokens: see design repo DESIGN.md */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/source-code-pro-latin.woff2") format("woff2");
}

:root{
  --paper:#F4F4F1; --ink:#202B36; --body:#42505C; --muted:#71808C;
  --accent:#3E7C8F; --accent-deep:#2E6172; --ok:#3E7A4E;
  --hairline:#DFE0DA; --card:#FBFBF9;
  --sans:"Source Sans 3","Segoe UI",system-ui,sans-serif;
  --mono:"Source Code Pro",Consolas,monospace;
}
html,body{ background:var(--paper); }
body{ margin:0; color:var(--body); font-family:var(--sans); font-size:18px; line-height:1.65; }
.wrap{ max-width:960px; margin:0 auto; padding:0 clamp(20px,4vw,44px); }
h1,h2,h3{ color:var(--ink); line-height:1.15; text-wrap:balance; margin:0; }
a{ color:var(--accent-deep); text-decoration:none; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{ outline:3px solid var(--accent); outline-offset:2px; }
.rule{ width:72px; height:3px; background:var(--accent); border-radius:2px; }
.mono{ font-family:var(--mono); font-variant-numeric:tabular-nums; }
.btn{ display:inline-block; background:var(--accent); color:#fff; font-weight:600; font-size:17px; padding:14px 28px; border-radius:8px; border:none; cursor:pointer; }
.btn:hover{ background:var(--accent-deep); }
.btn[disabled]{ opacity:.6; cursor:default; }
.link2{ font-weight:600; color:var(--accent-deep); border-bottom:2px solid var(--accent); padding-bottom:2px; }

nav{ display:flex; justify-content:space-between; align-items:center; gap:14px 18px; padding:28px 0 22px; flex-wrap:wrap; }
.mark svg{ display:block; height:44px; width:auto; }
.navlinks{ display:flex; gap:26px; font-size:16px; flex-wrap:wrap; }
.navlinks a{ color:var(--muted); }
.navlinks a:hover{ color:var(--ink); }

.hero{ padding:clamp(64px,10vw,120px) 0 48px; max-width:760px; }
.eyebrow{ font-size:13.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--accent-deep); margin:0 0 18px; }
.hero h1{ font-size:clamp(34px,5.4vw,54px); font-weight:700; max-width:16ch; }
.hero .rule{ margin:24px 0; }
.hero p{ font-size:19.5px; max-width:44ch; margin:0 0 34px; }
.cta-row{ display:flex; gap:24px; align-items:center; flex-wrap:wrap; }

.log{ border-top:1px solid var(--hairline); border-bottom:1px solid var(--hairline); margin:64px 0 0; padding:14px 0; display:flex; gap:10px 34px; flex-wrap:wrap; font-size:13px; color:var(--muted); }
.dot{ width:9px; height:9px; border-radius:50%; background:var(--ok); display:inline-block; margin-right:8px; }

section{ padding:clamp(72px,11vw,112px) 0 0; }
section h2{ font-size:clamp(24px,3.2vw,32px); }
.sec-rule{ margin:16px 0 26px; }

.work p{ max-width:58ch; margin:0 0 18px; }
.work .facts{ font-size:13.5px; color:var(--muted); }

.steps{ display:flex; flex-direction:column; gap:22px; max-width:62ch; }
.step{ display:flex; gap:18px; align-items:baseline; }
.step .num{ color:var(--accent-deep); font-size:14px; font-weight:600; flex:0 0 auto; }
.step p{ margin:0; }
.step b{ color:var(--ink); }

.prods{ max-width:62ch; }
.prods > p{ margin:0 0 26px; }
.prod{ padding:22px 0; border-top:1px solid var(--hairline); display:flex; justify-content:space-between; gap:20px; align-items:baseline; flex-wrap:wrap; }
.prod:last-child{ border-bottom:1px solid var(--hairline); }
.prod h3{ font-size:19px; margin:0 0 4px; }
.prod p{ margin:0; font-size:16.5px; }
.prod .go{ white-space:nowrap; font-size:15.5px; }

.about p{ max-width:52ch; margin:0 0 16px; }
.about .stamp{ float:right; width:clamp(120px,17vw,180px); height:auto; margin:-8px 0 16px 28px; }
.about::after{ content:""; display:block; clear:both; }

.contact{ max-width:560px; }
.contact > p{ max-width:48ch; margin:0 0 30px; }
form{ display:flex; flex-direction:column; gap:18px; }
label{ font-weight:600; color:var(--ink); font-size:16px; display:block; margin-bottom:6px; }
input,textarea{ width:100%; box-sizing:border-box; font:inherit; font-size:17px; color:var(--ink); background:#fff; border:1px solid var(--hairline); border-radius:8px; padding:13px 14px; }
input:focus,textarea:focus{ outline:3px solid var(--accent); outline-offset:0; border-color:var(--accent); }
.form-status{ margin:0; font-size:16.5px; }
.form-status[data-kind="ok"]{ color:var(--ok); font-weight:600; }
.form-status[data-kind="err"]{ color:#8A3B2E; font-weight:600; }

.footband{ margin-top:clamp(80px,12vw,128px); background:var(--ink); }
footer{ max-width:960px; margin:0 auto; padding:40px clamp(20px,4vw,44px) 48px; font-size:14.5px; color:#AEB9C2; display:flex; justify-content:space-between; align-items:center; gap:18px 32px; flex-wrap:wrap; }
footer .fmark{ display:block; height:56px; width:56px; }
