/* Assetboard — site styles. No external fonts or resources. */

:root {
  --bg: #f5f7f6;
  --bg-elev: #ffffff;
  --bg-sunk: #eceff0;
  --text: #14201d;
  --text-2: #4d5b57;
  --text-3: #74827e;
  --line: rgba(20, 32, 29, 0.1);
  --line-strong: rgba(20, 32, 29, 0.18);
  --accent: #196256;
  --accent-ink: #ffffff;
  --accent-soft: rgba(25, 98, 86, 0.09);
  --glass: rgba(245, 247, 246, 0.72);
  --shadow: 0 1px 2px rgba(20, 32, 29, 0.06), 0 12px 40px -12px rgba(20, 32, 29, 0.22);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB",
    "Segoe UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --hand: "Kaiti SC", "STKaiti", "KaiTi", "BiauKai", "Bradley Hand", "Segoe Print", cursive;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1110;
    --bg-elev: #141b19;
    --bg-sunk: #101614;
    --text: #e4ebe9;
    --text-2: #a3b1ad;
    --text-3: #7d8b87;
    --line: rgba(228, 235, 233, 0.09);
    --line-strong: rgba(228, 235, 233, 0.17);
    --accent: #5eb7a5;
    --accent-ink: #062019;
    --accent-soft: rgba(94, 183, 165, 0.1);
    --glass: rgba(12, 17, 16, 0.7);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 48px -16px rgba(0, 0, 0, 0.7);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

code,
kbd {
  font-family: var(--mono);
  font-size: 0.9em;
}

kbd {
  display: inline-block;
  padding: 0 0.4em;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--bg-elev);
  line-height: 1.5;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: var(--bg-elev);
  padding: 6px 12px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.brand small {
  font-weight: 500;
  color: var(--text-3);
  font-size: 0.85em;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 0.92rem;
}

.nav a {
  color: var(--text-2);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.lang {
  font-size: 0.85rem;
  color: var(--text-2);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 11px;
  white-space: nowrap;
}

.lang:hover {
  color: var(--text);
  border-color: var(--text-3);
}

.brand + .lang {
  margin-left: auto;
}

.brand .lb {
  fill: var(--accent);
}

.brand .lt {
  fill: var(--accent-ink);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

.btn svg {
  width: 17px;
  height: 17px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 40px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 12px;
  margin: 0 0 22px;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 auto;
  max-width: 16em;
  text-wrap: balance;
}

.hero .lede {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  color: var(--text-2);
  max-width: 36em;
  margin: 22px auto 0;
  text-wrap: pretty;
}

.cta {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-meta {
  font-size: 0.85rem;
  color: var(--text-3);
  margin: 0;
}

.shot {
  margin: 56px auto 0;
  max-width: 1080px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-sunk);
}

.shot img {
  width: 100%;
}

.shot-caption {
  font-size: 0.82rem;
  color: var(--text-3);
  margin: 14px 0 0;
  text-align: center;
}

/* ---------- Hand-drawn annotations ---------- */

/* Marks live in an SVG laid over the screenshot in image pixel space (1686 x 1050);
   arrows overflow the image toward notes, which are real text positioned around it. */

.annot {
  position: relative;
}

.annot-hero {
  max-width: 1080px;
  margin: 128px auto 0;
}

.annot-themes {
  margin-bottom: 56px;
}

.annot-stage {
  position: relative;
}

.annot .shot {
  margin: 0;
  max-width: none;
}

.annot-marks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.annot-hero .annot-marks {
  stroke-width: 4.5;
}

.annot-themes .annot-marks {
  stroke-width: 7;
}

.annot-notes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.note {
  position: absolute;
  max-width: 16em;
  font-family: var(--hand);
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--accent);
  text-align: left;
  transform: rotate(-2deg);
}

.note-h1 {
  left: 12%;
  bottom: 109%;
}

.note-h2 {
  right: 3%;
  bottom: 109%;
  text-align: right;
  transform: rotate(1.5deg);
}

.note-h3 {
  right: 5%;
  top: 109%;
}

.note-t1 {
  right: 4%;
  top: 107%;
}

.annot-hero + .shot-caption {
  margin-top: 104px;
}

.pin {
  position: absolute;
  display: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 2px var(--bg);
  font: 700 11px/1 var(--font);
  transform: translate(-50%, -50%);
}

.pin-h1 {
  left: 20.5%;
  top: 3%;
}

.pin-h2 {
  left: 64.5%;
  top: 12%;
}

.pin-h3 {
  left: 77.5%;
  top: 78%;
}

.pin-t1 {
  left: 58.5%;
  top: 52%;
}

.rule {
  display: block;
  width: 100%;
  height: 16px;
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.rule path {
  vector-effect: non-scaling-stroke;
}

@media (prefers-reduced-motion: no-preference) {
  .annot-hero .draw {
    stroke-dasharray: 1 2;
    stroke-dashoffset: 1.05;
    animation: ab-draw 0.6s ease-out forwards;
  }

  .annot-hero .d1 { animation-delay: 0.3s; }
  .annot-hero .d2 { animation-delay: 0.7s; }
  .annot-hero .d2h { animation-delay: 1.1s; animation-duration: 0.25s; }
  .annot-hero .d3 { animation-delay: 1.3s; }
  .annot-hero .d4 { animation-delay: 1.7s; }
  .annot-hero .d4h { animation-delay: 2.1s; animation-duration: 0.25s; }
  .annot-hero .d5 { animation-delay: 2.3s; }
  .annot-hero .d6 { animation-delay: 2.7s; }
  .annot-hero .d6h { animation-delay: 3.1s; animation-duration: 0.25s; }

  .annot-hero .note {
    opacity: 0;
    animation: ab-fade 0.5s ease-out forwards;
  }

  .annot-hero .note-h1 { animation-delay: 0.9s; }
  .annot-hero .note-h2 { animation-delay: 1.9s; }
  .annot-hero .note-h3 { animation-delay: 2.9s; }
}

@keyframes ab-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ab-fade {
  to {
    opacity: 1;
  }
}

/* Phones: arrows hidden, numbered pins on the image, notes reflow into a list below. */
@media (max-width: 720px) {
  .annot-hero {
    margin-top: 40px;
  }

  .annot-themes {
    margin-bottom: 0;
  }

  .annot-out {
    display: none;
  }

  .annot .annot-marks {
    stroke-width: 10;
  }

  .pin {
    display: grid;
  }

  .annot-notes {
    counter-reset: note;
    display: grid;
    gap: 6px;
    margin-top: 16px;
  }

  .note,
  .note-h2 {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 10px;
    max-width: none;
    font-size: 1rem;
    text-align: left;
    transform: none;
    counter-increment: note;
  }

  .note::before {
    content: counter(note);
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    font: 700 11px/1 var(--font);
    transform: translateY(-1px);
  }

  .annot-hero + .shot-caption {
    margin-top: 12px;
  }
}

/* ---------- Sections ---------- */

section {
  padding: 80px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-head p {
  color: var(--text-2);
  margin: 12px 0 0;
}

.band {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  background: var(--bg-elev);
  padding: 30px 30px 32px;
}

.feature .doodle {
  display: block;
  width: 72px;
  height: 54px;
  margin: -4px 0 14px -6px;
  fill: none;
  stroke: var(--text-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature .doodle .acc {
  stroke: var(--accent);
  stroke-width: 2.4;
}

.feature h3 {
  font-size: 1.08rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
}

.feature .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.feature .chips li {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-2);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 1px 8px;
}

/* Split (themes) */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}

.split .section-head {
  margin-bottom: 0;
}

.split ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-2);
}

.split li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.split li:last-child {
  border-bottom: 1px solid var(--line);
}

.split .shot {
  margin: 0;
}

/* Compare table */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare th,
.compare td {
  padding: 13px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-sunk);
}

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

.compare td,
.compare thead th:not(:first-child) {
  text-align: center;
  width: 22%;
}

.compare .yes {
  color: var(--accent);
  font-weight: 700;
}

.compare .no {
  color: var(--text-3);
}

.compare .note {
  font-size: 0.85rem;
  color: var(--text-2);
}

.table-foot {
  font-size: 0.85rem;
  color: var(--text-3);
  margin: 14px 0 0;
}

/* Pricing */

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

.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.plan.pro {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.plan h3 {
  margin: 0;
  font-size: 1.1rem;
}

.plan .price {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 14px 0 4px;
}

.plan .price-note {
  color: var(--text-3);
  font-size: 0.88rem;
  margin: 0;
}

.plan ul {
  margin: 20px 0 24px;
  padding: 0 0 0 1.1em;
  color: var(--text-2);
  font-size: 0.95rem;
}

.plan li + li {
  margin-top: 4px;
}

.plan .btn {
  margin-top: auto;
  width: 100%;
}

.btn-quiet {
  background: transparent;
  color: var(--text-2);
  border-color: var(--line-strong);
}

/* FAQ */

.faq {
  max-width: 760px;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  font-weight: 600;
  position: relative;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  margin: 0 0 20px;
  color: var(--text-2);
  max-width: 62ch;
}

/* ---------- Documents (privacy / terms / contact) ---------- */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.doc h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
}

.doc .meta {
  color: var(--text-3);
  font-size: 0.88rem;
  margin: 0 0 40px;
}

.doc h2 {
  font-size: 1.15rem;
  margin: 40px 0 10px;
  letter-spacing: -0.01em;
}

.doc p,
.doc li {
  color: var(--text-2);
}

.doc ul {
  padding-left: 1.2em;
}

.doc strong {
  color: var(--text);
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: middle;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 1px 9px;
  margin-left: 6px;
}

.callout {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 24px 0;
}

.callout p {
  margin: 0;
}

.callout p + p {
  margin-top: 8px;
}

.notfound {
  text-align: center;
  padding: 120px 24px 140px;
}

.notfound .code {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.95rem;
  margin: 0 0 12px;
}

.notfound h1 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.02em;
}

