:root {
  --ocean-deep: #08111f;
  --ocean-dark: #0d1b2e;
  --ocean-mid: #0f2a44;
  --blue-primary: #1e88e5;
  --blue-bright: #2a9de8;
  --cyan-glow: #00e5ff;
  --teal-accent: #00b4a8;
  --mint: #12b981;
  --coral: #f97361;
  --amber: #d68b12;
  --bg-light: #eef6ff;
  --bg-pale: #f5faff;
  --bg-section: #f0f7fe;
  --text-primary: #0d1b2e;
  --text-secondary: #2c4a68;
  --text-muted: #5a7a9a;
  --line: rgba(30, 136, 229, .16);
  --line-strong: rgba(13, 61, 122, .22);
  --panel: rgba(255, 255, 255, .88);
  --shadow-blue: 0 4px 24px rgba(30, 136, 229, .20);
  --shadow-card: 0 2px 16px rgba(13, 27, 46, .08);
  --shadow-deep: 0 18px 52px rgba(13, 27, 46, .14);
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { min-height: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg-pale); }
body {
  min-width: 320px;
  min-height: 100%;
  padding-top: 64px;
  color: var(--text-primary);
  background:
    linear-gradient(rgba(30, 136, 229, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 168, .05) 1px, transparent 1px),
    linear-gradient(180deg, #eef6ff 0%, #f7fbff 46%, #f3f8fc 100%);
  background-size: 44px 44px, 44px 44px, auto;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(245, 250, 255, .88);
  border-bottom: 1px solid rgba(30, 136, 229, .12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.nav-logo svg { width: 40px; height: 26px; flex: 0 0 auto; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s;
}

.nav-links a:hover { color: var(--blue-primary); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.btn-ghost {
  position: relative;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(30, 136, 229, .2);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(239, 247, 255, .72));
  color: var(--text-secondary);
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 8px 18px rgba(13, 27, 46, .06);
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.btn-ghost:hover {
  background: linear-gradient(180deg, #fff, #edf6ff);
  color: var(--blue-primary);
  border-color: var(--blue-primary);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .95) inset, 0 12px 24px rgba(30, 136, 229, .12);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid rgba(3, 16, 33, .92);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #162a43 0%, #0b1728 100%);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .18) inset,
    0 -1px 0 rgba(0, 0, 0, .25) inset,
    0 12px 26px rgba(13, 27, 46, .18);
  transition: background .2s, transform .2s, box-shadow .2s, border-color .2s;
}

.btn-primary::before,
.button.primary::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 42%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.btn-primary::after,
.button.primary::after {
  content: "->";
  position: relative;
  margin-left: 4px;
  font-weight: 900;
  opacity: .86;
  transition: transform .2s, opacity .2s;
}

.nav-cta .workspace-cta {
  width: 178px;
  min-width: 178px;
  border-radius: 12px;
  font-weight: 800;
}

.btn-primary:hover {
  border-color: rgba(30, 136, 229, .7);
  background: linear-gradient(180deg, #1b3a5d 0%, #10243b 100%);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .22) inset,
    0 -1px 0 rgba(0, 0, 0, .26) inset,
    0 16px 30px rgba(30, 136, 229, .22);
}

.btn-primary:hover::after,
.button.primary:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

.btn-primary:active,
.button.primary:active,
.button:active,
.btn-ghost:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(13, 27, 46, .12) inset;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .82fr);
  gap: 24px;
  align-items: center;
  padding: 62px 0 42px;
}

.hero-copy { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(0, 180, 168, .22);
  border-radius: 999px;
  background: rgba(0, 180, 168, .08);
  color: #06706c;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal-accent);
  box-shadow: 0 0 0 5px rgba(0, 180, 168, .13);
}

h1 {
  margin: 18px 0 0;
  max-width: 860px;
  color: var(--text-primary);
  font-size: clamp(2.5rem, 5.7vw, 4.75rem);
  line-height: .96;
  letter-spacing: -.07em;
}

.lead {
  margin: 20px 0 0;
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 1.08rem;
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(30, 136, 229, .26);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(239, 247, 255, .78));
  color: var(--text-primary);
  font-size: .9rem;
  font-weight: 760;
  white-space: nowrap;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .95) inset,
    0 8px 18px rgba(13, 27, 46, .07);
  transition: border-color .18s, transform .18s, box-shadow .18s, background .18s;
}

.button:hover {
  border-color: var(--blue-primary);
  background: linear-gradient(180deg, #fff, #eef7ff);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .95) inset,
    0 14px 28px rgba(30, 136, 229, .14);
}
.button.primary {
  border-color: rgba(3, 16, 33, .92);
  background: linear-gradient(180deg, #162a43 0%, #0b1728 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .18) inset,
    0 -1px 0 rgba(0, 0, 0, .25) inset,
    0 14px 28px rgba(13, 27, 46, .18);
}
.button.primary:hover {
  border-color: rgba(30, 136, 229, .7);
  background: linear-gradient(180deg, #1b3a5d 0%, #10243b 100%);
}
.button.secondary {
  border-color: rgba(0, 180, 168, .42);
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(232, 252, 247, .82));
  color: #075f59;
}

.hero-panel,
.panel,
.media-frame,
.video-frame,
.step-card,
.faq-card,
.metric,
.route-card,
.table-wrap,
.worksheet,
.keyword-focus,
.review-grid {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-card);
}

.hero-panel {
  overflow: hidden;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-deep);
}

.hero-panel img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
  object-position: center;
  background:
    linear-gradient(rgba(30, 136, 229, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 168, .03) 1px, transparent 1px),
    #f8fbff;
  background-size: 24px 24px, 24px 24px, auto;
}

