:root {
  --bg: #111111;
  --paper: #f3f5f4;
  --paper-strong: #ffffff;
  --ink: #171717;
  --ink-soft: #454545;
  --line: #d7d7d1;
  --line-dark: rgba(255, 255, 255, 0.14);
  --orange: #ff6a00;
  --orange-deep: #de5600;
  --teal: #0f9d8a;
  --red: #b33042;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(243, 245, 244, 0.88);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.header-bar,
.footer-bar,
.support-band,
.header-actions,
.brand,
.brand-copy,
.main-nav,
.hero-actions,
.platform-strip,
.platform-logos,
.hero-points,
.footer-links {
  display: flex;
  align-items: center;
}

.header-bar,
.footer-bar {
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand-copy {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}

.brand-copy strong,
.footer-brand span:last-child {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: var(--orange);
  mask-image: url("./assets/shield.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.brand-mark-small {
  width: 24px;
  height: 24px;
}

.main-nav,
.header-actions,
.hero-actions,
.platform-strip,
.platform-logos,
.hero-points,
.footer-links {
  gap: 12px;
}

.main-nav {
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a,
.footer-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  background: var(--orange);
  color: #fff;
}

.button-primary:hover {
  background: var(--orange-deep);
}

.button-ghost,
.button-secondary,
.button-secondary-dark {
  border-color: rgba(23, 23, 23, 0.14);
}

.button-ghost,
.button-secondary {
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
}

.button-secondary-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(23, 23, 23, 0.22);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.16), transparent 42%),
    linear-gradient(180deg, #fff2e7 0%, #f3f5f4 55%, #eef1ef 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 23, 23, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.28;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 100px;
  width: 460px;
  height: 460px;
  background: var(--teal);
  mask-image: url("./assets/shield.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  opacity: 0.08;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 84px 0 40px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--red);
}

.hero h1,
.section-heading h2,
.support-band h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.02;
}

.hero h1 {
  max-width: 760px;
  font-size: 4rem;
}

.hero-copy,
.section-heading p,
.faq-panel p,
.feature-card p,
.step-card p,
.support-band p,
.footer-copy {
  line-height: 1.68;
}

.hero-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

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

.hero-points {
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.hero-points li {
  padding: 8px 12px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.platform-strip {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 26px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.platform-strip span {
  font-weight: 700;
}

.platform-logos {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.platform-logos img {
  width: 34px;
  height: 34px;
  padding: 6px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(23, 23, 23, 0.1);
}

.section {
  padding: 88px 0;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  color: #fff;
  background: linear-gradient(180deg, #141414 0%, #0f0f0f 100%);
}

.section-accent {
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.14) 0%, rgba(15, 157, 138, 0.12) 100%);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: 2.6rem;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--ink-soft);
}

.section-heading-light p {
  color: rgba(255, 255, 255, 0.72);
}

.steps-grid,
.feature-grid {
  display: grid;
  gap: 16px;
}

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

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

.step-card,
.feature-card,
.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.step-card,
.faq-item {
  background: var(--paper-strong);
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
}

.step-card,
.feature-card {
  min-height: 100%;
  padding: 22px;
}

.step-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 800;
}

.step-card h3,
.feature-card h3,
.faq-trigger span:first-child {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
}

.step-card code {
  display: block;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #131313;
  color: #f7f7f7;
  font-size: 0.95rem;
}

.feature-icon {
  width: 30px;
  height: 30px;
  display: inline-block;
  margin-bottom: 18px;
  background: var(--orange);
  mask-image: var(--icon);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.72);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
}

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

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.faq-symbol {
  color: var(--orange);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-item[data-open="true"] .faq-symbol {
  transform: rotate(45deg);
}

.faq-panel {
  padding: 0 22px 20px;
  color: var(--ink-soft);
}

.support-band {
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.support-band h2 {
  font-size: 2.2rem;
}

.support-band p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  max-width: 700px;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-self: flex-start;
}

.site-footer {
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  background: #ecefea;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-copy,
.footer-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.2rem;
  }

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

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

  .support-band {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .header-bar,
  .footer-bar {
    min-height: auto;
    padding: 14px 0;
  }

  .header-bar,
  .footer-bar,
  .platform-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .button,
  .hero-actions .button,
  .support-actions .button {
    flex: 1 1 200px;
  }

  .hero-inner {
    min-height: auto;
    padding: 72px 0 24px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading h2,
  .support-band h2 {
    font-size: 2rem;
  }

  .steps-grid,
  .feature-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .platform-logos {
    justify-content: flex-start;
  }
}
