:root {
  --bg: #f7faff;
  --surface: #ffffff;
  --surface-alt: #eef4ff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #1d4ed8;
  --primary-deep: #1e40af;
  --primary-soft: #dbeafe;
  --line: #d9e2f2;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 3% 4%, #dbeafe 0, rgba(219, 234, 254, 0) 44%),
    radial-gradient(circle at 94% 9%, #e0e7ff 0, rgba(224, 231, 255, 0) 43%),
    var(--bg);
  min-height: 100vh;
}

a {
  color: var(--primary);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 250, 255, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  padding: 1rem 0;
}

section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem;
  margin: 1rem 0;
  box-shadow: var(--shadow);
}

.hero {
  margin-top: 1.2rem;
  padding: 2rem;
}

.hero-layout {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-subtitle {
  font-size: 1.05rem;
}

.hero-visual {
  background: linear-gradient(160deg, var(--surface-alt), #ffffff);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
}

.hero-image {
  width: 100%;
  border-radius: 12px;
  display: block;
  animation: floaty 6s ease-in-out infinite;
}

.visual-note {
  margin: 0.8rem 0 0.2rem;
  font-size: 0.92rem;
}

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

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

.kpi-item strong {
  display: block;
  color: var(--primary);
  font-size: 1.12rem;
}

.kpi-item span {
  font-size: 0.84rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  font-family: "Fraunces", serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
}

h2 {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.15rem 0 0.45rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.77rem 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

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

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.25);
}

.btn-primary:hover {
  background: var(--primary-deep);
}

.btn-secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

.small-note {
  font-size: 0.88rem;
}

.problem-grid,
.lifecycle-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.problem-card,
.lifecycle-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: #fcfdff;
}

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

.problem-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.lifecycle-card {
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.step-illustration {
  width: 100%;
  height: 136px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  margin-bottom: 0.9rem;
}

.split-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.proof-card,
.pricing-card {
  height: 100%;
}

.proof-image {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.price {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

li {
  margin: 0.4rem 0;
}

details {
  border-top: 1px solid var(--line);
  padding: 0.75rem 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.form-shell {
  background: linear-gradient(160deg, #ffffff, var(--surface-alt));
}

.beta-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.form-note {
  margin-top: 0.2rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0.65rem 0.72rem;
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(29, 78, 216, 0.2);
  border-color: var(--primary);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.footer {
  padding: 1.5rem 0 2rem;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  opacity: 0.45;
  filter: blur(24px);
}

.bg-shape-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  left: -55px;
  background: #bfdbfe;
}

.bg-shape-2 {
  width: 320px;
  height: 320px;
  right: -70px;
  bottom: -100px;
  background: #c7d2fe;
}

@keyframes floaty {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-layout,
  .split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 1.35rem;
  }

  section {
    padding: 1.2rem;
  }

  .kpi-strip {
    grid-template-columns: 1fr;
  }
}
