:root {
  color-scheme: dark;
  --bg: #050d11;
  --bg-soft: #07151a;
  --surface: #0b1b22;
  --surface-2: #0f2630;
  --surface-3: #111b21;
  --text: #f5fbfe;
  --muted: #a9bec7;
  --soft: #dceff5;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(94, 220, 255, 0.36);
  --cyan: #5edcff;
  --blue: #3f8cff;
  --green: #55d88d;
  --amber: #ffc857;
  --rose: #ff7f9a;
  --ink: #02070a;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, #050d11 0%, #07151a 42%, #050d11 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

:focus-visible {
  outline: 3px solid rgba(94, 220, 255, 0.75);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 48px), var(--max));
  margin: 18px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(4, 13, 17, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(94, 220, 255, 0.34);
  border-radius: 8px;
  object-fit: cover;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.site-header nav a,
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-header nav a:hover,
.site-footer nav a:hover,
.text-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.site-header .panel-link {
  margin-left: 6px;
  border: 1px solid rgba(94, 220, 255, 0.54);
  color: var(--cyan);
  background: rgba(94, 220, 255, 0.07);
}

.hero {
  position: relative;
  min-height: 920px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #03090d;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.06);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 10, 0.98) 0%, rgba(2, 7, 10, 0.82) 38%, rgba(2, 7, 10, 0.35) 72%, rgba(2, 7, 10, 0.78) 100%),
    linear-gradient(0deg, rgba(5, 13, 17, 1) 0%, rgba(5, 13, 17, 0.42) 48%, rgba(5, 13, 17, 0.08) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 48px;
  align-items: end;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 180px 0 76px;
}

.hero-copy-block {
  max-width: 820px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: 5.9rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 3.1rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.26rem;
  line-height: 1.18;
  letter-spacing: 0;
}

p {
  margin-bottom: 0;
}

.hero-copy {
  max-width: 720px;
  color: var(--soft);
  font-size: 1.25rem;
}

.hero-actions,
.inline-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 850;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.065);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  color: var(--cyan);
  font-weight: 800;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(6, 18, 23, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.panel-top,
.panel-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-top span,
.panel-metric span,
.trust-strip span,
.credits-board span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.panel-top strong {
  color: var(--green);
}

.panel-metric strong {
  text-align: right;
}

.panel-card-link {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--cyan);
  font-weight: 850;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  min-height: 126px;
  padding: 24px;
  border-left: 1px solid var(--line);
  background: rgba(10, 28, 35, 0.74);
}

.trust-strip div:last-child {
  border-right: 1px solid var(--line);
}

.trust-strip strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 1.05rem;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
}

.platform-section,
.plans-section,
.workflow-section,
.status {
  border-top: 1px solid var(--line);
}

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

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

.section-heading p,
.credits-copy p,
.status-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 42px;
  max-width: none;
  align-items: end;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.plan,
.steps article,
.credits-board article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 38, 48, 0.88), rgba(7, 20, 25, 0.96));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
}

.feature-grid article {
  min-height: 250px;
  padding: 24px;
}

.feature-grid p,
.plan p,
.steps p,
.credits-board p,
.status-list span,
.site-footer span {
  color: var(--muted);
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 30px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-grid article:nth-child(2) .feature-mark {
  color: var(--green);
}

.feature-grid article:nth-child(3) .feature-mark {
  color: var(--amber);
}

.feature-grid article:nth-child(4) .feature-mark {
  color: var(--rose);
}

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

.plan {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 28px;
}

.plan.featured {
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(94, 220, 255, 0.14), rgba(8, 24, 30, 0.98)),
    var(--surface-2);
}

.plan-label {
  width: max-content;
  max-width: 100%;
  margin-bottom: 24px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.plan.featured .plan-label {
  border-color: rgba(94, 220, 255, 0.44);
  background: rgba(94, 220, 255, 0.1);
}

dl {
  display: grid;
  margin: auto 0 0;
}

dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 850;
  text-align: right;
}

.plan-cta {
  margin-top: 22px;
}

.credits-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 54px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credits-copy {
  max-width: 650px;
}

.credits-board {
  display: grid;
  gap: 12px;
}

.credits-board article {
  min-height: 148px;
  padding: 22px;
}

.credits-board strong {
  display: block;
  margin: 7px 0 8px;
  color: var(--text);
  font-size: 1.12rem;
}

.credits-board article:nth-child(1) {
  border-left: 4px solid var(--cyan);
}

.credits-board article:nth-child(2) {
  border-left: 4px solid var(--green);
}

.credits-board article:nth-child(3) {
  border-left: 4px solid var(--amber);
}

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

.steps article {
  min-height: 250px;
  padding: 26px;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--green);
  color: var(--ink);
  font-weight: 950;
}

.status {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  gap: 48px;
  align-items: start;
}

.status-list {
  display: grid;
  gap: 10px;
}

.status-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 32, 40, 0.72);
}

.status-list strong {
  display: block;
  color: var(--amber);
}

.status-list span {
  text-align: right;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 18px;
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.final-cta div:first-child {
  max-width: 760px;
}

.final-cta h2 {
  margin-bottom: 0;
}

.final-actions {
  flex-shrink: 0;
  margin-top: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong {
  color: var(--text);
}

@media (max-width: 1160px) {
  h1 {
    font-size: 4.9rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-panel {
    max-width: 620px;
  }

  .trust-strip,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-grid,
  .split-heading,
  .credits-section,
  .status {
    grid-template-columns: 1fr;
  }

  .plan {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 150px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 10px;
    width: min(calc(100% - 28px), var(--max));
    margin-top: 14px;
  }

  .site-header nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .site-header nav a {
    white-space: nowrap;
  }

  .site-header .panel-link {
    margin-left: 0;
  }

  .hero {
    min-height: 900px;
  }

  .hero-bg {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 7, 10, 0.96), rgba(2, 7, 10, 0.84)),
      linear-gradient(0deg, rgba(5, 13, 17, 1) 0%, rgba(5, 13, 17, 0.24) 62%);
  }

  .hero-grid,
  .section,
  .trust-strip,
  .final-cta,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero-grid {
    padding: 174px 0 54px;
  }

  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.12rem;
  }

  .hero-copy {
    font-size: 1.1rem;
  }

  .section {
    padding: 68px 0;
  }

  .trust-strip,
  .steps {
    grid-template-columns: 1fr;
  }

  .trust-strip div,
  .trust-strip div:last-child {
    min-height: 0;
    border-right: 1px solid var(--line);
  }

  .final-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta {
    padding: 54px 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 9px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand span {
    font-size: 0.96rem;
  }

  .site-header nav a {
    min-height: 36px;
    padding: 0 9px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 860px;
  }

  .hero-bg {
    object-position: 61% center;
  }

  .hero-grid,
  .section,
  .trust-strip,
  .final-cta,
  .site-footer {
    width: calc(100% - 24px);
  }

  .hero-grid {
    padding: 142px 0 42px;
  }

  h1 {
    font-size: 2.78rem;
  }

  h2 {
    font-size: 1.84rem;
  }

  h3 {
    font-size: 1.14rem;
  }

  .hero-actions,
  .inline-actions,
  .final-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 48px;
  }

  .hero-panel,
  .feature-grid,
  .plan-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .panel-top,
  .panel-metric,
  dl div,
  .status-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .panel-metric strong,
  dd,
  .status-list span {
    text-align: left;
  }

  .trust-strip div,
  .feature-grid article,
  .plan,
  .steps article,
  .credits-board article {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
