:root {
  --khivo-blue: #0f4b76;
  --khivo-blue-dark: #0a3656;
  --khivo-blue-pale: #eef5fa;
  --ink: #181d25;
  --muted: #697586;
  --border: #e5e7eb;
  --canvas: #fcfcfc;
  --white: #ffffff;
  --orange: #e77e23;
  --orange-pale: #fbeada;
  --warm: #f6f1ea;
  --success: #24765b;
  --shadow: 0 24px 80px rgba(24, 29, 37, 0.12);
  --shadow-soft: 0 12px 40px rgba(24, 29, 37, 0.07);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 16px; }

.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 750; letter-spacing: -0.03em; }
.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  color: var(--white);
  background: var(--khivo-blue);
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 700;
}
.brand-name { font-size: 22px; }
.brand small { margin-left: 2px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.concept-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}
.concept-link:hover, .concept-link:focus-visible { color: var(--khivo-blue); border-color: rgba(15,75,118,.35); }
.concept-link[aria-current="page"] { color: white; background: var(--khivo-blue); border-color: var(--khivo-blue); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--khivo-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(44px, 7vw, 82px); line-height: .98; letter-spacing: -.062em; }
h2 { margin-bottom: 16px; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -.045em; }
h3 { margin-bottom: 10px; font-size: 18px; letter-spacing: -.02em; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.55; }
.fine { color: var(--muted); font-size: 12px; line-height: 1.5; }

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid rgba(231,126,35,.45); outline-offset: 3px; }
.btn-primary { color: white; background: var(--khivo-blue); box-shadow: 0 12px 28px rgba(15,75,118,.22); }
.btn-primary:hover { background: var(--khivo-blue-dark); }
.btn-secondary { color: var(--khivo-blue); background: white; border-color: var(--border); }
.btn-warm { color: var(--ink); background: var(--orange); box-shadow: 0 12px 28px rgba(231,126,35,.22); }
.arrow { font-size: 17px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(231,126,35,.12); }

.quiet-body { background: radial-gradient(circle at 77% 18%, rgba(15,75,118,.09), transparent 28%), var(--canvas); }
.quiet-hero { padding: 80px 0 56px; text-align: center; }
.quiet-hero .eyebrow, .quiet-hero .lead, .quiet-hero .actions { margin-left: auto; margin-right: auto; }
.quiet-hero .lead { max-width: 720px; }
.quiet-hero .actions { justify-content: center; }
.quiet-hero h1 { max-width: 960px; margin-left: auto; margin-right: auto; }
.quiet-hero h1 span { color: var(--khivo-blue); }

