@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f6f2ea;
  --bg-soft: #fffaf2;
  --surface: rgba(255, 252, 247, 0.84);
  --surface-strong: #fffdf8;
  --surface-deep: #efe7da;
  --text: #24302d;
  --text-muted: #67736e;
  --text-soft: #8c958f;
  --accent: #3f7d72;
  --accent-strong: #29594f;
  --accent-soft: rgba(63, 125, 114, 0.12);
  --line: rgba(36, 48, 45, 0.1);
  --line-strong: rgba(36, 48, 45, 0.16);
  --danger: #c85858;
  --danger-soft: rgba(200, 88, 88, 0.1);
  --shadow-lg: 0 28px 70px rgba(64, 50, 35, 0.12);
  --shadow-md: 0 16px 40px rgba(64, 50, 35, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(63, 125, 114, 0.06), transparent 18%),
    linear-gradient(135deg, rgba(183, 121, 31, 0.08), transparent 36%),
    linear-gradient(180deg, var(--bg) 0%, #f8f5ef 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.shell {
  min-height: 100vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(36, 48, 45, 0.07);
  background: rgba(246, 242, 234, 0.82);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  flex-shrink: 0;
  box-shadow: 0 18px 36px rgba(63, 125, 114, 0.24);
}

.brand-copy {
  min-width: 0;
}

.brand-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.brand-title {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.nav-link {
  color: var(--text-muted);
}

.nav-link:hover,
.button:hover {
  transform: translateY(-1px);
}

.button {
  border: 1px solid transparent;
  cursor: pointer;
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #4a8d80 0%, var(--accent) 100%);
  box-shadow: 0 16px 30px rgba(63, 125, 114, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(36, 48, 45, 0.08);
}

.button-danger {
  color: #fff;
  background: linear-gradient(180deg, #d86d6d 0%, var(--danger) 100%);
  box-shadow: 0 16px 30px rgba(200, 88, 88, 0.18);
}

.button-ghost {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: rgba(63, 125, 114, 0.12);
}

.hero {
  padding: 54px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 28px;
  align-items: start;
}

.hero-copy {
  padding: 20px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-head h2,
.content-main h2,
.content-main h3 {
  font-family: "Fraunces", Georgia, serif;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 0;
  max-width: 11ch;
  font-size: clamp(44px, 8vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  margin: 22px 0 0;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.signal {
  padding: 18px;
  border: 1px solid rgba(36, 48, 45, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.52);
}

.signal strong,
.stat strong,
.mini-card strong,
.feature-card h3,
.policy-card h3,
.step-card h3 {
  display: block;
  font-size: 15px;
}

.signal span,
.stat span,
.mini-card span,
.feature-card p,
.policy-card p,
.policy-card li,
.step-card p,
.content-main p,
.content-main li,
.helper,
.caption {
  color: var(--text-muted);
  line-height: 1.75;
}

.hero-media {
  display: grid;
  gap: 18px;
}

.showcase-card,
.feature-card,
.policy-card,
.step-card,
.form-shell,
.info-shell,
.content-main,
.content-side,
.cta-band,
.meta-strip {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.showcase-card {
  overflow: hidden;
}

.showcase-feature {
  aspect-ratio: 1024 / 500;
  width: 100%;
  object-fit: cover;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.shot {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--surface-strong), var(--surface-deep));
  border: 1px solid rgba(36, 48, 45, 0.08);
  box-shadow: var(--shadow-md);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 18.5;
  object-fit: cover;
  object-position: top center;
}

.shot-copy {
  padding: 14px 14px 16px;
}

.shot-copy strong {
  display: block;
  font-size: 14px;
}

.shot-copy span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

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

.stat {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(36, 48, 45, 0.08);
  background: rgba(255, 255, 255, 0.54);
}

.stat-number {
  display: block;
  color: var(--accent-strong);
  font-size: 28px;
  font-weight: 800;
}

.section {
  padding: 22px 0 0;
}

.section-band {
  padding: 22px 0 8px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
}

.section-head p {
  margin: 0;
  max-width: 58ch;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.feature-card,
.policy-card,
.step-card {
  padding: 24px;
}

.feature-icon,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.feature-card h3,
.policy-card h3,
.step-card h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.feature-card p,
.policy-card p,
.step-card p {
  margin: 0;
}

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

.inline-list,
.content-main ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  margin-top: 24px;
}

.cta-band h3 {
  margin: 0 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 26px;
}

.cta-band p {
  margin: 0;
  max-width: 58ch;
  color: var(--text-muted);
  line-height: 1.75;
}

.page-hero {
  padding: 40px 0 14px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.meta-strip {
  padding: 28px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(36, 48, 45, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--text-muted);
  font-size: 13px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  padding-bottom: 44px;
}

.content-main {
  padding: 28px;
}

.content-main h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.content-main h3 {
  margin: 28px 0 10px;
  font-size: 24px;
}

.content-main p + h2,
.content-main ul + h2,
.content-main .policy-grid + h2 {
  margin-top: 30px;
}

.content-side {
  padding: 22px;
  align-self: start;
  position: sticky;
  top: 94px;
}

.side-stack {
  display: grid;
  gap: 12px;
}

.side-link,
.mini-card {
  display: block;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(36, 48, 45, 0.08);
  background: rgba(255, 255, 255, 0.56);
}

.mini-card {
  margin-top: 18px;
}

.mini-card span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.status-card-danger {
  background: var(--danger-soft);
  border-color: rgba(200, 88, 88, 0.18);
}

.status-card-ok {
  background: var(--accent-soft);
  border-color: rgba(63, 125, 114, 0.16);
}

.form-shell {
  padding: 28px;
}

.form-head {
  margin-bottom: 18px;
}

.form-head h2 {
  margin: 0 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 30px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(36, 48, 45, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  outline: none;
}

.field textarea {
  min-height: 156px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(63, 125, 114, 0.42);
  box-shadow: 0 0 0 4px rgba(63, 125, 114, 0.08);
}

.checkbox-row {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(36, 48, 45, 0.08);
}

.checkbox-row input {
  margin-top: 3px;
}

.helper {
  margin: 0;
  font-size: 14px;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.footer {
  padding: 24px 0 42px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(36, 48, 45, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .content-grid,
  .feature-grid,
  .policy-grid,
  .step-grid,
  .showcase-grid,
  .signal-row,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .content-side {
    position: static;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .site-header-inner,
  .section-head,
  .cta-band,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

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

  .hero {
    padding-top: 36px;
  }

  .hero-copy,
  .meta-strip,
  .content-main,
  .content-side,
  .form-shell {
    padding-left: 22px;
    padding-right: 22px;
  }
}
