/* gurubaran.com, brand sheet v1.5 */
:root {
  --bg: #0A0C10;
  --bg-alt: #0E1118;
  --surface: #141821;
  --line: #262C38;
  --line-strong: #3A4252;
  --text: #FFFFFF;
  --muted: #C9CFDA;
  --dim: #8A93A3;
  --accent: #D97757;
  --alert: #FF5C7A;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--text); }
a:hover { color: var(--muted); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.accent { color: var(--accent); }

/* Type */
.eyebrow { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.eyebrow--sm { font-size: 11px; }
.display { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: .95; letter-spacing: -.01em; }
.h-hero { font-size: clamp(44px, 6.4vw, 88px); }
.h-section { font-size: clamp(38px, 5vw, 64px); }
.h-block { font-size: clamp(30px, 4vw, 48px); }
.h-card { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 24px; line-height: 1.1; }
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 620px; }
.sub { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 0; transition: background .2s, border-color .2s; }
.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary:hover { background: var(--muted); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--text); border: 2px solid var(--line); }
.btn--ghost:hover { border-color: var(--line-strong); color: var(--text); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--accent { background: var(--accent); color: #1F1209; }
.btn--accent:hover { background: #E88A6B; color: #1F1209; }

/* Progress bar signature */
.progress { position: fixed; top: 0; left: 0; z-index: 50; width: 100%; height: 4px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); animation: grow linear both; animation-timeline: scroll(root); }
@keyframes grow { to { transform: scaleX(1); } }
@supports not (animation-timeline: scroll()) { .progress { transform: scaleX(.2); } }
@media (prefers-reduced-motion: reduce) { .progress { animation: none; transform: scaleX(.2); } html { scroll-behavior: auto; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(10,12,16,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; }
.logo { margin-right: auto; font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 24px; letter-spacing: -.02em; text-decoration: none; color: var(--text); }
.logo span { color: var(--accent); }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--muted); text-decoration: none; padding: 10px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.view-toggle { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.view-toggle button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 500; background: transparent; color: var(--dim); }
.view-toggle button[aria-pressed="true"] { background: var(--text); color: var(--bg); font-weight: 700; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: var(--text); text-decoration: none; }
a.card, .card--lift { transition: transform .25s, border-color .25s; }
a.card:hover, .card--lift:hover { transform: translateY(-2px); border-color: var(--line-strong); color: var(--text); }
@media (prefers-reduced-motion: reduce) { a.card:hover, .card--lift:hover { transform: none; } }
.panel { padding: 48px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 640px) { .panel { padding: 28px 22px; } }
.mono-box { padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; line-height: 1.9; }
.mono-box div { display: flex; justify-content: space-between; gap: 12px; }
.bad { color: var(--alert); }
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill--live { background: var(--text); color: var(--bg); }
.pill--build { border: 1px solid var(--line-strong); color: var(--muted); }
.pill--planned { border: 1px solid var(--line); color: var(--dim); }
.arrow-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.row { display: flex; flex-wrap: wrap; gap: 16px; }
.section { padding-top: 88px; padding-bottom: 56px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.section-head > div { flex: 1 1 520px; min-width: 0; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 80px; padding-bottom: 56px; }
.hero-copy { flex: 1 1 560px; min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy .lead { margin-top: 28px; }
.hero-quip { margin: 14px 0 0; font-size: 15px; color: var(--dim); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats a { text-decoration: none; color: var(--text); }
.stat-num { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 28px; }
.stat-label { font-size: 14px; color: var(--dim); }
.hero-visual { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.phone-card { position: relative; width: min(380px, 100%); border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.phone-card .bar { height: 4px; width: 40%; background: var(--accent); }
.phone-card .meta { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 0; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.chat { margin: 18px; padding: 14px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); }
.chat-q { font-size: 15px; font-weight: 500; padding: 10px 12px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); }
.chat-a { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.portrait { position: relative; display: flex; justify-content: center; padding: 26px 0 30px; background: var(--bg-alt); border-top: 1px solid var(--line); }
.portrait img { width: 168px; height: 168px; border-radius: 50%; }
.portrait .tag { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 6px 14px; border-radius: 12px; background: var(--bg); border: 2px solid var(--line); font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 20px; }

/* Start here */
.start-card { flex: 1 1 300px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 16px; }
.start-card strong { display: block; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 19px; }
.start-card small { display: block; margin-top: 4px; font-size: 14px; color: var(--dim); }

/* Ladder */
.band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 88px 0; }
.ladder { margin-top: 48px; }
.step { position: relative; overflow: hidden; flex: 1 1 250px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; }
.step--live::before { content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 100%; background: var(--accent); }
.step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.step .mono-box { margin-top: auto; }
.step-cta { font-weight: 600; font-size: 15px; }
.new-card { flex: 0 1 380px; display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 16px; }
.new-badge { flex: 0 0 auto; padding: 5px 10px; border-radius: 8px; background: var(--text); color: var(--bg); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.foot-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--dim); }

/* Book band */
.book-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 48px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.book-band::before { content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 100%; background: var(--accent); }
.book-band > div { flex: 1 1 480px; min-width: 0; }
.book-band .avatar { width: 56px; height: 56px; border-radius: 50%; }
@media (max-width: 640px) { .book-band { padding: 36px 22px; } }

/* Reels */
.reels { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.reel { text-decoration: none; color: var(--text); display: block; }
.reel-frame { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.reel:hover .reel-frame { border-color: var(--line-strong); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .reel:hover .reel-frame { transform: none; } }
.reel-frame video, .reel-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-frame .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,12,16,.92) 0%, rgba(10,12,16,0) 55%); }
.reel-frame .bar { position: absolute; top: 0; left: 0; height: 4px; background: var(--accent); z-index: 2; }
.reel-frame .platform { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(10,12,16,.75); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.reel-frame .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--bg); display: flex; align-items: center; justify-content: center; opacity: .9; }
.reel-frame .title { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 26px; line-height: .95; }
.reel-frame--text { display: flex; align-items: center; padding: 20px; }
.reel-frame--text .title { position: static; font-size: 30px; }
.reel-cat { margin: 10px 0 0; }

/* Work */
.work { display: flex; flex-wrap: wrap; gap: 48px; }
.work > div { flex: 1 1 420px; min-width: 0; }
.receipts { display: flex; flex-wrap: wrap; gap: 12px; }
.receipt { flex: 1 1 140px; padding: 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.receipt b { display: block; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 34px; }
.receipt span { font-size: 14px; color: var(--dim); }
.help { display: flex; flex-direction: column; gap: 12px; }
.help-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .25s; }
.help-card:hover { border-color: var(--line-strong); color: var(--text); }
.help-card--primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.help-card--primary:hover { color: var(--bg); background: var(--muted); }
.help-card strong { display: block; font-weight: 600; font-size: 17px; }
.help-card small { display: block; margin-top: 4px; font-size: 14px; color: var(--dim); }
.help-card--primary small { color: var(--line-strong); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 72px; padding-bottom: 96px; }
.about > div { flex: 1 1 420px; min-width: 0; }
.about-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.about-head img { width: 88px; height: 88px; border-radius: 50%; }
.about p { margin: 22px 0 0; font-size: 18px; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.build-card { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 14px; }
.build-card .ico { flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.build-card strong { display: block; font-weight: 600; }
.build-card small { display: block; font-size: 14px; color: var(--dim); margin-top: 2px; }

/* GPTBot view */
.bot-view { max-width: 860px; margin: 0 auto; padding: 56px 24px 96px; }
.bot-view pre { margin: 0; background: var(--surface); border: 1px solid var(--line); color: var(--muted); border-radius: 16px; padding: 32px; font-family: var(--mono); font-size: 14px; line-height: 1.8; white-space: pre-wrap; overflow-x: auto; }
.bot-view pre b { color: var(--text); }
[hidden] { display: none !important; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-grid > div { flex: 1 1 150px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-grid > div:first-child { flex: 1 1 260px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-brand { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 26px; }
.footer-brand span { color: var(--accent); }
.copyright { padding-bottom: 32px; }

/* Tools directory */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 500; font-size: 14px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }
.feature { display: flex; flex-wrap: wrap; gap: 32px; padding: 40px; border-radius: 24px; }
.feature > div { flex: 1 1 400px; min-width: 0; }
@media (max-width: 640px) { .feature { padding: 26px 20px; } }
.step-group { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.step-group > div:first-child { flex: 0 1 240px; min-width: 0; }
.step-group > div:last-child { flex: 1 1 600px; min-width: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.step-group h2 { margin: 6px 0 0; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 28px; }
.tool { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 16px; }
.tool h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 21px; }
.tool p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.tool .sample { margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--dim); padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); white-space: pre-line; }
.tool--suggest { background: var(--bg); border: 2px dashed var(--line); justify-content: center; }

/* Crawler checker */
.checker { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; align-items: flex-start; }
.checker > div { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.checker-input { padding: 24px; border-radius: 20px; gap: 12px !important; }
.checker textarea { min-height: 320px; resize: vertical; padding: 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--text); width: 100%; }
.checker .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--text { background: transparent; color: var(--dim); padding: 0 16px; }
.btn--text:hover { color: var(--text); }
.result-box { padding: 24px; border-radius: 20px; }
.result-head { margin: 10px 0 0; font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 30px; line-height: 1; }
.bots { padding: 6px 20px; border-radius: 20px; list-style: none; margin: 0; }
.bots li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.bots li:last-child { border-bottom: 0; }
.bots .name { flex: 1 1 auto; min-width: 0; }
.bots .name b { display: block; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.bots .name small { display: block; font-size: 13px; color: var(--dim); }
.badge { flex: 0 0 auto; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); }
.badge--fix { border-color: var(--alert); color: var(--alert); }
.badge--off { color: var(--dim); }
.fix-box { position: relative; overflow: hidden; padding: 24px; border-radius: 20px; }
.fix-box::before { content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 100%; background: var(--accent); }
.fix-box pre { margin: 0; padding: 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-x: auto; }
.faq { margin-top: 72px; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 24px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 22px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--dim); font-family: var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.next-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: 20px; }
.next-card > div { flex: 1 1 420px; min-width: 0; }

/* Book page */
.intents { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 40px; }
.intent { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; border-radius: 20px; text-align: left; font: inherit; cursor: pointer; position: relative; overflow: hidden; }
.intent[aria-pressed="true"] { border-color: var(--accent); }
.intent[aria-pressed="true"]::before { content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 100%; background: var(--accent); }
.intent h3 { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 30px; line-height: 1; }
.intent p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.intent ul { margin: 0; padding: 0 0 0 18px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.intent .for { font-size: 13px; color: var(--dim); }
.intent .pick { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--text); }
.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; counter-reset: s; }
.steps3 li { list-style: none; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.steps3 li::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--mono); font-size: 12px; color: var(--dim); margin-bottom: 10px; }
.steps3 strong { display: block; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 20px; }
.steps3 span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.scheduler { margin-top: 32px; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.scheduler-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.calendly-inline-widget { min-width: 300px; height: 720px; background: #FFFFFF; }
.prep { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.prep div { padding: 22px; border-radius: 16px; border: 1px solid var(--line); }
.prep b { display: block; font-weight: 600; }
.prep span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }

/* Crawler checker: website step, newsletter, exit prompt */
.site-form { display: flex; flex-direction: column; gap: 10px; }
.site-row { display: flex; flex-wrap: wrap; gap: 10px; }
.site-row input, .signup-form input { flex: 1 1 200px; min-width: 0; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
.signup-form input { min-height: 44px; }
.site-row input::placeholder, .signup-form input::placeholder { color: var(--dim); }
.fetch-status { margin: 0; font-size: 14px; color: var(--muted); min-height: 0; }
.fetch-status:empty { display: none; }
.fetch-status.is-error { color: var(--alert); }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 10px 0 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.checker textarea { min-height: 220px; }
.signup { padding: 24px; border-radius: 20px; }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-msg { margin: 10px 0 0; font-size: 14px; }
.signup-msg:empty { display: none; }
.exit-dialog { width: min(520px, calc(100vw - 32px)); padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.exit-dialog::backdrop { background: rgba(10,12,16,.75); backdrop-filter: blur(4px); }
.exit-close { position: absolute; top: 12px; right: 12px; margin: 0; }
.exit-close button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 26px; cursor: pointer; }
.exit-close button:hover { color: var(--text); background: var(--bg); }

/* Crawler checker: result states, domain chip, meter, toast */
.result-box { position: relative; transition: border-color .4s, opacity .3s; }
.result-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.result-box[data-mode="example"] .result-head, .result-box[data-mode="example"] .meter { opacity: .55; }
.result-box[data-mode="example"] #result-label::after { content: " · run yours to replace it"; text-transform: none; letter-spacing: 0; font-family: var(--body); }
.domain-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(217,119,87,.14); border: 1px solid var(--accent); color: #F2B49E; font-family: var(--mono); font-size: 13px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.domain-chip:hover { color: #FFFFFF; background: rgba(217,119,87,.24); }
.domain-chip .dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(217,119,87,.25); }
.result-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 14px; }
.result-head .score { font-size: clamp(56px, 7vw, 84px); line-height: .85; color: var(--text); font-variant-numeric: tabular-nums; }
.result-head .score-of { font-size: 28px; color: var(--dim); margin-left: -6px; }
.result-head .score-text { flex-basis: 100%; font-size: 22px; }
.result-box[data-grade="good"] .score { color: var(--accent); }
.result-box[data-grade="warn"] .score { color: var(--alert); }
.result-box[data-grade="none"] .score { color: var(--muted); }
.meter { display: grid; grid-template-columns: repeat(13, 1fr); gap: 4px; margin-top: 18px; }
.meter span { height: 10px; border-radius: 3px; background: var(--line); }
.meter .seg--ok { background: var(--text); }
.meter .seg--fix { background: var(--alert); }
.meter .seg--off { background: var(--line-strong); }
.meter.is-animating span { animation: seg-in .35s ease-out both; }
@keyframes seg-in { from { transform: scaleY(.2); opacity: 0; } to { transform: none; opacity: 1; } }
.bots.is-animating li { animation: row-in .35s ease-out both; }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.result-box.is-fresh { animation: fresh 1.6s ease-out; border-color: var(--accent); }
@keyframes fresh { 0% { box-shadow: 0 0 0 0 rgba(217,119,87,.55); } 100% { box-shadow: 0 0 0 18px rgba(217,119,87,0); } }
.result-box.is-loading, .bots.is-loading { opacity: .45; }
.spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.is-busy .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 32px); padding: 10px 10px 10px 14px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 15px; box-shadow: 0 12px 40px rgba(0,0,0,.45); animation: toast-in .35s ease-out; }
.toast-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #1F1209; display: flex; align-items: center; justify-content: center; }
.toast-btn { flex: 0 0 auto; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--bg); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) {
  .meter.is-animating span, .bots.is-animating li, .result-box.is-fresh, .toast { animation: none; }
}
