/* AlgoSurvey landing — "research field notes" editorial style in the AlgoSurvey palette.
   Flat surfaces (no drop shadows), hairline borders, serif headlines, mono eyebrows, hand-drawn line art. */
:root {
  --paper: #f7f9fc; /* page canvas: near-white with a faint blue tint (never pure white) */
  --sky: #eaf1fa; /* cool card surface */
  --peach: #fbf1e8; /* warm counter-surface */
  --line: #dfe5ee;
  --navy: #0b3c78;
  --navy-700: #082f5f;
  --orange: #f47a20;
  --orange-600: #e66c12;
  --blue: #2d8ce6;
  --blue-50: #e8f0fa;
  --ink: #1f2329;
  --text: #283038;
  --text-2: #55606d;
  --text-3: #8a919c;
  --green: #3fa34d;
  --green-50: #eaf5ec;
  --red: #e5484d;
  --radius: 12px;
  --wrap: 1140px;
  --serif: "Source Serif 4", "Lora", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 820px;
}
.muted {
  color: var(--text-3);
}
.small {
  font-size: 12.5px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* type */
h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 em,
h2 em {
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}
.ed {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  display: inline-block;
}
.ed.navy {
  background: var(--navy);
}
.ed.orange {
  background: var(--orange);
}
.lead {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-2);
}
.lead.sm {
  font-size: 16px;
}

