/* PrepFit landing — 3-color palette: paper / ink / accent */
@font-face {
  font-family: "Nanum Myeongjo"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Nanum Myeongjo"), local("NanumMyeongjo"), url("../fonts/nanum-myeongjo-ksx.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
}

body.landing {
  --paper: #e2e2e3;
  --ink: #101010;
  --blue: #ff5a1f;
  --gray-100: #eeeeef;
  --gray-300: #d5d5d7;
  --muted: #5e5e63;
  --serif: "Instrument Serif", "Nanum Myeongjo", "AppleMyungjo", serif;
  --edge: clamp(8px, 1.1vw, 16px);
  --p: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}
html { scroll-behavior: smooth; }

.heavy { font-weight: 900; }
.serif { font-weight: 300; letter-spacing: -0.04em; }
.accent { color: var(--blue); }

/* ---------- nav (floating pills) ---------- */
.nav {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 100;
  width: min(60vw, 100%); min-width: min(760px, 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 0 0; pointer-events: none;
}
.nav > * { pointer-events: auto; }
.pill {
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(16, 16, 16, 0.06); border-radius: 999px;
  box-shadow: 0 6px 24px rgba(16, 16, 16, 0.05);
}
.pill-main { gap: 2px; padding: 7px 7px 7px 22px; }
.pill-main .logo { margin-right: clamp(12px, 2.6vw, 40px); }
.nav-links { display: flex; gap: 2px; }
.pill-actions { gap: 3px; padding: 7px; }
.nav-link {
  font-size: 16px; font-weight: 500; padding: 11px 16px; border-radius: 999px; line-height: 1;
  transition: background 0.2s;
}
.nav-link:hover, .nav-link.on { background: rgba(16, 16, 16, 0.06); }
.nav-cta {
  display: inline-flex; align-items: center; font-size: 16px; font-weight: 500; line-height: 1;
  padding: 13px 20px; border-radius: 999px; background: var(--ink); color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--blue); }
.nav-cta:active { transform: scale(0.97); }

