:root {
  --red: #b31f24;
  --red-dark: #8f171b;
  --ink: #151719;
  --muted: #6b7178;
  --line: #e7e8ea;
  --soft: #f6f6f4;
  --white: #ffffff;
  --green: #18794e;
  --shadow: 0 24px 70px rgba(21, 23, 25, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 94% 2%, rgba(179,31,36,.09), transparent 26rem),
    #fbfbfa;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

.page-shell { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.topbar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand img { width: 142px; height: 58px; object-fit: contain; object-position: left center; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.badge {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--red-dark);
  background: #fff0f0;
  border: 1px solid #f1cccc;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
}
.link-button { font-size: 14px; font-weight: 650; padding: 9px 12px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  gap: 54px;
  align-items: center;
  padding: 82px 0 72px;
}
.eyebrow { color: var(--red); font-weight: 800; font-size: 12px; letter-spacing: .14em; margin-bottom: 16px; }
h1 { margin: 0; max-width: 820px; font-size: clamp(44px, 6vw, 76px); letter-spacing: -.055em; line-height: .98; }
.lead { max-width: 760px; margin: 26px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.notice {
  margin-top: 30px;
  max-width: 760px;
  padding: 16px 18px;
  border-left: 4px solid var(--red);
  background: #fff7f7;
  border-radius: 4px 12px 12px 4px;
  color: #5d3638;
  line-height: 1.55;
  font-size: 14px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.primary-button, .secondary-button {
  border-radius: 12px;
  padding: 13px 18px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.primary-button { color: white; border: 0; background: var(--red); }
.primary-button:hover { background: var(--red-dark); transform: translateY(-1px); }
.secondary-button { border: 1px solid var(--line); background: white; }
.secondary-button:hover { transform: translateY(-1px); }

.demo-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.demo-card-icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 16px; background: #f8e7e8; font-size: 25px; margin-bottom: 22px;
}
.demo-label { font-size: 12px; font-weight: 850; letter-spacing: .12em; color: var(--red); }
.demo-card ol { margin: 18px 0 24px 22px; padding: 0; color: #3e4348; }
.demo-card li { margin: 12px 0; line-height: 1.45; padding-left: 4px; }
.widget-state { padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #25a566; box-shadow: 0 0 0 5px rgba(37,165,102,.1); }

.test-section { padding: 68px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; }
.section-heading p { max-width: 380px; color: var(--muted); line-height: 1.6; margin: 0 0 5px; }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.test-group { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.group-head { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; }
.group-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; background: #f8e7e8; color: var(--red); font-weight: 850; }
.group-head h3 { margin: 1px 0 3px; font-size: 17px; }
.group-head p { margin: 0; color: var(--muted); font-size: 13px; }
.prompt {
  width: 100%; text-align: left; border: 0; border-top: 1px solid #efefef; background: transparent;
  padding: 14px 4px; color: #363a3e; cursor: pointer; line-height: 1.4;
}
.prompt:hover { color: var(--red); }

.expectation-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin: 4px 0 72px; }
.expectation-card { background: #fff; padding: 30px; }
.expectation-card span { color: var(--red); font-size: 12px; font-weight: 850; }
.expectation-card h3 { margin: 17px 0 8px; font-size: 20px; }
.expectation-card p { color: var(--muted); margin: 0; line-height: 1.55; font-size: 14px; }

footer { padding: 28px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 20px; }
footer p { margin: 0; }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px);
  background: #17191b; color: white; border-radius: 10px; padding: 11px 15px;
  opacity: 0; pointer-events: none; transition: .2s ease; font-size: 13px; z-index: 999999;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 58px; }
  .test-grid, .expectation-section { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .page-shell { padding: 0 18px; }
  .topbar { min-height: 76px; }
  .brand img { width: 104px; height: 48px; }
  .link-button { display: none; }
  .hero { padding: 48px 0 50px; }
  h1 { font-size: 43px; }
  .lead { font-size: 17px; }
  .demo-card { padding: 23px; }
  footer { flex-direction: column; }
}
