:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
  --bg: #050814;
  --bg-2: #080f1d;
  --surface: #0b1424;
  --surface-2: #111d31;
  --border: rgba(125, 184, 230, 0.22);
  --ink: #ffffff;
  --muted: #9bb0c9;
  --cyan: #22d3ee;
  --blue: #3b9eff;
  --violet: #8b6cff;
  --accent-soft: rgba(59, 158, 255, 0.16);
  --good: #34d399;
  --warning: #fbbf24;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1100px 640px at 8% -8%, rgba(34, 211, 238, 0.11), transparent 56%),
    radial-gradient(900px 520px at 92% 0%, rgba(139, 108, 255, 0.15), transparent 52%),
    var(--bg);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: #7dd3fc;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header,
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: inherit;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand span {
  background: linear-gradient(135deg, var(--cyan), var(--blue) 48%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.session {
  color: var(--muted);
  font-size: 13px;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--surface);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), #2563eb 50%, var(--violet));
  box-shadow: 0 12px 30px rgba(59, 158, 255, 0.23);
}

.btn-ghost {
  border-color: var(--border);
  background: rgba(11, 20, 36, 0.7);
}

.product-hero {
  padding-top: 76px;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 14px 0 20px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy h1 span {
  background: linear-gradient(90deg, var(--cyan), var(--blue) 48%, #a05dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.platform-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-stage {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  padding-bottom: 70px;
  scroll-margin-top: 24px;
}

.feature-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 17px;
}

.feature-tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.feature-tab:hover {
  color: var(--ink);
  background: rgba(17, 29, 49, 0.72);
}

.feature-tab.active {
  border-color: var(--border);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.26);
}

.app-window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.62);
}

.window-bar {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: #0e192b;
}

.window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35445c;
}

.window-title {
  flex: 1;
  padding-right: 44px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.window-body {
  min-height: 440px;
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr);
}

.app-nav {
  padding: 16px 11px;
  border-right: 1px solid var(--border);
  background: #0a1221;
}

.app-nav > p {
  margin: 4px 9px 11px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-links {
  display: grid;
  gap: 4px;
}

.app-link {
  min-height: 39px;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.app-link b {
  color: #7f91aa;
  font-size: 14px;
  text-align: center;
}

.app-link.active {
  color: var(--ink);
  background: var(--accent-soft);
}

.app-link.active b { color: var(--cyan); }

.app-link em {
  padding: 2px 5px;
  border-radius: 999px;
  color: var(--warning);
  background: rgba(251, 191, 36, 0.12);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-main {
  min-width: 0;
  padding: 24px;
  background: #0b1424;
}

.screen-kicker {
  margin: 0;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-main h2 {
  margin: 6px 0 16px;
  font-size: clamp(20px, 3vw, 27px);
  letter-spacing: -0.035em;
}

.screen-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 13px;
}

.mock-control {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 10px;
  font-weight: 700;
}

.mock-control.primary {
  margin-left: auto;
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), #2563eb);
}

.screen-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 12px;
}

.screen-stack {
  display: grid;
  gap: 10px;
}

.mock-panel {
  min-height: 92px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface-2);
}

.mock-panel.highlight {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(59, 158, 255, 0.12);
}

.mock-panel.tall { min-height: 258px; }

.mock-panel > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mock-line {
  display: block;
  height: 6px;
  margin-bottom: 7px;
  border-radius: 4px;
  background: #293850;
}

.mock-line.short { width: 58%; }
.mock-line.accent { width: 74%; background: linear-gradient(90deg, var(--cyan), var(--violet)); }

.mock-table {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 0.7fr;
  gap: 7px 6px;
  margin-top: 18px;
}

.mock-table span {
  height: 21px;
  border-radius: 4px;
  background: #263650;
}

.mock-table span.good { background: rgba(52, 211, 153, 0.22); }
.mock-table span.warn { background: rgba(251, 191, 36, 0.22); }

.screen-caption {
  position: absolute;
  right: -14px;
  bottom: 38px;
  max-width: 286px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0d1728;
  box-shadow: 0 17px 46px rgba(0, 0, 0, 0.46);
}

