:root {
  --ink: #14201c;
  --ink-soft: #3d4a45;
  --paper: #f3f6f2;
  --paper-2: #e7efe6;
  --line: rgba(20, 32, 28, 0.12);
  --accent: #e85d04;
  --accent-deep: #c44900;
  --mint: #1f7a5c;
  --glow: #c8f5a8;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
  --radius: 18px;
  --shadow: 0 24px 60px rgba(20, 32, 28, 0.12);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(200, 245, 168, 0.45), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(232, 93, 4, 0.12), transparent 55%),
    linear-gradient(180deg, #f7faf5 0%, var(--paper) 40%, #eef4ec 100%);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-deep); }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; background: var(--ink); color: #fff;
  padding: 0.6rem 1rem; z-index: 100; border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 242, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.25rem; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none; font-family: var(--font-display); font-weight: 800;
}
.brand-mark {
  width: 2.35rem; height: 2.35rem; border-radius: 0.7rem;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--mint), #0f513f);
  color: #f4ffe8; font-size: 0.85rem; letter-spacing: -0.04em;
}
.brand-text { font-size: 1.15rem; letter-spacing: -0.03em; }

.site-nav { display: flex; align-items: center; gap: 1.1rem; }
.site-nav a {
  text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft);
}
.site-nav a.is-active,
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #f7faf5 !important;
  padding: 0.55rem 0.95rem; border-radius: 999px;
}
.nav-cta:hover { background: var(--accent-deep); color: #fff !important; }

.nav-toggle {
  display: none; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line);
  border-radius: 0.75rem; background: rgba(255,255,255,0.55); cursor: pointer;
}
.nav-toggle span {
  display: block; width: 1.1rem; height: 2px; margin: 5px auto;
  background: var(--ink); transition: transform 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,32,28,0.15) 0%, rgba(20,32,28,0.72) 100%),
    radial-gradient(circle at 70% 30%, rgba(232,93,4,0.35), transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #1a3d32 0%, #0f241d 45%, #1d2a22 100%);
  background-size: cover, cover, 60px 60px, cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-content {
  width: var(--shell); margin: 0 auto 4.5rem;
  color: #f4f8f2;
  max-width: 40rem;
}
.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0 0 1rem;
  animation: riseIn 0.9s ease both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  max-width: 18ch;
  animation: riseIn 0.9s ease 0.12s both;
}
.hero-lead {
  margin: 0 0 1.6rem;
  font-size: 1.08rem;
  color: rgba(244,248,242,0.86);
  max-width: 34ch;
  animation: riseIn 0.9s ease 0.22s both;
}
.cta-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  animation: riseIn 0.9s ease 0.32s both;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.25rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 0.98rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff6d14; color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.12); color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); color: #fff; }
.btn-dark { background: var(--ink); color: #f7faf5; }
.btn-dark:hover { background: #000; color: #fff; }

.section { padding: 5rem 0; }
.section-head { max-width: 38rem; margin-bottom: 2.2rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.04em; line-height: 1.1; margin: 0 0 0.7rem;
}
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.platform-link {
  display: block; text-decoration: none;
  padding: 1.6rem 1.4rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.platform-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(31,122,92,0.35);
  color: inherit;
}
.platform-link h3 {
  font-family: var(--font-display);
  margin: 0 0 0.45rem; font-size: 1.45rem; letter-spacing: -0.03em;
}
.platform-link p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.platform-link .more {
  display: inline-block; margin-top: 1rem; font-weight: 700; color: var(--mint);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.package {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.package.is-featured {
  background: linear-gradient(180deg, #17352c 0%, #102820 100%);
  color: #f3f8f1;
  border-color: transparent;
  box-shadow: var(--shadow);
}
.package.is-featured p,
.package.is-featured li { color: rgba(243,248,241,0.82); }
.package-badge {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; background: var(--accent); color: #fff;
  padding: 0.3rem 0.55rem; border-radius: 999px;
}
.package h3 {
  font-family: var(--font-display); margin: 0 0 0.35rem;
  font-size: 1.5rem; letter-spacing: -0.03em;
}
.package .price {
  font-weight: 700; color: var(--mint); margin-bottom: 0.7rem;
}
.package.is-featured .price { color: var(--glow); }
.package ul {
  margin: 1rem 0 0; padding: 0; list-style: none;
}
.package li {
  padding: 0.45rem 0 0.45rem 1.2rem;
  position: relative; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 0.95rem;
}
.package.is-featured li { border-top-color: rgba(255,255,255,0.12); }
.package li::before {
  content: ""; position: absolute; left: 0; top: 0.95rem;
  width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--accent);
}

.service-list {
  display: grid; gap: 0.85rem;
}
.service-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1.25rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--line);
}
.service-item h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem; letter-spacing: -0.02em;
}
.service-item p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.service-full {
  grid-column: 1 / -1;
  font-size: 0.8rem; color: #6a7771; margin-top: 0.15rem;
}

.proof {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: stretch;
}
.proof-panel {
  padding: 2rem; border-radius: var(--radius);
  background: linear-gradient(145deg, #1f7a5c, #123d31);
  color: #f4faf2;
}
.proof-panel h2 {
  font-family: var(--font-display); margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.03em;
}
.proof-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1.5rem;
}
.proof-stats div {
  padding: 0.9rem; border-radius: 12px;
  background: rgba(255,255,255,0.1);
}
.proof-stats strong {
  display: block; font-family: var(--font-display);
  font-size: 1.45rem; letter-spacing: -0.03em;
}
.proof-stats span { font-size: 0.85rem; opacity: 0.85; }
.proof-note {
  padding: 2rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.proof-note h3 {
  font-family: var(--font-display); margin: 0 0 0.6rem; letter-spacing: -0.02em;
}

.cta-band {
  margin: 1rem 0 5rem;
  padding: 2.4rem;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(232,93,4,0.28), transparent 50%),
    linear-gradient(120deg, #14201c, #1d332b);
  color: #f5f8f3;
}
.cta-band h2 {
  font-family: var(--font-display); margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.03em;
}
.cta-band p { margin: 0 0 1.2rem; color: rgba(245,248,243,0.82); max-width: 36rem; }

.page-hero {
  padding: 3.5rem 0 2rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.045em; line-height: 1.05; margin: 0 0 0.75rem;
}
.page-hero p { margin: 0; max-width: 40rem; color: var(--ink-soft); font-size: 1.08rem; }

.form-wrap {
  max-width: 34rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.92rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%; padding: 0.8rem 0.9rem;
  border-radius: 12px; border: 1px solid var(--line);
  background: #fbfdfb; font: inherit; color: var(--ink);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(31,122,92,0.35); border-color: var(--mint);
}
.form-note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.75rem; }
.alert {
  padding: 0.9rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 600;
}
.alert-ok { background: #e5f6ea; color: #145c32; }
.alert-err { background: #fde8e4; color: #8a2b16; }

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.45);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
}
.footer-name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.3rem; margin: 0 0 0.4rem; letter-spacing: -0.03em;
}
.footer-tag { margin: 0; color: var(--ink-soft); max-width: 28ch; }
.footer-label {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700; color: #6a7771; margin: 0 0 0.7rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { text-decoration: none; font-weight: 600; color: var(--ink-soft); }
.footer-links a:hover { color: var(--accent-deep); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: #6a7771; font-size: 0.9rem;
}

.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(-1.5%, 1%, 0); }
}

@media (max-width: 900px) {
  .platform-grid,
  .package-grid,
  .proof,
  .footer-grid { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch;
    gap: 0; padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(247,250,245,0.98);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.75rem 0.2rem; }
  .nav-cta { text-align: center; margin-top: 0.35rem; }
  .hero { min-height: 78vh; }
  .hero-content { margin-bottom: 3rem; }
}
