:root {
  --bg: #071820;
  --bg-deep: #041117;
  --panel: #0e2630;
  --panel-soft: #f4f8fa;
  --text: #10222b;
  --muted: #607582;
  --light: #f8fcff;
  --light-muted: #b9d1dc;
  --cyan: #35b9e8;
  --cyan-strong: #0aa8dc;
  --green: #36c98a;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 60px rgba(3, 18, 25, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  background: rgba(5, 19, 27, 0.5);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: background 160ms ease, border-color 160ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 19, 27, 0.92);
  border-color: var(--line);
}

.brand img {
  width: 176px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--light);
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
  color: rgba(248, 252, 255, 0.82);
}

.site-nav a:hover {
  color: #ffffff;
}

.nav-action {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
}

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(20px, 7vw, 96px) 90px;
  color: var(--light);
  background-image:
    linear-gradient(90deg, rgba(4, 17, 23, 0.96) 0%, rgba(4, 17, 23, 0.82) 38%, rgba(4, 17, 23, 0.24) 74%),
    url("../images/whale.png");
  background-size: cover;
  background-position: center bottom;
}

.legal-main {
  background: #ffffff;
}

.legal-hero {
  padding: 150px 0 70px;
  color: var(--light);
  background:
    linear-gradient(135deg, rgba(4, 17, 23, 0.96), rgba(7, 36, 48, 0.9)),
    url("../images/blue-waves.jpg") center / cover;
}

.legal-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
}

.legal-hero p:last-child {
  color: var(--light-muted);
  margin: 0;
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--cyan-strong);
  font-weight: 800;
}

.hero__content {
  width: min(660px, 100%);
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero__lead {
  margin: 24px 0 0;
  width: min(600px, 100%);
  color: var(--light-muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.button--primary {
  background: var(--cyan);
  color: #02131a;
}

.button--primary:hover {
  background: #6ad8ff;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--light);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.52);
}

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

.hero__metrics div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.hero__metrics dt {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
}

.hero__metrics dd {
  margin: 4px 0 0;
  color: var(--light-muted);
  font-size: 0.92rem;
}

.overview-section {
  background: var(--bg);
  color: var(--light);
  padding: 48px 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.overview-grid h2,
.section-heading h2,
.scanner-copy h2,
.split-section h2,
.exchange-section h2,
.faq-layout h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.overview-grid p:last-child {
  color: var(--light-muted);
  font-size: 1.08rem;
}

.section {
  padding: 94px 0;
}

.section--dark {
  background: var(--bg-deep);
  color: var(--light);
}

.section--muted {
  background: var(--panel-soft);
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 36px;
}

.section-note {
  margin: 16px 0 0;
  color: var(--light-muted);
  font-size: 1.05rem;
}

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

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid #d8e5eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(4, 24, 32, 0.06);
}

.feature-card img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 22px;
}

.feature-card h3,
.price-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.feature-card p,
.split-section p,
.faq-layout p {
  margin: 0;
  color: var(--muted);
}

.scanner-layout,
.split-section,
.faq-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  align-items: center;
}

.scanner-copy p {
  color: var(--light-muted);
}

.scanner-tabs {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-top: 26px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.scanner-tab {
  border: 0;
  border-radius: 6px;
  padding: 10px 13px;
  color: var(--light-muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.scanner-tab.is-active {
  color: #03141a;
  background: var(--cyan);
}

.scanner-preview {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #10161d;
  box-shadow: var(--shadow);
}

.scanner-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.scanner-preview__caption {
  padding: 14px 18px;
  color: var(--light-muted);
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-image {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
}

.exchange-section {
  text-align: center;
}

.exchange-section h2 {
  width: min(740px, 100%);
  margin: 0 auto 34px;
}

.exchange-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #09242f, #061820);
  border: 1px solid rgba(53, 185, 232, 0.2);
  box-shadow: var(--shadow);
}

.exchange-card {
  min-height: 128px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 22px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.exchange-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.exchange-card span {
  color: var(--light);
  font-weight: 800;
}

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

.testimonial-grid figure,
.price-card {
  margin: 0;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #d8e5eb;
  background: #ffffff;
}

.testimonial-grid blockquote {
  margin: 0;
  color: #2c4551;
  font-size: 1.03rem;
}

.rating {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  color: #f5b942;
  font-size: 1.02rem;
  line-height: 1;
}

.testimonial-grid figcaption {
  margin-top: 18px;
  color: var(--cyan-strong);
  font-weight: 800;
}

.price-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.13);
}

.price-card--featured {
  background: rgba(53, 185, 232, 0.12);
  border-color: rgba(53, 185, 232, 0.5);
}

.price {
  margin: 0;
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
}

.price-note {
  margin: 8px 0 0;
  color: var(--light-muted);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 26px 0;
}

.price-card li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  color: var(--light-muted);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
}

.availability {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--light-muted);
  font-weight: 800;
}

.faq-layout {
  align-items: start;
}

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

details {
  border: 1px solid #d8e5eb;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin-top: 12px;
}

.site-footer {
  color: var(--light-muted);
  background: var(--bg-deep);
  padding: 54px 0 24px;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: start;
}

.footer-logo {
  width: 210px;
  margin-bottom: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
  min-width: 150px;
}

.footer-links a {
  color: var(--light-muted);
  text-decoration: none;
}

.copyright {
  width: min(1120px, calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    background: rgba(5, 19, 27, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 86vh;
    background-position: 62% bottom;
  }

  .overview-grid,
  .scanner-layout,
  .split-section,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .testimonial-grid,
  .pricing-grid,
  .exchange-strip {
    grid-template-columns: 1fr;
  }

  .scanner-tabs {
    width: 100%;
  }

  .footer-layout {
    display: grid;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 0 14px;
  }

  .brand img {
    width: 152px;
  }

  .hero {
    padding: 106px 18px 58px;
    min-height: 92vh;
  }

  .hero__metrics {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

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

  .section {
    padding: 68px 0;
  }
}
