* {
  box-sizing: border-box;
}

:root {
  --ink: #1f2937;
  --muted: #6b7280;
  --bg: #f7f6f3;
  --accent: #2f5bff;
  --accent-dark: #2548c6;
  --warm: #f0e6dd;
  --cool: #e3eef7;
  --card: #ffffff;
  --shadow: 0 14px 40px rgba(19, 30, 50, 0.12);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

.ad-label {
  padding: 4px 10px;
  background: var(--warm);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--ink);
}

.main {
  flex: 1;
}

.section {
  padding: 64px 24px;
}

.section.bg-story {
  background: #eef2ff;
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.section.bg-flow {
  background: #f4efe9;
  position: relative;
  overflow: hidden;
}

.section.bg-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(244, 239, 233, 0.65));
}

.section.bg-flow .section-inner {
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero {
  background: linear-gradient(120deg, rgba(47, 91, 255, 0.12), rgba(240, 230, 221, 0.7));
}

.hero-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

.hero-content {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-media {
  flex: 1 1 320px;
  position: relative;
}

.hero-card {
  position: absolute;
  bottom: -22px;
  right: 20px;
  background: var(--card);
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 240px;
}

.img-frame {
  border-radius: 20px;
  overflow: hidden;
  background: #dce4ef;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.button.secondary {
  background: #ffffff;
  color: var(--accent-dark);
  border: 1px solid rgba(37, 72, 198, 0.2);
}

.button.ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid rgba(37, 72, 198, 0.4);
}

.muted {
  color: var(--muted);
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split > div {
  flex: 1 1 320px;
}

.panel {
  background: var(--card);
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 240px;
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 32px rgba(25, 40, 65, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  border-radius: 14px;
  background: #e7ecf4;
  object-fit: cover;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cool);
  color: #1f3a5f;
  font-size: 0.8rem;
}

.quote {
  background: var(--warm);
  padding: 22px 26px;
  border-radius: 18px;
}

.pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.price-card {
  flex: 1 1 260px;
  background: var(--card);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
}

.form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}

.form {
  flex: 1 1 320px;
  background: var(--card);
  padding: 26px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
}

.sticky-cta {
  position: sticky;
  bottom: 16px;
  align-self: flex-end;
  margin-top: -32px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 2;
}

.footer {
  background: #111827;
  color: #f9fafb;
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.9rem;
}

.footer a {
  color: #c7d2fe;
}

.cookie-banner {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #ffffff;
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  z-index: 10;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.notice {
  background: #f3f4f6;
  border-radius: 16px;
  padding: 20px;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.95rem;
}

.page-title {
  font-size: 2.2rem;
  margin: 0;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spacer {
  height: 12px;
}

@media (max-width: 900px) {
  .hero-card {
    position: static;
    max-width: none;
  }

  .sticky-cta {
    position: static;
    margin-top: 0;
  }
}
