/* Home page (home-v2) layout. Shared tokens and components live in site.css. */

/* ① Hero */
.hero { padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); text-align: center; }
.hero__copy { max-width: 820px; margin: 0 auto; }
.hero__copy .lead { max-width: 760px; margin: 20px auto 0; text-wrap: balance; }
.hero .btn-row { justify-content: center; margin-top: 32px; }
.hero__stage { margin-top: clamp(48px, 6vw, 72px); perspective: 1600px; }
.hero__stage .panel { padding: clamp(24px, 5vw, 64px) clamp(16px, 5vw, 72px) 0; border-radius: var(--radius-card) var(--radius-card) 0 0; }
.hero__window {
  max-width: 1040px; margin: 0 auto;
  transform: rotateX(var(--tilt-x, 6deg)) rotateY(var(--tilt-y, 0deg));
  transform-origin: 50% 100%;
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  transition: transform 400ms var(--ease-out);
  max-height: min(560px, 60vw); /* show the top of the app, crop the rest */
}
.launch-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 6px 0 12px;
  border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--card);
  font-size: var(--fs-small); font-weight: 500; color: var(--text-2); margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}
.launch-pill .badge { height: 22px; }

/* ② Concept */
.concept__stage { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.concept__steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.concept__steps li { padding: 20px 0 20px 52px; position: relative; border-top: 1px solid var(--line); color: var(--text-3); }
.concept__steps li::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; left: 0; top: 20px; font-weight: 700; font-size: var(--fs-small); color: var(--text-3);
}
.concept__steps li.is-active { color: var(--text); }
.concept__steps li.is-active::before { color: var(--red); }
.concept__steps strong { display: block; color: inherit; margin-bottom: 4px; }
@media (max-width: 900px) { .concept__stage { grid-template-columns: 1fr; } }

