@font-face {
  font-family: Barlow Condensed;
  src: url('assets/barlow-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: DM Sans;
  src: url('assets/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #11191a;
  --surface: #182224;
  --panel: #202d2e;
  --line: #354547;
  --text: #f3f7f3;
  --muted: #becac5;
  --mint: #a3f0c7;
  --ink: #122622;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--mint); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
[hidden] { display: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; }
h2 { font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: .96; }
h3 { font-size: 1.08rem; line-height: 1.3; }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - 5rem, 73rem); margin-inline: auto; }
.accent { color: var(--mint); }
.skip { position: absolute; inset: .5rem auto auto .5rem; padding: .7rem 1rem; background: var(--background); transform: translateY(-160%); z-index: 1; }
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.3rem; line-height: 1.1; font-weight: 700; text-decoration: none; }
.brand img { border-radius: .45rem; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem clamp(1rem, 4vw, 2.75rem); }
.site-header nav a { color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.site-header nav a:hover { color: var(--mint); }

.hero { display: grid; grid-template-columns: 1fr 1.13fr; align-items: center; gap: clamp(2.25rem, 5vw, 4.75rem); padding-block: clamp(3.5rem, 7vw, 7rem); }
.kicker { display: flex; align-items: center; gap: .75rem; color: var(--mint); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.kicker span { width: 1.5rem; height: 1px; background: currentColor; flex: none; }
h1 { margin-top: .9rem; font-size: clamp(4.1rem, 8.1vw, 7.75rem); line-height: .87; letter-spacing: -.015em; }
h1 em { font-style: normal; color: var(--mint); }
.lede { margin-block: 1.55rem 1.85rem; max-width: 31rem; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.2rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.05rem; min-height: 3.05rem; padding: .7rem 1.1rem; border: 1px solid transparent; border-radius: .3rem; font-weight: 700; font-size: .93rem; text-decoration: none; }
.primary { background: var(--mint); color: var(--ink); }
.primary:hover { background: #c3f9db; color: var(--ink); }
.hero-image { align-self: stretch; border: 1px solid var(--line); border-radius: .7rem; overflow: hidden; background: #252f30; min-height: 22rem; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }

.features { background: var(--surface); border-block: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: 1fr 1.4fr; align-items: start; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(3rem, 7vw, 6rem); }
.feature-copy h2, .hosting h2 { margin-block: .85rem 1rem; }
.feature-copy > p:last-child, .hosting-items p, .contact p { color: var(--muted); max-width: 36ch; }
.workbench { background: var(--background); border: 1px solid var(--line); border-radius: .65rem; padding: clamp(.9rem, 3vw, 1.45rem); min-width: 0; }
.workbench-header { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; align-items: baseline; padding-bottom: .9rem; }
.workbench-header > span { color: var(--muted); font-size: .77rem; }
.tabs { display: none; gap: .35rem; padding: .3rem; background: var(--surface); border: 1px solid var(--line); border-radius: .35rem; }
.tabs[role=tablist] { display: flex; }
.tabs button { flex: 1; padding: .45rem .3rem; color: var(--muted); font-weight: 600; border: 0; border-radius: .2rem; background: transparent; cursor: pointer; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected=true] { color: var(--mint); background: var(--panel); }
.panel { margin-top: 1rem; }
.panel p { color: var(--muted); min-height: 3.05em; margin-top: .8rem; font-size: .91rem; }
.stock-list { list-style: none; margin: .8rem 0 0; padding: 0; }
.stock-list li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr) auto; gap: .7rem; align-items: center; min-height: 3.45rem; padding: .45rem .65rem; border-bottom: 1px solid var(--line); }
.stock-list li:first-child { border-top: 1px solid var(--line); }
.stock-list strong { display: block; font-size: .87rem; overflow-wrap: anywhere; }
.stock-list small { display: block; color: var(--muted); font-size: .76rem; }
.swatch { width: .85rem; height: .85rem; border-radius: 50%; }
.swatch.mint { background: #a1d9bb; }
.swatch.amber { background: #e9a952; }
.row-icon { color: var(--mint); }
.value { color: var(--mint); font-size: .88rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

.hosting { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(3rem, 7vw, 6rem); }
.hosting-items > div { padding: 1rem 0; border-top: 1px solid var(--line); }
.hosting-items p, .contact p { margin-top: .45rem; max-width: 50ch; }
.text-link { display: inline-block; margin-top: .65rem; color: var(--mint); font-weight: 600; }
.text-link:hover { color: var(--text); }
.contact { background: var(--surface); border-block: 1px solid var(--line); }
.contact-inner { padding-block: clamp(2.5rem, 5vw, 4.5rem); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.contact h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
.footer { display: flex; align-items: center; justify-content: space-between; min-height: 5rem; gap: 1rem; }
.footer .brand { gap: 0; }
.footer > a:last-child { color: var(--muted); font-size: .87rem; }

@media (max-width: 800px) {
  .wrap { width: min(100% - 2.5rem, 36rem); }
  .hero, .features-grid, .hosting { grid-template-columns: minmax(0, 1fr); }
  .hero-image { min-height: 0; aspect-ratio: 3 / 2; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .65rem; padding-block: .8rem; }
  .brand img { width: 30px; height: 30px; }
  .site-header nav { gap: .5rem 1.1rem; }
  h1 { font-size: clamp(3.5rem, 15vw, 4.35rem); }
}
