* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #101116;
  --muted: #5b5f6d;
  --accent: #1c4bd6;
  --accent-dark: #12309a;
  --surface: #f6f4f1;
  --surface-strong: #ece7e1;
  --line: #d7d2cb;
  --warm: #f8efe5;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #faf9f7;
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.layout {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.sidebar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  color: var(--ink);
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent);
}

.sidebar-note {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  padding: 56px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section h1,
.section h2,
.section h3 {
  line-height: 1.2;
}

.hero {
  background: var(--surface-strong);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split-block {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--muted);
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: var(--warm);
  border-radius: 16px;
}

.grid-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px dashed var(--line);
  background: #fff;
}

.price {
  font-weight: 700;
  font-size: 1.1rem;
}

.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.95rem;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 1rem;
  font-family: inherit;
}

.two-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.image-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.image-stack img {
  border-radius: 16px;
}

.cta-strip {
  background: var(--accent-dark);
  color: #fff;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-strip a {
  color: #fff;
  text-decoration: underline;
}

.footer {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #111218;
  color: #d9dbe4;
}

.footer a {
  color: #d9dbe4;
}

.sticky-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 40;
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  max-width: 320px;
  z-index: 50;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-button {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

.cookie-accept {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.notice {
  background: #fff7ed;
  border: 1px solid #f4d4a8;
  padding: 16px;
}

.stacked-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section--scene {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(248, 239, 229, 0.95)),
    url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
}

.section--shadow {
  background: #1c1b1f;
  color: #f5f5f6;
}

.section--shadow a {
  color: #f5f5f6;
  text-decoration: underline;
}

@media (min-width: 900px) {
  .layout {
    flex-direction: row;
  }

  .sidebar {
    width: 280px;
    border-bottom: none;
    border-right: 1px solid var(--line);
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    overflow: auto;
  }

  .main {
    flex: 1;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .hero-text {
    flex: 1;
  }

  .hero-media {
    flex: 1;
  }

  .split {
    flex-direction: row;
  }

  .split-block {
    flex: 1;
  }

  .grid-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(50% - 16px);
  }

  .two-col {
    flex-direction: row;
  }

  .two-col > * {
    flex: 1;
  }
}