.notfound p {
  color: var(--text-2);
  margin: 6px 0;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  font-size: 0.88rem;
  color: var(--text-3);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-left: auto;
}

.site-footer a {
  color: var(--text-2);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  .site-header .lang {
    margin-left: auto;
  }

  .hero {
    padding: 56px 0 24px;
  }

  .shot {
    margin-top: 40px;
    border-radius: 8px;
  }

  section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .features,
  .plans {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 24px 20px 26px;
  }

  .compare th,
  .compare td {
    padding: 11px 12px;
  }

  .compare td,
  .compare thead th:not(:first-child) {
    width: 24%;
  }

  .compare {
    font-size: 0.9rem;
  }

  .plan {
    padding: 24px 20px;
  }

  .doc {
    padding: 48px 16px 72px;
  }

  .site-footer nav {
    margin-left: 0;
    width: 100%;
  }
}

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

  .faq summary::after {
    transition: none;
  }
}

/* ---------- Home hero: split layout, handwritten H1 (html.home) ---------- */

/* Subset fonts: Long Cang has only the 10 glyphs of the Chinese H1, Caveat only the
   glyphs of "Every asset, one board.". unicode-range keeps every other character
   on the regular font stack. Both SIL OFL; licenses in assets/fonts/. */
@font-face {
  font-family: "Assetboard Hand";
  src: url("/assets/fonts/longcang-hero.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+4E00, U+4EA7, U+5168, U+5757, U+677F, U+6E05, U+770B, U+8D44, U+90E8, U+FF0C;
}

@font-face {
  font-family: "Assetboard Hand";
  src: url("/assets/fonts/caveat-hero.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020, U+002C, U+002E, U+0045, U+0061, U+0062, U+0064, U+0065, U+006E, U+006F,
    U+0072, U+0073, U+0074, U+0076, U+0079;
}

.hero h1 .hl {
  position: relative;
  white-space: nowrap;
}

.hero h1 .hl-line {
  position: absolute;
  left: -2%;
  bottom: -0.14em;
  width: 104%;
  height: 0.28em;
  overflow: visible;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.hero h1 .hl-line path {
  vector-effect: non-scaling-stroke;
}

/* Handwritten H1 */
.home .hero h1 {
  font-family: "Assetboard Hand", var(--font);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  line-height: 1.15;
}

/* Desktop: copy left, glass-framed screenshot right, bleeding past the viewport edge */
@media (min-width: 901px) {
  .home .hero {
    padding: 64px 0 48px;
    text-align: left;
  }

  .home .hero > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 40px;
    align-items: center;
  }

  .home .hero h1 {
    margin: 0;
    max-width: none;
    font-size: clamp(2rem, 3.1vw, 2.5rem);
  }

  .home .hero .lede {
    margin-left: 0;
  }

  .home .cta {
    align-items: flex-start;
  }

  .home .annot-hero {
    --frame: 10px;
    /* bleed ~100px past the viewport edge: page gutter + 100px, capped on very wide screens */
    margin: 88px calc(-1 * min(360px, max(0px, (100vw - 1120px) / 2) + 124px)) 0 0;
  }

  .home .annot-hero .annot-marks {
    stroke-width: 6;
  }

  .home .annot-hero + .shot-caption {
    margin-top: 96px;
    padding-left: var(--frame);
    text-align: left;
  }
}

.home .annot-hero {
  isolation: isolate;
}

.home .annot-hero .annot-stage {
  padding: var(--frame, 6px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}

.home .annot-hero::before {
  content: "";
  position: absolute;
  inset: 8% -6% -4% 10%;
  border-radius: 40%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent);
  filter: blur(8px);
  z-index: -1;
}

.home .annot-hero .shot {
  border-radius: 10px;
  box-shadow: none;
}

.home .annot-hero .annot-marks {
  inset: var(--frame, 6px);
  width: calc(100% - 2 * var(--frame, 6px));
  height: calc(100% - 2 * var(--frame, 6px));
}

@media (prefers-color-scheme: dark) {
  .home .annot-hero .annot-stage {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
  }
}

/* Stacked (tablet and phone): centred copy above the framed screenshot */
@media (max-width: 900px) {
  .home .hero h1 {
    font-size: clamp(2.1rem, 5.6vw, 3.4rem);
  }
}

/* Notes sit over the left part of the screenshot (its right edge bleeds off-screen) and wrap
   rather than run past the viewport */
@media (min-width: 721px) {
  .home .note-h2 {
    left: 58%;
    right: auto;
    max-width: 9em;
    text-align: left;
  }

  .home .note-h3 {
    left: 50%;
    right: auto;
    max-width: 11em;
  }
}

.home .pin-h3 {
  left: 79%;
  top: 80%;
}

/* Never scroll sideways; the glow stays inside the column when stacked */
.home .hero {
  overflow-x: clip;
}

@media (max-width: 900px) {
  .home .annot-hero::before {
    inset: 8% 0 -4% 10%;
  }
}

/* Handwritten H1: the full-width comma carries a wide gap on both sides */
.home .hero h1 .comma {
  margin: 0 -0.3em 0 -0.1em;
}
