:root {
  --bg: #f3f6f4;
  --surface: #fbfdfc;
  --surface-2: #f0f5f2;
  --text: #16221f;
  --muted: #4f6661;
  --line: #d7e3de;
  --brand: #167f6f;
  --brand-strong: #0f6658;
  --accent: #c77d3f;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(22, 34, 31, 0.08);
}

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

body {
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 520px at 8% -10%, #d9efe8 0%, transparent 70%),
    radial-gradient(900px 420px at 95% 10%, #f6e7d8 0%, transparent 70%), var(--bg);
  line-height: 1.5;
}

img { width: 100%; display: block; border-radius: 14px; }
.container { width: min(1100px, 92vw); margin: 0 auto; }
.card { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.bg-orb {
  position: fixed; width: 320px; height: 320px; border-radius: 50%; filter: blur(70px);
  opacity: 0.4; pointer-events: none; z-index: -1;
}
.orb-a { top: -120px; left: -80px; background: #8fd3c4; }
.orb-b { bottom: -130px; right: -90px; background: #efc9a8; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(243, 246, 244, 0.75);
  backdrop-filter: blur(8px); border-bottom: 1px solid #dbe6e1;
}

.nav-wrap { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: 0.2px; display: inline-flex; align-items: center; gap: 10px; }
.brand-dot { width: 12px; height: 12px; border-radius: 999px; background: linear-gradient(145deg, var(--brand), var(--accent)); }
.menu { display: flex; align-items: center; gap: 18px; }
.menu a { text-decoration: none; color: #24403b; font-weight: 600; }
.menu a:hover { color: var(--brand-strong); }
.menu-cta { padding: 10px 14px; background: #e4f2ee; border: 1px solid #c8ddd6; border-radius: 12px; }
.menu-btn { display: none; border: 1px solid #c6d9d3; background: #e6f2ef; color: #1b312d; padding: 9px 12px; border-radius: 10px; font: inherit; font-weight: 600; }

.hero { padding: 64px 0 34px; display: grid; gap: 30px; grid-template-columns: 1.05fr 0.95fr; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; color: #2f7066; font-weight: 700; margin: 0 0 10px; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: "Newsreader", Georgia, serif; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.08; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: clamp(1rem, 2vw, 1.12rem); max-width: 48ch; margin: 0; }

.hero-actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { text-decoration: none; border-radius: 12px; padding: 12px 16px; font-weight: 700; transition: transform 0.18s ease, box-shadow 0.2s ease; border: 0; cursor: pointer; font: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(145deg, var(--brand), var(--brand-strong)); box-shadow: 0 12px 24px rgba(15, 102, 88, 0.25); }
.btn-ghost { color: #19322e; background: #e8f1ed; border: 1px solid #c6dad4; }
.btn-detail { color: #1d3d37; background: #edf3f1; border: 1px dashed #b9d2ca; }

.hero-media { padding: 12px; }
.hero-media figcaption { margin-top: 10px; color: #3f5953; font-size: 0.93rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 22px; }
.stat { padding: 18px; }
.stat h3 { margin-bottom: 6px; font-size: 1.03rem; }
.stat p { margin: 0; color: #4b625d; }

.features, .workflow, .gallery, .cta { padding: 54px 0 20px; }
.section-head { display: grid; gap: 8px; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.compact-head { grid-template-columns: 1fr auto; align-items: end; }
.compact-head .kicker, .compact-head h2 { grid-column: 1 / 2; }

.link-btn {
  align-self: end; justify-self: end; border: 0; background: transparent; color: #1f6f63;
  text-decoration: underline; font-weight: 700; cursor: pointer; padding: 0;
}

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { padding: 17px; }
.feature h3 { margin-bottom: 6px; font-size: 1.02rem; }
.feature p { margin: 0; color: #4d6560; font-size: 0.95rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 18px; }
.step-no { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; color: #2f7368; }
.step h3 { margin: 6px 0; }
.step p { margin: 0; color: #4f6661; }

.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.pic-wide { padding: 10px; }
.gallery-grid figure { margin: 0; padding: 10px; }

.cta { padding-bottom: 70px; }
.cta-card { padding: 26px; text-align: center; }
.cta-card h2 { font-size: clamp(1.6rem, 4.2vw, 2.3rem); }
.cta-card p { margin: 10px auto 0; color: #47605a; max-width: 60ch; }
.cta .hero-actions { justify-content: center; }

.site-footer { border-top: 1px solid #d6e1dc; padding: 18px 0 34px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 10px; color: #3f5d57; font-size: 0.94rem; }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 450ms ease, transform 450ms ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

.detail-modal {
  position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center;
}

.detail-modal.open { display: flex; }
.detail-backdrop { position: absolute; inset: 0; background: rgba(14, 24, 22, 0.48); }
.detail-window {
  position: relative; width: min(740px, 92vw); max-height: 88vh; overflow: auto;
  padding: 18px; z-index: 1;
}

.detail-head, .detail-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}

.detail-head { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.detail-close {
  border: 1px solid #c8d8d3; background: #eef4f1; color: #1f3a35; border-radius: 10px;
  padding: 6px 10px; font: inherit; cursor: pointer;
}

.detail-body { padding: 14px 2px; }
.detail-slide { display: none; }
.detail-slide.active { display: block; }
.detail-slide h4 { margin: 0 0 8px; font-size: 1.2rem; }
.detail-slide ul { margin: 0; padding-left: 18px; color: #304f49; }
.detail-slide li { margin: 0 0 8px; }
.detail-foot { border-top: 1px solid var(--line); padding-top: 10px; }
#detailCounter { margin: 0; color: #406059; font-weight: 600; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .stats { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .pic-wide { grid-column: 1 / -1; }
  .menu-btn { display: inline-flex; }
  .menu {
    position: absolute; top: 72px; right: 4vw; width: min(270px, 92vw); padding: 14px;
    border: 1px solid #cdded9; border-radius: 12px; background: #f9fcfb; box-shadow: var(--shadow);
    display: none; flex-direction: column; align-items: stretch;
  }
  .menu.open { display: flex; }
  .compact-head { grid-template-columns: 1fr; }
  .link-btn { justify-self: start; }
}

@media (max-width: 620px) {
  .feature-grid, .gallery-grid { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; }
}