/* ---------- hero: full-bleed → thin inset card on scroll ---------- */
.hero-wrap { padding: 0; transition: padding 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-wrap.carded { padding: var(--edge) var(--edge) 0; }
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column;
  border-radius: 0;
  background: linear-gradient(180deg, #ff6a2a 0%, #ff5a1f 55%, #f24e14 100%);
  transition: border-radius 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-wrap.carded .hero { border-radius: clamp(28px, 3vw, 44px); }
.hero-orb {
  position: absolute; left: 50%; top: calc(100% - 22%);
  width: max(150vw, 1500px); aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 0%, #ffffff 0%, #fff6ef 30%, #ffe2cf 60%, #ffd3b8 100%);
  filter: blur(30px); opacity: 0.95;
}
.hero-body {
  position: relative; z-index: 1;
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 16px 22vh;
}
.hero h1 {
  margin: 0; font-size: clamp(72px, 12vw, 190px); font-weight: 800;
  line-height: 0.95; letter-spacing: -0.06em;
}
.hero-kicker { margin: 0 0 clamp(10px, 1.4vw, 18px); font-size: clamp(18px, 2vw, 28px); font-weight: 600; letter-spacing: -0.035em; color: rgba(16, 16, 16, 0.78); }
.hero-sub {
  max-width: 34em; margin: clamp(18px, 2.2vw, 28px) auto 0;
  font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; letter-spacing: -0.025em; color: #2a2a2c; word-break: keep-all;
}
.hero-btn {
  display: inline-flex; align-items: center; margin-top: clamp(28px, 3vw, 42px);
  padding: 18px 34px; border-radius: 14px; background: var(--ink); color: #fff;
  font-size: 17px; font-weight: 500; transition: background 0.2s, transform 0.2s;
}
.hero-btn:hover { background: var(--blue); }
.hero-btn:active { transform: scale(0.97); }
.hero-bar {
  margin: 0 var(--edge) var(--edge); min-height: clamp(64px, 7vw, 88px);
  border-radius: clamp(20px, 2.2vw, 30px); background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 8px 24px; padding: 0 24px;
}
.hero-bar span { font-size: clamp(15px, 1.5vw, 21px); font-weight: 800; letter-spacing: -0.04em; white-space: nowrap; }
.hero-bar span i { font-style: normal; color: rgba(255, 255, 255, 0.4); font-weight: 500; margin-right: 6px; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 144px) clamp(16px, 4vw, 64px); }
.statement {
  margin: 0; font-size: clamp(32px, 5.4vw, 84px); line-height: 1.12; letter-spacing: -0.05em; word-break: keep-all;
}
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px;
  margin-top: clamp(48px, 7vw, 96px); padding-top: 28px; position: relative;
}
.about-grid::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink);
  transform: scaleX(var(--g, 0)); transform-origin: 50% 50%;
}
.about-grid.single { grid-template-columns: minmax(0, 1fr); }
/* about: one screen-sized white card, orange gradient divider */
.about-card {
  margin: var(--edge); min-height: calc(100svh - 2 * var(--edge)); box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: center;
  background: #fff; border-radius: clamp(28px, 3vw, 44px);
}
.about-card .about-grid::before { background: linear-gradient(90deg, #ffc08a 0%, #ff7a2f 50%, #ff5a1f 100%); }
.about-copy { margin: 0; font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 30em; word-break: keep-all; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.facts dt { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.facts dd { margin: 0; font-size: clamp(36px, 5vw, 76px); font-weight: 900; line-height: 0.95; letter-spacing: -0.05em; color: var(--blue); }
.facts dd small { font-size: 0.4em; letter-spacing: -0.02em; margin-left: 4px; }

/* ink showcase */
.showcase {
  --f: 0;
  position: relative; overflow: hidden;
  margin: 0 calc((1 - var(--f)) * var(--edge));
  padding: clamp(56px, 7vw, 110px) clamp(16px, 4vw, 48px);
  background: var(--ink); color: #fff;
  border-radius: calc((1 - var(--f)) * clamp(28px, 3vw, 44px));
}
.showcase-inner { position: relative; z-index: 1; }
.sc-orb {
  --w: clamp(420px, 40vw, 640px);
  position: absolute; top: 50%; width: var(--w); aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%; pointer-events: none; filter: blur(24px); opacity: 0.9;
  background: radial-gradient(circle, #ff5a1f 0%, #ff7a2f 40%, #ffa25e 62%, rgba(255, 170, 110, 0) 72%);
}
.sc-orb.l { left: calc(var(--w) * -0.83); }
.sc-orb.r { right: calc(var(--w) * -0.83); }
.showcase-inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }
.showcase h2 {
  margin: 0 0 clamp(32px, 4vw, 52px); font-size: clamp(34px, 4.6vw, 64px); font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.1; word-break: keep-all;
}
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.sc-card {
  display: flex; flex-direction: column; gap: clamp(20px, 2vw, 26px);
  padding: clamp(24px, 2.4vw, 36px); background: rgba(255, 255, 255, 0.06); border-radius: clamp(22px, 2.4vw, 32px);
}
.sc-card svg { width: clamp(72px, 7vw, 100px); height: auto; overflow: visible; transform: rotate(var(--r, 0deg)); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); filter: blur(1.5px) drop-shadow(0 0 18px rgba(255, 106, 42, 0.35)); }
.sc-card svg * { fill: url(#scGrad); }
.sc-card:hover svg { transform: rotate(calc(var(--r, 0deg) + 20deg)); }
.sc-card h3 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.1; }
.sc-card p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); word-break: keep-all; }

/* gray panel + tiles */
.panel { background: var(--gray-300); border-radius: clamp(28px, 3vw, 44px); padding: clamp(12px, 1.4vw, 20px); }
.panel-head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 48px;
  padding: clamp(22px, 3vw, 42px) clamp(16px, 2vw, 28px) clamp(28px, 3.5vw, 48px);
}
.panel-head h2 { margin: 0; font-size: clamp(32px, 4.2vw, 64px); font-weight: 800; line-height: 1.08; letter-spacing: -0.05em; word-break: keep-all; }
.panel-head p { margin: 0; max-width: 24em; font-size: 16px; line-height: 1.65; color: var(--muted); word-break: keep-all; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 0.9vw, 12px); }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile {
  position: relative; display: flex; flex-direction: column; min-height: clamp(220px, 21vw, 290px);
  padding: clamp(20px, 2vw, 28px); background: var(--gray-100); border-radius: clamp(20px, 2vw, 28px);
}
.tile.plain { min-height: 0; }
.tile .num { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.tile h3 { margin: auto 0 0; padding-top: 32px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 800; line-height: 1.15; letter-spacing: -0.045em; word-break: keep-all; }
.tile.plain h3 { margin-top: 0; padding-top: 14px; }
.tile.plain > h3:first-child { padding-top: 0; }
.tile p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); word-break: keep-all; }
.tile-go {
  position: absolute; top: clamp(16px, 1.6vw, 22px); right: clamp(16px, 1.6vw, 22px);
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; transition: background 0.2s;
}
.tile-go svg { width: 16px; height: 16px; transform: rotate(-45deg); }
.tile:hover .tile-go { background: var(--blue); }
.h2 { margin: 0 0 clamp(38px, 5vw, 72px); font-size: clamp(36px, 6vw, 92px); line-height: 1.02; letter-spacing: -0.05em; word-break: keep-all; }

