:root {
  color-scheme: dark;
  --bg: #0b1014;
  --bg-2: #111920;
  --panel: #141f27;
  --panel-2: #18242e;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f1ea;
  --muted: #98a3ad;
  --accent: #ff7a59;
  --accent-2: #58d7c8;
  --shell: 1120px;
  --radius: 8px;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(88, 215, 200, 0.05), transparent 180px),
    linear-gradient(180deg, #0b1014 0%, #10171d 100%);
  color: var(--text);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 50;
  padding: 12px 14px;
  background: var(--text);
  color: #000;
}

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

.shell {
  width: min(var(--shell), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 16, 20, 0.72);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  width: min(320px, 56vw);
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.site-nav a:hover {
  border-color: var(--accent);
  color: var(--text);
}

.section {
  padding: 48px 0;
}

.section-band {
  border-top: 1px solid var(--line);
}

.hero {
  padding-top: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

h1,
h2,
h3,
summary {
  margin: 0;
  font-family: "Helvetica Neue", "Avenir Next", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: 72px;
  line-height: 0.95;
}

h2 {
  font-size: 40px;
  line-height: 1.05;
}

h3,
summary {
  font-size: 22px;
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-text {
  max-width: 46rem;
  margin-top: 18px;
  font-size: 19px;
}

.hero-text-secondary {
  color: #c1c8cf;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #101010;
}

.button-secondary {
  background: transparent;
  color: var(--text);
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 28px 0 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.signal-list li {
  min-width: 0;
}

.signal-title,
.footer-brand,
.panel-index,
.step-number {
  display: block;
  color: var(--text);
  font-weight: 700;
}

.signal-copy {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.visual-frame {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(180deg, rgba(88, 215, 200, 0.04), transparent 26%),
    linear-gradient(135deg, rgba(255, 122, 89, 0.1), transparent 54%),
    linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.55;
}

.visual-frame img {
  position: absolute;
  inset: 18%;
  width: 64%;
  height: 64%;
  object-fit: contain;
  z-index: 2;
}

.visual-label {
  position: absolute;
  z-index: 3;
  padding: 8px 10px;
  background: rgba(11, 16, 20, 0.88);
  border: 1px solid var(--line);
  color: #d6dbe0;
  font-size: 12px;
  text-transform: uppercase;
}

.visual-label-top {
  left: 18px;
  top: 18px;
}

.visual-label-bottom {
  right: 18px;
  bottom: 18px;
  text-align: right;
}

.line,
.marker {
  position: absolute;
  z-index: 1;
}

.line-horizontal {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(88, 215, 200, 0.8) 22%, rgba(88, 215, 200, 0.8) 78%, transparent 100%);
}

.line-vertical {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 122, 89, 0.8) 20%, rgba(255, 122, 89, 0.8) 80%, transparent 100%);
}

.line-diagonal {
  left: 16%;
  top: 18%;
  width: 68%;
  height: 1px;
  background: rgba(244, 241, 234, 0.45);
  transform: rotate(-32deg);
  transform-origin: left center;
}

.marker {
  width: 14px;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--text);
  background: var(--bg);
}

.marker-a {
  right: 18%;
  top: 24%;
}

.marker-b {
  left: 16%;
  bottom: 22%;
  border-color: var(--accent-2);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p:last-child {
  margin-top: 14px;
}

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

.info-panel,
.workflow-step,
.faq-list details {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
  border: 1px solid var(--line);
}

.panel-index {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 14px;
}

.info-panel p:last-child,
.workflow-step p {
  margin-top: 14px;
}

.step-number {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(88, 215, 200, 0.12);
  color: var(--accent-2);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin-top: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 44px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.footer-brand {
  font-size: 18px;
}

.footer-copy {
  margin-top: 8px;
  font-size: 15px;
}

.footer-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.footer-meta a {
  color: #d9dee3;
}

.footer-meta a:hover {
  color: var(--accent-2);
}

@media (max-width: 980px) {
  .hero-grid,
  .panel-grid,
  .workflow-grid,
  .signal-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }

  .hero-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .section {
    padding: 36px 0;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  h3,
  summary {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  .hero-text {
    font-size: 18px;
  }

  .brand {
    width: min(280px, 72vw);
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a,
  .button {
    width: 100%;
  }
}
