* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f3ef;
  --ink: #1b1b1b;
  --muted: #555;
  --accent: #3a5bff;
  --accent-soft: #e4e9ff;
  --warm: #f0e8dc;
  --card: #ffffff;
  --border: #d6d0c7;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, 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:hover,
button:hover {
  filter: brightness(0.96);
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.site-header {
  padding: 24px 0 8px;
}

.nav-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
}

.ad-label {
  background: var(--accent-soft);
  color: #20309d;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.story-hero {
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-bottom: 32px;
  background-color: #2a2a2a;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-inner {
  padding: 28px;
  max-width: 560px;
  background: rgba(0, 0, 0, 0.45);
}

.hero-inner h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
  line-height: 1.2;
}

.hero-inner p {
  margin: 0 0 16px;
  color: #f1f1f1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
}

.btn.secondary {
  background: #fff;
  color: #1b1b1b;
}

.story-block {
  margin: 26px auto;
  max-width: 760px;
}

.story-block h2 {
  margin: 0 0 12px;
  font-size: 1.7rem;
}

.story-block p {
  margin: 0 0 14px;
  color: var(--muted);
}

.inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.figure-box {
  background: #e9e3db;
  padding: 12px;
  border-radius: 16px;
}

.figure-box img {
  width: 100%;
  border-radius: 12px;
}

.app-entry {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin: 20px 0;
}

.app-entry.reverse {
  flex-direction: row-reverse;
}

.app-entry .app-copy {
  flex: 1;
  background: var(--card);
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.app-entry .figure-box {
  flex: 1;
}

.testimonial {
  background: var(--warm);
  padding: 20px;
  border-radius: 14px;
  margin: 16px 0;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 220px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 18px;
}

.card h3 {
  margin-top: 0;
}

.price {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1d2c85;
}

.form-wrap {
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-grid label {
  font-weight: 600;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.faq {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.faq-item {
  margin-bottom: 16px;
}

.sticky-cta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #111;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.sticky-cta button {
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0 60px;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 12px 0;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  max-width: 340px;
  z-index: 12;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.cookie-actions button {
  flex: 1;
  padding: 8px 10px;
  border-radius: 999px;
}

.cookie-actions .reject {
  background: #efefef;
  color: #1b1b1b;
}

.cookie-actions .accept {
  background: var(--accent);
  color: #fff;
}

.page-about .story-hero {
  background-image: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1400&q=80");
}

.page-home .story-hero {
  background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1400&q=80");
}

.page-services .story-hero {
  background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1400&q=80");
}

.page-contact .story-hero {
  background-image: url("https://images.unsplash.com/photo-1472289065668-ce650ac443d2?w=1400&q=80");
}

.page-thanks .story-hero {
  background-image: url("https://images.unsplash.com/photo-1492724441997-5dc865305da7?w=1400&q=80");
}

.page-privacy .story-hero {
  background-image: url("https://images.unsplash.com/photo-1483058712412-4245e9b90334?w=1400&q=80");
}

.page-gdpr .story-hero {
  background-image: url("https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=1400&q=80");
}

.page-cookies .story-hero {
  background-image: url("https://images.unsplash.com/photo-1508921912186-1d1a45ebb3c1?w=1400&q=80");
}

.page-terms .story-hero {
  background-image: url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1400&q=80");
}

.callout {
  background: #fdf6e7;
  border-left: 4px solid #f0b45b;
  padding: 16px;
  border-radius: 12px;
}

.story-split {
  display: flex;
  gap: 18px;
  align-items: center;
}

.story-split.reverse {
  flex-direction: row-reverse;
}

.story-split .figure-box,
.story-split .split-copy {
  flex: 1;
}

@media (max-width: 860px) {
  .app-entry,
  .story-split {
    flex-direction: column;
  }

  .sticky-cta {
    left: 16px;
    right: 16px;
    justify-content: space-between;
  }
}
