:root {
  --ink: #f3efe4;
  --ink-2: #d2c8b1;
  --muted: #958b78;
  --paper: #050505;
  --surface: #11100e;
  --surface-2: #171511;
  --line: #2b281f;
  --teal: #c7a15c;
  --teal-dark: #a77b31;
  --moss: #8c7a50;
  --amber: #d8b66d;
  --steel: #242424;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
  --radius: 8px;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(216, 182, 109, 0.18);
  background: rgba(3, 3, 3, 0.9);
  color: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark small {
  max-width: 34ch;
  overflow: hidden;
  color: rgba(243, 239, 228, 0.68);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-icon {
  display: grid;
  width: 58px;
  height: 40px;
  flex: 0 0 58px;
  place-items: center;
  border: 1px solid rgba(216, 182, 109, 0.58);
  border-radius: 4px;
  background: #f3efe4;
  box-shadow: inset 0 0 0 1px rgba(5, 5, 5, 0.08);
}

.brand-icon img {
  display: block;
  width: 48px;
  height: auto;
  image-rendering: pixelated;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  margin-left: auto;
  color: rgba(243, 239, 228, 0.78);
  font-size: 0.92rem;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--amber);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  min-width: 88px;
  overflow: hidden;
  border: 1px solid rgba(216, 182, 109, 0.3);
  border-radius: var(--radius);
}

.language-switch button {
  min-height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(243, 239, 228, 0.72);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-switch button.active {
  background: var(--amber);
  color: #090806;
}

.language-switch button:hover,
.language-switch button:focus-visible {
  color: var(--amber);
}

.language-switch button.active:hover,
.language-switch button.active:focus-visible {
  color: #090806;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 182, 109, 0.3);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-button span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-button span:nth-child(3) {
  transform: translateY(6px);
}

.hero-section {
  position: relative;
  display: flex;
  min-height: 76vh;
  align-items: center;
  padding: 104px clamp(20px, 5vw, 72px) 46px;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/static/assets/server-rack-reference.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.92) brightness(0.72) contrast(1.16);
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(216, 182, 109, 0.18), rgba(0, 0, 0, 0) 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.78) 42%, rgba(0, 0, 0, 0.42) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.18) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: #e4bf73;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 15ch;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-summary {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions,
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.text-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.button {
  padding: 0 20px;
}

.button-primary {
  background: linear-gradient(135deg, #d8b66d, #a9782c);
  color: #080704;
  box-shadow: 0 12px 32px rgba(216, 182, 109, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #edce85, #b98735);
}

.button-secondary {
  border: 1px solid rgba(216, 182, 109, 0.38);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(216, 182, 109, 0.14);
}

.hero-stats {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  border: 1px solid rgba(216, 182, 109, 0.16);
  background: rgba(216, 182, 109, 0.18);
}

.hero-stats div {
  min-height: 82px;
  padding: 14px;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(8px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: 5px;
  font-size: 1.7rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.35;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 72px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.section-copy {
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.72;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.section-heading.compact {
  max-width: 760px;
}

.check-list,
.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.feature-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before,
.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.section-goal {
  background: #050505;
  padding-top: clamp(36px, 5vw, 68px);
}

.section-evidence {
  overflow: hidden;
  background: #090806;
}

.evidence-band {
  width: 100%;
  overflow: hidden;
  padding: 0 clamp(20px, 5vw, 72px);
  scrollbar-width: none;
}

.evidence-band::-webkit-scrollbar {
  display: none;
}

.evidence-band:hover .evidence-track,
.evidence-band:focus-within .evidence-track {
  animation-play-state: paused;
}

.evidence-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: evidence-scroll 160s linear infinite;
  will-change: transform;
}

.evidence-set {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
}

@keyframes evidence-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 8px), 0, 0);
  }
}

.evidence-card,
.tier-card,
.demo-panel,
.use-case-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035);
}

.evidence-card {
  display: flex;
  width: clamp(292px, 28vw, 390px);
  min-height: 360px;
  flex: 0 0 clamp(292px, 28vw, 390px);
  flex-direction: column;
  padding: 22px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.card-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.evidence-card p {
  color: var(--ink-2);
  line-height: 1.58;
}

.evidence-card a {
  margin-top: auto;
  color: var(--amber);
  font-weight: 800;
}

.evidence-card a:hover,
.evidence-card a:focus-visible {
  color: #f3d991;
}

.section-solutions {
  background:
    radial-gradient(circle at top right, rgba(216, 182, 109, 0.12), rgba(0, 0, 0, 0) 34%),
    #050505;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tier-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 24px;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.tier-card.selected {
  border-color: rgba(216, 182, 109, 0.68);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.tier-heading span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tier-card p {
  color: var(--muted);
  line-height: 1.58;
}

.tier-card .text-button {
  width: 100%;
  margin-top: auto;
  border: 1px solid var(--line);
  background: #171511;
  color: var(--ink);
}

.tier-card .text-button:hover,
.tier-card .text-button:focus-visible {
  border-color: var(--amber);
  color: var(--amber);
}

.demo-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1fr) minmax(260px, 0.9fr);
  gap: 24px;
  margin-top: 22px;
  padding: clamp(22px, 4vw, 34px);
  align-items: start;
}

