/* Search In Transcript - simple homepage. Light, plain, screenshot-led. */
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f7;
  --text: #111113;
  --text-2: #55555e;
  --line: #e7e7ea;
  --red: #e0002b;
  --red-hover: #c40026;
  --red-soft: #fff0f3;
  --mark: #ffe14d;
  --shadow: 0 24px 60px -20px rgba(17, 17, 19, 0.25), 0 4px 14px -6px rgba(17, 17, 19, 0.1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.12; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px;
  border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; font-size: 17px; text-decoration: none;
  white-space: nowrap; transition: background 0.15s, transform 0.1s;
}
.btn:hover { background: var(--red-hover); }
.btn:active { transform: translateY(1px); }
.btn img { width: 22px; height: 22px; background: #fff; border-radius: 50%; padding: 2px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-sm img { width: 18px; height: 18px; }
.btn-light { background: #fff; color: var(--text); border: 1px solid var(--line); }
.btn-light:hover { background: var(--bg-soft); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.links { display: flex; gap: 6px; margin-left: auto; }
.links a { text-decoration: none; color: var(--text-2); font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.links a:hover { color: var(--text); background: var(--bg-soft); }
@media (max-width: 860px) { .links { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 480px) { .brand span { display: none; } }

/* hero */
.hero { text-align: center; padding: 64px 0 0; background: linear-gradient(to bottom, #fff 0%, var(--bg-soft) 100%); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 720; max-width: 16ch; margin: 0 auto; }
.hero h1 span { color: var(--red); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 46ch; margin: 18px auto 30px; }
.trust { margin: 16px 0 0; font-size: 14px; color: var(--text-2); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.trust span::before { content: "✓"; color: var(--red); font-weight: 700; margin-right: 6px; }
.hero-shot { margin: 48px auto 0; max-width: 1100px; padding: 0 24px; }
.frame { border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); border-bottom: 0; background: #fff; }
.frame-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f1f1f3; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d5d5da; }
.frame-bar b { margin-left: 14px; flex: 1; max-width: 420px; height: 20px; border-radius: 6px; background: #fff; font-weight: 400; font-size: 12px; color: #77777f; display: flex; align-items: center; padding: 0 10px; }
.credit { font-size: 12px; color: #8a8a93; text-align: center; margin: 10px 0 0; }

/* sections */
section { scroll-margin-top: 80px; }
.sec { padding: 96px 0; }
.sec-title { text-align: center; margin-bottom: 52px; }
.sec-title h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; }
.sec-title p { color: var(--text-2); font-size: 18px; margin: 12px auto 0; max-width: 52ch; }

/* how it works: 3 steps with screenshots */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step { display: flex; flex-direction: column; }
.step .shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 30px -14px rgba(17, 17, 19, 0.25); background: #fff; aspect-ratio: 1200 / 1039; }
.step .shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.step .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 15px; margin: 22px 0 10px; }
.step h3 { font-size: 21px; font-weight: 650; }
.step p { color: var(--text-2); margin: 6px 0 0; font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 44px; } }

/* features grid */
.soft { background: var(--bg-soft); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--red-soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.feature h3 { font-size: 19px; font-weight: 650; }
.feature p { color: var(--text-2); font-size: 15.5px; margin: 6px 0 0; }
.feature code { font-family: ui-monospace, Consolas, monospace; background: var(--mark); padding: 1px 6px; border-radius: 5px; font-size: 14px; color: #111; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* split rows */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; }
.split p { color: var(--text-2); font-size: 18px; margin: 16px 0 0; }
.split .shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.langs span { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* who */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.who div { padding: 24px; border-radius: 16px; border: 1px solid var(--line); }
.who b { display: block; font-size: 17px; margin: 10px 0 4px; }
.who span { font-size: 26px; }
.who p { margin: 0; color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .who { grid-template-columns: 1fr; } }

/* video */
.video-frame { max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; position: relative; background: #111; box-shadow: var(--shadow); }
.video-frame img, .video-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-frame > picture img, .video-frame > img { filter: brightness(0.6); }
.video-play { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 30px; cursor: pointer; display: grid; place-items: center; }
.video-caption { text-align: center; color: var(--text-2); font-size: 15px; margin: 14px 0 0; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-2); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 20px; color: var(--text-2); }
.faq code { font-family: ui-monospace, Consolas, monospace; background: var(--bg-soft); padding: 1px 6px; border-radius: 5px; font-size: 15px; }

/* final cta */
.cta-band { text-align: center; padding: 88px 24px; background: var(--text); color: #fff; }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
.cta-band p { color: #b9b9c2; margin: 12px 0 30px; font-size: 18px; }
.support { margin-top: 26px !important; font-size: 15px !important; }
.support a { color: #fff; font-weight: 600; }

footer { padding: 30px 0 40px; font-size: 14px; color: var(--text-2); }
footer .wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
footer nav { margin-left: auto; display: flex; gap: 20px; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--text); }
footer .by img { height: 28px; width: auto; }
