/* ghostcoin.com: light only, self-hosted fonts, no external requests. */

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-sans-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/instrument-sans-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/instrument-sans-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/instrument-sans-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}

:root {
  --paper: #FFFFFF;
  --mist: #F5F5F8;
  --ink: #0E0D1A;
  --body: #4A4860;
  --quiet: #5F5D73;
  --line: #E4E3EC;
  --violet: #6B4CFF;
  --deep: #4A32C8;
  --tint: #EEEAFF;
  --lavender: #C9BCFF;
  --mint: #4FF0C8;
  --mint-text: #0B6E57;
}

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

html {
  background: var(--paper);
}

body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.045em;
}

h1 {
  font-weight: 700;
  letter-spacing: -0.058em;
}

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

a:focus-visible,
button:focus-visible,
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

/* Skip link: off screen until focused. */
.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10;
  padding: 10px 18px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus,
.skip:focus-visible {
  top: 12px;
}

/* Top bar */
.topbar {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.topbar-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 30px;
  height: 30px;
  flex: none;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  flex-grow: 1;
  font-size: 15px;
  font-weight: 500;
}

.topbar-links a {
  color: var(--ink);
  text-decoration: none;
}

.topbar-links a:hover {
  color: var(--violet);
}

.btn-small {
  display: inline-block;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-small:hover {
  box-shadow: 5px 5px 0 var(--ink);
}

/* The phone menu: hidden on desktop, where the links row and button stay. */
.menu-btn,
.mobile-menu {
  display: none;
}

/* Phones: logo and menu button only; the links and "Launch app" live in the menu. */
@media (max-width: 640px) {
  .topbar-nav {
    padding: 16px 16px;
    gap: 12px;
  }

  .brand {
    min-height: 44px;
  }

  .topbar-links,
  .btn-small {
    display: none;
  }

  .menu-btn,
  .menu-close {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 6px;
    cursor: pointer;
  }

  .menu-btn {
    margin-left: auto;
  }

  .menu-bar,
  .menu-x {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .menu-close {
    position: relative;
  }

  .menu-x {
    position: absolute;
    top: 19px;
    left: 10px;
    transform: rotate(45deg);
  }

  .menu-x + .menu-x {
    transform: rotate(-45deg);
  }

  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 20;
    overflow: hidden;
    visibility: hidden;
    transition: visibility 0s linear 240ms;
  }

  .mobile-menu.is-open {
    visibility: visible;
    transition: visibility 0s;
  }

  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 13, 26, 0.32);
    opacity: 0;
    transition: opacity 240ms ease;
  }

  .mobile-menu.is-open .mobile-menu-backdrop {
    opacity: 1;
  }

  .mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    padding: 8px 16px 24px 24px;
    overflow-y: auto;
    background: var(--paper);
    border-left: 2px solid var(--ink);
    transform: translateX(100%);
    transition: transform 240ms ease;
  }

  .mobile-menu.is-open .mobile-menu-panel {
    transform: translateX(0);
  }

  .mobile-menu-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-bottom: 16px;
  }

  .mobile-menu-links {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu-links a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 56px;
    border-bottom: 1px solid var(--line);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.03em;
  }

  /* Outranks the later .btn rule, so the button spans the panel. */
  .mobile-menu .mobile-menu-launch {
    display: block;
    width: 100%;
    margin-top: auto;
  }

  html.menu-open,
  html.menu-open body {
    overflow: hidden;
  }
}

/* The panel appears in place, without the slide, when motion is reduced. */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .mobile-menu.is-open,
  .mobile-menu-backdrop,
  .mobile-menu-panel {
    transition: none;
  }
}

/* Shared */
a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--violet);
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.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;
}

