:root {
  color-scheme: light;
  --ink: #071f2a;
  --ink-2: #102f3a;
  --paper: #f7f4ec;
  --paper-2: #fbfaf6;
  --shell: rgba(255, 255, 255, 0.62);
  --line: rgba(7, 31, 42, 0.13);
  --line-strong: rgba(7, 31, 42, 0.24);
  --muted: #65737a;
  --mint: #42d6b4;
  --mint-dark: #0b745f;
  --coral: #f06d55;
  --cream: #fffdf7;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    linear-gradient(90deg, rgba(7, 31, 42, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 31, 42, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #f8f1e6 0%, #fdfbf6 36%, #eaf7f2 100%);
  background-size: 88px 88px, 88px 88px, auto;
  color: var(--ink);
  font-family: "Avenir Next", "Geist", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(66, 214, 180, 0.2) 46% 52%, transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.1));
}

a {
  color: var(--mint-dark);
}

.skip-link {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 5;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  text-decoration: none;
  transition: transform 420ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.36;
  mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(0deg, rgba(7, 31, 42, 0.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(7, 31, 42, 0.012) 0 1px, transparent 1px 4px);
}

.site-header,
main,
.site-footer,
header,
footer {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}

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

body:not(.home) header {
  padding: 34px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(7, 31, 42, 0.16);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(7, 31, 42, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  padding: 6px;
}

.top-nav a,
.legal-links a {
  min-height: 36px;
  color: var(--ink);
  padding: 7px 12px;
  text-decoration: none;
  transition: color 420ms var(--ease), background-color 420ms var(--ease), transform 420ms var(--ease);
}

.top-nav a {
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: var(--ink);
  color: white;
  outline: 0;
  transform: translateY(-1px);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.84fr);
  align-items: center;
  gap: 34px;
  min-height: min(760px, calc(100dvh - 86px));
  padding: 34px 0 70px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 18px;
  border: 1px solid rgba(7, 31, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: #176956;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  padding: 5px 10px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.85rem, 6.5vw, 5.25rem);
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

h3 {
  font-size: clamp(1.22rem, 2vw, 1.7rem);
  line-height: 1.08;
}

.lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: #52656b;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.store-badge {
  position: relative;
  display: inline-grid;
  grid-template-columns: 34px auto;
  align-items: center;
  column-gap: 11px;
  min-width: 206px;
  min-height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #061922;
  color: white;
  padding: 8px 12px;
  box-shadow:
    0 18px 44px rgba(7, 31, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  opacity: 0.98;
  transition: transform 520ms var(--ease), box-shadow 520ms var(--ease), background-color 520ms var(--ease);
}

.store-badge:hover {
  box-shadow:
    0 24px 60px rgba(7, 31, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.store-badge small,
.store-badge strong,
.store-badge em {
  display: block;
  line-height: 1.03;
}

.store-badge small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 750;
}

.store-badge strong {
  margin-top: 4px;
  color: white;
  font-size: 1.08rem;
  font-weight: 850;
}

.store-badge em {
  position: absolute;
  right: 8px;
  top: -11px;
  border: 1px solid rgba(7, 31, 42, 0.12);
  border-radius: 999px;
  background: #f9fff8;
  color: #0b745f;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.11em;
  padding: 4px 7px;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(7, 31, 42, 0.12);
}

.store-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 36px;
}

.store-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.apple-badge .store-mark svg {
  width: 26px;
  fill: white;
}

.play-badge .store-mark svg {
  width: 31px;
}

.play-blue {
  fill: #5bb8ff;
}

.play-green {
  fill: #51e6a8;
}

.play-yellow {
  fill: #ffd166;
}

.play-red {
  fill: #ff6f61;
}

.hero-product {
  position: relative;
  min-height: 610px;
}

.phone-stack {
  position: relative;
  min-height: 590px;
}

.phone {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 8px solid #071f2a;
  border-radius: 30px;
  background: #071f2a;
  box-shadow:
    0 32px 80px rgba(7, 31, 42, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.phone img,
.detail-phone img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.phone-front {
  right: 8%;
  top: 24px;
  z-index: 2;
  width: min(248px, 50vw);
  aspect-ratio: 1170 / 2532;
  transform: translate3d(0, 0, 0) rotate(3deg);
  animation: phone-front-rise 980ms var(--ease) 120ms both, device-float 7s var(--ease) 1.2s infinite alternate;
}

.phone-back {
  left: 3%;
  top: 86px;
  width: min(214px, 43vw);
  aspect-ratio: 1170 / 2532;
  opacity: 0.9;
  transform: translate3d(0, 0, 0) rotate(-7deg);
  animation: phone-back-rise 1080ms var(--ease) 180ms both, device-drift 8s var(--ease) 1.4s infinite alternate;
}

.ledger-chip {
  position: absolute;
  right: 0;
  bottom: 70px;
  z-index: 3;
  width: 210px;
  border: 1px solid rgba(7, 31, 42, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  padding: 16px;
  box-shadow: 0 26px 70px rgba(7, 31, 42, 0.18);
}

.ledger-chip span,
.ledger-chip small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.ledger-chip strong {
  display: block;
  margin: 4px 0;
  color: var(--mint-dark);
  font-size: 2rem;
  line-height: 1;
}

.proof-band,
.feature-card,
.showcase-section,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--shell);
  box-shadow: 0 30px 90px rgba(7, 31, 42, 0.08);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 116px;
  background: rgba(7, 31, 42, 0.1);
}

.proof-band div {
  background: rgba(255, 253, 247, 0.82);
  padding: 28px;
}

.proof-band span {
  display: block;
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1;
}

.proof-band p,
.feature-card p,
.showcase-copy p,
main > p,
li {
  color: var(--muted);
}

.proof-band p {
  margin: 9px 0 0;
  font-weight: 700;
}

.feature-section,
.showcase-section {
  padding: 0 0 118px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 760px;
  font-size: clamp(2.25rem, 5.1vw, 4.55rem);
  line-height: 1.01;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 30px;
  transition: transform 620ms var(--ease), box-shadow 620ms var(--ease), border-color 620ms var(--ease);
}

.feature-card::after {
  position: absolute;
  inset: auto 24px 24px auto;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(7, 31, 42, 0.1);
  border-radius: 999px;
  content: "";
  opacity: 0.42;
}

.feature-card:first-child {
  background: linear-gradient(145deg, rgba(7, 31, 42, 0.96), rgba(16, 47, 58, 0.92));
}

.feature-card:first-child::after {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(66, 214, 180, 0.1);
}

.feature-card:first-child h3,
.feature-card:first-child p,
.feature-card:first-child span {
  color: white;
}

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

.feature-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 36px 100px rgba(7, 31, 42, 0.13);
  transform: translateY(-4px);
}

.feature-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  border: 1px solid rgba(7, 31, 42, 0.12);
  border-radius: 999px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.feature-card:first-child span {
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-card p {
  max-width: 360px;
  margin: 18px 0 0;
}

.showcase-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.44fr);
  align-items: center;
  gap: 46px;
  margin-bottom: 48px;
  padding: 38px;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.85), rgba(234, 247, 242, 0.78));
}

