:root {
  --bg: #edf4f8;
  --bg-soft: #f7fbff;
  --card: #ffffff;
  --text: #0f2538;
  --text-soft: #4d677e;
  --line: #d3e0ea;
  --accent: #00a8e8;
  --accent-2: #006b9f;
  --accent-3: #003d5c;
  --ok: #11b06a;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 20px 48px rgba(8, 34, 56, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 95% -5%, rgba(0, 168, 232, 0.22), transparent 33%),
    radial-gradient(circle at -5% 0%, rgba(0, 107, 159, 0.2), transparent 26%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(transparent 96%, rgba(0, 107, 159, 0.06) 97%),
    linear-gradient(90deg, transparent 96%, rgba(0, 107, 159, 0.06) 97%);
  background-size: 42px 42px;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: rgba(247, 251, 255, 0.92);
  border-bottom: 1px solid rgba(0, 107, 159, 0.16);
  backdrop-filter: blur(10px);
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.topbar-nav a {
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
}

.topbar-nav a:hover {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
}

.brand {
  text-decoration: none;
  line-height: 1.1;
}

.brand strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
}

.brand span {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  padding: 0.34rem 0.64rem;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ok);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  padding: 0.74rem 1.1rem;
  transition: transform 170ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
}

.btn-strong {
  color: #fff;
  background: #0f2538;
}

.link-cta {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
}

.link-cta:hover {
  text-decoration: underline;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

section {
  margin-top: 3.4rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.62rem;
  font-family: "Sora", sans-serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2rem, 5.9vw, 4.2rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.55rem, 4.2vw, 2.65rem);
}

p {
  margin: 0;
}

.eyebrow {
  margin-bottom: 0.54rem;
  color: var(--accent-2);
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 800;
}

.hero {
  margin-top: 2.2rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 1fr;
  align-items: start;
}

.hero-copy,
.hero-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--card);
  width: 100%;
}

.hero-copy {
  padding: clamp(1rem, 2.8vw, 1.8rem);
}

.hero-copy-layout {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.hero-main > p {
  color: var(--text-soft);
  max-width: 64ch;
  font-size: 1.05rem;
  line-height: 1.28;
}

.hero-main h1 {
  line-height: 0.96;
  letter-spacing: -0.01em;
  margin-bottom: 0.48rem;
}

.hero-side {
  border: 1px solid #d8e8f3;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fcff, #f1f9ff);
  padding: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
}

.hero-fastproof h3 {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.fast-list {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--text-soft);
}

.fast-list li {
  margin: 0.2rem 0;
  line-height: 1.2;
}

.hero-flow {
  border: 1px solid #d7e7f3;
  border-radius: 12px;
  background: #fff;
  padding: 0.62rem;
}

.hero-flow h3 {
  font-size: 0.95rem;
  margin-bottom: 0.42rem;
}

.hero-flow-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.hero-flow-list li {
  margin: 0.18rem 0;
  line-height: 1.2;
}

.hero-kpis {
  margin-top: 0.1rem;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
}

.hero-kpi {
  border: 1px solid #d8eaf7;
  border-radius: 10px;
  background: #fff;
  padding: 0.52rem;
}

.hero-kpi strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
}

.hero-kpi span {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.hero-side-actions {
  display: grid;
  gap: 0.5rem;
}

.hero-side-actions .btn {
  width: 100%;
}

.who-line {
  margin: 0.72rem 0 0;
  border: 1px solid #d6e7f2;
  border-radius: 12px;
  background: #f6fbff;
  padding: 0.62rem 0.72rem;
  color: var(--text);
  font-size: 0.92rem;
}

.proof-list {
  margin: 0.98rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.proof-list li {
  display: flex;
  gap: 0.5rem;
  color: var(--text-soft);
  line-height: 1.2;
}

.proof-list li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 800;
}

.hero-form {
  padding: 1rem;
  justify-self: stretch;
}

.hero-form h3 {
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
}

.hero-form p {
  color: var(--text-soft);
  margin-bottom: 0.8rem;
}

.hero-form-compact .btn {
  width: 100%;
  margin-top: 0.2rem;
}

.hero-form-compact .btn + .btn {
  margin-top: 0.48rem;
}

.hero-note {
  margin: 0.58rem 0 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.lead-form {
  display: grid;
  gap: 0.6rem;
}

.lead-form label {
  display: grid;
  gap: 0.22rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.lead-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  padding: 0.64rem 0.72rem;
}

.lead-form input[type="checkbox"] {
  width: auto;
  margin: 0.15rem 0.45rem 0 0;
  padding: 0;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 500;
}

.consent-line a {
  color: var(--accent-2);
}

.lead-form small {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 1.15rem;
  color: var(--accent-2);
  font-size: 0.84rem;
}

.form-status.success {
  color: #0f6a42;
}

.form-status.error {
  color: #9f2a2a;
}

.lead-form button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.trust-strip {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.trust-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem;
}

.trust-item strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.93rem;
}

.trust-item span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: #fff;
  padding: clamp(1rem, 2.5vw, 1.7rem);
}

.panel p {
  color: var(--text-soft);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.84rem;
}

.card h3 {
  font-size: 1.03rem;
}

.card p {
  color: var(--text-soft);
}

.case-layout {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 0.95rem;
  align-items: start;
}

.case-card,
.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.9rem;
}

.case-grid {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-kpi {
  border: 1px solid #dff0fa;
  border-radius: 12px;
  background: #f4fbff;
  padding: 0.58rem;
}

.case-kpi strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
}