.nowrap {
  white-space: nowrap;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:hover {
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-primary,
.btn-primary:hover {
  background: var(--violet);
  color: #FFFFFF;
}

.btn-light,
.btn-light:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn-outline,
.btn-outline:hover {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: none;
}

.btn-outline:hover {
  text-decoration: underline;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Block trail: square blocks only. */
.bits,
.gone {
  height: 10px;
  background-image: linear-gradient(90deg, var(--violet) 10px, transparent 10px);
  background-size: 26px 10px;
  background-repeat: repeat-x;
}

.gone {
  background-image: linear-gradient(90deg, var(--line) 10px, transparent 10px);
  background-position: right;
}

.sq {
  display: block;
  height: 24px;
  border: 2.5px solid var(--ink);
  border-radius: 3px;
}

.sq-violet {
  background: var(--violet);
}

.sq-tint {
  background: var(--tint);
}

.sq-paper {
  background: var(--paper);
}

.sq-lavender {
  background: var(--lavender);
}

.sq-mint {
  background: var(--mint);
}

.sq-empty {
  background: transparent;
  border: 2px dashed #C9C7D6;
}

.h-section {
  font-size: clamp(36px, 8vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.h-side {
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.band-violet {
  background: var(--violet);
  color: #FFFFFF;
  border-top: 2px solid var(--ink);
}

/* Violet focus rings vanish on violet bands: use white there. */
.band-violet :focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}

.band-tint {
  background: var(--tint);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.band-mist {
  background: var(--mist);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

/* 2. Hero */
.hero-inner {
  padding: 72px 24px 40px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--deep);
}

.eyebrow-block {
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--mint);
  border: 1.5px solid var(--ink);
}

.hero-title {
  max-width: 960px;
  font-size: clamp(44px, 13vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.058em;
  font-weight: 700;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-end;
  margin-top: 32px;
}

.hero-sub {
  flex: 999 1 480px;
  min-width: 0;
  max-width: 620px;
  font-size: 21px;
  line-height: 1.55;
  color: var(--body);
}

.hero-buttons {
  flex: 1 1 280px;
  min-width: 0;
}

.trail {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 40px 0 88px;
}

.trail .gone {
  flex: 1 1 0;
}

.trail .bits {
  flex: 0.5 1 0;
}

.trail-logo {
  display: block;
  flex: none;
  width: 120px;
  height: 120px;
}

/* 3. Property strip */
.properties {
  border-bottom: 2px solid var(--ink);
}

.properties-list {
  list-style: none;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: space-between;
  font-size: 15px;
}

/* Phones: one item per line, so no row holds two. */
@media (max-width: 640px) {
  .properties-list {
    flex-direction: column;
    gap: 10px;
  }
}

/* 4. Try it */
.try {
  background: var(--mist);
}

.try-inner {
  padding: 112px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
}

.try-copy {
  flex: 1 1 380px;
  min-width: 0;
}

.try-text {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  padding-bottom: 2px;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 2px solid var(--violet);
}

/* Phones: a 44px tap target, the underline still right under the words. */
@media (max-width: 640px) {
  .text-link {
    display: inline-flex;
    align-items: flex-end;
    min-height: 44px;
    margin-top: 14px;
  }
}

.try-visual {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.preview {
  width: 100%;
  max-width: 460px;
}

.preview-top {
  display: flex;
  justify-content: flex-end;
}

.wallet-pill {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  font-size: 13px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.tabs {
  display: flex;
  gap: 4px;
  padding-left: 16px;
}

.tab {
  padding: 10px 22px;
  background: var(--line);
  color: var(--body);
  font-weight: 500;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.tab-active {
  position: relative;
  top: 2px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
}

.preview-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--lavender);
}

.preview-label {
  font-size: 14px;
  color: var(--body);
}

.preview-input {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  font-size: 28px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 8px;
}

.preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--quiet);
}

.preview-btn {
  padding: 16px;
  background: var(--violet);
  color: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.preview-note {
  font-size: 13px;
  color: var(--quiet);
  text-align: center;
}

/* 5. How it works */
.how-inner {
  padding: 120px 24px;
}

.how-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}

.how-lead {
  max-width: 380px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

/* One column that can shrink below 300px, so the cards fit a 320px phone. */
@media (max-width: 640px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.step {
  margin-top: 0;
  padding: 28px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 6px 6px 0 var(--lavender);
}

.step-label {
  font-size: 14px;
}

.step-label-deep {
  color: var(--deep);
}

.step-label-mint {
  color: var(--mint-text);
}

.step-title {
  margin: 10px 0 12px;
  font-size: 32px;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.step-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
}

.step-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.step-words {
  margin-top: 24px;
  padding: 12px 14px;
  font-size: 14px;
  background: var(--mist);
  border-radius: 6px;
  overflow-wrap: anywhere;
}

/* Staggered cards on wide screens only; they line up on a phone. */
@media (min-width: 760px) {
  .step-2 {
    margin-top: 48px;
  }

  .step-3 {
    margin-top: 96px;
  }
}

/* 6. Quantum-safe */
.quantum-inner {
  padding: 120px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
}

.quantum-copy {
  flex: 999 1 560px;
  min-width: 0;
}

.h-quantum {
  font-size: clamp(40px, 9vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.quantum-text {
  max-width: 600px;
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--body);
}

.qgrid {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 340px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.qgrid .sq {
  height: auto;
  aspect-ratio: 1;
}

/* 7. What we can't do */
.cannot-inner {
  padding: 120px 24px;
}

.cannot-title {
  margin-bottom: 48px;
}

.cannot-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
}

.cannot-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px;
  min-width: 0;
  border-bottom: 2px solid var(--ink);
}

.cannot-cell:last-child {
  border-bottom: 0;
}

.cannot-cell-mist {
  background: var(--mist);
}

.cannot-label {
  font-size: 13px;
  color: var(--quiet);
}

.cannot-text {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

@media (min-width: 900px) {
  .cannot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cannot-cell {
    border-bottom: 0;
    border-right: 2px solid var(--ink);
  }

  .cannot-cell:last-child {
    border-right: 0;
  }
}

/* 8. Where Ghost differs */
.compare-inner {
  padding: 0 24px 120px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.compare-copy {
  flex: 1 1 280px;
  min-width: 0;
}

.compare-text {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
}

.compare-side {
  flex: 999 1 640px;
  min-width: 0;
}

.compare-table-wrap {
  min-width: 0;
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 6px 6px 0 var(--ink);
}

.compare-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--quiet);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 480px) {
  .compare-table th,
  .compare-table td {
    padding: 14px 10px;
  }
}

@media (max-width: 640px) {
  .compare-table {
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .compare-table {
    font-size: 14px;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 8px;
  }
}

/* The marker and its word stay on one line; the feature column takes the rest. */
.col-ghost,
.cell-ghost,
.cell-other {
  white-space: nowrap;
}

.compare-table thead th {
  background: var(--mist);
}

.compare-table tbody tr {
  border-top: 1px solid var(--line);
}

.compare-table tbody tr:first-child {
  border-top: 2px solid var(--ink);
}

.compare-table tbody th {
  font-weight: 500;
}

.col-ghost {
  font-weight: 700;
}

.col-other {
  font-weight: 500;
  color: var(--body);
}

.cell-ghost {
  color: var(--deep);
}

.cell-other {
  color: var(--quiet);
}

/* 9. Run a node */
.node-inner {
  padding: 112px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}

.node-copy {
  flex: 1 1 360px;
  min-width: 0;
}

.node-text {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
}

.tags {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.tag {
  padding: 6px 10px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}

.node-code {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.code-main,
.code-alt {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  background: var(--paper);
  border-radius: 10px;
}

.code-main {
  padding: 20px 24px;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.code-alt {
  padding: 16px 24px;
  border: 2px solid var(--line);
}

.code-line {
  flex: 1 1 240px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
  font-size: 18px;
  color: var(--ink);
}

.prompt {
  color: var(--violet);
}

.code-lines {
  flex: 1 1 240px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}

.code-comment {
  color: var(--quiet);
}

/* Phones: wrap the install lines inside the card instead of cutting them off. */
@media (max-width: 640px) {
  .code-line,
  .code-lines {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
}

.copy-btn {
  flex: none;
  padding: 12px 18px;
  background: var(--ink);
  color: #FFFFFF;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.copy-btn:hover {
  background: var(--deep);
}

/* 10. Questions */
.faq-inner {
  padding: 120px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.faq-title {
  flex: 1 1 280px;
  min-width: 0;
}

.faq-list {
  flex: 999 1 640px;
  min-width: 0;
  border-top: 2px solid var(--ink);
}

.faq-list details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

/* Own marker with a hanging indent: a wrapped question lines up with its first line. */
.faq-list summary {
  position: relative;
  padding-left: 1.1em;
  list-style: none;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: '▸';
  position: absolute;
  left: 0;
}

.faq-list details[open] > summary::before {
  content: '▾';
}

/* Phones: the same spacing, with the 44px tap target moved onto the question. */
@media (max-width: 640px) {
  .faq-list details {
    padding: 15px 0;
  }

  .faq-list summary {
    padding-top: 7px;
    padding-bottom: 7px;
  }
}

.faq-list details p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}

/* 11. Final call to action */
.cta-inner {
  padding: 104px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
}

.cta-copy {
  flex: 999 1 520px;
  min-width: 0;
  color: #FFFFFF;
}

.h-cta {
  font-size: clamp(48px, 12vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.cta-text {
  margin-top: 20px;
  font-size: 19px;
  color: #FFFFFF;
}

.cta-buttons {
  margin-top: 32px;
}

.cta-visual {
  flex: 1 1 220px;
  display: flex;
  justify-content: center;
}

.cta-card {
  padding: 32px;
  background: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
}

.cta-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

/* 12. Footer */
.footer {
  background: var(--paper);
  border-top: 2px solid var(--ink);
}

.footer-inner {
  padding: 56px 24px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-brand {
  flex: 2 1 260px;
  min-width: 0;
}

.footer-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.footer-blurb {
  max-width: 300px;
  margin-top: 8px;
  font-size: 15px;
  color: var(--quiet);
}

.footer-col {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.footer-heading {
  font-size: 13px;
  color: var(--quiet);
}

/* Phones: Use and Build side by side, every link a 44px tap target. */
@media (max-width: 640px) {
  .footer-inner {
    gap: 32px 24px;
  }

  .footer-col {
    flex-basis: 120px;
    gap: 0;
  }

  .footer-col a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

.footer-bits {
  margin: 0 24px 24px;
}
