:root {
  --ink: #10231f;
  --ink-soft: #3d524c;
  --paper: #f4f7f5;
  --paper-2: #e7efea;
  --brand: #0f766e;
  --brand-deep: #115e59;
  --accent: #c2410c;
  --white: #ffffff;
  --line: rgba(16, 35, 31, 0.12);
  --shadow: 0 18px 40px rgba(16, 35, 31, 0.12);
  --radius: 18px;
  --font-display: "Outfit", "Zen Kaku Gothic New", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(244, 247, 245, 0.88);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--brand), #2dd4bf);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}
.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-nav__list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__link {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--ink);
  background: rgba(15, 118, 110, 0.1);
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle__bar {
  width: 22px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.nav-toggle__label { font-size: 0.85rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid {
  background: var(--brand);
  color: #fff;
}
.btn--solid:hover { background: var(--brand-deep); color: #fff; }
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #9a3412; color: #fff; }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(16, 35, 31, 0.78) 8%, rgba(15, 118, 110, 0.35) 55%, rgba(16, 35, 31, 0.55) 100%),
    url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 20px 72px;
}
.hero__brand {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-shadow: 0 10px 30px rgba(0,0,0,0.25);
  animation: fadeUp 0.9s ease both;
}
.hero__lead {
  margin: 0 0 28px;
  max-width: 28em;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  animation: fadeUp 0.9s ease 0.12s both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp 0.9s ease 0.22s both;
}

.section {
  padding: 88px 20px;
}
.section--alt { background: var(--paper-2); }
.section__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.section__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}
.section__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.section__lead {
  margin: 0 0 36px;
  max-width: 36em;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--brand-deep);
  font-family: var(--font-display);
  font-weight: 700;
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.split__media {
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  background:
    linear-gradient(160deg, rgba(15,118,110,0.35), rgba(16,35,31,0.45)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
  box-shadow: var(--shadow);
}
.split__body .section__lead { margin-bottom: 20px; }
.split__list {
  margin: 0 0 24px;
  padding-left: 1.1em;
  color: var(--ink-soft);
}
.split__list li + li { margin-top: 6px; }

.community-preview {
  display: grid;
  gap: 14px;
}
.community-post {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.community-post__meta {
  margin: 0 0 6px;
  font-size: 0.8rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.community-post__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.community-post__body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 48px 36px;
  background:
    linear-gradient(120deg, #115e59 0%, #0f766e 45%, #134e4a 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-band h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.cta-band p {
  margin: 0 0 22px;
  max-width: 34em;
  color: rgba(255,255,255,0.9);
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero {
  padding: 56px 20px 28px;
  background: linear-gradient(180deg, #dceae4 0%, var(--paper) 100%);
}
.page-hero__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}
.page-hero p {
  margin: 0;
  max-width: 36em;
  color: var(--ink-soft);
}

.prose {
  max-width: 720px;
}
.prose p { color: var(--ink-soft); }
.prose h2 {
  margin: 2em 0 0.6em;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.table-like {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.table-like th,
.table-like td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table-like th {
  width: 28%;
  background: rgba(15, 118, 110, 0.08);
  font-weight: 700;
}
.table-like tr:last-child th,
.table-like tr:last-child td { border-bottom: 0; }

.form-card {
  max-width: 640px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-note {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.message {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
}
.message--ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.message--err {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
}

.site-footer {
  background: #0b1c19;
  color: rgba(255,255,255,0.82);
  padding: 56px 20px 28px;
}
.site-footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.site-footer a:hover { color: #5eead4; }
.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 36px;
}
.site-footer__name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}
.site-footer__tag { margin: 0; color: rgba(255,255,255,0.65); }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.site-footer__label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5eead4;
  font-weight: 700;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li + li { margin-top: 8px; }
.site-footer__copy {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@media (max-width: 900px) {
  .feature-grid,
  .split,
  .site-footer__inner,
  .site-footer__cols {
    grid-template-columns: 1fr;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(var(--header-h) + 8px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; }
  .site-header { position: relative; }
  .hero { min-height: 78svh; }
  .cta-band { padding: 36px 22px; }
}