.case-kpi span {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.case-context {
  margin-top: 0.65rem;
}

.about-head {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  margin-bottom: 0.45rem;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
}

.about-head strong {
  display: block;
}

.about-head span {
  color: var(--text-soft);
  font-size: 0.87rem;
}

.about-list {
  margin: 0.58rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.about-list li {
  margin: 0.24rem 0;
}

.scenario-switch {
  margin-top: 0.8rem;
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}

.scenario-btn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font: inherit;
  font-weight: 700;
  padding: 0.44rem 0.72rem;
  cursor: pointer;
}

.scenario-btn.active {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.calc-wrap {
  margin-top: 0.92rem;
  display: grid;
  gap: 0.82rem;
  grid-template-columns: 1fr 1fr;
}

.control {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.8rem;
}

.control label {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.52rem;
}

.control label span {
  color: var(--accent-2);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.result {
  border: 1px solid rgba(0, 168, 232, 0.38);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 168, 232, 0.22), transparent 42%),
    #f1fbff;
  padding: 0.9rem;
}

.result-grid {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.58rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric {
  border: 1px solid #d3ebf8;
  border-radius: 12px;
  background: #fff;
  padding: 0.52rem;
}

.metric span {
  display: block;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.metric strong {
  display: block;
  margin-top: 0.18rem;
  font-family: "Sora", sans-serif;
  font-size: 1.18rem;
}

.scenario-note {
  margin-top: 0.6rem;
  font-size: 0.85rem;
}

.num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 168, 232, 0.12);
  color: var(--accent-2);
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  margin-bottom: 0.42rem;
}

.objections {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.objection {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.78rem;
}

.objection h3 {
  font-size: 1.01rem;
}

.objection p {
  color: var(--text-soft);
}

.list {
  margin: 0.78rem 0 0;
  padding-left: 1.12rem;
  color: var(--text-soft);
}

.list li {
  margin: 0.26rem 0;
}

.faq {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.66rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0.84rem 0.88rem;
}

.faq-answer {
  display: none;
  color: var(--text-soft);
  padding: 0 0.88rem 0.9rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.final-cta {
  border: 1px solid rgba(0, 168, 232, 0.42);
  background:
    radial-gradient(circle at 92% -20%, rgba(0, 168, 232, 0.24), transparent 52%),
    #eefaff;
}

.step-list {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.48rem;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 0.46rem;
  color: var(--text-soft);
}

.step-list b {
  font-family: "Sora", sans-serif;
  color: var(--accent-2);
}

.audit-layout {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.audit-info,
.audit-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.9rem;
}

.audit-form-card h3 {
  margin-bottom: 0.55rem;
}

.audit-note {
  margin-top: 0.68rem;
}

.audit-actions {
  margin-top: 0.78rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.audit-actions .btn {
  flex: 1 1 220px;
}

.package-card .plan {
  margin-bottom: 0.35rem;
  color: var(--accent-2);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.package-price {
  margin-bottom: 0.3rem;
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  line-height: 1.05;
}

.package-price span {
  display: block;
  margin-top: 0.14rem;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-family: "Work Sans", sans-serif;
}

.price-note {
  margin-top: 0.72rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.handoff-grid {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.handoff-pre {
  margin: 0.6rem 0 0;
  padding: 0.72rem;
  border: 1px solid #d7e8f3;
  border-radius: 12px;
  background: #f6fbff;
  color: #1f374d;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.footer {
  margin-top: 3rem;
  padding: 1.4rem 1rem 2rem;
  text-align: center;
  color: var(--text-soft);
  border-top: 1px solid rgba(0, 107, 159, 0.18);
}

.legal-links {
  margin-top: 0.35rem;
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.legal-links a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

.legal-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 0.25rem;
}

.mobile-cta {
  display: none;
}

.chat-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 0.5rem;
}

.chat-widget-toggle {
  border: 1px solid #0a7fb4;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  font: inherit;
  font-weight: 800;
  padding: 0.72rem 1rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 61, 92, 0.28);
}

.chat-widget-toggle:hover {
  transform: translateY(-1px);
}

.chat-widget-panel {
  width: min(360px, calc(100vw - 2rem));
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(8, 34, 56, 0.2);
  overflow: hidden;
}

.chat-widget-panel[hidden] {
  display: none;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  background: #f6fbff;
}

.chat-head strong {
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
}

.chat-close {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.32rem 0.56rem;
  cursor: pointer;
}

.chat-body {
  display: grid;
  gap: 0.45rem;
  padding: 0.8rem;
  max-height: 280px;
  overflow-y: auto;
}

.chat-msg {
  border: 1px solid #d4e7f5;
  border-radius: 12px;
  font-size: 0.87rem;
  line-height: 1.35;
  padding: 0.56rem 0.6rem;
}

.chat-msg.bot {
  background: #f0f8ff;
  color: #1f415d;
}

.chat-msg.user {
  background: #0f2538;
  border-color: #0f2538;
  color: #fff;
  margin-left: 1.8rem;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
}

.chat-input input {
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  padding: 0.52rem 0.6rem;
  background: #f8fcff;
}

.chat-input button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0f2538;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.52rem 0.72rem;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .topbar-nav {
    display: none;
  }
}

@media (max-width: 1050px) {
  .hero,
  .hero-copy-layout,
  .calc-wrap,
  .case-layout,
  .audit-layout,
  .handoff-grid,
  .grid-3,
  .grid-2,
  .objections,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .case-grid,
  .result-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .topbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .case-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 78px;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    padding: 0.58rem;
    border-top: 1px solid var(--line);
    background: rgba(247, 251, 255, 0.98);
    backdrop-filter: blur(8px);
  }

  .mobile-cta a {
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 800;
    padding: 0.66rem 0.7rem;
    font-size: 0.88rem;
  }

  .mobile-cta a:first-child {
    color: #fff;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
  }

  .mobile-cta a:last-child {
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
  }

  .chat-widget {
    right: 0.6rem;
    bottom: 5.2rem;
  }
}
