﻿:root {
  --bg: #fff8e9;
  --surface: #ffffff;
  --surface-soft: #fff2d8;
  --ink: #1f1c3c;
  --muted: #55527c;
  --brand: #ff6f3c;
  --brand-deep: #d94862;
  --accent: #00a6a6;
  --line: #ffd39f;
  --shadow: 0 14px 34px rgba(57, 30, 103, 0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(900px 440px at 94% -12%, rgba(255, 111, 60, 0.24), transparent 58%),
    radial-gradient(760px 360px at 4% 22%, rgba(0, 166, 166, 0.20), transparent 55%),
    radial-gradient(680px 320px at 30% 110%, rgba(217, 72, 98, 0.16), transparent 58%),
    var(--bg);
}

a { color: var(--brand-deep); }
a:hover { color: var(--brand); }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(31, 28, 60, 0.12);
  background: rgba(255, 248, 233, 0.88);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.35rem 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.25rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 220ms ease, border-color 220ms ease;
}

.nav-links a:hover {
  color: var(--brand-deep);
  border-color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.66rem 1.05rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  box-shadow: 0 10px 20px rgba(217, 72, 98, 0.28);
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.btn:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(217, 72, 98, 0.3);
}

.btn-ghost {
  color: var(--brand-deep);
  border-color: rgba(217, 72, 98, 0.38);
  background: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.95);
}

.hero {
  padding: 3.4rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 16px;
  width: 380px;
  height: 380px;
  border-radius: 32px;
  background: linear-gradient(170deg, rgba(255, 111, 60, 0.9), rgba(217, 72, 98, 0.95));
  transform: rotate(10deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1rem;
  align-items: start;
}

.eyebrow {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand-deep);
}

h1, h2, h3 {
  line-height: 1.14;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.95rem, 4.9vw, 3.1rem);
  margin-bottom: 0.65rem;
  max-width: 14ch;
}

.lead {
  margin-top: 0;
  color: var(--muted);
  max-width: 60ch;
  font-size: 1.03rem;
}

.section {
  padding: 2.35rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 242, 216, 0.82));
  border-top: 1px solid rgba(31, 28, 60, 0.08);
  border-bottom: 1px solid rgba(31, 28, 60, 0.08);
}

.panel,
.card,
blockquote {
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
}

.panel {
  padding: 0.95rem 1rem;
}

.panel.slim h2 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.panel.slim p,
.panel.slim li {
  font-size: 0.95rem;
}

.card {
  padding: 0.95rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(57, 30, 103, 0.18);
}

.card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.03rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.list-clean {
  margin: 0;
  padding-left: 1.1rem;
}

.list-clean li {
  margin-bottom: 0.33rem;
}

blockquote {
  margin: 0;
  padding: 0.95rem;
}

blockquote cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-weight: 700;
  color: var(--brand-deep);
}

.kicker {
  color: var(--muted);
  font-size: 0.94rem;
}

.notice {
  border-left: 4px solid var(--accent);
  padding-left: 0.8rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(31, 28, 60, 0.1);
  background: var(--surface-soft);
}

.hero-grid > * {
  animation: reveal-up 540ms ease both;
}

.hero-grid > *:nth-child(2) {
  animation-delay: 120ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-wrap {
  min-height: 82px;
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-wrap p {
  margin: 0;
}

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

  .hero::after {
    right: -160px;
    top: 90px;
    width: 290px;
    height: 290px;
  }
}

@media (max-width: 760px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    order: 3;
    border-top: 1px solid rgba(31, 28, 60, 0.08);
    padding-top: 0.55rem;
  }

  .btn {
    padding: 0.62rem 0.95rem;
    font-size: 0.94rem;
  }
}
