:root {
  --bg: #fbf8f2;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-soft: #f2efe7;
  --text: #0b3b2a;
  --muted: #53675d;
  --line: rgba(13, 58, 40, 0.13);
  --accent: #064a31;
  --accent-2: #3d7159;
  --accent-soft: #e7efdf;
  --gold: #d1ac67;
  --shadow: 0 20px 60px rgba(34, 55, 44, 0.13);
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(6, 74, 49, 0.03) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #fffdfa 0%, var(--bg) 48%, #fffdfa 100%);
  background-size: 80px 80px, auto;
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Sora', sans-serif;
  font-size: 34px;
  font-weight: 700;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 2px solid rgba(6, 74, 49, 0.22);
  box-shadow: 0 8px 22px rgba(25, 66, 48, 0.1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #1d2e27;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #075438 0%, var(--accent) 100%);
  box-shadow: 0 16px 34px rgba(23, 79, 55, 0.2);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.84fr) minmax(0, 1.16fr);
  gap: 34px;
  align-items: center;
  min-height: 690px;
  padding: 20px 0 72px;
}

.hero > * {
  min-width: 0;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 0;
}

.hero-copy {
  padding: 10px 0 48px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero h1,
.section-heading h2,
.split-copy h2,
.cta-copy h2 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 8.8ch;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.08;
}

.hero-text,
.split-copy p,
.cta-copy p,
.feature-card p,
.step p,
.footer-brand p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-text {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: 20px;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-badges,
.inline-checks,
.bullet-list,
.token-row,
.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-badges {
  margin-top: 28px;
  color: var(--accent);
  font-weight: 600;
}

.hero-badges li,
.inline-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badges li::before,
.inline-checks li::before {
  content: '✓';
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.device {
  overflow: hidden;
  background: #fdfcf9;
  box-shadow: var(--shadow);
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.device-desktop {
  position: absolute;
  right: 0;
  top: 42px;
  width: min(100%, 740px);
  height: 474px;
  border: 10px solid #101815;
  border-radius: 20px;
}

.device-bar {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: #141e1a;
}

.device-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.device-phone {
  position: absolute;
  left: 8px;
  top: 126px;
  width: 222px;
  height: 438px;
  border-radius: 34px;
  border: 10px solid #111;
  background: #fff;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 108px;
  height: 20px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #111;
  z-index: 2;
}

.floating-card {
  position: absolute;
  right: 24px;
  bottom: 72px;
  width: 360px;
  padding: 24px;
  border: 1px solid rgba(23, 79, 55, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 60px rgba(35, 56, 45, 0.16);
  backdrop-filter: blur(18px);
}

.floating-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.floating-card h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 21px;
}

.floating-card > p {
  margin: 8px 0 0;
  color: var(--muted);
}

.token-row {
  margin-top: 18px;
}

.token-row span,
.mini-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.match-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.match-row strong {
  color: var(--text);
}

.section {
  padding: 74px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading h2,
.split-copy h2,
.cta-copy h2 {
  font-size: 34px;
}

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

.feature-card {
  min-height: 260px;
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(32, 52, 42, 0.05);
  text-align: center;
}

.feature-icon,
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #e8efe0;
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 800;
}

.feature-card h3,
.step h3,
.footer-links h3,
.illustration-card h3 {
  margin: 20px 0 12px;
  font-size: 18px;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.split-panel {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.screenshot-panel img {
  border-radius: 6px;
}

.bullet-list {
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.bullet-list li {
  position: relative;
  padding-left: 22px;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.step {
  text-align: center;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  font-size: 2rem;
  color: #8aa58d;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 48px;
  align-items: center;
}

.beta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.beta-form input {
  flex: 1 1 280px;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.inline-checks {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 600;
}

.cta-illustration {
  position: relative;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.18) 44%, rgba(6, 74, 49, 0.08)),
    linear-gradient(180deg, #eef3e4 0%, #dde8d3 100%);
  border: 1px solid rgba(23, 79, 55, 0.08);
}

.cta-illustration::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 74, 49, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 74, 49, 0.09) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

.illustration-card {
  position: absolute;
  left: 34px;
  bottom: 34px;
  width: min(100% - 68px, 460px);
  padding: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 28px;
  padding: 44px 0 58px;
  border-top: 1px solid var(--line);
}

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

.footer-links div,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-meta small,
.footer-brand p {
  color: var(--muted);
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-line {
    font-size: 58px;
  }

  .device-desktop {
    right: -90px;
  }

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

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

  .step-arrow {
    display: none;
  }
}

@media (max-width: 1040px) {
  .site-header,
  .hero,
  .section-split,
  .cta-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
    justify-items: start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .hero-copy {
    padding-bottom: 20px;
  }

  .hero-badges {
    position: static;
    margin-top: 24px;
    color: var(--accent);
  }

  .hero-visual {
    min-height: 640px;
  }

  .device-desktop {
    right: 0;
    width: 100%;
  }

  .device-phone {
    left: 20px;
  }

  .floating-card {
    right: 0;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
    padding: 0 16px;
  }

  .site-header {
    gap: 18px;
    padding: 18px 0;
  }

  .brand {
    font-size: 26px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    display: block;
    gap: 18px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-line {
    max-width: 9ch;
    font-size: 42px;
  }

  .hero::after {
    height: 180px;
  }

  .hero-copy {
    padding: 12px 0 24px;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .hero-text {
    font-size: 18px;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .hero-actions,
  .hero-badges {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .hero-visual {
    min-height: 560px;
    overflow: hidden;
  }

  .device-desktop {
    position: relative;
    top: 0;
    right: 0;
    height: 310px;
    width: 100%;
  }

  .device-phone {
    top: 140px;
    left: 16px;
    width: 170px;
    height: 330px;
    border-width: 8px;
  }

  .phone-notch {
    width: 76px;
    height: 14px;
  }

  .floating-card {
    width: min(100%, 300px);
    right: 0;
    bottom: 10px;
    padding: 18px;
  }

  .feature-grid,
  .steps,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading h2,
  .split-copy h2,
  .cta-copy h2 {
    font-size: 30px;
  }

  .beta-form {
    flex-direction: column;
  }

  .button,
  .beta-form input {
    width: 100%;
  }

  .cta-illustration {
    min-height: 320px;
  }

  .illustration-card {
    left: 18px;
    right: 18px;
    width: auto;
    bottom: 18px;
    padding: 22px;
  }
}
