/* T4D — shared styles for every page */
:root {
  --bg: #09090a;
  --panel: #0f0f11;
  --fg: #ececec;
  --text: #c9c9cc;
  --muted: #74747a;
  --faint: rgba(255, 255, 255, .13);
  --line: rgba(255, 255, 255, .08);
  --accent: #ff5a36;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 1px solid var(--muted); outline-offset: 4px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(9, 9, 10, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .4s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { font-size: 22px; font-weight: 300; letter-spacing: -.03em; }
.menu { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); list-style: none; }
.menu a { color: var(--muted); transition: color .3s; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--fg); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--faint);
  border-radius: 999px;
  white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.solid:hover { background: transparent; color: var(--fg); border-color: var(--faint); }
.site-header .btn { padding: 10px 16px; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(56px, 10vw, 128px) 0 clamp(36px, 6vw, 72px); }
.kicker { color: var(--muted); }
.page-head h1 { margin-top: 18px; font-weight: 200; font-size: clamp(44px, 8vw, 104px); line-height: 1.02; letter-spacing: -.04em; }
.page-head p { margin-top: 22px; max-width: 34em; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.65; color: var(--text); }

/* ---------- Sections ---------- */
.sec { padding: clamp(48px, 7vw, 96px) 0; }
.sec + .sec { padding-top: 0; }
.sec-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--muted); }
.sec-title { font-weight: 200; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -.03em; margin: 28px 0 8px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Rows: number · title · text — used for services, values, steps */
.rows { list-style: none; }
.rows > li { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px 24px; align-items: baseline; padding: clamp(20px, 2.6vw, 30px) 0; border-bottom: 1px solid var(--line); }
.rows .n { color: var(--muted); }
.rows h3 { font-weight: 200; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -.025em; }
.rows p { font-size: 16px; line-height: 1.7; color: var(--text); }
.rows a.more { display: inline-block; margin-top: 10px; color: var(--muted); transition: color .3s; }
.rows a.more:hover { color: var(--fg); }

/* Facts table */
.facts { list-style: none; }
.facts li { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.facts li:first-child { border-top: 1px solid var(--line); }
.facts b { font-weight: 400; color: var(--fg); }
.status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }

/* Pills */
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { border: 1px solid var(--faint); border-radius: 999px; padding: 8px 13px; color: var(--text); }
.pills.check li::before { content: "✓"; margin-right: 8px; color: var(--muted); }

/* Call to action band */
.cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.cta h2 { font-weight: 200; font-size: clamp(30px, 4.6vw, 60px); line-height: 1.1; letter-spacing: -.035em; }
.cta h2 span { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 28px; color: var(--muted); }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px; }
.site-footer .logo { color: var(--fg); }
.site-footer p { margin-top: 10px; font-size: 15px; line-height: 1.6; max-width: 22em; }
.site-footer h4 { font-weight: 400; margin-bottom: 12px; color: var(--muted); }
.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: var(--text); transition: color .3s; }
.site-footer a:hover { color: var(--fg); }
.site-footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .rows > li { grid-template-columns: 36px minmax(0, 1fr); }
  .rows > li > :last-child { grid-column: 2; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .site-footer .top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-header .wrap { height: 60px; }
  .site-header .btn { display: none; }
  .menu { gap: 18px; }
  .sec-head > :last-child { display: none; }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .menu { gap: 14px; }
  .menu .mono, .menu a { letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.site-footer .addr { margin-top: 14px; font-size: 14px; line-height: 1.6; }
.postal { font-style: normal; color: var(--text); line-height: 1.7; margin-bottom: 8px; }
