*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #013e3f;
  --brand-dark: #002525;
  --brand-mid: #115d51;
  --brand-light: #e9f1f0;
  --ocean: #0b3e36;
  --honey: #fdd344;
  --white: #ffffff;
  --cream: #f3eee7;
  --cream-light: #f7f4ef;
  --text: #002525;
  --text-mid: #242424;
  --muted: #666666;
  --border: #d8d8d8;
  --border-light: #e4edec;
  --radius: 10px;
  --radius-lg: 16px;
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'DM Serif Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

/* Clears the sticky nav when jumping to a section */
[id] { scroll-margin-top: 5rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 300;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.hero h1, .section-title, .subsection-title, .cta-section h2 { text-wrap: balance; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── LAUNCH BANNER ── */
.launch-banner {
  background: var(--brand-dark);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.launch-banner strong { font-weight: 700; color: #fff; }
.launch-banner a { color: var(--honey); text-decoration: none; font-weight: 600; margin-left: 0.5rem; }
.launch-banner a:hover { text-decoration: underline; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

/* The brand lockup, as scriply-ui's BrandLockup: the coin beside "Scriply" in Newsreader */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
}
.brand-lockup svg { flex: none; display: block; }

.nav-logo {
  font-size: 1.375rem;
  color: var(--brand);
}

nav ul { display: flex; gap: 2rem; list-style: none; align-items: center; }
nav ul a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav ul a:hover { color: var(--brand); }

.nav-cta {
  background: var(--brand) !important;
  color: #fff !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--brand-dark) !important; }

/* Opens the links on phones, where they don't fit in the bar */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--brand);
  cursor: pointer;
}

/* ── HERO ── */
.hero {
  background: var(--cream);
  padding: 7rem 5% 6rem;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.hero-eyebrow {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-mid);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 1.5rem;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  color: var(--brand-mid);
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* The secondary buttons, side by side under Get Started Free */
.hero-actions-secondary {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }

/* ── SOLUTIONS ── */
.solutions {
  padding: 6rem 5%;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  display: block;
  color: var(--brand-mid);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.solution-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.solution-card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 32px rgba(1,62,63,0.08);
  transform: translateY(-3px);
}

.solution-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  display: block;
}

.solution-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.solution-card > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.solution-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.solution-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-mid);
}

.check-icon { color: var(--brand-mid); font-weight: 700; flex-shrink: 0; }

.solutions-grid-single {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin: 0 auto;
}

.solutions-grid-two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
  margin: 0 auto;
}

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

/* ── DEMOS ── */
.demos {
  padding: 6rem 5%;
  background: var(--cream-light);
  border-bottom: 1px solid var(--border-light);
}

/* Each demo takes up to 560px, side by side when there's room */
.demos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 560px));
  justify-content: center;
  gap: 1.5rem;
}

.demo-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.demo-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
}

.demo-card figcaption { padding: 1.25rem 1.5rem 1.5rem; }

.demo-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.demo-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.coming-soon-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-mid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ── LOGOS BAR ── */
.logos-bar {
  background: var(--cream-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2.5rem 5%;
  text-align: center;
}

.logos-bar p {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.logo-item {
  color: #b4b4b4;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── STATS ── */
.stats {
  background: var(--brand);
  padding: 5rem 5%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  background: transparent;
  padding: 2.5rem 2rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--honey);
  margin-bottom: 0.4rem;
}

.stat-item span {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

/* ── VALUE PROPS ── */
.value-props {
  padding: 6rem 5%;
  background: var(--cream);
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.prop-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.2s, transform 0.2s;
}
.prop-card:hover { box-shadow: 0 8px 32px rgba(1,62,63,0.08); transform: translateY(-3px); }

.prop-visual {
  background: linear-gradient(135deg, var(--brand-light), #d3e8dc);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.prop-content { padding: 1.75rem; }
.prop-content h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--text); }
.prop-content p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; margin-bottom: 1rem; }
.prop-link { color: var(--brand-mid); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.prop-link:hover { text-decoration: underline; }

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 6rem 5%;
  background: var(--white);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.flow-step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-mid);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.flow-step h3, .flow-step h4 { font-family: var(--serif); font-size: 1rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--text); }
.flow-step p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 6rem 5%;
  background: var(--cream);
  border-top: 1px solid var(--border-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow 0.2s;
}
.review-card:hover { box-shadow: 0 4px 20px rgba(1,62,63,0.08); }

.stars { color: var(--honey); font-size: 0.875rem; margin-bottom: 0.75rem; }
.review-text { color: var(--text-mid); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; }

.reviewer { display: flex; align-items: center; gap: 0.75rem; }
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-mid);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reviewer-name { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.reviewer-role { font-size: 0.78rem; color: var(--muted); }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--brand-dark);
  padding: 7rem 5%;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -1px;
  color: #fff;
  max-width: 640px;
  margin: 0 auto 1rem;
  line-height: 1.1;
}

