:root {
  color-scheme: dark;
  --bg: #090d0b;
  --panel: #111813;
  --line: #28392d;
  --ink: #eff8ef;
  --muted: #acbcb0;
  --green: #c2ff94;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 "Segoe UI", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: min(1130px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: 12px; z-index: 5; padding: 8px 14px; background: var(--green); color: #101a0d; transform: translateY(-150%); }
.skip:focus { transform: none; }
header { border-bottom: 1px solid var(--line); }
.nav, .foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav { min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.05em; }
.brand small { color: var(--muted); font-size: .85rem; letter-spacing: -.01em; }
em { color: var(--green); font-style: normal; }
nav { display: flex; gap: clamp(14px, 3vw, 34px); color: var(--muted); font-size: .94rem; }
nav a:hover, footer a:hover, .company:hover { color: var(--green); }
.company { color: var(--muted); font: .83rem var(--mono); white-space: nowrap; }
.hero {
  display: flex; align-items: center; min-height: 421px; margin-block: 34px 42px;
  border: 1px solid var(--line); border-radius: 23px; overflow: hidden;
  background: linear-gradient(92deg, #0c150ff5 0%, #0c150fac 43%, transparent 72%), url(assets/circuit.svg) right center / cover no-repeat, #101e15;
}
.hero-copy { padding: 56px clamp(26px, 6vw, 74px); }
h1 { font-size: clamp(2.75rem, 6.3vw, 5.1rem); font-weight: 800; letter-spacing: -.078em; line-height: .99; }
h1 em { display: inline-block; margin-top: 8px; }
.hero p { max-width: 425px; margin-top: 23px; color: var(--muted); font-size: 1.08rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 0 16px; border: 1px solid #507144; border-radius: 8px; background: #1b2b1c; color: var(--green); cursor: pointer; font-weight: 700; }
.primary { border-color: var(--green); background: var(--green); color: #10200f; }
.primary:hover { background: #dcffbd; }
.hero .button { margin-top: 25px; }
.section-label { margin-bottom: 11px; color: var(--green); font: 500 .85rem var(--mono); }
.feature { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 345px; overflow: hidden; border: 1px solid #395546; border-radius: 19px; background: #111a15; }
.feature-copy { padding: clamp(25px, 4.3vw, 49px); }
.tile { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid currentColor; border-radius: 10px; background: #192b20; color: #aff4bb; font: 700 1.2rem var(--mono); }
.feature h2, .directory h2 { font-size: clamp(2.25rem, 4vw, 3.3rem); font-weight: 800; letter-spacing: -.065em; line-height: 1.07; }
.feature h2 { margin-top: 11px; }
.feature .lede { margin-top: 10px; font-size: 1.14rem; font-weight: 650; }
.feature p + p { margin-top: 7px; color: var(--muted); }
.feature .button { margin-top: 19px; }
.owner { display: block; margin-top: 16px; color: var(--muted); font: .79rem var(--mono); text-transform: uppercase; }
.inbox-art {
  position: relative; display: grid; place-items: center; min-width: 0; padding: 32px 24px;
  border-left: 1px solid #34493a;
  background: repeating-linear-gradient(90deg, transparent 0 29px, #8dd48314 30px 31px), repeating-linear-gradient(0deg, transparent 0 29px, #8dd48314 30px 31px), radial-gradient(ellipse, #254b36, #101a13 85%);
}
.mail-window {
  width: 100%; max-width: 460px; overflow: hidden; border: 1px solid #526b55; border-radius: 12px;
  background: #121a15; box-shadow: 0 25px 65px #000b; transform: perspective(950px) rotateY(-8deg) rotateX(6deg);
}
.window-bar { display: flex; align-items: center; height: 34px; padding-inline: 11px; background: #1b291f; border-bottom: 1px solid #36483b; color: #9fc9a7; font: .68rem var(--mono); }
.window-bar b { margin: auto; padding-right: 30px; }
.window-body { display: grid; grid-template-columns: minmax(65px, .78fr) 1.1fr 1.35fr; min-height: 172px; font-size: .69rem; }
.window-body > div { min-width: 0; padding: 11px 8px; }
.window-body > div + div { border-left: 1px solid #2b3e30; }
.mock-nav, .mock-list { display: grid; align-content: start; gap: 7px; }
.mock-nav { color: #adc2b2; background: #152019; }
.mock-nav b, .mock-nav span { padding: 3px 5px; }
.mock-nav b { border-radius: 4px; background: #293e2e; color: var(--ink); }
.mock-nav .compose { background: #b8eea9; color: #142515; }
.mock-list p { padding: 4px; border-bottom: 1px solid #28382d; }
.mock-list small, .mock-reading small { display: block; color: #a3b4a6; }
.mock-reading b { display: block; margin-block: 6px 14px; font-size: .82rem; }
.mock-reading i { display: block; height: 4px; margin-bottom: 7px; border-radius: 2px; background: #354b3c; }
.mock-reading i:last-child { width: 56%; }
figcaption { position: absolute; right: 14px; bottom: 9px; color: #bacabb; font: .75rem var(--mono); }
.directory { padding-block: 63px 66px; }
.directory-top { display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.directory-top p { margin-top: 8px; color: var(--muted); }
.search { width: min(270px, 100%); }
.search input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #3b5141; border-radius: 8px; background: #121a15; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.filters { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-block: 20px 16px; }
.filter-group { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-group button { min-height: 38px; padding: 0 13px; border: 1px solid #354b3d; border-radius: 24px; background: transparent; color: var(--muted); cursor: pointer; font-size: .88rem; }
.filter-group button[aria-pressed="true"] { border-color: #597e4f; background: #233822; color: var(--green); }
.count { color: var(--muted); font: .79rem var(--mono); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 16px; }
.card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.card:hover { border-color: #547359; }
.card-top, .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-top small { color: var(--muted); font: .75rem var(--mono); text-transform: uppercase; }
.wiki { background: #242231; color: #cbbdff; }
.capture { background: #322a1d; color: #f1d390; }
.code { background: #1a3030; color: #a2e8df; }
.glance { background: #33262f; color: #f0b8de; }
.card h3 { margin-top: 13px; font-size: 1.47rem; font-weight: 750; letter-spacing: -.04em; }
.card p { color: var(--muted); }
.card .alternative { margin-block: 2px 7px; color: #c6e8c4; font-size: .9rem; font-weight: 650; }
.card-bottom { margin-top: auto; padding-top: 16px; }
.card-bottom span { color: var(--muted); font-size: .84rem; }
.card-bottom a { padding: 5px 9px; border: 1px solid #3e5942; border-radius: 6px; color: var(--green); font-size: .88rem; font-weight: 700; }
.card-bottom a:hover { background: #223823; }
.empty { padding: 35px 20px; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.empty p { margin: 6px 0 14px; color: var(--muted); }
footer { border-top: 1px solid var(--line); background: #0d1310; }
.foot { flex-wrap: wrap; padding-block: 25px; color: var(--muted); font-size: .91rem; }
.foot .brand { color: var(--ink); gap: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 820px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { background-position: center, 63% center; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 30px); }
  .nav { flex-wrap: wrap; gap: 8px 17px; padding-block: 12px; }
  nav { order: 3; width: 100%; }
  .hero { min-height: 377px; margin-block: 19px 29px; background-image: linear-gradient(90deg, #0c150ff2, #0c150f9e), url(assets/circuit.svg); }
  .hero-copy { padding-block: 43px; }
  .feature { grid-template-columns: 1fr; }
  .inbox-art { border-left: 0; border-top: 1px solid #34493a; padding: 23px 15px 32px; }
  .mail-window { transform: none; }
  .directory { padding-block: 43px; }
  .directory-top { align-items: start; flex-direction: column; }
}
@media (max-width: 470px) {
  .cards { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.25rem, 9.5vw, 2.8rem); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