.hero-panel figcaption,
.caption {
  color: var(--text-secondary);
  padding: 13px 15px;
  font-size: .86rem;
  background: rgba(255, 255, 255, .78);
}

.section { padding: 42px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

h2 {
  margin: 0;
  max-width: 820px;
  color: var(--text-primary);
  font-size: clamp(1.85rem, 3.4vw, 3.1rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.section-note {
  margin: 10px 0 0;
  max-width: 760px;
  color: var(--text-secondary);
  font-size: .98rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(30, 136, 229, .22);
  border-radius: 999px;
  background: rgba(30, 136, 229, .08);
  color: #145da4;
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}

.grid-2, .grid-3, .media-grid, .metric-grid, .route-grid {
  display: grid;
  gap: 16px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3, .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.route-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.panel { padding: 24px; }
.panel h3,
.step-card h3,
.faq-card h3,
.route-card h3 {
  margin: 0 0 9px;
  color: var(--text-primary);
  font-size: 1.12rem;
  line-height: 1.22;
}

.panel p, .step-card p, .faq-card p, .route-card p {
  margin: 0;
  color: var(--text-secondary);
}

.panel p + p { margin-top: 12px; }

.note {
  padding: 18px 20px;
  border: 1px solid rgba(214, 139, 18, .26);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  background: #fff8ed;
  color: #4b3512;
}

.note strong { color: #2f220d; }

.worksheet {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, .55fr) minmax(180px, .55fr);
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(239, 248, 255, .82)),
    var(--panel);
}

.worksheet label {
  display: grid;
  gap: 7px;
  color: var(--text-primary);
  font-size: .86rem;
  font-weight: 850;
}

.worksheet textarea,
.worksheet select {
  width: 100%;
  border: 1px solid rgba(30, 136, 229, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--text-primary);
  font: inherit;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset;
}

.worksheet textarea {
  min-height: 118px;
  padding: 12px 13px;
  resize: vertical;
}

.worksheet select {
  min-height: 44px;
  padding: 0 12px;
}

.worksheet textarea:focus,
.worksheet select:focus {
  outline: 2px solid rgba(30, 136, 229, .22);
  outline-offset: 2px;
  border-color: var(--blue-primary);
}

.worksheet-button { align-self: end; min-height: 44px; }

.worksheet-output {
  grid-column: 1 / -1;
  min-height: 58px;
  padding: 13px 15px;
  border: 1px solid rgba(0, 180, 168, .22);
  border-radius: 8px;
  background: rgba(235, 255, 250, .72);
  color: #075f59;
  font-size: .92rem;
  font-weight: 650;
}

.keyword-focus {
  margin-top: 42px;
  margin-bottom: 42px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(239, 248, 255, .78)),
    var(--panel);
}

.keyword-focus .section-head { margin-bottom: 16px; }

.focus-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.focus-list li {
  padding: 12px 14px;
  border: 1px solid rgba(30, 136, 229, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .74);
  color: var(--text-secondary);
}

.focus-list strong { color: var(--text-primary); }

.review-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.review-list li,
.review-grid li {
  color: var(--text-secondary);
}

.review-list li {
  padding: 11px 12px;
  border: 1px solid rgba(30, 136, 229, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  list-style: none;
}

.review-grid li {
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(30, 136, 229, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
}

.review-list strong,
.review-grid strong {
  color: var(--text-primary);
}

.metric {
  min-height: 120px;
  padding: 18px;
  background: rgba(255, 255, 255, .78);
}

.metric strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -.04em;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: .86rem;
}

.steps { display: grid; gap: 12px; counter-reset: step; }
.step-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, .82);
}

.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-primary), var(--teal-accent));
  color: #fff;
  font-weight: 900;
}