.demo-panel p {
  color: var(--muted);
  line-height: 1.58;
}

.demo-form,
.contact-form,
.contact-form label {
  display: grid;
  gap: 10px;
}

label {
  color: var(--ink-2);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0a08;
  color: var(--ink);
  outline: none;
}

input {
  min-height: 44px;
  padding: 0 12px;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--amber);
}

textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(216, 182, 109, 0.14);
}

.demo-output {
  min-height: 236px;
  border: 1px solid rgba(216, 182, 109, 0.34);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(216, 182, 109, 0.12), rgba(216, 182, 109, 0)),
    #050505;
  color: #fff;
}

.demo-output span,
.demo-output small {
  display: block;
  color: #e4bf73;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-output strong {
  display: block;
  margin: 16px 0 10px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.demo-output p,
.demo-output small {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.section-use-case {
  background: #080706;
}

.use-case-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(22px, 4vw, 34px);
  padding: clamp(22px, 4vw, 34px);
  align-items: start;
}

.use-case-fields {
  display: grid;
  gap: 26px;
}

.use-case-panel fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.use-case-panel legend,
.user-count-field span,
.use-case-summary span {
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 900;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.privacy-grid {
  grid-template-columns: 1fr;
}

.option-choice {
  display: grid;
  min-height: 58px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #0b0a08;
  color: var(--ink-2);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.42;
}

.option-choice:hover,
.option-choice:focus-within,
.option-choice:has(input:checked) {
  border-color: rgba(216, 182, 109, 0.62);
  background: rgba(216, 182, 109, 0.08);
  color: var(--ink);
}

.user-count-field {
  display: grid;
  max-width: 340px;
  gap: 10px;
}

.use-case-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(216, 182, 109, 0.28);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(216, 182, 109, 0.1), rgba(216, 182, 109, 0)),
    #050505;
}

.use-case-summary p {
  min-height: 140px;
  margin: 0;
  color: rgba(243, 239, 228, 0.74);
  line-height: 1.55;
  white-space: pre-line;
}

.use-case-summary .button {
  width: 100%;
}

.use-case-summary small {
  min-height: 18px;
  color: var(--amber);
  font-weight: 800;
}

.section-about {
  background: #0d0c0a;
}

.section-contact {
  background:
    radial-gradient(circle at 18% 22%, rgba(216, 182, 109, 0.14), rgba(0, 0, 0, 0) 34%),
    #020202;
  color: #fff;
}

.section-contact .section-kicker {
  color: #e4bf73;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
}

.contact-layout h2 {
  max-width: 10ch;
}

.contact-layout p {
  max-width: 620px;
  color: rgba(243, 239, 228, 0.68);
  font-size: 1.06rem;
  line-height: 1.65;
}

.contact-details {
  margin-top: 28px;
}

.contact-details a {
  border: 1px solid rgba(216, 182, 109, 0.28);
  border-radius: var(--radius);
  padding: 11px 13px;
  color: rgba(243, 239, 228, 0.88);
}

.contact-form {
  padding: clamp(20px, 4vw, 30px);
  background: var(--surface);
  color: var(--ink);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--amber);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(216, 182, 109, 0.16);
  background: #020202;
  color: rgba(243, 239, 228, 0.62);
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 900;
}

.loading-state {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
  color: var(--ink);
  text-align: center;
}

@media (max-width: 1080px) {
  .tiers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-panel {
    grid-template-columns: 1fr;
  }

  .use-case-panel {
    grid-template-columns: 1fr;
  }

  .use-case-summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }

  .brand-mark small {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    position: relative;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: rgba(3, 3, 3, 0.98);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(216, 182, 109, 0.14);
  }

  .hero-section {
    min-height: 78vh;
    padding-top: 98px;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 58% 26%, rgba(216, 182, 109, 0.14), rgba(0, 0, 0, 0) 36%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 70%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.18) 38%);
  }

  h1 {
    max-width: 13ch;
    font-size: clamp(2.7rem, 12vw, 3.8rem);
  }

  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stats div {
    min-height: 106px;
    padding: 12px 8px;
  }

  .hero-stats strong {
    font-size: 1.5rem;
  }

  .hero-stats span {
    font-size: 0.78rem;
  }

  .tiers-grid {
    grid-template-columns: 1fr;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .tier-card {
    min-height: auto;
  }

  .evidence-track {
    animation-duration: 190s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .evidence-track {
    animation: none;
  }
}

@media (max-width: 460px) {
  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .contact-details a {
    width: 100%;
  }
}