/* ③ Converter summary */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.mini-steps { display: grid; gap: 12px; margin: 28px 0 32px; }
.mini-steps div { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.mini-steps .material-icons {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); font-size: 20px; flex: none;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* ④ Workflow */
.workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.workflow__step { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.workflow__step.is-featured { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.workflow__step small { display: block; font-size: var(--fs-tiny); font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.workflow__step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.workflow__step p { font-size: var(--fs-small); color: var(--text-2); }
.workflow__step [data-product-status] { margin-top: 16px; }
@media (max-width: 900px) { .workflow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .workflow { grid-template-columns: 1fr; } }

/* ⑤ React Central */
.rc-bento .card { display: flex; flex-direction: column; }
.rc-bento .card--panel { padding: 32px 32px 0; overflow: hidden; }
.rc-bento .card--panel > p { margin-bottom: 0; }
.rc-web-badge { margin-top: 16px; }
.rc-bento .window { width: min(100%, 460px); margin: auto auto 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.rc-bento .phone { width: 150px; margin: 20px auto -100px; border-radius: 30px; padding: 8px; }
.rc-bento .phone::before { top: 14px; width: 60px; height: 18px; }
.rc-bento .phone__screen { border-radius: 23px; }
.rc-bento .cf-phone { padding: 28px 8px 8px; }
.rc-bento .cf-phone .cf-line { height: 5px; }
.rc-bento .cf-phone b { font-size: 0.625rem; }
.rc-bento .cf-phone small { margin-top: -7px; font-size: 0.5625rem; }
/* Other people's reactions: drawn in, but dimmed so "My reaction" stays the one in focus. */
.rc-bento .is-muted { opacity: .45; }
.rc-bento .cf-web__grid .is-muted b { color: var(--text-on-dark-2); font-weight: 500; }
.rc-bento .cf-web__grid .is-muted b + .cf-line { width: 60%; margin-top: 6px; background: rgba(255, 255, 255, .08); }
.rc-bento .cf-phone .cf-photo.is-muted { margin-top: 6px; }
.rc-bento .cf-web { padding: 12px; }
.rc-bento .cf-web__tabs { margin-bottom: 10px; }
.rc-bento .cf-web__grid { gap: 10px; }

/* ⑥ Trust strip */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust div { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text-2); font-size: var(--fs-small); }
.trust .material-icons { color: var(--red); font-size: 20px; }

/* ⑨ Final CTA */
.final-cta { text-align: center; }
.final-cta .panel { padding: clamp(48px, 8vw, 96px) var(--gutter); }
.final-cta .btn-row { justify-content: center; margin-top: 28px; }
/* On phones the two store badges wrap onto their own rows; keep them centered like the rest of the panel. */
.final-cta .get-badges { justify-content: center; }

/* ③ Product tabs */
.product-tabs {
  display: flex; width: max-content; max-width: 100%; margin: 0 auto 48px; padding: 4px; gap: 4px;
  border-radius: var(--radius-pill); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  overflow-x: auto;
}
.product-tabs [role="tab"] {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px;
  border: 0; border-radius: var(--radius-pill); background: none; cursor: pointer;
  font-size: var(--fs-small); font-weight: 600; color: var(--text-2);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.product-tabs [role="tab"] .material-icons { font-size: 18px; }
.product-tabs [role="tab"]:hover { color: var(--text); }
.product-tabs [role="tab"][aria-selected="true"] { background: var(--card-dark); color: #fff; }
.product-panel__title { font-size: var(--fs-h2); letter-spacing: -0.02em; margin-bottom: 16px; }
.product-panel .eyebrow .badge { margin-left: 4px; }
.product-panel:not([hidden]) { animation: panel-in var(--dur-slow) var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ③ Path B: Recorder → Editor */
.path-steps { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: start; }
.path-step { position: relative; }
.path-step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.path-step__num {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--card-dark); color: #fff; font-weight: 700; font-size: var(--fs-small);
}
.path-step__media { margin: 24px 0; padding: 20px; }
.path-step__arrow { align-self: center; color: var(--text-3); padding-top: 120px; }
@media (max-width: 900px) {
  .path-steps { grid-template-columns: 1fr; }
  .path-step__arrow { padding: 0; justify-self: center; transform: rotate(90deg); }
}

/* ④ Workflow lanes: two starts merge into one result */
.lanes { display: grid; grid-template-columns: 1fr 80px 1.4fr; align-items: center; }
.lanes__start, .lanes__end { display: grid; gap: 16px; }
.lanes__end { grid-template-columns: repeat(3, 1fr); }
.lanes__merge { color: var(--text-3); height: 100%; }
.lanes__merge svg { width: 100%; height: 100%; }
.lane { padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.lane small { display: block; font-size: var(--fs-tiny); font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.lane__item { display: flex; gap: 12px; align-items: flex-start; }
.lane__item > .material-icons {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: var(--red-soft); color: var(--red); font-size: 20px;
}
.lane__item strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.lane__item [data-product-status] { display: block; margin-top: 6px; }
.lane__item--optional > .material-icons { background: var(--bg-soft); color: var(--text-2); }
.lane__then { display: block; color: var(--text-3); font-size: 18px; margin: 8px 0 8px 9px; }
.lane--result { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
@media (max-width: 1024px) {
  .lanes { grid-template-columns: 1fr; gap: 16px; }
  .lanes__merge { display: none; }
  .lanes__end { grid-template-columns: 1fr; }
}

/* ②-b Why it matters */
.why-card { display: flex; flex-direction: column; gap: 10px; }
.why-card__who { font-size: var(--fs-tiny); font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; }
.why-card h3 { font-size: 1.25rem; }
.patent-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; overflow: hidden; position: relative; }
.patent-card::before {
  content: ''; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%); pointer-events: none;
}
.patent-card h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 16px 0 12px; color: #fff; }
.patent-card__note { margin-top: 14px; font-size: var(--fs-small); color: var(--text-on-dark) !important; border-left: 2px solid var(--red); padding-left: 12px; }
.patent-card__art { position: relative; min-height: 280px; transform-origin: 70% 60%; will-change: transform; }
.patent-card__kr { margin: -6px 0 12px; font-size: var(--fs-h3); font-weight: 600; color: #fff !important; }
.patent-card__art img { position: absolute; left: 50%; top: 50%; border-radius: 10px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); height: 230px; width: auto; }
.patent-card__art img:nth-child(1) { transform: translate(-22%, -50%) rotate(6deg); }
.patent-card__art img:nth-child(2) { z-index: 1; transform: translate(-80%, -50%) rotate(-3deg); }
.why-strengths ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.why-strengths li { display: flex; gap: 10px; align-items: center; font-size: var(--fs-small); font-weight: 500; }
.why-strengths .material-icons { font-size: 18px; color: var(--red); }
@media (max-width: 900px) { .patent-card { grid-template-columns: 1fr; } .patent-card__art { min-height: 240px; margin-bottom: 8px; } .patent-card__art img { height: 200px; } }

/* ⑤ Bridge: either path → upload → link → watch */
.bridge {
  list-style: none; margin: -16px auto 48px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.bridge li {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px;
  border-radius: var(--radius-pill); background: var(--card); border: 1px solid var(--line);
  font-size: var(--fs-small); font-weight: 500; color: var(--text-2);
}
.bridge li .material-icons { font-size: 18px; color: var(--red); }
.bridge li.bridge__studio { padding: 0; border-color: var(--line-strong); }
.bridge__studio a {
  display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 12px;
  border-radius: inherit; color: var(--text); transition: background var(--dur-fast);
}
.bridge__studio a:hover { background: var(--bg-soft); }
.bridge li + li { position: relative; margin-left: 20px; }
.bridge li + li::before { content: '→'; position: absolute; left: -20px; color: var(--text-3); }
.bridge li.is-end { background: var(--card-dark); color: #fff; border-color: transparent; }
@media (max-width: 700px) {
  .bridge { flex-direction: column; align-items: center; }
  .bridge li + li { margin-left: 0; margin-top: 14px; }
  .bridge li + li::before { content: '↓'; left: 50%; top: -20px; transform: translateX(-50%); }
}

/* Design review fixes (2026-10-16) */
.why-card__icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 6px;
  background: var(--red-soft); color: var(--red); font-size: 22px;
}
.why-card__who { color: var(--text-3); }
.tab-short { display: none; }
@media (max-width: 600px) {
  .tab-long { display: none; }
  .tab-short { display: inline; }
  .product-tabs [role="tab"] { padding: 0 14px; }
  .why-bento { gap: 12px; }
  .why-card { padding: 22px; }
  .rc-bento .card--panel { padding: 24px 24px 0; }
}
.final-cta .btn-meta { margin-top: 16px; }
/* Phones: win-win cards become a swipe row to keep the page short */
@media (max-width: 600px) {
  #why .bento {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none;
  }
  #why .bento::-webkit-scrollbar { display: none; }
  #why .why-card { flex: 0 0 82%; scroll-snap-align: center; }
}

/* Hero title: first line stays on one line on wider screens */
.hero__copy { max-width: 980px; }
@media (min-width: 720px) { .hero__line { white-space: nowrap; } }

/* Actions under the hero scene */

/* ---------- Light motion for the lower sections ---------- */
/* Why cards: icons pop in after their card appears */
.why-card .why-card__icon { transform: scale(0.6); opacity: 0; transition: transform 520ms cubic-bezier(0.34, 1.56, 0.64, 1) 180ms, opacity 300ms ease 180ms; }
.why-card.is-revealed .why-card__icon { transform: none; opacity: 1; }

/* Bridge row: pills appear one after another */
.bridge[data-reveal-steps] li { opacity: 0; transform: translateY(10px); transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); }
.bridge.is-revealed li { opacity: 1; transform: none; }
.bridge.is-revealed li:nth-child(2) { transition-delay: 120ms; }
.bridge.is-revealed li:nth-child(3) { transition-delay: 240ms; }
.bridge.is-revealed li:nth-child(4) { transition-delay: 360ms; }

/* Phone: a React Central-style feed that scrolls slowly (placeholder for real app footage) */
.feed { height: 100%; display: flex; flex-direction: column; background: #111216; color: #fff; }
.feed__bar { flex: none; padding: 34px 14px 10px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.feed__list { flex: 1; overflow: hidden; position: relative; }
.feed__track { animation: feed-scroll 22s linear infinite; will-change: transform; }
.feed__card { padding: 0 12px 14px; }
.feed__card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.feed__card b { display: block; font-size: 11px; font-weight: 600; line-height: 1.3; }
.feed__card span { display: block; font-size: 10px; color: var(--text-on-dark-2); }
@keyframes feed-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.feed__list:hover .feed__track { animation-play-state: paused; }

/* Patent: the document image tilts as the card scrolls through (driven by home-motion.js) */

@media (prefers-reduced-motion: reduce) {
  .why-card .why-card__icon, .bridge[data-reveal-steps] li { opacity: 1; transform: none; }
  .feed__track { animation: none; }
}

/* FAQ video answers */
.faq-video { aspect-ratio: 16 / 9; margin: 0 0 16px; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.faq-video iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Video panel: headline, downloads, main video, how-to grid */
.video-panel { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 88px); background: var(--bg); }
.video-panel .container { text-align: center; }
/* Headline in the live site's style: heavy gradient title with a red patent line under it */
.vhero {
  font-size: clamp(2.6rem, 7.2vh, 4.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f0f0f 0%, var(--red) 50%, #0f0f0f 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.vhero__sub { margin-top: clamp(6px, 1vh, 10px); font-size: clamp(1rem, 2.4vh, 1.25rem); font-weight: 600; color: var(--red); text-wrap: balance; }
.vdl { text-align: left; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 960px; margin: clamp(14px, 2.2vh, 24px) auto 0; }
.vdl__item {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 12px; color: var(--text);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.vdl__item:hover { background: var(--bg-soft); border-color: var(--line-strong); }
.vdl__item .material-icons { flex: none; font-size: 22px; color: var(--text-2); }
.vdl__item b { display: block; font-size: var(--fs-small); line-height: 1.25; font-weight: 600; }
.vdl__item small { display: block; font-size: 12px; line-height: 1.3; color: var(--text-3); }
.scene__video iframe { display: block; width: 100%; height: 100%; border: 0; }
.vmain__play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.vmain__play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vmain__play .material-icons {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; display: grid; place-items: center;
  transform: translate(-50%, -50%); border-radius: 50%; background: var(--red); color: #fff; font-size: 40px;
  transition: transform var(--dur-fast) var(--ease-out);
}
.vmain__play:hover .material-icons { transform: translate(-50%, -50%) scale(1.08); }
.vgrid { text-align: left; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 16px; max-width: 960px; margin: 0 auto; }
.vgrid__card { color: var(--text); }
.vgrid__card b { display: block; margin-top: 8px; font-size: var(--fs-small); line-height: 1.35; font-weight: 600; }
.vgrid__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--bg-soft); }
.vgrid__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease-out); }
.vgrid__card:hover img { transform: scale(1.04); }
.vgrid__thumb .material-icons {
  position: absolute; left: 10px; bottom: 10px; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; font-size: 20px;
}
@media (max-width: 899px) {
  .vdl { grid-template-columns: repeat(2, 1fr); }
  .vhero { font-size: clamp(2.125rem, 10vw, 3rem); }
  .vgrid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
}

/* Phones: shorter proof and React Central sections */
@media (max-width: 899px) {
  .patent-card__title { display: none; }
  .cf-web__grid > :nth-child(n+3) { display: none; }
  .rc-bento .phone { width: 150px; margin: 20px auto -60px; }
}

/* Home first screen: headline + downloads above the concept scene (stage in concept-scene.css). */
.hero--home { padding: clamp(14px, 2.4vh, 28px) 0 clamp(8px, 1.4vh, 16px); }
.hero--home .hero__copy { max-width: 980px; }
.vdl__item small { white-space: nowrap; }
/* Small phones (iPhone SE 1st gen and similar): tighten the tiles and let "iOS & Android app" wrap. */
@media (max-width: 359px) {
  .vdl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vdl__item { padding: 8px 10px; gap: 8px; }
  .vdl__item small { white-space: normal; }
}

/* Carried over from the live site: red/cyan wash behind the first screen, glowing main video,
   and the how-to videos in a frosted card with a "Feel free to ask" contact line. */
.hero-wash {
  position: relative; background: linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.hero-wash::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 80%, rgba(193, 42, 31, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    linear-gradient(45deg, rgba(193, 42, 31, 0.03) 0%, transparent 50%);
}
.hero-wash > * { position: relative; }
.video-panel { background: none; }
.vcard {
  max-width: 1040px; margin: 0 auto; padding: 14px 18px 18px;
  background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(193, 42, 31, 0.1); border-radius: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}
.vhead { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-bottom: 12px; }
.vhead__pill {
  margin: 0; padding: 4px 8px; border-radius: 999px; background: rgba(193, 42, 31, 0.08);
  color: var(--red); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; line-height: 1; text-transform: uppercase;
}
.vhead__contact { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 0.76rem; color: #767676; letter-spacing: 0.01em; }
.vhead__contact svg { width: 14px; height: 14px; flex: none; color: var(--red); }
.vhead__contact strong { color: var(--red); font-weight: 600; }
.vhead__contact a { color: #555; font-weight: 500; border-bottom: 1px solid rgba(0, 0, 0, 0.22); transition: color var(--dur-fast), border-color var(--dur-fast); }
.vhead__contact a:hover { color: var(--red); border-bottom-color: rgba(193, 42, 31, 0.4); }
.vcard .vgrid { max-width: none; gap: 14px 18px; }
.vgrid__thumb { border-radius: 8px; background: #000; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16); border: 1px solid transparent; transition: border-color .18s ease, box-shadow .18s ease; }
.vgrid__card:hover .vgrid__thumb { border-color: rgba(193, 42, 31, 0.28); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18); }
.vgrid__card:hover img { transform: none; }
.vgrid__card b { font-size: 0.82rem; font-weight: 800; color: #2b2b2b; line-height: 1.18; }
@media (max-width: 899px) { .vcard { padding: 12px 12px 14px; } .vcard .vgrid { gap: 12px; } }

/* Product buttons: solid white so they stand out from the wash. All four are out, so all four look the same. */
.vdl__item { background: #fff; border-color: rgba(15, 15, 15, 0.12); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }
.vdl__item:hover { background: #fff; border-color: rgba(193, 42, 31, 0.35); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.vdl__item .material-icons { color: var(--red); }
.vdl__item .build-pick__chevron { margin-left: auto; font-size: 20px; color: var(--text-3); transition: transform .2s ease; }
.vdl__item[aria-expanded="true"] .build-pick__chevron { transform: rotate(180deg); }
@media (max-width: 899px) { .vdl__item .build-pick__chevron { display: none; } }
.vdl__item b { color: var(--text); }
.rc-web-badge .store-badge .material-icons { font-size: 24px; }

/* Top questions: compact, under the how-to card, inside the same wash */
.topq { padding: 0 0 clamp(48px, 7vw, 88px); }
.topq__title { margin: 0 0 8px; text-align: center; font-size: 1.125rem; font-weight: 700; }
.faq--compact { max-width: 760px; }
.faq--compact summary { padding: 14px 0; font-size: var(--fs-body); }
.faq--compact details p { padding-bottom: 16px; font-size: var(--fs-small); }
.topq__all { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 14px; font-size: var(--fs-small); font-weight: 600; color: var(--text-2); }
.topq__all:hover { color: var(--red); }
.topq__all .material-icons { font-size: 16px; }
.faq--compact .faq-video { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Phones: the 9 how-to videos sit in one swipeable row instead of five rows of two. */
@media (max-width: 600px) {
  .vcard .vgrid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(72%, 240px);
    gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin: 0 -12px -6px; padding: 2px 12px 4px; scroll-padding: 0 12px; scrollbar-width: none;
    align-items: start;
  }
  .vcard .vgrid::-webkit-scrollbar { display: none; }
  .vgrid__card { scroll-snap-align: start; }
}
@media (max-width: 600px) { .vhead__contact { font-size: 0.8125rem; } }

/* Phone readability pass (2026-11-19): darker description text, tighter gaps between headings and content,
   and less empty space above the footer. Desktop is unchanged. */
@media (max-width: 600px) {
  /* Card and step descriptions were light grey (#8A8A8F, about 3.4:1 on white); use the body grey instead. */
  .why-card p.muted, .rc-bento .card--panel > p.muted, .path-step > p.muted, #tools > .container > p.muted { color: var(--text-2); }
  .rc-bento .card--dark p { color: var(--text-on-dark); }
  /* "Open in your Browser" button sat flush on top of the browser drawing below it. */
  .rc-bento .card--panel .window { margin-top: 12px; }
  .vdl__item small { color: var(--text-2); }
  /* Headings sat 56px above their content; on a phone 32px keeps them attached. */
  .section-head { margin-bottom: 32px; }
  .product-tabs { margin-bottom: 32px; }
  .bridge { margin: -4px auto 40px; }
  .why-card { gap: 8px; }
  .why-card p { line-height: 1.5; }
  /* Ghost "Learn more" buttons line their text up with the paragraph edge above them. */
  .product-panel .btn-row .btn--ghost { margin-left: -8px; }
  .path-step .btn-row .btn--ghost { margin-left: 0; }
  .btn-meta + .btn-meta { margin-top: 6px; }
  #tools > .container > p.muted { margin-top: 28px !important; }
  /* Final CTA to footer: was about 136px of blank space. */
  .final-cta { padding-bottom: 24px; }
  .site-footer { margin-top: 0; padding-top: 40px; }
}

/* Founder 100 invite band (between React Central and Proof) */
.founder-band-wrap { padding-bottom: 0; }
.founder-band {
  display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap;
  padding: clamp(24px, 4vw, 36px) clamp(24px, 4vw, 40px); border-radius: var(--radius-card);
  background: var(--card-dark); color: #fff; box-shadow: var(--shadow-card);
}
.founder-band__badge {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; flex: none;
  border-radius: var(--radius-pill); background: rgba(255, 255, 255, .1); font-size: var(--fs-small); font-weight: 600;
}
.founder-band__badge .founder-band__icon { width: 20px; height: 20px; flex: none; }
.founder-band__copy { flex: 1 1 320px; display: grid; gap: 4px; }
.founder-band__copy strong { font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); line-height: 1.3; }
.founder-band__copy span { color: var(--text-on-dark-2); }
.founder-band__cta { flex: none; }
.founder-band:hover .founder-band__cta { background: var(--red-hover); }
@media (max-width: 600px) {
  .founder-band { flex-direction: column; align-items: flex-start; }
  .founder-band__copy { flex-basis: auto; }
  .founder-band__cta { width: 100%; justify-content: center; }
}