.showcase-copy p {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 1.05rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.legal-links a {
  border: 1px solid rgba(7, 31, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  font-weight: 800;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  border-color: var(--ink);
  outline: 0;
  transform: translateY(-1px);
}


.ledger-preview {
  position: relative;
  overflow: hidden;
  width: min(360px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(7, 31, 42, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(7, 31, 42, 0.96), rgba(16, 47, 58, 0.94)),
    #071f2a;
  color: white;
  padding: 24px;
  box-shadow:
    0 30px 80px rgba(7, 31, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.ledger-preview::before {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(66, 214, 180, 0.18);
  content: "";
  transform: translate3d(0, 0, 0);
}

.preview-topline,
.preview-row,
.preview-balance {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-topline {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-topline strong {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--mint);
  padding: 3px 8px;
}

.preview-balance {
  display: block;
  margin: 34px 0 30px;
}

.preview-balance span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 750;
}

.preview-balance strong {
  display: block;
  margin-top: 4px;
  color: var(--mint);
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.92;
}

.preview-row {
  min-height: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.preview-row strong {
  color: white;
  font-size: 0.92rem;
}

.preview-row.muted-row strong {
  color: rgba(255, 255, 255, 0.72);
}

.preview-row.status-row strong {
  color: var(--mint);
}

.detail-phone {
  overflow: hidden;
  margin: 0 auto;
  width: min(260px, 100%);
  aspect-ratio: 1170 / 2532;
  border: 8px solid #071f2a;
  border-radius: 30px;
  background: #071f2a;
  box-shadow: 0 30px 80px rgba(7, 31, 42, 0.22);
}

.site-footer,
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 24px 0 42px;
  color: var(--muted);
  font-size: 0.95rem;
}

body:not(.home) main {
  width: min(820px, calc(100% - 44px));
  margin-inline: auto;
  padding: 28px 0 76px;
}

body:not(.home) h1 {
  max-width: 760px;
  margin: 8px 0 22px;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
}

body:not(.home) h2 {
  margin: 44px 0 10px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.08;
}

body:not(.home) .card {
  margin: 28px 0;
  padding: 24px;
  background: rgba(255, 253, 247, 0.76);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  background: var(--mint);
  color: #06291f;
  font-weight: 850;
  padding: 11px 18px;
  text-decoration: none;
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease);
}

.button:hover,
.button:focus-visible {
  outline: 0;
  box-shadow: 0 16px 34px rgba(66, 214, 180, 0.26);
  transform: translateY(-1px);
}

ul,
ol {
  padding-left: 1.3rem;
}

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

.reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 820ms var(--ease), transform 820ms var(--ease);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready .feature-card:nth-child(2) {
  transition-delay: 90ms;
}

.motion-ready .feature-card:nth-child(3) {
  transition-delay: 170ms;
}

@keyframes phone-front-rise {
  from {
    opacity: 0;
    transform: translate3d(24px, 42px, 0) rotate(0deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(3deg) scale(1);
  }
}

@keyframes phone-back-rise {
  from {
    opacity: 0;
    transform: translate3d(-22px, 48px, 0) rotate(-2deg) scale(0.96);
  }
  to {
    opacity: 0.9;
    transform: translate3d(0, 0, 0) rotate(-7deg) scale(1);
  }
}

@keyframes device-float {
  from {
    transform: translate3d(0, 0, 0) rotate(3deg);
  }
  to {
    transform: translate3d(0, -10px, 0) rotate(2.4deg);
  }
}

@keyframes device-drift {
  from {
    transform: translate3d(0, 0, 0) rotate(-7deg);
  }
  to {
    transform: translate3d(0, 8px, 0) rotate(-6.2deg);
  }
}


.showcase-copy h2 {
  max-width: 680px;
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  line-height: 1.02;
}

.subpage .site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  width: min(1180px, calc(100% - 44px));
  border-bottom: 1px solid rgba(7, 31, 42, 0.08);
  background: rgba(247, 244, 236, 0.78);
  backdrop-filter: blur(18px);
}

.subpage-main {
  display: grid;
  gap: 24px;
}

.subpage-hero {
  padding: 68px 0 18px;
}

.subpage-hero .lede {
  max-width: 760px;
}

.subpage-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.74);
  box-shadow: 0 30px 90px rgba(7, 31, 42, 0.08);
  padding: 28px;
}

.featured-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.86), rgba(234, 247, 242, 0.72));
}

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

