:root {
  --ink: #172126;
  --muted: #5d6a70;
  --line: #d9e1e4;
  --soft: #f4f7f6;
  --paper: #ffffff;
  --brand: #1f6f5b;
  --brand-dark: #154b3e;
  --accent: #b47a3c;
  --shadow: 0 14px 38px rgba(25, 38, 45, 0.09);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: grid;
  gap: 0;
}

.brand strong {
  font-size: 20px;
  line-height: 1.1;
}

.brand span {
  font-size: 12px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  min-width: 0;
  max-width: 100%;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a.btn {
  color: #fff;
}

.nav-links a.btn.secondary {
  color: var(--brand);
}

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

.nav-links a.btn:hover {
  color: #fff;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
}

.hero {
  background: linear-gradient(110deg, #eef5f2, #ffffff 48%, #f6efe7);
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.section-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  line-height: 1.18;
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}

h1 {
  font-size: 46px;
  max-width: 820px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.visual-placeholder {
  min-height: 320px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(31, 111, 91, 0.18), rgba(180, 122, 60, 0.16)),
    repeating-linear-gradient(45deg, #f7faf9, #f7faf9 12px, #eef3f1 12px, #eef3f1 24px);
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  color: var(--brand-dark);
  font-weight: 700;
}

.visual-photo {
  width: 100%;
  min-height: 320px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  object-fit: contain;
  box-shadow: var(--shadow);
}

.card-image {
  width: 100%;
  height: 190px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  margin-bottom: 18px;
}

.band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card p:last-child {
  margin-bottom: 0;
}

.list {
  padding-left: 20px;
  color: var(--muted);
}

.list li {
  margin: 7px 0;
}

.page-title {
  max-width: 900px;
}

.meta-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.meta-table th,
.meta-table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  vertical-align: top;
}

.meta-table th {
  width: 220px;
  color: var(--brand-dark);
  background: #f6faf8;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 42px;
  padding: 10px 12px;
  font: inherit;
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.notice {
  padding: 14px 16px;
  border: 1px solid #e6d6bd;
  border-radius: 6px;
  background: #fff8ef;
  color: #765125;
}

.notice[data-mode="success"] {
  border-color: #badbcc;
  background: #f0fff7;
  color: #24533c;
}

.notice[data-mode="error"] {
  border-color: #f1b7b7;
  background: #fff5f5;
  color: #7a2c2c;
}

.dry-run-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.dry-run-panel pre {
  width: 100%;
  max-height: 360px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7faf9;
  padding: 14px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: var(--ink);
  color: #fff;
}

.site-footer .section-inner {
  padding-top: 34px;
  padding-bottom: 34px;
}

.site-footer p {
  color: #c6d0d3;
}

@media (max-width: 720px) {
  body {
    width: 100vw;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    display: block;
    max-width: 100vw;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    font-size: 13px;
    margin-top: 14px;
  }

  .nav-links a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .nav-links a.btn {
    justify-self: start;
    width: auto;
    padding: 0 10px;
    font-size: 12px;
  }

  .nav-links .btn {
    min-height: 36px;
    padding: 0 14px;
  }

  .hero-grid,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  h1 {
    width: 100%;
    max-width: 330px;
    font-size: 28px;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-inner,
  .section-inner {
    max-width: 100vw;
    padding: 44px 18px;
  }

  .hero-inner > *,
  .section-inner > * {
    max-width: 100%;
    min-width: 0;
  }

  p,
  .cta-row,
  .visual-photo,
  .visual-placeholder,
  .card {
    width: 100%;
    max-width: 330px;
  }
}