.video-frame {
  overflow: hidden;
  background: #08111f;
  box-shadow: var(--shadow-deep);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #08111f;
}

.workflow-tour-frame { background: #f7fbff; }
.mirofish-media-frame {
  display: block;
  width: 100%;
  min-height: 680px;
  border: 0;
  background: #f7fbff;
}

.route-compass, .live-board, .market-lens, .reader-map, .repo-check, .demo-lab, .first-run-card, .branch-atlas {
  padding: 30px;
  border: 1px solid rgba(30, 136, 229, .16);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
}
.route-compass { display:grid; grid-template-columns: 1.1fr .9fr; gap: 30px; background:linear-gradient(135deg,#effaff,#fff 52%,#eff7ff); }
.route-compass ol { margin:0; padding:0; list-style:none; display:grid; gap:8px; counter-reset:route; }
.route-compass li { counter-increment:route; display:grid; grid-template-columns:38px 110px 1fr; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid rgba(30,136,229,.13); }
.route-compass li::before { content:counter(route, decimal-leading-zero); color:var(--blue-primary); font-weight:900; }.route-compass li:last-child{border-bottom:0}.route-compass span{color:var(--text-secondary);font-size:.9rem}
.live-board { display:grid; gap:18px; background:#071b36; color:#fff; }.live-board h2,.live-board p{color:#fff}.live-pulse{display:flex;align-items:center;gap:8px;font-size:.75rem;letter-spacing:.12em}.live-pulse span{width:8px;height:8px;border-radius:50%;background:#3ee5cf;box-shadow:0 0 16px #3ee5cf;animation:pulseDot 1.5s ease-in-out infinite}.live-pulse span:nth-child(2){animation-delay:.2s}.live-pulse span:nth-child(3){animation-delay:.4s}.handoff-strip{display:flex;align-items:center;justify-content:space-between;gap:7px;color:#b9d8f2;font-size:.82rem}.handoff-strip i{height:1px;flex:1;background:#3b7ba8}@keyframes pulseDot{50%{transform:scale(.55);opacity:.4}}
.market-lens{background:linear-gradient(120deg,#fff8ed,#fff 48%,#eefaff)}.market-columns{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.market-columns article{padding:15px;border-top:3px solid var(--amber);background:rgba(255,255,255,.76)}.market-columns p{margin:8px 0 0;color:var(--text-secondary);font-size:.9rem}
.reader-map{background:#f3fbff}.reader-routes{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.reader-routes a{min-height:126px;padding:16px;display:grid;align-content:space-between;background:#fff;border:1px solid rgba(30,136,229,.14);text-decoration:none}.reader-routes b{font-size:1.04rem}.reader-routes span{color:var(--text-secondary);font-size:.87rem}.reader-routes a:hover{border-color:var(--teal-accent)}
.repo-check{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;background:#0b1220;color:#d6e5f3}.repo-check h2,.repo-check p{color:#f4f8fb}.repo-terminal{display:grid;gap:8px;align-content:start;font:700 .83rem/1.2 ui-monospace,SFMono-Regular,monospace}.repo-terminal span{padding:11px;border-left:3px solid #40e3bf;background:#15243a}
.demo-lab{background:linear-gradient(135deg,#effaff,#fbfdff)}.demo-tabs{display:flex;gap:8px;flex-wrap:wrap}.demo-tabs button{border:1px solid rgba(30,136,229,.22);border-radius:999px;padding:8px 13px;background:#fff;color:#28516f;font:800 .82rem Inter,sans-serif;cursor:pointer}.demo-tabs button[aria-pressed="true"]{background:var(--blue-primary);color:#fff}.demo-screen{margin-top:15px;padding:28px;background:#08223d;color:#dceeff;min-height:245px;overflow:hidden}.demo-stage{margin:0;color:#6ce6d2;text-transform:uppercase;letter-spacing:.16em;font-size:.74rem;font-weight:900}.demo-screen h2{margin-top:20px;color:#fff;max-width:660px}.demo-copy{max-width:580px}.demo-bars{display:flex;gap:7px;margin-top:28px}.demo-bars i{height:8px;border-radius:9px;background:#39d4c1;animation:barMove 1.8s ease-in-out infinite}.demo-bars i:nth-child(1){width:28%}.demo-bars i:nth-child(2){width:17%;animation-delay:.2s}.demo-bars i:nth-child(3){width:36%;animation-delay:.4s}.demo-bars i:nth-child(4){width:21%;animation-delay:.6s}@keyframes barMove{50%{opacity:.3;transform:translateX(8px)}}
.first-run-card{background:linear-gradient(120deg,#fbf8f0,#fff 58%,#eefaff)}.first-run-card ol{display:grid;grid-template-columns:repeat(5,1fr);padding:0;margin:24px 0;list-style:none;gap:8px}.first-run-card li{display:grid;gap:8px}.first-run-card b{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--blue-primary);color:#fff}.first-run-card span{font-weight:800;color:#1b3a52}
.branch-atlas{background:linear-gradient(135deg,#081d36,#123f60);color:#dcedff}.branch-atlas h2{color:#fff}.branch-lines{display:grid;gap:10px;margin-top:20px}.branch-lines article{display:grid;grid-template-columns:170px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid rgba(194,232,255,.26)}.branch-lines article:last-child{border-bottom:0}.branch-lines b{color:#6be7d2}.branch-lines span{color:#dcedff}

.media-frame { overflow: hidden; background: #f8fbff; }
.media-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
  object-position: center;
  background:
    linear-gradient(rgba(30, 136, 229, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 168, .03) 1px, transparent 1px),
    #f8fbff;
  background-size: 24px 24px, 24px 24px, auto;
}

.table-wrap { overflow-x: auto; background: rgba(255, 255, 255, .82); }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(30, 136, 229, .12);
  text-align: left;
  vertical-align: top;
  font-size: .94rem;
}
th { color: #17405f; background: rgba(30, 136, 229, .07); font-size: .82rem; font-weight: 900; }
tbody tr:last-child td { border-bottom: 0; }
td { color: var(--text-secondary); }

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

.faq-card { padding: 20px; background: rgba(255, 255, 255, .82); }

.route-card {
  min-height: 148px;
  padding: 18px;
  background: rgba(255, 255, 255, .82);
  transition: border-color .18s, transform .18s;
}
.route-card:hover { border-color: var(--teal-accent); transform: translateY(-2px); }
.route-card span {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue-primary);
  font-size: .86rem;
  font-weight: 850;
}

.footer {
  padding: 34px 0 44px;
  color: var(--text-muted);
  font-size: .9rem;
}
.footer a { color: var(--blue-primary); font-weight: 760; }

@media (max-width: 1060px) {
  .nav { padding-inline: 22px; }
  .nav-links { gap: 18px; }
}

@media (max-width: 860px) {
  body { padding-top: 0; }
  .nav {
    position: static;
    height: auto;
    min-height: 64px;
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .nav-links { order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; padding-bottom: 2px; }
  .nav-cta .workspace-cta { width: auto; min-width: 0; }
  .page-shell { width: min(100% - 22px, 1180px); }
  .hero, .grid-2, .grid-3, .media-grid, .metric-grid, .route-grid, .faq-grid, .worksheet, .review-grid {
    grid-template-columns: 1fr;
  }
  .worksheet-button { align-self: stretch; }
  .hero { padding-top: 36px; }
  .section-head { display: block; }
  .mirofish-media-frame { min-height: 510px; }
  .route-compass,.repo-check{grid-template-columns:1fr}.market-columns,.reader-routes,.first-run-card ol{grid-template-columns:1fr 1fr}.handoff-strip{flex-wrap:wrap}.handoff-strip i{display:none}.branch-lines article{grid-template-columns:1fr}
}

@media (max-width: 560px) {
  .nav-logo { font-size: 1.05rem; }
  .nav-logo svg { width: 32px; }
  .btn-ghost { padding-inline: 10px; }
  h1 { font-size: clamp(2.18rem, 13vw, 3.2rem); }
  .step-card { grid-template-columns: 1fr; }
}