.prose-panel {
  max-width: 880px;
}

.prose-panel h2,
.subpage-panel h2 {
  margin-top: 28px;
}

.subpage-panel h2:first-child,
.featured-panel h2:first-child,
.prose-panel h2:first-child {
  margin-top: 0;
}

.panel-kicker {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.deeplink-panel {
  max-width: 720px;
}

.top-nav a[aria-current="page"] {
  background: rgba(7, 31, 42, 0.08);
}

@media (max-width: 920px) {
  .site-header,
  main,
  .site-footer,
  header,
  footer,
  body:not(.home) main {
    width: min(100% - 32px, 760px);
  }

  .hero-section,
  .section-heading,
  .feature-grid,
  .showcase-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    gap: 24px;
    padding: 34px 0 62px;
  }

  .hero-product,
  .phone-stack {
    min-height: 520px;
  }

  .phone-front {
    right: 10%;
  }

  .phone-back {
    left: 6%;
  }

  .proof-band {
    margin-bottom: 86px;
  }

}

@media (max-width: 660px) {
  body {
    font-size: 15px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.85rem);
  }

  .store-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-badge {
    width: 100%;
  }

  .hero-product,
  .phone-stack {
    min-height: 470px;
  }

  .phone-front {
    right: 0;
    width: min(264px, 72vw);
  }

  .phone-back {
    left: 0;
    width: min(220px, 62vw);
  }

  .ledger-chip {
    right: 8px;
    bottom: 34px;
    width: 188px;
  }

  .proof-band {
    grid-template-columns: 1fr;
  }

  .proof-band div {
    padding: 22px;
  }

  .feature-section,
  .showcase-section {
    padding-bottom: 78px;
  }

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

  .feature-card span {
    margin-bottom: 28px;
  }

  .showcase-section {
    padding: 22px;
  }

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

  .featured-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .phone-front,
  .phone-back {
    animation: none !important;
  }
}