.screen-caption strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.screen-caption span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.48;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-block: 1px solid var(--border);
  background: var(--border);
}

.trust-strip article {
  padding: 27px 20px;
  background: var(--surface);
  text-align: center;
}

.trust-strip strong,
.trust-strip span { display: block; }

.trust-strip strong {
  margin-bottom: 6px;
  font-size: 15px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.feature-overview {
  padding-block: 86px;
  scroll-margin-top: 24px;
}

.section-copy {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-copy h2,
.closing-cta h2 {
  margin: 9px 0 13px;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-copy > p:not(.eyebrow),
.closing-cta > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 242px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.feature-wide { grid-column: span 7; }
.feature-medium { grid-column: span 5; }
.feature-third { grid-column: span 4; }

.feature-icon {
  min-width: 38px;
  width: fit-content;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding-inline: 10px;
  border-radius: 10px;
  color: var(--cyan);
  background: var(--accent-soft);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.feature-card h3 {
  margin: 15px 0 8px;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.feature-card > p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.feature-art {
  flex: 1;
  min-height: 92px;
  margin-top: 19px;
  padding: 14px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--surface-2), rgba(59, 158, 255, 0.11));
}

.code-art {
  display: grid;
  align-content: center;
  gap: 8px;
}

.code-art i {
  display: block;
  width: 88%;
  height: 6px;
  border-radius: 4px;
  background: #2c3c55;
}

.code-art i:nth-child(2) { width: 71%; background: rgba(34, 211, 238, 0.45); }
.code-art i:nth-child(3) { width: 58%; margin-left: 12%; }
.code-art i:nth-child(4) { width: 79%; background: rgba(139, 108, 255, 0.36); }

.flow-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.flow-art i {
  width: 44px;
  height: 35px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 8px;
  background: rgba(59, 158, 255, 0.14);
}

.flow-art b {
  width: 18px;
  height: 2px;
  background: var(--violet);
}

.availability {
  margin-top: auto;
  padding-top: 19px;
  color: var(--good);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.availability.review { color: var(--warning); }

.security-section {
  padding-block: 82px;
  border-block: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(139, 108, 255, 0.09), transparent 48%),
    var(--bg-2);
  scroll-margin-top: 24px;
}

.security-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 52px;
}

.security-points {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.security-points li {
  position: relative;
  padding-left: 26px;
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.45;
}

.security-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--good);
  font-weight: 900;
}

.security-visual {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
}

.security-core {
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.38);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 30px rgba(59, 158, 255, 0.06), 0 0 0 60px rgba(139, 108, 255, 0.035);
}

.security-core img {
  width: 98px;
  height: 98px;
  object-fit: contain;
}

.security-chip {
  position: absolute;
  min-width: 142px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: 0 13px 34px rgba(0, 0, 0, 0.31);
}

.security-chip strong,
.security-chip small { display: block; }
.security-chip strong { margin-bottom: 4px; font-size: 12px; }
.security-chip small { color: var(--muted); font-size: 10px; }
.chip-one { top: 10%; left: 3%; }
.chip-two { top: 14%; right: 0; }
.chip-three { bottom: 8%; left: 10%; }
.chip-four { right: 4%; bottom: 8%; }

.closing-cta {
  padding-block: 88px;
  text-align: center;
}

.closing-cta > p {
  max-width: 650px;
  margin-inline: auto;
}

.closing-cta .local-banner {
  width: fit-content;
  max-width: 680px;
  margin: 22px auto 0;
}

