:root {
  --bg: #f9f3de;
  --paper: #fffdf6;
  --paper-strong: #fff8dc;
  --ink: #1f1b19;
  --muted: #5c534b;
  --line: #231f1c;
  --mint: #7fd7c5;
  --sun: #ffcc66;
  --coral: #ff8f7a;
  --berry: #d44d7d;
  --shadow: 0 18px 40px rgba(35, 31, 28, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 204, 102, 0.45), transparent 24rem),
    radial-gradient(circle at right 10% top 20%, rgba(127, 215, 197, 0.35), transparent 20rem),
    linear-gradient(180deg, #fff8e4 0%, var(--bg) 100%);
  color: var(--ink);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  padding: 22px 0 8px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link,
.text-link {
  text-decoration: none;
}

.brand-link {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.98rem;
}

.topbar-nav a {
  text-decoration: none;
  color: var(--muted);
}

.topbar-nav a:hover,
.text-link:hover,
.button-link:hover,
.button-link:focus-visible {
  text-decoration: underline;
}

.hero {
  padding: 28px 0 42px;
}

.hero-card,
.panel,
.shot-card,
.policy-card {
  background: rgba(255, 253, 246, 0.92);
  border: 3px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
  pointer-events: none;
}

.hero-card::before {
  width: 220px;
  height: 220px;
  right: -50px;
  top: -40px;
  background: rgba(127, 215, 197, 0.42);
}

.hero-card::after {
  width: 180px;
  height: 180px;
  left: -40px;
  bottom: -55px;
  background: rgba(255, 143, 122, 0.28);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper-strong);
  border: 2px solid var(--line);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.policy-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  max-width: 9ch;
}

.hero-copy {
  margin: 18px 0 0;
  max-width: 39rem;
  font-size: 1.22rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid var(--line);
  text-decoration: none;
  font-weight: 700;
}

.button-link.primary {
  background: var(--line);
  color: #fffdf7;
}

.button-link.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.hero-art {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.hero-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 204, 102, 0.55), rgba(127, 215, 197, 0.45));
  border: 3px solid var(--line);
  border-radius: 32px;
  transform: rotate(-3deg);
}

.hero-logo {
  width: min(100%, 280px);
}

.callout-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.callout {
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.callout strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.callout span {
  display: block;
  font-size: 0.96rem;
  color: var(--muted);
}

.section {
  padding: 0 0 34px;
}

.section-title {
  margin: 0 0 16px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.section-copy {
  max-width: 42rem;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.12rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.panel {
  padding: 22px;
}

.panel h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.1rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.shot-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-bottom: 3px solid var(--line);
}

.shot-caption {
  padding: 18px;
}

.shot-caption h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.shot-caption p {
  margin: 0;
  color: var(--muted);
}

.policy-card {
  padding: 28px;
  display: grid;
  gap: 14px;
}

.policy-card p {
  margin: 0;
  color: var(--muted);
}

.policy-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.footer {
  padding: 12px 0 44px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.policy-page {
  padding: 26px 0 56px;
}

.policy-hero {
  margin-bottom: 24px;
}

.policy-hero .eyebrow {
  margin-bottom: 14px;
}

.policy-hero h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  max-width: 10ch;
}

.policy-meta {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.policy-page .policy-card {
  gap: 0;
  padding: 34px;
}

.policy-page h2 {
  margin: 28px 0 10px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.45rem;
}

.policy-page h2:first-of-type {
  margin-top: 0;
}

.policy-page p,
.policy-page ul {
  margin-top: 0;
  color: var(--muted);
}

.policy-page code {
  padding: 3px 6px;
  border-radius: 8px;
  background: #f3efe4;
  border: 1px solid rgba(35, 31, 28, 0.12);
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .shot-grid,
  .callout-strip {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .policy-card,
  .panel {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 18px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button-link {
    width: 100%;
  }
}