.product-stage { position: relative; padding: 22px 0 90px; }
.glow { position: absolute; inset: 6% 18% 6%; border-radius: 50%; background: rgba(15,75,118,.17); filter: blur(70px); pointer-events: none; }
.dashboard {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid rgba(15,75,118,.16);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow);
}
.dash-nav { padding: 24px 18px; border-right: 1px solid var(--border); }
.mini-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 31px; font-size: 14px; font-weight: 800; }
.mini-mark { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; color: white; background: var(--khivo-blue); }
.nav-item { display: flex; align-items: center; gap: 9px; padding: 10px 11px; margin-bottom: 4px; border-radius: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.nav-item.active { color: var(--khivo-blue); background: rgba(15,75,118,.09); }
.nav-glyph { width: 13px; height: 13px; border: 1.7px solid currentColor; border-radius: 4px; }
.dash-main { padding: 32px; background: #fbfcfd; }
.dash-top { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.dash-title { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.dash-copy { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.dash-button { padding: 9px 12px; border-radius: 7px; color: white; background: var(--khivo-blue); font-size: 11px; font-weight: 800; }
.attention { margin: 23px 0; padding: 20px; border-radius: 16px; color: #542d0b; background: rgba(231,126,35,.14); }
.attention-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 12px; font-weight: 800; }
.attention-row { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(231,126,35,.2); font-size: 11px; }
.rank { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: white; background: var(--orange); font-size: 10px; font-weight: 800; }
.open { color: var(--khivo-blue); font-weight: 800; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric { padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: white; }
.metric-label { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.metric-value { margin: 7px 0 2px; font-size: 25px; font-weight: 800; letter-spacing: -.05em; }
.metric-note { color: var(--muted); font-size: 9px; }

.teaser-strip { padding: 25px 0 95px; }
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.teaser-card { padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.75); }
.teaser-number { color: var(--orange); font-size: 12px; font-weight: 900; }
.teaser-card p { margin: 0; color: var(--muted); line-height: 1.55; }

.warm-body { background: var(--warm); }
.warm-body .site-header { border-bottom: 1px solid rgba(24,29,37,.09); }
.warm-hero { display: grid; grid-template-columns: .92fr 1.08fr; min-height: calc(100vh - 84px); align-items: stretch; }
.warm-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 82px max(5vw, 28px) 82px max(calc((100vw - var(--max))/2), 28px); }
.warm-copy h1 { font-size: clamp(52px, 6.7vw, 92px); }
.warm-copy h1 em { color: var(--orange); font-family: Georgia, serif; font-weight: 400; }
.warm-copy .lead { max-width: 600px; }
.warm-panel { position: relative; display: grid; place-items: center; overflow: hidden; padding: 55px; background: var(--khivo-blue); }
.warm-panel::before { content: ""; position: absolute; width: 540px; height: 540px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.warm-panel::after { content: ""; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.conversation { position: relative; z-index: 2; width: min(100%, 530px); }
.conversation-label { margin-bottom: 16px; color: rgba(255,255,255,.62); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.message { max-width: 82%; margin-bottom: 16px; padding: 17px 19px; border-radius: 18px; box-shadow: var(--shadow-soft); font-size: 14px; line-height: 1.48; }
.message.in { color: var(--ink); background: white; border-bottom-left-radius: 6px; }
.message.out { margin-left: auto; color: #532a08; background: var(--orange-pale); border-bottom-right-radius: 6px; }
.message small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; font-weight: 700; }
.context-card { margin-top: 26px; padding: 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; color: white; background: rgba(255,255,255,.09); backdrop-filter: blur(18px); }
.context-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 12px; font-weight: 800; }
.context-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.context-stat { padding: 12px; border-radius: 11px; background: rgba(255,255,255,.08); }
.context-stat span { display: block; color: rgba(255,255,255,.58); font-size: 9px; text-transform: uppercase; }
.context-stat strong { display: block; margin-top: 5px; font-size: 12px; }

.intelligence-section { padding: 120px 0; }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading .lead { margin-bottom: 0; }
.section-heading.compact { max-width: 820px; }
.score-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 72px; }
.score-card { padding: 34px; border: 1px solid rgba(15,75,118,.14); border-radius: 26px; background: white; box-shadow: var(--shadow-soft); }
.score-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 12px; font-weight: 800; }
.score-badge { padding: 8px 11px; border-radius: 999px; color: var(--success); background: rgba(36,118,91,.10); }
.score-value { display: flex; align-items: baseline; gap: 8px; margin: 30px 0 18px; }
.score-value strong { color: var(--khivo-blue); font-size: clamp(72px, 9vw, 118px); line-height: .8; letter-spacing: -.08em; }
.score-value span { color: var(--muted); font-size: 17px; font-weight: 700; }
.score-meter { height: 9px; overflow: hidden; border-radius: 999px; background: var(--khivo-blue-pale); }
.score-meter span { display: block; width: 86%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--khivo-blue)); }
.score-factors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.score-factors div { padding: 15px; border-radius: 12px; background: #f7f9fb; }
.score-factors span, .score-factors strong { display: block; }
.score-factors span { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.score-factors strong { margin-top: 5px; font-size: 13px; }
.score-copy h3 { max-width: 540px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.score-copy > p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.score-copy .guardrail { margin-top: 24px; padding: 20px; border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; background: var(--orange-pale); color: #63350e; font-size: 14px; }

.rental-focus { padding: 110px 0; background: white; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.capability-card { min-height: 260px; padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: var(--canvas); }
.capability-number { display: inline-flex; width: 37px; height: 37px; align-items: center; justify-content: center; margin-bottom: 42px; border-radius: 9px; color: var(--khivo-blue); background: var(--khivo-blue-pale); font-size: 11px; font-weight: 900; }
.capability-card h3 { font-size: 22px; }
.capability-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.conversion-section { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; padding-top: 110px; padding-bottom: 110px; }
.conversion-section h2 { margin-bottom: 0; }
.conversion-copy p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.text-link { padding: 0 0 5px; border: 0; border-bottom: 1px solid currentColor; color: var(--khivo-blue); background: transparent; cursor: pointer; font-weight: 800; }
.text-link:hover { color: var(--orange); }

.warm-footer { padding: 26px 0; color: rgba(255,255,255,.62); background: var(--khivo-blue); font-size: 12px; }
.warm-footer .shell { display: flex; justify-content: space-between; gap: 20px; }

.chooser { min-height: 100vh; padding: 70px 0; background: radial-gradient(circle at 10% 10%, rgba(231,126,35,.10), transparent 30%), radial-gradient(circle at 90% 18%, rgba(15,75,118,.14), transparent 34%), var(--canvas); }
.chooser-intro { max-width: 760px; margin-bottom: 50px; }
.chooser h1 { font-size: clamp(42px, 6vw, 72px); }
.chooser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.choice { display: block; overflow: hidden; border: 1px solid var(--border); border-radius: 24px; background: white; box-shadow: var(--shadow-soft); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.choice:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.choice-art { min-height: 310px; padding: 22px; }
.choice-art.quiet { background: var(--blue-pale, #eef5fa); }
.choice-art.warm { background: var(--warm); }
.choice-browser { overflow: hidden; border: 1px solid rgba(24,29,37,.10); border-radius: 14px; background: white; box-shadow: 0 16px 38px rgba(24,29,37,.13); }
.browser-bar { height: 29px; border-bottom: 1px solid var(--border); background: #fafafa; }
.browser-bar::before { content: "•••"; padding-left: 10px; color: #b8bdc5; line-height: 22px; letter-spacing: 3px; }
.quiet-preview { display: grid; place-items: center; height: 236px; padding: 26px; text-align: center; background: radial-gradient(circle at 70% 30%, rgba(15,75,118,.10), transparent 30%), white; }
.quiet-preview strong { display: block; font-size: 28px; line-height: 1; letter-spacing: -.05em; }
.quiet-preview span { display: inline-block; margin-top: 12px; padding: 8px 12px; border-radius: 6px; color: white; background: var(--khivo-blue); font-size: 9px; }
.warm-preview { display: grid; grid-template-columns: 1fr 1fr; height: 236px; }
.warm-preview-copy { display: grid; place-items: center; padding: 18px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.warm-preview-chat { display: grid; align-content: center; gap: 10px; padding: 18px; background: var(--khivo-blue); }
.bubble { height: 36px; border-radius: 10px; background: white; }
.bubble:nth-child(2) { width: 82%; margin-left: auto; background: var(--orange-pale); }
.choice-copy { padding: 25px; }
.choice-kicker { color: var(--khivo-blue); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.choice h2 { margin: 8px 0; font-size: 28px; }
.choice p { margin: 0; color: var(--muted); line-height: 1.6; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(24,29,37,.55);
  backdrop-filter: blur(8px);
}
.modal.open { display: grid; }
.modal-card { width: min(100%, 480px); padding: 30px; border-radius: 20px; background: white; box-shadow: var(--shadow); }
.modal-card h2 { font-size: 30px; }
.modal-card p { color: var(--muted); line-height: 1.6; }
.modal-actions { display: flex; justify-content: flex-end; margin-top: 20px; }

@media (max-width: 900px) {
  .brand small { display: none; }
  .dashboard { grid-template-columns: 1fr; min-height: auto; }
  .dash-nav { display: none; }
  .dash-main { padding: 24px; }
  .metrics { grid-template-columns: repeat(2,1fr); }
  .teaser-grid, .chooser-grid { grid-template-columns: 1fr; }
  .warm-hero { grid-template-columns: 1fr; }
  .warm-copy { padding: 75px 28px; }
  .warm-panel { min-height: 680px; padding: 40px 28px; }
  .score-layout, .conversion-section { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 72px; }
  .header-actions .concept-link:not([aria-current="page"]) { display: none; }
  .quiet-hero { padding: 54px 0 32px; }
  h1 { font-size: clamp(42px, 13vw, 60px); }
  .lead { font-size: 17px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .product-stage { padding-bottom: 68px; }
  .dashboard { border-radius: 20px; }
  .dash-main { padding: 18px; }
  .dash-button { display: none; }
  .attention-row { grid-template-columns: 26px 1fr; }
  .attention-row .open { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .metric { padding: 14px; }
  .teaser-strip { padding-bottom: 65px; }
  .warm-copy h1 { font-size: clamp(42px, 12vw, 58px); }
  .warm-panel { min-height: 610px; padding: 35px 20px; }
  .message { max-width: 90%; }
  .context-grid { grid-template-columns: 1fr; }
  .intelligence-section, .rental-focus { padding-top: 78px; padding-bottom: 78px; }
  .section-heading { margin-bottom: 36px; }
  .score-card { padding: 24px; }
  .score-factors, .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: auto; padding: 25px; }
  .capability-number { margin-bottom: 28px; }
  .conversion-section { padding-top: 78px; padding-bottom: 78px; }
  .warm-footer .shell { flex-direction: column; }
  .choice-art { min-height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