/* CTA */
.cta {
  margin: 0 var(--edge) var(--edge); border-radius: clamp(28px, 3vw, 44px);
  background: var(--blue); color: #fff; text-align: center; padding: clamp(96px, 14vw, 176px) 16px;
}
.cta-kicker { margin: 0 0 22px; font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.045em; }
.cta h2 { margin: 0; font-size: clamp(44px, 8.6vw, 136px); line-height: 1; letter-spacing: -0.055em; }
.cta h2 .line { display: block; white-space: nowrap; }
.cta-btn {
  display: inline-flex; margin-top: clamp(38px, 5vw, 56px); padding: 18px 28px; border-radius: 14px;
  background: #fff; color: var(--ink); font-weight: 800; font-size: 16px; transition: background 0.2s, color 0.2s;
}
.cta-btn:hover { background: var(--ink); color: #fff; }

/* footer */
.footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 80px) clamp(16px, 4vw, 64px) 32px; }
.footer-top {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 32px;
  padding-bottom: 38px; border-bottom: 1px solid rgba(244, 244, 244, 0.15);
}
.footer .logo { font-size: clamp(40px, 6.5vw, 80px); color: var(--paper); }
.footer-nav { display: flex; gap: 26px; }
.footer-nav a { font-weight: 800; font-size: 16px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; font-size: 13.5px; color: rgba(244, 244, 244, 0.55); }
.footer-bottom a { color: rgba(244, 244, 244, 0.85); font-weight: 600; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- sub pages (about / pricing) ---------- */
.page-hero { text-align: center; padding: clamp(150px, 16vw, 210px) 16px clamp(56px, 7vw, 90px); }
.page-hero h1 { margin: 0; font-size: clamp(44px, 6.6vw, 104px); font-weight: 600; line-height: 1.06; letter-spacing: -0.055em; word-break: keep-all; }
.page-hero p { max-width: 34em; margin: clamp(18px, 2.2vw, 28px) auto 0; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; letter-spacing: -0.025em; color: #2a2a2c; word-break: keep-all; }
.tight { padding-top: 0; }

.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.story h2 { margin: 0; font-size: clamp(32px, 4.2vw, 64px); font-weight: 800; line-height: 1.08; letter-spacing: -0.05em; position: sticky; top: 120px; align-self: start; }
.prose { max-width: 40rem; display: flex; flex-direction: column; gap: 26px; }
.prose p { margin: 0; font-size: 18px; line-height: 1.95; color: var(--muted); word-break: keep-all; }
.prose .lead { font-size: clamp(21px, 2vw, 27px); line-height: 1.6; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.prose.offset { margin-left: 0; margin-top: clamp(48px, 6vw, 80px); }

.manifesto { display: flex; flex-direction: column; gap: 6px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; line-height: 1.7; letter-spacing: -0.025em; color: var(--muted); word-break: keep-all; margin: 0; }
.manifesto p { margin: 0; }
.manifesto p:first-child { margin-bottom: clamp(16px, 2vw, 26px); font-size: clamp(28px, 3.5vw, 58px); font-weight: 800; line-height: 1.15; letter-spacing: -0.05em; color: var(--ink); }

.geo { margin: 0 var(--edge); padding: clamp(56px, 7vw, 104px) clamp(16px, 4vw, 64px); background: var(--ink); color: #fff; border-radius: clamp(28px, 3vw, 44px); overflow: hidden; }
.geo-title { margin: 0 0 clamp(48px, 6vw, 80px); font-size: clamp(42px, 6.4vw, 100px); font-weight: 800; line-height: 1.02; letter-spacing: -0.055em; }
.geo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.14); border-left: 1px solid rgba(255, 255, 255, 0.14); }
.geo-grid > div { aspect-ratio: 1; display: grid; place-items: center; border-right: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.geo-grid svg { width: 70%; height: 70%; overflow: visible; transform: rotate(var(--r, 0deg)); filter: blur(1.2px) drop-shadow(0 0 16px rgba(255, 106, 42, 0.3)); }
.geo-grid .f { fill: url(#geoGrad); }
.geo-grid .b { fill: url(#geoGrad); }
.geo-grid .k { fill: var(--ink); }
.geo-grid .s { fill: none; stroke: url(#geoStroke); stroke-width: 7; }
.geo-grid .thin { stroke-width: 3; }
.geo-grid .dash { stroke-width: 3; stroke-dasharray: 4 7; }
.geo-caption { max-width: 34em; margin: clamp(32px, 4vw, 48px) 0 0; font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, 0.6); word-break: keep-all; }

.solid { width: clamp(64px, 6vw, 84px); height: auto; overflow: visible; }
.solid * { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.solid .bk { stroke-dasharray: 3 5; opacity: 0.4; }
.tile.plain .solid + h3 { padding-top: 22px; }
.closing { text-align: center; padding-top: clamp(56px, 8vw, 112px); }
.closing p { margin: 0; font-size: clamp(36px, 5.4vw, 84px); font-weight: 800; line-height: 1.1; letter-spacing: -0.05em; word-break: keep-all; }

/* pricing */
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(8px, 0.9vw, 12px); }
.plan-main { min-height: 0; justify-content: center; gap: clamp(22px, 2.4vw, 32px); }
.tile .plan-name { margin: 0; font-size: clamp(72px, 9vw, 128px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; color: var(--blue); }
.plan-main .hero-btn { margin-top: 0; align-self: flex-start; }
.plan-list { list-style: none; margin: 0; min-height: 0; gap: 0; padding-top: 10px; padding-bottom: 10px; }
.plan-list li { display: flex; align-items: center; gap: 14px; padding: 15px 4px; border-bottom: 1px solid rgba(16, 16, 16, 0.08); font-size: 16px; font-weight: 600; }
.plan-list li:last-child { border-bottom: 0; }
.plan-list li svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.plan-list li em { margin-left: auto; font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.soon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 0.9vw, 12px); margin-top: clamp(8px, 0.9vw, 12px); }
.soon .tile { min-height: 0; gap: 18px; }
.tile .soon-name { margin: 0; font-size: clamp(38px, 4.4vw, 64px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; }
.soon-name small { font-size: 14px; letter-spacing: 0; font-weight: 700; color: var(--muted); margin-left: 10px; vertical-align: middle; }
.soon-body { display: flex; flex-direction: column; gap: 8px; filter: blur(6px); opacity: 0.7; user-select: none; pointer-events: none; }
.soon-body p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.tile .soon-body p:first-child { font-size: 22px; font-weight: 700; color: var(--ink); }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--gray-100); border-radius: 22px; padding: 4px 28px; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: -0.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; transition: transform 0.3s; transform: rotate(180deg); }
.faq details[open] summary svg { transform: none; }
.faq details p { margin: 0 0 24px; font-size: 16px; line-height: 1.8; color: var(--muted); word-break: keep-all; }

/* reveal (only motion besides the hero inset) */
.js .io { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .io.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .io { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .about-grid, .story, .plan, .soon { grid-template-columns: 1fr; }
  .story h2 { position: static; } .prose.offset { margin-left: 0; } .geo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav { width: calc(100% - 24px); min-width: 0; }
  .nav-links { display: none; }
  .pill-main { padding: 6px 6px 6px 16px; }
  .nav-link, .nav-cta { font-size: 15px; }
  .sc-grid, .tiles, .tiles.three, .facts { grid-template-columns: minmax(0, 1fr); }
  .hero-bar { justify-content: center; padding: 18px; }
  .cta h2 .line { white-space: normal; }
}
.hero .hero-btn:hover { background: #fff; color: var(--ink); }

/* ---------- phone: compact list layouts ---------- */
@media (max-width: 760px) {
  .section { padding: 56px 16px; }
  .section.tight, .tight { padding-top: 0; }
  .section.closing { padding-top: 56px; }
  .statement { font-size: 30px; }
  .about-grid { margin-top: 32px; padding-top: 20px; }
  .about-copy { font-size: 15px; }

  /* showcase cards → list rows */
  .showcase { padding: 44px 14px; }
  .showcase h2 { font-size: 28px; margin-bottom: 22px; }
  .sc-grid { gap: 6px; }
  .sc-card { flex-direction: row; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 18px; }
  .sc-card svg { width: 40px; flex: none; }
  .sc-card h3 { font-size: 18px; }
  .sc-card p { margin-top: 3px; font-size: 13.5px; }
  .sc-orb { --w: 300px; opacity: 0.6; }

  /* tiles (steps, features, values) → list rows */
  .panel { padding: 8px; border-radius: 24px; }
  .panel-head { padding: 20px 12px 18px; }
  .panel-head h2 { font-size: 28px; }
  .panel-head p { font-size: 14.5px; }
  .tiles, .tiles.three { gap: 6px; }
  .tile, .tile.plain { min-height: 0; padding: 16px 18px; border-radius: 18px; }
  .tile h3, .tile.plain h3 { margin: 0; padding-top: 0; font-size: 18px; }
  .tile p { margin-top: 4px; font-size: 14px; }
  .tile .num { margin-bottom: 4px; font-size: 11.5px; }
  .tile.plain:has(.solid) { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; }
  .tile.plain:has(.solid) .solid { width: 40px; grid-row: span 2; }
  .tile.plain .solid + h3 { padding-top: 0; }
  .h2 { font-size: 34px; margin-bottom: 22px; }

  /* about */
  .page-hero { padding: 120px 16px 40px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero p { font-size: 15.5px; }
  .story { gap: 24px; }
  .story h2 { font-size: 28px; }
  .prose { gap: 18px; }
  .prose p { font-size: 15.5px; line-height: 1.85; }
  .prose .lead { font-size: 18px; }
  .manifesto p:first-child { font-size: 26px; }
  .manifesto { font-size: 16px; }
  .geo { padding: 44px 16px; }
  .geo-title { font-size: 40px; margin-bottom: 28px; }
  .closing p { font-size: 30px; }

  /* pricing */
  .tile .plan-name { font-size: 64px; }
  .plan-list li { padding: 13px 2px; font-size: 14.5px; }
  .tile .soon-name { font-size: 34px; }
  .faq details { padding: 2px 18px; border-radius: 18px; }
  .faq summary { padding: 18px 0; font-size: 16.5px; }

  /* cta + footer */
  .cta { padding: 72px 16px; }
  .cta h2 { font-size: 40px; }
  .footer { padding: 44px 18px 28px; }
  .footer-top { gap: 20px; padding-bottom: 24px; }
  .footer .logo { font-size: 40px; }
  .footer-nav { gap: 18px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* pricing: credits + comparison */
.tile .plan-credit { margin: -6px 0 0; font-size: 18px; color: var(--ink); }
.tile .plan-credit b { color: var(--blue); }
.topup-tile { gap: 14px; }
.topup-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fff; }
.topup-row b { display: block; font-size: 18px; color: var(--ink); }
.topup-row span { font-size: 13px; color: var(--muted); }
.topup-row strong { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.tile .topup-note { margin: 0; font-size: 13.5px; }
.cmp-lead { max-width: 46em; margin: -24px 0 28px; font-size: 17px; line-height: 1.8; color: var(--muted); word-break: keep-all; }
.cmp-wrap { overflow-x: auto; border-radius: 24px; background: var(--gray-100); padding: 8px; }
.cmp { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; line-height: 1.6; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(16, 16, 16, 0.07); word-break: keep-all; }
.cmp thead th { font-size: 15px; font-weight: 800; color: var(--ink); border-bottom: 0; }
.cmp thead th small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.cmp tbody th { width: 150px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.cmp td { color: var(--muted); }
.cmp .us { background: #fff; color: var(--ink); font-weight: 600; }
.cmp thead .us { border-radius: 16px 16px 0 0; color: var(--blue); font-size: 17px; }
.cmp tbody tr:last-child td.us { border-radius: 0 0 16px 16px; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) { .cmp-lead { margin-top: -10px; font-size: 15px; } }
.cmp tbody th span { vertical-align: middle; }
.cmp-i { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 6px; border-radius: 50%; font: italic 700 12px/1 Georgia, serif; color: var(--muted); box-shadow: inset 0 0 0 1.3px currentColor; vertical-align: middle; transition: color 0.15s, background 0.15s; }
.cmp-i:hover { color: var(--ink); }
.cmp-i.on { background: var(--ink); color: #fff; box-shadow: none; }
.cmp-detail td { padding: 0 18px 18px !important; border-bottom: 1px solid rgba(16, 16, 16, 0.07); background: transparent; }
.cmp-detail p { margin: 0; padding: 16px 18px; border-radius: 14px; background: #fff; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); font-weight: 500; word-break: keep-all; animation: pop 0.2s; max-width: 860px; }
.cmp-row:has(+ .cmp-detail:not([hidden])) th, .cmp-row:has(+ .cmp-detail:not([hidden])) td { border-bottom-color: transparent; }
.cmp-note { margin: 12px 4px 0; font-size: 13px; color: var(--muted); }
.cmp-note b { font-family: Georgia, serif; font-style: italic; }

/* pricing: FREE / NEW / PRO */
.plans3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 0.9vw, 12px); }
.plan3 { min-height: 0; gap: 14px; }
.plan3.best { box-shadow: inset 0 0 0 2px var(--blue); }
.tile .plan3-name { margin: 0; font-size: clamp(44px, 5vw, 72px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; color: var(--blue); }
.tile .plan3-price { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.plan3 .plan-credit { margin: 0; font-size: 15px; }
.plan3 .plan-credit small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); font-weight: 600; }
.plan3-list { list-style: none; margin: 4px 0 0; padding: 0; flex: 1; }
.plan3-list li { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid rgba(16, 16, 16, 0.08); font-size: 14.5px; font-weight: 600; }
.plan3-list li:last-child { border-bottom: 0; }
.plan3-list li svg { width: 16px; height: 16px; color: var(--blue); flex: none; }
.plan3-list li .dash { width: 16px; text-align: center; color: var(--muted); flex: none; }
.plan3-list li.off { color: var(--muted); font-weight: 500; }
.plan3-list li .cdot { margin: 0 0 0 auto; width: 10px; height: 10px; }
.plan3-btn { margin-top: 6px; align-self: stretch; text-align: center; justify-content: center; }
.soon-btn { opacity: 0.45; pointer-events: none; }
@media (max-width: 900px) { .plans3 { grid-template-columns: 1fr; } }
