:root {
  color-scheme: light;
  --ink: #10201b;
  --muted: #56645f;
  --paper: #f7f6f2;
  --surface: #ffffff;
  --line: #d9ded8;
  --field: #e8eee7;
  --gold: #f4b23d;
  --green: #3d6b52;
  --blue: #2f5f86;
  --red: #b3432f;
}

* {
  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;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 12px clamp(20px, 5vw, 64px);
  background: rgba(247, 246, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 64px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/saltledger-feature-graphic-1024x500.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(16, 32, 27, 0.92), rgba(16, 32, 27, 0.74) 48%, rgba(16, 32, 27, 0.28));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  padding: clamp(56px, 9vh, 96px) 0 clamp(48px, 8vh, 86px);
  margin-left: clamp(20px, 5vw, 72px);
  color: #fffaf0;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: #f2efe3;
}

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

.store-status,
.listing-status {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.store-status {
  color: var(--ink);
  background: var(--gold);
}

.listing-status {
  color: #f2efe3;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.measure {
  max-width: 860px;
}

.measure h2,
.feature-card h2,
.faq h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.measure p,
.feature-card p,
.faq p,
.note p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  background: var(--surface);
}

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

.stat,
.feature-card,
.faq article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.stat {
  min-height: 120px;
  padding: 20px;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.stat strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  line-height: 1.08;
}

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

.feature-card {
  min-height: 260px;
  padding: 24px;
}

.feature-card:nth-child(2) {
  border-top: 5px solid var(--green);
}

.feature-card:nth-child(3) {
  border-top: 5px solid var(--blue);
}

.feature-card:nth-child(4) {
  border-top: 5px solid var(--red);
}

.screenshots {
  background: var(--surface);
}

.phone-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 28px);
  align-items: start;
  margin-top: 32px;
}

.phone-strip img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(16, 32, 27, 0.12);
}

.faq {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
  background: var(--paper);
}

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

.faq article {
  padding: 22px;
}

.faq h3 {
  margin: 0;
  font-size: 1.15rem;
}

.note {
  background: var(--ink);
}

.note p {
  max-width: 980px;
  margin: 0;
  color: #f2efe3;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #f2efe3;
  background: #0a1512;
}

.footer div,
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer nav {
  justify-content: flex-end;
}

.footer a {
  color: #f2efe3;
}

.legal-page {
  background: var(--surface);
}

.legal-topbar {
  position: static;
}

.legal {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) 0;
}

.legal h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4rem);
}

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

.legal p,
.legal li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.legal ul {
  margin: 14px 0 0;
  padding-left: 1.2rem;
}

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin-left: 20px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(16, 32, 27, 0.62), rgba(16, 32, 27, 0.95));
  }

  .stat-row,
  .feature-grid,
  .phone-strip {
    grid-template-columns: 1fr;
  }

  .phone-strip img {
    width: min(360px, 100%);
  }
}