/* buttons — pill geometry, flat */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 48px;
  font-weight: 500;
  font-size: 14.5px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-lg {
  height: 48px;
  padding: 0 26px;
  font-size: 15.5px;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-700);
}
.btn-navy {
  background: var(--orange);
  color: #fff;
}
.btn-navy:hover {
  background: var(--orange-600);
}
.btn-ghost {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--blue-50);
}
.btn-text {
  color: var(--text);
}
.btn-text:hover {
  color: var(--navy);
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.nav-in {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 28px;
  height: 28px;
}
.logo b {
  color: var(--navy);
  font-weight: 700;
}
.logo span {
  color: var(--orange);
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 4px;
  font-size: 14.5px;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: 88px;
  color: var(--text);
}
.nav-links a:hover {
  background: var(--sky);
  color: var(--navy);
}
.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
}
.burger {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.burger span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.mnav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 20px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.mnav[hidden] {
  display: none;
}
.mnav a {
  padding: 10px 0;
}
.mnav .btn {
  margin-top: 6px;
  color: #fff;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 120px;
  min-height: 760px;
}
.hero-in {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pill-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 10px;
  border: 1.5px solid var(--navy);
  border-radius: 1000px;
  background: #fff;
  font-size: 14px;
  color: var(--text);
}
.pill-banner .pb-ic {
  width: 22px;
  height: 22px;
  display: inline-grid;
}
.pill-banner b {
  font-weight: 700;
}
.pill-banner u {
  color: var(--navy);
  font-weight: 500;
  text-underline-offset: 3px;
}
.hero h1 {
  margin-top: 48px;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.12;
  font-weight: 400;
}
.hero .lead {
  max-width: 620px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.hero-art {
  position: absolute;
  width: clamp(260px, 23vw, 340px);
  z-index: 1;
  pointer-events: none;
}
.hero-art .ill,
.duo-art .ill,
.method-art .ill,
.cta-art .ill {
  display: block;
  width: 100%;
  height: auto;
}
.hero-art.left {
  left: max(-24px, calc(50% - 735px));
  top: 40px;
  transform: rotate(-4deg);
}
.hero-art.lower-left {
  left: max(-4px, calc(50% - 716px));
  bottom: 13px;
  width: clamp(250px, 23vw, 328px);
  transform: none;
}
.hero-art.right {
  right: max(-20px, calc(50% - 741px));
  bottom: 35px;
  width: clamp(290px, 28vw, 400px);
  transform: rotate(2deg);
}
.hero-art.community {
  right: max(0px, calc(50% - 708px));
  top: 10px;
  width: clamp(245px, 25vw, 350px);
  transform: rotate(-3deg);
}
.hero-ribbon {
  position: absolute;
  inset: 0;
  max-width: 1440px;
  margin: auto;
  pointer-events: none;
}
.hero-ribbon-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.dd {
  position: absolute;
  display: block;
  pointer-events: none;
  z-index: 1;
}
.dd svg {
  width: 100%;
  height: auto;
  display: block;
}
.d1 {
  width: 34px;
  right: calc(50% - 360px);
  top: 38px;
  animation: bob 6s ease-in-out infinite;
}
.d2 {
  width: 40px;
  left: calc(50% - 402px);
  top: 366px;
  animation: spin 18s linear infinite;
}
.d3 {
  width: 22px;
  left: calc(50% - 330px);
  top: 43px;
}
.d4 {
  width: 22px;
  right: calc(50% - 330px);
  top: 558px;
}
.d5 {
  width: 120px;
  left: calc(50% - 435px);
  top: 411px;
}
.d6 {
  width: 14px;
  left: calc(50% - 250px);
  top: 614px;
}
.d7 {
  width: 55px;
  left: calc(50% - 438px);
  top: 330px;
  transform: rotate(-16deg);
}
.d8 {
  width: 65px;
  right: calc(50% - 374px);
  top: 295px;
  transform: rotate(12deg);
}
@keyframes bob {
  50% {
    transform: translateY(-8px) rotate(8deg);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* stat strip */
.stat-strip {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--peach);
}
.strip-in {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-2);
}
.strip-in b {
  color: var(--ink);
  font-weight: 600;
}
.strip-in i {
  width: 1px;
  height: 18px;
  background: var(--text-3);
  opacity: 0.5;
}

/* sections */
.section {
  padding: 88px 0;
}
.section.tint {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sec-head {
  margin-bottom: 40px;
  max-width: 680px;
}
.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sec-head h2,
.split h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.18;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15.5px;
  color: var(--text);
}
.ticks li {
  position: relative;
  padding-left: 26px;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
}
.ticks b {
  font-weight: 700;
  color: var(--ink);
}

/* duo feature cards */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.duo-card {
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.duo-card.sky {
  background: var(--sky);
}
.duo-card.peach {
  background: var(--peach);
}
.duo-card h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink);
}
.duo-card .btn {
  margin-top: auto;
}
.duo-art {
  height: 190px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: -8px 0 20px;
}
.duo-art .ill {
  width: auto;
  height: 100%;
}
.mock {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 14px;
  margin-bottom: 26px;
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
}
.dotg {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
}
.mock-badge {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--green);
  background: var(--green-50);
  padding: 1px 8px;
  border-radius: 4px;
}
.mock-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
}
.bars {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bar {
  height: 9px;
  width: var(--w);
  border-radius: 2px;
  transform-origin: left;
  animation: grow 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
}
.c0 {
  background: #1f87e5;
}
.c1 {
  background: #3d3f55;
}
.c2 {
  background: #0aa59a;
}
.c3 {
  background: #e0604f;
}
.bar-row b {
  font-size: 12px;
}
.bar-lbl {
  font-size: 12px;
  color: var(--text-2);
}
.bar-lbl em {
  font-style: normal;
  color: #aab0b8;
  font-size: 11px;
}
.mini-survey {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mini-survey b {
  font-size: 14px;
  font-weight: 500;
}
.mini-survey span {
  font-size: 12.5px;
  color: var(--text-3);
}
.mini-survey .pts {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-weight: 600;
  color: var(--navy);
  background: var(--blue-50);
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 12.5px;
}

/* steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.steps li {
  padding: 26px 22px 6px 0;
  border-right: 1px dashed var(--line);
  margin-right: 22px;
}
.steps li:last-child {
  border-right: 0;
  margin-right: 0;
}
.steps svg {
  display: block;
  width: 156px;
  max-width: 100%;
  height: 117px;
}
.steps .n {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange);
}
.steps h3 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
}
.steps p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--text-2);
}

/* method card */
.method-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--ink);
}
.mc-pencil {
  width: 46px;
  right: -16px;
  top: -24px;
}
.method-art {
  width: 200px;
  max-width: 65%;
  margin: -8px auto 18px;
}
.mc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mc-row div {
  display: flex;
  flex-direction: column;
}
.mc-row span,
.mc-nps > span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
}
.mc-row b {
  font-size: 20px;
  color: var(--navy);
}
.mc-nps {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.mc-nps > b {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--green);
}
.nps-bar {
  display: flex;
  height: 10px;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 12px;
}
.nps-bar i {
  display: block;
}
.nps-bar .d {
  background: var(--red);
}
.nps-bar .p {
  background: #d3d6db;
}
.nps-bar .pr {
  background: var(--green);
}
.nps-leg {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-2);
}
.mc-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-3);
}

