/*
  Design direction: utilitarian Solana Mobile product page with screenshot-forward
  proof, high-contrast read-only boundaries, Space Grotesk display type, and
  restrained teal/amber accents over warm white surfaces.
*/
:root {
  color-scheme: light;
  --ink: #10231d;
  --ink-soft: #24423a;
  --muted: #66756f;
  --paper: #f6f3ea;
  --panel: #fffdf7;
  --panel-strong: #e9f7ef;
  --line: #d7dfd5;
  --teal: #13b887;
  --teal-dark: #077958;
  --amber: #f4b84a;
  --clay: #c95f3f;
  --shadow: 0 28px 80px rgba(16, 35, 29, 0.16);
  --display: "Space Grotesk", "Trebuchet MS", sans-serif;
  --body: "DM Sans", Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(115deg, rgba(19, 184, 135, 0.15), transparent 32%),
    linear-gradient(245deg, rgba(244, 184, 74, 0.18), transparent 30%),
    radial-gradient(circle at 52% 0, rgba(255, 255, 255, 0.72), transparent 30%),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.58;
}

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

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

h1,
h2,
h3,
p,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
.brand,
.button,
.eyebrow,
dt {
  font-family: var(--display);
}

h1 {
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.94;
  max-width: 850px;
}

h2 {
  font-size: clamp(2.05rem, 4.7vw, 4.45rem);
  line-height: 1;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.16;
}

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

.site-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1220px;
  padding: 18px 24px;
  position: relative;
  z-index: 2;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.04rem;
  font-weight: 700;
  gap: 10px;
  min-height: 44px;
}

.brand-icon {
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(7, 121, 88, 0.2);
  height: 38px;
  object-fit: cover;
  width: 38px;
}

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

.nav-links a,
.site-footer a:not(.brand) {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 800;
  min-height: 40px;
  padding: 8px 12px;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.site-footer a:not(.brand):hover,
.site-footer a:not(.brand):focus-visible {
  background: rgba(255, 253, 247, 0.78);
  border-color: var(--line);
  outline: none;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.78fr);
  margin: 0 auto;
  max-width: 1220px;
  min-height: calc(100vh - 80px);
  padding: 42px 24px 86px;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lede {
  color: var(--ink-soft);
  font-size: clamp(1.25rem, 2.4vw, 1.78rem);
  font-weight: 650;
  line-height: 1.22;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 14px 34px rgba(16, 35, 29, 0.16);
  outline: none;
  transform: translateY(-1px);
}

.button.primary {
  background: var(--ink);
  color: #fffdf7;
}

.button.secondary {
  background: rgba(255, 253, 247, 0.74);
  border-color: var(--line);
  color: var(--ink);
}

.proof-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
}

