* {
  box-sizing: border-box;
}

:root {
  --ink: #1c1c1c;
  --muted: #6c6c6c;
  --paper: #f7f3ee;
  --accent: #2b4a66;
  --accent-soft: #d7e2ec;
  --sand: #efe6dc;
  --sage: #e4eadf;
  --rust: #e7d4c8;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:focus,
button:focus,
select:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--paper);
  border-bottom: 1px solid #e2dbd3;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.ad-label {
  font-size: 13px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 14px;
}

.masthead {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.masthead .headline {
  flex: 1.2;
}

.masthead .hero-image {
  flex: 1;
  min-height: 320px;
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1400&q=80");
  background-size: cover;
  background-position: center;
  background-color: #c3cbd3;
  border-radius: 12px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
}

.magazine-row {
  display: flex;
  gap: 24px;
  margin-top: 48px;
}

.col-main {
  flex: 1.4;
}

.col-side {
  flex: 0.9;
}

.feature-panel {
  padding: 22px;
  background: var(--accent-soft);
  border-radius: 12px;
}

.story-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.story-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--paper);
  border-radius: 12px;
}

.image-frame {
  background-color: #d2d7dc;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 160px;
}

.image-frame img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  display: block;
}

.inline-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  background-color: #cfd6dc;
}

.section {
  margin-top: 56px;
}

.section.alt {
  background: var(--sand);
  border-radius: 16px;
  padding: 32px;
}

.section.sage {
  background: var(--sage);
  border-radius: 16px;
  padding: 32px;
}

.section.rust {
  background: var(--rust);
  border-radius: 16px;
  padding: 32px;
}

.tag {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.service-card {
  flex: 1 1 240px;
  background: #ffffff;
  border: 1px solid #e7dfd6;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  background-color: #c7d1d8;
}

.service-card .content {
  padding: 16px;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.form-wrap {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.form-block {
  flex: 1 1 320px;
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid #e7dfd6;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #c7c2ba;
  margin-bottom: 14px;
  font-family: inherit;
}

.sticky-cta {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.footer {
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid #e2dbd3;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.footer .links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice {
  font-size: 13px;
  color: var(--muted);
  max-width: 520px;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: #ffffff;
  border: 1px solid #d9d2c7;
  border-radius: 12px;
  padding: 18px;
  max-width: 360px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 10;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.cookie-actions button {
  flex: 1;
}

.subtle-link {
  text-decoration: underline;
}

.policy-hero {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.policy-hero .panel {
  flex: 1;
  background: var(--paper);
  border-radius: 14px;
  padding: 24px;
}

.policy-hero .panel h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .masthead,
  .magazine-row,
  .policy-hero {
    flex-direction: column;
  }

  .sticky-cta {
    position: static;
    display: inline-block;
    margin-top: 24px;
  }
}
