:root {
  color-scheme: dark;
  --bg: #0c0b0d;
  --panel: #141215;
  --border: #30292e;
  --text: #f8f3f4;
  --muted: #b6aab0;
  --red: #ff586d;
  --action: #ce1733;
  font-family: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #ff8796; outline-offset: 5px; }
.shell { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.top, .bottom { display: flex; align-items: center; justify-content: space-between; }
.top { min-height: 87px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.brand b { color: var(--red); }
.top nav { display: flex; align-items: center; gap: 29px; }
.navigation, .text-link { color: var(--muted); font-size: .9375rem; font-weight: 600; }
.navigation:hover, .text-link:hover { color: var(--text); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 8px; font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.secondary { border: 1px solid #493038; background: #1b1116; }
.secondary:hover { background: #2c161e; }
.primary { min-height: 54px; padding-inline: 25px; background: var(--action); color: #fff; box-shadow: 0 6px 22px #ed183832; }
.primary:hover { background: #e01c39; }
.hero { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; min-height: 544px; padding-block: 35px; }
.hero-copy { position: relative; z-index: 1; padding-block: 28px; }
.domain { display: flex; align-items: center; gap: 10px; margin: 0 0 23px; color: #f5a1ac; font: 600 .87rem ui-monospace, Consolas, monospace; }
.domain::before { content: ""; width: 22px; height: 1px; background: var(--red); }
h1 { margin: 0; font-size: clamp(3.25rem, 6.1vw, 6.7rem); font-weight: 760; line-height: .98; letter-spacing: -.075em; }
h1 span { color: var(--red); }
.intro { max-width: 420px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.175rem); line-height: 1.6; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 31px; }
.text-link { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #70545c; }
.hero-visual { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; aspect-ratio: 1.35; min-width: 0; border-radius: 16px; background: #0e090c; }
.envelope { position: absolute; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; }
.hero-visual::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 44px 24px var(--bg); pointer-events: none; }
.visual-corner { position: absolute; z-index: 1; width: 25px; height: 25px; border: solid #74323e; border-width: 0; pointer-events: none; }
.top-left { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.bottom-right { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }
.connection { padding: 29px 0 38px; border-top: 1px solid var(--border); }
.connection-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; }
h2 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.025em; }
.connection-heading p { margin: 0; color: var(--muted); font-size: .9375rem; }
.server-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.server { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 16px; border: 1px solid var(--border); border-radius: 11px; background: var(--panel); }
.server-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #502b36; border-radius: 9px; background: #241419; color: var(--red); }
.server-icon svg { width: 22px; height: 22px; }
.server h3 { margin: 0 0 5px; font-size: 1rem; }
.server h3 span { margin-left: 5px; color: #f49aaa; font-size: .875rem; font-weight: 600; }
.server p { margin: 0; color: var(--muted); }
.server code { font: .875rem ui-monospace, Consolas, monospace; }
.server-port { display: grid; gap: 4px; text-align: right; }
.server-port span { color: var(--muted); font-size: .82rem; }
.bottom { min-height: 62px; border-top: 1px solid var(--border); color: var(--muted); font: .81rem ui-monospace, Consolas, monospace; }

@media (max-width: 960px) {
  .shell { width: calc(100% - 56px); }
  .hero { min-height: 440px; }
  .top { min-height: 73px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .top nav { gap: 12px; }
  .navigation { display: none; }
  .top .button { min-height: 42px; padding-inline: 14px; }
  .hero { grid-template-columns: 1fr; padding: 22px 0 21px; }
  .hero-copy { padding-block: 12px; }
  .hero-visual { aspect-ratio: 1.65; }
  .envelope { object-fit: contain; }
  .domain { margin-bottom: 16px; }
  h1 { font-size: clamp(3rem, 10vw, 4.35rem); }
  .intro { margin-top: 18px; }
  .actions { margin-top: 22px; }
  .server-grid { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  .server { gap: 9px; padding: 11px; }
  .server-icon { width: 32px; height: 34px; }
}
