:root {
  color-scheme: dark;
  --bg: #050606;
  --text: #f7f7f0;
  --muted: #b7bfbc;
  --line: rgba(255, 255, 255, 0.14);
  --amber: #ffb323;
  --amber-2: #ffd36a;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(22px, 5vw, 76px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 760;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  color: rgba(247, 247, 240, 0.82);
  font-weight: 560;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 118px clamp(22px, 5vw, 76px) 68px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    radial-gradient(circle at 78% 54%, rgba(255, 179, 35, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.86) 38%, rgba(0, 0, 0, 0.18) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78));
}

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

.eyebrow {
  margin: 0 0 20px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

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

h1 {
  margin-bottom: 26px;
  font-size: clamp(56px, 6.6vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 720;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: #e3e8e4;
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.75;
}

.hero-lead strong {
  color: var(--amber);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 24px;
  font-weight: 650;
}

.button.primary {
  color: #15100a;
  border-color: rgba(255, 211, 106, 0.5);
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  box-shadow: 0 10px 34px rgba(255, 179, 35, 0.12);
}

.button.ghost {
  color: var(--text);
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.compat {
  margin-bottom: 28px;
  color: rgba(247, 247, 240, 0.62);
  font-size: 14px;
}

.quick-start,
.section {
  padding: clamp(74px, 9vw, 126px) clamp(22px, 5vw, 90px);
}

.quick-start {
  background: linear-gradient(180deg, #070808, #050606);
  border-top: 1px solid var(--line);
}

.panel-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.58fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.section-heading {
  max-width: 920px;
}

.section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 720;
}

.section-heading h2 span {
  display: block;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.72;
}

.panel-shot {
  margin: 0;
  justify-self: center;
  width: min(360px, 100%);
  position: relative;
}

.panel-shot::before {
  content: "";
  position: absolute;
  inset: 8% -10%;
  border-radius: 34px;
  background: radial-gradient(circle, rgba(255, 179, 35, 0.18), transparent 66%);
  filter: blur(18px);
}

.panel-shot img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.scenario-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.scenario-list article {
  padding: 28px 28px 30px;
  border-left: 1px solid var(--line);
}

.scenario-list article:first-child {
  border-left: 0;
  padding-left: 0;
}

.scenario-list span {
  display: block;
  margin-bottom: 16px;
  color: var(--amber);
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 720;
}

.scenario-list h3 {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 650;
}

.scenario-list p {
  color: var(--muted);
  line-height: 1.7;
}

.how-section,
.download-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(44px, 5vw, 64px);
}

.flow::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 56px;
  right: 56px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--amber),
    rgba(255, 179, 35, 0.55) 55%,
    rgba(255, 255, 255, 0.14)
  );
}

.flow-step {
  position: relative;
}

.flow-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 179, 35, 0.45);
  border-radius: 50%;
  background: #0c0a06;
  color: var(--amber);
  box-shadow: 0 0 0 8px rgba(255, 179, 35, 0.05);
}

.flow-node svg {
  width: 26px;
  height: 26px;
}

.flow-node.live::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(255, 179, 35, 0.55);
  border-radius: 50%;
  animation: flow-pulse 2.4s ease-out infinite;
}

@keyframes flow-pulse {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}

.flow-step h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 650;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 30px clamp(22px, 5vw, 90px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer span {
  margin-right: auto;
  color: var(--text);
  font-weight: 650;
}

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

  .nav {
    display: none;
  }

  .hero {
    min-height: 100svh;
    align-items: end;
    padding: 112px 20px 42px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.94) 56%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12));
  }

  h1 {
    font-size: clamp(40px, 11vw, 50px);
    line-height: 1.02;
  }

  h1 span {
    white-space: normal;
  }

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

  .hero-actions {
    display: grid;
  }

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

  .panel-shot {
    width: min(340px, 92vw);
  }

  .scenario-list {
    grid-template-columns: 1fr;
  }

  .scenario-list article,
  .scenario-list article:first-child {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .scenario-list article:first-child {
    border-top: 0;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .flow::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      var(--amber),
      rgba(255, 179, 35, 0.55) 55%,
      rgba(255, 255, 255, 0.14)
    );
  }

  .flow-step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
  }

  .flow-node {
    margin-bottom: 0;
  }

  .flow-step h3,
  .flow-step p {
    grid-column: 2;
  }

  .flow-step h3 {
    margin-top: 4px;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 20px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: clamp(38px, 10.4vw, 46px);
  }

  .button {
    width: 100%;
  }
}

/* ---------- download buttons ---------- */
.download-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.download-buttons .button {
  min-width: 240px;
  text-align: center;
}
.dl-note {
  margin-top: 18px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}
.dl-note a {
  color: var(--amber);
  text-decoration: none;
}

/* ------------------------------------------------------------------- FAQ */

.faq-list {
  max-width: 860px;
  margin: 40px auto 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item dt {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 650;
}

.faq-item dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.faq-item dd a {
  color: var(--amber);
  text-decoration: none;
}