.cta-section p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 420px;
  margin: 0 auto 2.5rem;
}

/* The Free plan's limits, under the line above them */
.cta-section .cta-plan { font-size: 0.9rem; margin-top: -1.75rem; }

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-block;
  background: var(--honey);
  color: var(--brand-dark);
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.2s;
}
.btn-white:hover { transform: translateY(-2px); opacity: 0.92; }

/* ── DISCLAIMER ── */
.disclaimer {
  background: var(--cream-light);
  border-top: 1px solid var(--border-light);
  padding: 2rem 5%;
}
.disclaimer p {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* ── FOOTER ── */
footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.5);
  padding: 4rem 5% 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand .footer-logo {
  font-size: 1.375rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 220px;
}

.footer-col h2 {
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.8rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.8rem; }
.footer-legal a:hover { color: #fff; }

.solutions-grid + .solutions-grid { margin-top: 1.5rem; }

/* ── TOKENIZATION ── */
.token-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.token-fact {
  background: var(--cream-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.token-fact h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--text); }
.token-fact p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

.subsection-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  color: var(--text);
  margin: 5rem 0 0.75rem;
}

.report {
  background: var(--cream);
  padding: 6rem 5%;
  border-top: 1px solid var(--border-light);
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.payload {
  background: var(--brand-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.payload-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}
.payload-head code { color: var(--honey); font-weight: 600; overflow-wrap: anywhere; }

.payload pre {
  margin: 0;
  padding: 1.25rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #d9ece8;
}

.payload-note { padding: 0 1.25rem 1rem; font-size: 0.75rem; color: rgba(255,255,255,0.5); }

.fields { display: flex; flex-direction: column; gap: 1.25rem; }
.fields dt { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.82rem; font-weight: 600; color: var(--brand-mid); margin-bottom: 0.2rem; }
.fields dd { color: var(--text-mid); font-size: 0.9rem; line-height: 1.6; }

.not-promised {
  max-width: 1100px;
  margin: 3rem auto 0;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.not-promised strong { color: var(--text); }

/* ── THE TWO PAGES ── */
/* Under the home hero: the way across for a business whose books are elsewhere */
.hero-fork {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text);
}
.hero-fork a {
  background: var(--honey);
  color: var(--brand-dark);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  text-decoration: none;
}
.hero-fork a:hover { opacity: 0.9; }

/* The accounting systems the subledger works with */
.works-with {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.works-with .system {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  padding: 0.3rem 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.works-with .system.soon { border-style: dashed; color: var(--muted); font-weight: 500; }

/* The subledger hero's example: one wallet transaction, classified and recorded */
.ledger {
  margin: 2.5rem auto 0;
  max-width: 640px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(1,62,63,0.08);
  overflow: hidden;
}
.ledger-row {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
}
.ledger-row:first-child { border-top: 0; }
.ledger-step {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-mid);
  padding-top: 0.15rem;
}
.ledger-meta { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; color: var(--muted); }
.ledger-balances {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.15rem 1.25rem;
  margin-top: 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}
.ledger-balances .head { color: var(--muted); font-size: 0.72rem; }
.ledger-balances .num { text-align: right; }
.ledger-example {
  display: block;
  padding: 0.45rem 1.25rem;
  background: var(--brand-light);
  color: var(--brand-mid);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* On the home page: tokenization in two lines, linking to where it's explained */
.token-band {
  background: var(--brand);
  padding: 3rem 5%;
}
.token-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.token-band h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: #fff; margin-bottom: 0.25rem; }
.token-band p { color: rgba(255,255,255,0.7); font-size: 0.95rem; max-width: 560px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .solutions-grid, .solutions-grid-two, .props-grid, .reviews-grid, .roadmap-grid, .token-facts, .report-layout { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: inline-flex; }
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 5% 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 8px 24px rgba(1,62,63,0.08);
  }
  nav.is-open ul { display: flex; }
  nav ul a { display: block; padding: 0.75rem 0; font-size: 1rem; }
  nav ul li:last-child { margin-top: 0.5rem; }
  .nav-cta { text-align: center; }
}

@media (max-width: 600px) {
  .flow-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ledger-row { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .hero-fork { border-radius: var(--radius); padding: 0.75rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary:hover, .btn-secondary:hover, .btn-white:hover, .solution-card:hover, .prop-card:hover { transform: none; }
}