/* Device frames follow the actual screenshot geometry. */
.phone { border: 7px solid #162026; border-radius: 38px; box-shadow: 0 0 0 2px #87908f, 0 24px 50px #071f2a26; }
.phone-front { width: 280px; aspect-ratio: auto; right: 0; }
.phone-back { width: 250px; aspect-ratio: auto; left: 0; }
.hero-product, .phone-stack { min-height: 670px; }
.ledger-chip { bottom: 20px; }
.download-page { display: flex; flex-direction: column; background: #fafcfc; }
.download-page::before { display: none; }
.download-page main { flex: 1; width: min(960px, calc(100% - 40px)); padding: 60px 0 72px; }
.download-intro { text-align: center; }
.download-icon { display: block; margin: 0 auto 26px; border-radius: 20px; box-shadow: 0 10px 28px #071f2a14; }
.download-status { color: #0b745f; font-size: 14px; font-weight: 700; margin: 0 0 12px; }
body.download-page h1 { max-width: none; margin: 0 0 20px; font-size: 48px; line-height: 1.15; font-weight: 750; letter-spacing: 0; }
.download-description { max-width: 440px; margin: 0 auto; white-space: pre-line; color: #65737a; font-size: 19px; line-height: 1.65; }
.download-page .store-actions { justify-content: center; margin: 36px auto 0; gap: 16px; }
.download-page .store-badge { text-align: left; box-shadow: none; transform: none; }
.download-note { margin: 24px 0 0; color: #65737a; font-size: 14px; }
.download-intro { animation: download-arrive 550ms ease-out both; }
@keyframes download-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 920px) { .hero-product { width: min(520px, 100%); margin-inline: auto; } }
@media (max-width: 660px) {
  .phone-front { width: 72%; right: 1%; }
  .phone-back { width: 64%; left: 1%; }
  .hero-product, .phone-stack { min-height: 0; aspect-ratio: 0.61; }
  .phone-back { top: 60px; }
  .ledger-chip { bottom: 0; }
  body.download-page h1 { font-size: 34px; }
  .download-page main { padding: 40px 0 52px; }
  .download-page .store-actions { max-width: 330px; }
  .download-description { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .download-intro { animation: none; } }

.phone { background: #fbfdff; padding-top: 26px; }
.phone::before { content: ''; position: absolute; top: 8px; left: 36%; width: 28%; height: 12px; border-radius: 20px; background: #101820; }
.phone img { border-radius: 0 0 29px 29px; }
.download-page .store-badge { border-radius: 8px; }

/* Keep the desktop hero inside short laptop viewports without distorting devices. */
.site-header { flex-wrap: wrap; padding-top: 16px; padding-bottom: 8px; }
.top-nav { flex-shrink: 0; }
.home .hero-copy h1 { font-size: 64px; line-height: 1.04; }
.home .hero-copy .lede { font-size: 18px; line-height: 1.65; margin-top: 20px; }
.home .hero-copy .eyebrow { margin-bottom: 14px; }
@media (min-width: 921px) {
  .home .hero-section { min-height: 0; padding: 16px 0 32px; }
  .home .hero-product { --device-width: clamp(200px, calc((100svh - 190px) * 0.435), 270px); }
  .home .hero-product, .home .phone-stack { height: calc(var(--device-width) * 2.164 + 50px); min-height: 0; }
  .home .phone-front { width: var(--device-width); top: 10px; right: 3%; }
  .home .phone-back { width: calc(var(--device-width) * 0.88); top: 46px; left: 3%; }
  .home .ledger-chip { bottom: 4px; }
}
@media (max-width: 920px) { .home .hero-section { padding-top: 18px; } .home .hero-copy h1 { font-size: 54px; } }
@media (max-width: 660px) { .home .hero-copy h1 { font-size: 44px; line-height: 1.08; } .home .hero-copy .lede { font-size: 17px; } }

/* Each unavailable store is one complete, honest button. */
.store-badge, .download-page .store-badge {
  appearance: none; width: 216px; min-height: 68px; padding: 12px 16px;
  grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px;
  border: 1px solid #293b45; border-radius: 8px; background: #0b1922;
  font-family: Arial, Helvetica, sans-serif; text-align: left; opacity: 1;
  box-shadow: none; cursor: default; user-select: none;
}
.store-badge:disabled:hover { transform: none; box-shadow: none; }
.store-badge small { font-size: 12px; font-weight: 400; line-height: 1.2; color: #dce5e8; }
.store-badge strong { margin-top: 3px; font-size: 20px; font-weight: 600; line-height: 1.1; white-space: nowrap; }
@media (max-width: 660px) { .store-badge, .download-page .store-badge { width: 100%; } }