/* ---------- report shelf (3D books) ---------- */
.shelf-sec {
  overflow: hidden;
}
.row-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: none;
  gap: 20px;
}
.row-head > div:first-child {
  max-width: 640px;
}
.reports-soon {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  max-width: 920px;
  margin: 12px auto 0;
  padding: 28px 32px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.reports-soon-art .report-doodle {
  display: block;
  width: 100%;
  height: auto;
}
.reports-soon-label {
  display: inline-block;
  padding: 4px 11px;
  border: 1px solid var(--orange);
  border-radius: 100px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 500;
}
.reports-soon-copy h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--navy);
}
.reports-soon-copy p {
  max-width: 390px;
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
}
@media (max-width: 640px) {
  .reports-soon {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 12px;
    padding: 24px 20px;
    text-align: center;
  }
  .reports-soon-art {
    width: 100%;
    max-width: 270px;
  }
  .reports-soon-copy h3 {
    font-size: 25px;
  }
}
.shelf-nav {
  display: flex;
  gap: 8px;
}
.sn {
  width: 42px;
  height: 42px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-size: 18px;
}
.sn:hover:not(:disabled) {
  border-color: var(--navy);
}
.sn:disabled {
  opacity: 0.35;
  cursor: default;
}
.shelf-viewport {
  position: relative;
}
.shelf-viewport::after {
  /* wooden-free shelf line */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 352px;
  height: 14px;
  background: linear-gradient(180deg, #e3e7ed, #f4f5f7);
  z-index: -1;
}
.shelf {
  list-style: none;
  margin: 0;
  padding: 24px max(20px, calc((100vw - var(--wrap)) / 2 + 20px)) 28px;
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 max(20px, calc((100vw - var(--wrap)) / 2 + 20px));
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  outline: none;
}
.shelf::-webkit-scrollbar {
  display: none;
}
.shelf.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.shelf.dragging a {
  pointer-events: none;
}
.book-slot {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
}
.book {
  display: block;
  perspective: 1400px;
  height: 320px;
  padding-left: 14px;
}
.book-3d {
  position: relative;
  width: 200px;
  height: 290px;
  margin-top: 16px;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.book-cover,
.book-inside,
.book-back,
.book-pages {
  position: absolute;
  inset: 0;
  border-radius: 3px 8px 8px 3px;
}
.book-back {
  background: #082f5f;
  transform: translateZ(-24px);
  box-shadow: 18px 22px 30px rgba(11, 60, 120, 0.28);
}
.book-pages {
  /* page block on the open edge: a strip hinged at the right edge, folded back into depth */
  inset: 4px auto 4px 100%;
  width: 24px;
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(90deg, #fff 0 2px, #e3e6eb 2px 3px);
  transform-origin: left center;
  transform: rotateY(90deg);
}
.book-inside {
  background: #fbfaf7;
  transform: translateZ(-1px);
  padding: 22px 20px 20px 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ece9e2;
  box-shadow: inset 8px 0 14px -10px rgba(0, 0, 0, 0.18);
}
.in-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
}
.book-inside p {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.in-cta {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}
.book-cover {
  transform-origin: left center;
  transform: translateZ(0);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.25, 1), box-shadow 0.7s;
  overflow: hidden;
  box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.08);
  backface-visibility: hidden;
}
.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(255, 255, 255, 0.12) 60%, rgba(0, 0, 0, 0.05));
}
.book:hover .book-3d,
.book:focus-visible .book-3d {
  transform: rotateY(-8deg) rotateX(2deg) translateY(-6px);
}
.book:hover .book-cover,
.book:focus-visible .book-cover {
  transform: rotateY(-48deg);
  box-shadow: 14px 0 26px rgba(0, 0, 0, 0.22);
}
/* portrait cover art */
.cv,
.cv-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cv {
  padding: 22px 18px 0 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cv-brand {
  align-self: flex-end;
  font-size: 10px;
  opacity: 0.85;
}
.cv-kicker {
  margin-top: 14px;
  font-size: 9.5px;
  color: #ffc93d;
  font-weight: 500;
}
.cv-title {
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cv-kicker + .cv-title {
  margin-top: 4px;
}
.cv-brand + .cv-title {
  margin-top: 22px;
}
.cv-pill {
  margin-top: 10px;
  padding: 1px 10px;
  border-radius: 99px;
  background: #ffc21a;
  color: #0b2f6b;
  font-size: 9.5px;
  font-weight: 600;
}
.cv-motif {
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 78%;
}
.book-meta {
  padding: 0 4px 0 14px;
}
.book-meta h3 {
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-meta .muted {
  font-size: 12.5px;
}
.tag {
  display: inline-block;
  font-size: 11.5px;
  padding: 2px 10px;
  border-radius: 99px;
}
.tag-premium {
  background: #e5f0fc;
  color: #2f86e0;
}
.tag-free {
  background: var(--green-50);
  color: var(--green);
}
.link-arrow {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
}
.link-arrow:hover {
  color: var(--blue);
}

/* shelf section adjustments for the editorial theme */
.shelf-sec .book-meta h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
}
.sn {
  border-color: var(--ink) !important;
}

/* pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.calc {
  background: var(--sky);
  border-radius: var(--radius);
  padding: 28px;
}
.calc h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.seg {
  display: inline-flex;
  margin: 14px 0 8px;
  padding: 4px;
  background: #fff;
  border-radius: 99px;
  border: 1px solid var(--line);
}
.seg button {
  border: 0;
  background: none;
  height: 32px;
  padding: 0 16px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
}
.seg button[aria-checked="true"] {
  background: var(--navy);
  color: #fff;
}
.calc label {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-2);
}
.calc output {
  float: right;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ink);
}
.calc input[type="range"] {
  width: 100%;
  margin-top: 6px;
  accent-color: var(--navy);
}
.calc-out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed #c9d6e6;
}
.calc-out div {
  display: flex;
  flex-direction: column;
}
.calc-out span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
}
.calc-out b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--navy);
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--ink);
}
.price-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.price-list span {
  font-weight: 500;
  color: var(--ink);
}
.price-list b {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 22px;
  grid-row: span 2;
  align-self: center;
}
.price-list small {
  font-size: 13px;
  color: var(--text-3);
}

/* faq */
.faq {
  border-top: 1px solid var(--ink);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 20px;
  color: var(--navy);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  padding: 0 0 18px;
  color: var(--text-2);
  font-size: 15px;
  max-width: 680px;
}

/* closing CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: var(--peach);
  border-top: 1px solid var(--ink);
}
.cta-in {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-in h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  max-width: 720px;
}
.cta-art {
  position: absolute;
  width: 240px;
  bottom: -22px;
  pointer-events: none;
}
.cta-art-left {
  left: max(-64px, calc(50% - 680px));
  transform: rotate(-7deg);
}
.cta-art-right {
  right: max(-54px, calc(50% - 690px));
  transform: rotate(5deg);
}
.cta-d1 {
  width: 34px;
  left: calc(50% - 440px);
  top: 70px;
  animation: bob 7s ease-in-out infinite;
}
.cta-d2 {
  width: 72px;
  right: calc(50% - 470px);
  top: 60px;
  transform: rotate(6deg);
}
.cta-d3 {
  width: 56px;
  left: calc(50% - 500px);
  bottom: 60px;
  transform: rotate(-8deg);
}
.foot {
  padding: 40px 0;
  border-top: 1px solid var(--ink);
}
.foot-in {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.foot .muted {
  font-size: 13.5px;
  margin-top: 6px;
}
.foot nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}
.foot nav a:hover {
  color: var(--navy);
}

/* responsive */
@media (max-width: 1180px) {
  .hero-art {
    width: 250px;
  }
  .hero-art.left {
    left: -52px;
  }
  .hero-art.right {
    right: -52px;
    width: 320px;
  }
  .hero-art.community {
    right: -46px;
    width: 265px;
  }
  .hero-art.lower-left {
    left: -28px;
    width: 268px;
  }
  .hero-ribbon {
    inset: 0 -95px;
  }
  .cta-art {
    width: 190px;
  }
}
@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }
  .hero-art.lower-left,
  .hero-art.community,
  .hero-ribbon,
  .d5,
  .d7,
  .d8 {
    display: none;
  }
  .hero {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 48px 0 18px;
  }
  .hero-in {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 760px;
  }
  .hero-art.left,
  .hero-art.right {
    position: relative;
    inset: auto;
    grid-row: 2;
    width: 235px;
    max-width: 100%;
    margin-top: 28px;
  }
  .hero-art.left {
    grid-column: 1;
    justify-self: end;
    margin-right: 45px;
  }
  .hero-art.right {
    grid-column: 2;
    justify-self: start;
    margin-left: 45px;
    align-self: end;
  }
  .cta-art {
    display: none;
  }
  .split,
  .pricing,
  .duo {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    border-top: 0;
  }
  .steps li {
    border-right: 0;
    border-top: 1px solid var(--ink);
    margin-right: 0;
    padding-right: 16px;
  }
}
@media (max-width: 640px) {
  .nav-cta {
    display: none;
  }
  .burger {
    display: flex;
  }
  .section {
    padding: 64px 0;
  }
  .hero {
    padding-top: 28px;
  }
  .hero h1 {
    margin-top: 26px;
  }
  .lead {
    font-size: 16.5px;
  }
  .pill-banner {
    font-size: 12.5px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 7px;
    max-width: 100%;
    padding: 9px 14px;
    border-radius: 18px;
  }
  .hero-art.left,
  .hero-art.right {
    width: 190px;
    margin: 24px 0 0;
  }
  .hero-art.left {
    transform: rotate(-3deg);
  }
  .hero-art.right {
    transform: rotate(3deg);
  }
  .duo-art {
    height: 165px;
  }
  .steps li {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 18px;
    padding: 22px 0;
  }
  .steps svg {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 112px;
    height: 84px;
    align-self: center;
  }
  .steps .n,
  .steps h3,
  .steps p {
    grid-column: 2;
  }
  .steps .n {
    margin-top: 0;
  }
  .dd.d1,
  .dd.d2,
  .dd.d3,
  .dd.d4,
  .dd.d6,
  .cta-d2,
  .cta-d3 {
    display: none;
  }
  .duo-card {
    padding: 22px;
  }
  .steps,
  .mc-row {
    grid-template-columns: 1fr;
  }
  .row-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .shelf {
    gap: 24px;
  }
  .strip-in i {
    display: none;
  }
  .calc-out b {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