.local-banner {
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(11, 20, 36, 0.55);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer,
footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  padding-block: 26px 40px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a { color: var(--muted); }

/* Account and license pages */
.panel {
  width: min(520px, calc(100% - 40px));
  margin: 48px auto 80px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.panel h1 {
  margin: 0 0 8px;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.panel p.lead {
  color: var(--muted);
  line-height: 1.55;
}

label {
  display: block;
  margin: 14px 0 6px;
  color: var(--muted);
  font-size: 13px;
}

input,
select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #2a3c5e;
  border-radius: 10px;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.note,
.error,
.ok {
  min-height: 1.3em;
  margin-top: 12px;
  font-size: 14px;
}

.error { color: #ff8fa0; }
.ok { color: #7dd3fc; }
.note { color: var(--muted); }

@media (max-width: 900px) {
  .window-body { grid-template-columns: 72px minmax(0, 1fr); }
  .app-nav > p,
  .app-link > span,
  .app-link em { display: none; }
  .app-link { grid-template-columns: 1fr; justify-items: center; }
  .screen-caption { position: static; max-width: none; margin-top: 12px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-wide,
  .feature-medium,
  .feature-third { grid-column: span 6; }
  .security-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .site-header,
  .nav { align-items: flex-start; flex-direction: column; gap: 8px; }
  .nav-links { justify-content: flex-start; gap: 9px 16px; }
  .product-hero { padding-top: 50px; }
  .hero-copy h1 { font-size: clamp(42px, 13vw, 60px); }
  .hero-lead { font-size: 16px; }
  .window-body { grid-template-columns: 1fr; }
  .app-nav { display: none; }
  .app-main { padding: 16px; }
  .screen-grid { grid-template-columns: 1fr; }
  .mock-panel.tall { min-height: 190px; }
  .mock-control.primary { margin-left: 0; }
  .trust-strip { grid-template-columns: 1fr; }
  .feature-wide,
  .feature-medium,
  .feature-third { grid-column: 1 / -1; }
  .security-visual { min-height: 410px; }
  .security-chip { min-width: 132px; }
  .chip-one { left: 0; }
  .chip-two { right: 0; }
  .chip-three { left: 0; }
  .chip-four { right: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 440px) {
  .brand img { width: 40px; height: 40px; }
  .nav-links { font-size: 13px; }
  .hero-actions .btn { width: 100%; }
  .feature-tabs { justify-content: flex-start; }
  .feature-tab { padding-inline: 11px; }
  .app-main h2 { font-size: 20px; }
  .security-visual { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; min-height: 0; }
  .security-core { width: 118px; height: 118px; margin: 18px; }
  .security-core img { width: 78px; height: 78px; }
  .security-chip { position: static; flex: 1 1 132px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* --- Secondary pages, forms, footer (dark theme, original look) --- */

.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.btn-secondary {
  border-color: var(--border);
  background: transparent;
  color: var(--ink);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.page-hero {
  padding: 56px 0 18px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.page-hero .lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.page-section {
  padding-block: 28px 72px;
}

.prose {
  max-width: 720px;
}

.prose h2 {
  margin: 28px 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.65;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose ol.toc {
  margin: 0.75em 0 1.5em;
}

.prose ol.toc li {
  margin: 0.35em 0;
}

.prose h2[id] {
  scroll-margin-top: 1.25rem;
}

.contact-block {
  margin: 1em 0 0;
  padding: 18px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--muted);
  line-height: 1.65;
}

.contact-block p {
  margin: 0;
}

.contact-block-name {
  margin-bottom: 10px !important;
  color: var(--ink);
}

.contact-block .placeholder {
  vertical-align: baseline;
}

.placeholder {
  display: inline;
  padding: 1px 6px;
  border: 1px dashed rgba(251, 191, 36, 0.55);
  border-radius: 4px;
  background: rgba(251, 191, 36, 0.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  color: #fde68a;
}

@media (prefers-color-scheme: light) {
  .placeholder {
    border-color: rgba(180, 83, 9, 0.55);
    background: rgba(254, 243, 199, 0.95);
    color: #92400e;
  }
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1em 0;
  max-width: 100%;
}

.table-scroll .req-table {
  min-width: 28rem;
}

.callout {
  padding: 18px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(11, 20, 36, 0.72);
  color: var(--muted);
  line-height: 1.55;
}

.callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.content-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .content-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.simple-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(11, 20, 36, 0.68);
}

.simple-card h2,
.simple-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.simple-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.simple-card .tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.req-table {
  width: 100%;
  border-collapse: collapse;
}

.req-table th,
.req-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
  line-height: 1.5;
}

.req-table th {
  width: 32%;
  color: var(--ink);
  font-weight: 700;
}

.form-shell {
  display: grid;
  gap: 24px;
}

@media (min-width: 960px) {
  .form-shell {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.form-intro h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.form-intro p,
.form-intro li {
  color: var(--muted);
  line-height: 1.6;
}

.interest-form {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(11, 20, 36, 0.72);
}

.form-grid {
  display: grid;
  gap: 4px 16px;
}

@media (min-width: 640px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  margin-bottom: 4px;
}

.field .hint {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea,
.interest-form input,
.interest-form select,
.interest-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #2a3c5e;
  border-radius: 10px;
  color: var(--ink);
  background: var(--bg);
  font: inherit;
  font-size: 16px;
}

.field textarea,
.interest-form textarea {
  min-height: 120px;
  resize: vertical;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #ff8fa0;
}

.field-error {
  min-height: 1.1em;
  margin: 4px 0 0;
  color: #ff8fa0;
  font-size: 13px;
}

.fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.fieldset-legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.checkbox-grid {
  display: grid;
  gap: 8px;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(5, 8, 20, 0.45);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}

.checkbox input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--cyan);
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-privacy-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.form-status {
  margin: 14px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  font-weight: 650;
}

.form-status.is-error {
  color: #ff8fa0;
}

.form-status.is-success {
  padding: 11px 13px;
  border-radius: 10px;
  color: #7dd3fc;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid var(--border);
}

.site-footer.site-footer-rich {
  display: block;
  padding-block: 32px 44px;
}

.footer-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.5fr auto;
    align-items: start;
  }
}

.site-footer-rich p {
  margin: 0;
  max-width: 46rem;
  line-height: 1.55;
}

.footer-legal {
  margin-top: 12px !important;
  font-size: 12px;
}

.trademark {
  margin-top: 16px !important;
  font-size: 12px;
  max-width: 46rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-hero .lead,
.lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.section {
  padding-block: 28px 72px;
}

.section-alt {
  border-block: 1px solid var(--border);
  background: rgba(8, 15, 29, 0.55);
}

.section-head {
  max-width: 720px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.card-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(11, 20, 36, 0.68);
}

.card h2,
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Mail options menu */
.mail-menu { position: relative; display: inline-flex; vertical-align: middle; }
.mail-menu-trigger[hidden],
.mail-menu-fallback[hidden] { display: none !important; }
/* Reset native button chrome so open/focus states stay on the dark theme. */
.mail-menu-trigger {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: #7dd3fc;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
}
.mail-menu-trigger:hover {
  color: var(--cyan);
  background: transparent;
  text-decoration: underline;
}
.mail-menu-trigger:focus,
.mail-menu-trigger:active,
.mail-menu.is-open .mail-menu-trigger,
.mail-menu-trigger[aria-expanded="true"] {
  color: var(--cyan);
  background: transparent;
  box-shadow: none;
  outline: none;
}
.mail-menu-trigger:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  background: transparent;
}
.mail-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  min-width: 220px;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-header .mail-menu-panel,
.mail-menu-panel--end {
  left: auto;
  right: 0;
}
.mail-menu-panel[hidden] { display: none !important; }
.mail-menu-panel a,
.mail-menu-panel button[data-mail-copy] {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: 500 15px/1.3 inherit;
  text-decoration: none;
  cursor: pointer;
}
.mail-menu-panel a:hover,
.mail-menu-panel a:focus,
.mail-menu-panel a:focus-visible,
.mail-menu-panel button[data-mail-copy]:hover,
.mail-menu-panel button[data-mail-copy]:focus,
.mail-menu-panel button[data-mail-copy]:focus-visible {
  background: var(--accent-soft);
  color: var(--cyan);
  text-decoration: none;
  outline: none;
}
.mail-menu-copy-status {
  padding: 4px 12px 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Spacing utilities (replace former inline style attributes blocked by CSP style-src 'self'). */
.mt-1 { margin-top: 1rem; }
.mt-125 { margin-top: 1.25rem; }
.mt-175 { margin-top: 1.75rem; }
.mt-2 { margin-top: 2rem; }
.mt-25 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.overflow-x-auto { overflow-x: auto; }