.proof-row div {
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.proof-row dt {
  color: var(--ink);
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
}

.proof-row dd {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 8px;
}

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

.hero-visual::before {
  background:
    repeating-linear-gradient(90deg, rgba(16, 35, 29, 0.08) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(16, 35, 29, 0.06) 0 1px, transparent 1px 28px);
  border: 1px solid rgba(16, 35, 29, 0.1);
  border-radius: 8px;
  content: "";
  inset: 28px 0 42px 38px;
  position: absolute;
}

.hero-shot {
  background: #101d18;
  border: 10px solid #10231d;
  border-radius: 34px;
  box-shadow: var(--shadow);
  object-fit: cover;
  position: absolute;
  width: min(72%, 340px);
}

.main-shot {
  right: 0;
  top: 0;
  z-index: 1;
}

.secondary-shot {
  bottom: 0;
  left: 0;
  opacity: 0.96;
  transform: rotate(-3deg);
}

.section,
.showcase,
.quote-section,
.trust-band,
.final-cta {
  margin: 0 auto;
  max-width: 1220px;
  padding: 90px 24px;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 850px;
}

.section-heading p:not(.eyebrow),
.split > .section-heading p {
  font-size: 1.05rem;
  max-width: 700px;
}

.screen-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.screen-grid figure {
  background: rgba(255, 253, 247, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.screen-grid img {
  aspect-ratio: 9 / 16;
  background: var(--ink);
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

figcaption {
  display: grid;
  gap: 5px;
  padding: 14px;
}

figcaption strong {
  color: var(--ink);
}

figcaption span {
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
}

.sticky-copy {
  position: sticky;
  top: 24px;
}

.feature-stack {
  display: grid;
  gap: 12px;
}

.feature-stack article {
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 9px;
  grid-template-columns: 62px minmax(0, 1fr);
  padding: 20px;
}

.feature-stack article h3,
.feature-stack article p {
  grid-column: 2;
}

.feature-index {
  color: var(--clay);
  font-family: var(--display);
  font-weight: 700;
  grid-row: 1 / span 2;
}

.trust-band {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(19, 184, 135, 0.18), rgba(244, 184, 74, 0.18)),
    var(--panel-strong);
  border-block: 1px solid var(--line);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.66fr) minmax(0, 1fr);
  max-width: none;
  padding-left: max(24px, calc((100vw - 1172px) / 2));
  padding-right: max(24px, calc((100vw - 1172px) / 2));
}

.trust-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-grid div {
  background: rgba(255, 253, 247, 0.86);
  border: 1px solid rgba(16, 35, 29, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 18px;
}

.trust-grid span {
  color: var(--muted);
}

.quote-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

blockquote {
  background: var(--ink);
  border-radius: 8px;
  color: #fffdf7;
  display: grid;
  gap: 24px;
  min-height: 220px;
  padding: 24px;
}

blockquote:nth-child(2) {
  background: var(--teal-dark);
}

blockquote:nth-child(3) {
  background: #563820;
}

blockquote p {
  color: #fffdf7;
  font-family: var(--display);
  font-size: 1.28rem;
  line-height: 1.18;
}

cite {
  color: rgba(255, 253, 247, 0.72);
  font-style: normal;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  max-width: 920px;
}

details {
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
}

summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  list-style: none;
  min-height: 58px;
  padding: 18px 48px 18px 18px;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  color: var(--teal-dark);
  content: "+";
  font-size: 1.6rem;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 16px;
}

details[open] summary::after {
  content: "-";
}

details p {
  border-top: 1px solid var(--line);
  padding: 16px 18px 18px;
}

.final-cta {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fffdf7;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 70px;
}

.final-cta h2,
.final-cta .eyebrow {
  color: #fffdf7;
}

.final-cta .button.primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
  flex: 0 0 auto;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1220px;
  padding: 28px 24px 38px;
}

.site-footer div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer span {
  color: var(--muted);
}

.footer-brand {
  min-height: 38px;
}

.legal-page {
  margin: 0 auto;
  max-width: 820px;
  padding: 64px 24px 96px;
}

.legal-page h1 {
  font-size: clamp(2.7rem, 8vw, 5.5rem);
}

.legal-page h2 {
  font-size: 1.18rem;
  line-height: 1.2;
  margin: 34px 0 8px;
}

.legal-page p {
  color: var(--muted);
  font-size: 1.04rem;
}

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

@media (max-width: 960px) {
  .site-header,
  .site-footer,
  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero,
  .split,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 26px;
  }

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

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

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

  .sticky-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .showcase,
  .quote-section,
  .legal-page,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .proof-row,
  .screen-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: grid;
    margin-top: 18px;
    min-height: 0;
  }

  .hero-visual::before,
  .secondary-shot {
    display: none;
  }

  .hero-shot {
    border-width: 7px;
    border-radius: 26px;
    justify-self: center;
    object-position: top center;
    position: static;
    transform: none;
    width: min(82%, 300px);
  }

  .feature-stack article {
    grid-template-columns: 1fr;
  }

  .feature-stack article h3,
  .feature-stack article p,
  .feature-index {
    grid-column: 1;
  }

  .trust-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .final-cta {
    border-radius: 0;
    margin-bottom: 42px;
    padding-left: 18px;
    padding-right: 18px;
  }
}
