:root {
  --bg: #fafaf7;
  --bg-alt: #f1f2ee;
  --ink: #0e1116;
  --ink-soft: #4a5261;
  --line: #e2e4de;
  --card: #ffffff;
  --brand: #2f55f4;
  --brand-dark: #1d3fd1;
  --accent: #ff6a3d;
  --good: #1f9d55;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(14, 17, 22, 0.08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; border: 0; border-radius: 12px;
  padding: 14px 22px; font: 600 16px var(--font); cursor: pointer;
  text-decoration: none; transition: background .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-small { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-wide { width: 100%; grid-column: 1 / -1; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 20px var(--display); text-decoration: none; }
.logo-mark { color: var(--brand); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--brand); background: #e8edff; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
h1 { font-size: clamp(38px, 5.4vw, 62px); letter-spacing: -0.02em; }
.accent { color: var(--accent); }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 560px; }
.lead.small { font-size: 17px; }
.micro { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }

.inline-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; margin-top: 28px; }
.inline-form input {
  flex: 1 1 240px; min-width: 0; padding: 14px 16px; font: 16px var(--font);
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.form-msg { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; font-weight: 500; min-height: 1px; }
.form-msg.ok { color: var(--good); }
.form-msg.err { color: #c0392b; }

/* Chat card */
.chat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); overflow: hidden;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font: 700 17px var(--display); flex-shrink: 0;
}
.chat-name { font-weight: 600; }
.tag { font-size: 11px; font-weight: 600; color: var(--brand); background: #e8edff; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.chat-sub { font-size: 13px; color: var(--ink-soft); }
.timer { margin-left: auto; font: 600 13px var(--display); color: var(--ink-soft); background: var(--bg-alt); padding: 4px 10px; border-radius: 8px; }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.msg.ai { background: var(--bg-alt); border-top-left-radius: 4px; }
.msg.me { background: var(--brand); color: #fff; margin-left: auto; border-top-right-radius: 4px; }
.typing { display: flex; gap: 5px; padding: 10px 14px; background: var(--bg-alt); border-radius: 14px; width: fit-content; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa1ad; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat-foot { padding: 12px 18px; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); background: #fcfcfa; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-title { font-size: clamp(28px, 3.6vw, 40px); text-align: center; margin-bottom: 40px; letter-spacing: -0.01em; }
.section-title.left { text-align: left; margin-bottom: 16px; }
.center-note { text-align: center; color: var(--ink-soft); margin: -24px 0 36px; }

.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 20px; }
.card p { color: var(--ink-soft); margin: 0; }
.card-icon { font-size: 28px; margin-bottom: 14px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps h3 { font-size: 18px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: 15px; }
.step-no {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--ink); color: #fff; font: 700 16px var(--display); margin-bottom: 16px;
}

.rounds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.round { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.round > span { font-size: 26px; line-height: 1; }
.round h3 { font-size: 17px; margin-bottom: 4px; }
.round p { color: var(--ink-soft); margin: 0; font-size: 15px; }
.round.highlight { border-color: var(--accent); background: #fff6f2; }

/* Report */
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 12px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 700; }
.report-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.report-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.report-label { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.report-score { font: 700 44px var(--display); line-height: 1.1; }
.report-score span { font-size: 20px; color: var(--ink-soft); }
.verdict { background: #fff1d6; color: #9a6200; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.bar { display: grid; grid-template-columns: 130px 1fr 20px; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.bar > div { height: 8px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.bar b { text-align: right; }
.report-notes { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.report-notes p { margin-bottom: 6px; }

/* Compare */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-family: var(--display); font-size: 15px; background: #fcfcfa; }
.compare .us { background: #f1f4ff; font-weight: 600; }

/* Pricing */
.price { position: relative; }
.price .amount { font: 700 40px var(--display); margin: 6px 0 16px; }
.price .amount span { font-size: 16px; color: var(--ink-soft); font-weight: 500; }
.price ul { list-style: none; padding: 0; margin: 0; color: var(--ink-soft); }
.price li { padding: 6px 0; border-top: 1px solid var(--line); }
.price.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.badge { position: absolute; top: -12px; right: 20px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--ink-soft); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Join */
.join { background: var(--ink); color: #fff; }
.section-title.light { color: #fff; margin-bottom: 12px; }
.join-sub { text-align: center; color: #b8bfcc; margin-bottom: 36px; }
.join-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #171b23; padding: 28px; border-radius: 20px; border: 1px solid #262c38; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: #d5dae3; }
.opt { color: #8c94a3; font-weight: 400; }
.join-form input, .join-form select, .join-form textarea {
  font: 16px var(--font); padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid #2d3440; background: #0e1116; color: #fff; width: 100%;
}
.join-form textarea { resize: vertical; }
.join-form .form-msg { grid-column: 1 / -1; text-align: center; }
.join-form .form-msg.ok { color: #5ee08f; }
.join-form .form-msg.err { color: #ff8a7a; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 26px 0; font-size: 14px; color: var(--ink-soft); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .report-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .rounds { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .hero { padding: 44px 0 56px; }
  .section { padding: 56px 0; }
  .cards.three, .steps, .rounds { grid-template-columns: 1fr; }
  .join-form { grid-template-columns: 1fr; padding: 20px; }
  .inline-form .btn { width: 100%; }
  .bar { grid-template-columns: 110px 1fr 20px; }
}
