@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@400;500;600;700&display=swap');
:root {
  --ink: #1c2a22;
  --muted: #5a6d62;
  --paper: #e8efe9;
  --panel: #f5faf6;
  --line: rgba(28, 42, 34, 0.14);
  --moss: #2f6b4f;
  --moss-deep: #1f4a36;
  --brass: #b8892d;
  --glow: #d4e8d8;
  --font: 'Anuphan', sans-serif;
  --display: 'Prompt', 'Anuphan', sans-serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --header-h: 4.1rem;
  --demo-h: 2.6rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 8% 0%, rgba(47, 107, 79, 0.12), transparent 55%),
    linear-gradient(168deg, #edf3ee 0%, #e4ebe5 48%, #e8efe9 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.wrap {
  width: min(100% - 2.5rem, 1100px);
  margin: 0 auto;
}

.demo-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.5rem 1.25rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
}

.demo-bar strong {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9dcdb8;
  font-weight: 500;
}

.demo-bar__actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.demo-bar a {
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.76rem;
  font-weight: 500;
}

.demo-bar a.is-primary {
  background: var(--moss);
  border-color: var(--moss);
}

.site-header {
  position: sticky;
  top: var(--demo-h);
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.brand small {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

.nav { display: flex; align-items: center; gap: 1.25rem; }

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

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

.nav-cta {
  color: #fff !important;
  background: var(--moss);
  padding: 0.45rem 0.9rem;
}

.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 42, 34, 0.3) 0%, rgba(28, 42, 34, 0.55) 45%, rgba(28, 42, 34, 0.9) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 1100px);
  margin: 0 auto;
  padding: 5rem 0 3.5rem;
  max-width: 38rem;
  animation: heroRise 0.9s ease both;
}

.hero__brand {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.hero__brand span {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8dfc4;
  font-weight: 500;
  margin-top: 0.35rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  color: #c8e6d0;
}

.hero__lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.5rem;
  max-width: 32rem;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--moss);
  color: #fff;
  border-color: var(--moss);
}

.btn--primary:hover { background: var(--moss-deep); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}

.btn--block { width: 100%; }

.section { padding: 4.5rem 0; }

.section__head {
  max-width: 34rem;
  margin-bottom: 2rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.55rem;
}

.section__head h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.section__head p { color: var(--muted); }

.patrolog {
  border: 1.5px solid var(--ink);
  background: var(--panel);
  box-shadow: 6px 6px 0 color-mix(in srgb, var(--moss) 40%, transparent);
}

.patrolog__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.15rem;
  background: color-mix(in srgb, var(--glow) 55%, var(--panel));
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 500;
}

.pulse i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moss);
  animation: pulseDot 1.4s ease infinite;
}

.patrolog__head,
.patrolog__row {
  display: grid;
  grid-template-columns: 5rem 1.1fr 5.5rem 1.2fr 4rem;
  gap: 0.75rem;
  align-items: center;
  padding: 0.95rem 1.15rem;
}

.patrolog__head {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--glow) 30%, var(--panel));
}

.patrolog__row {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.patrolog__row:last-child { border-bottom: 0; }

.patrolog__row:hover {
  background: color-mix(in srgb, var(--moss) 8%, white);
}

.patrolog__row time {
  font-weight: 500;
  font-size: 0.95rem;
}

.patrolog__row strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.patrolog__row small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.mono { font-family: var(--mono); }

.pill {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  text-align: center;
  font-weight: 500;
}

.pill--ok { background: #d4e8d8; color: var(--moss-deep); }
.pill--watch { background: #f3e6c4; color: #7a5a12; }
.pill--hot { background: var(--brass); color: #fff; }

.row-cta {
  font-weight: 600;
  color: var(--moss);
  font-size: 0.9rem;
  text-align: right;
}

.section--forest {
  background:
    linear-gradient(135deg, #15241c 0%, #1f3328 55%, #15241c 100%);
  color: #f0f7f2;
}

.section--forest .eyebrow { color: #9dcdb8; }
.section--forest .section__head p { color: rgba(240,247,242,0.7); }

.beat-rail {
  list-style: none;
  display: grid;
  gap: 0;
  border-left: 3px solid color-mix(in srgb, var(--moss) 55%, white);
  margin-left: 0.35rem;
}

.beat-rail li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0 1.15rem 1.5rem;
  position: relative;
}

.beat-rail li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 1.45rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #9dcdb8;
  box-shadow: 0 0 0 4px #15241c;
}

.beat-rail .mono {
  color: #9dcdb8;
  font-size: 0.85rem;
  padding-top: 0.15rem;
}

.beat-rail h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.beat-rail p { color: rgba(240,247,242,0.72); font-size: 0.95rem; }

.proof-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.proof-strip figure {
  overflow: hidden;
  border: 1.5px solid var(--ink);
}

.proof-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.proof-strip figure:hover img { transform: scale(1.04); }

.proof-strip figcaption {
  padding: 0.85rem 1rem;
  background: var(--panel);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.section--book {
  background: color-mix(in srgb, var(--glow) 45%, var(--paper));
  border-top: 1px solid var(--line);
}

.book {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.book__copy h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.book__copy p { color: var(--muted); }

.book__form {
  background: var(--panel);
  border: 1.5px solid var(--ink);
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
  box-shadow: 5px 5px 0 var(--moss);
}

.field { display: grid; gap: 0.35rem; }

.field label {
  font-size: 0.85rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--line);
  background: #fff;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--moss) 45%, transparent);
  border-color: var(--moss);
}

.rate-table {
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--panel);
  border-radius: 0.35rem;
}
.rate-table__row {
  display: grid;
  grid-template-columns: 1.1fr 1.55fr 8rem;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.rate-table__row:last-child { border-bottom: 0; }
.rate-table__row--head {
  background: var(--moss-deep);
  color: rgba(245, 251, 248, 0.92);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rate-table__row .mono,
.rate-table__row span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--moss-deep);
}
.rate-table__row--head span:last-child { color: rgba(245, 251, 248, 0.92); }
.rate-table__row.is-accent {
  background: linear-gradient(90deg, rgba(184, 137, 45, 0.16), transparent 70%);
}
.rate-table__row.is-accent span:first-child { font-weight: 700; }
.include-list {
  list-style: none;
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.include-list li {
  padding-left: 1.1rem;
  position: relative;
}
.include-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brass);
}
.rate-note { margin-top: 0.85rem; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 720px) {
  .rate-table__row { grid-template-columns: 1fr auto; gap: 0.35rem 1rem; }
  .rate-table__row--head { display: none; }
  .rate-table__row span:nth-child(2) { grid-column: 1 / -1; color: var(--muted); font-size: 0.88rem; }
  .rate-table__row span:last-child { grid-column: 2; grid-row: 1; }
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  background: var(--paper);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

@media (max-width: 900px) {
  .patrolog__head { display: none; }
  .patrolog__row {
    grid-template-columns: 4.5rem 1fr auto;
    grid-template-areas:
      "time point status"
      "note note note"
      "cta cta cta";
    gap: 0.45rem 0.75rem;
  }
  .patrolog__row time { grid-area: time; }
  .patrolog__row > span:nth-child(2) { grid-area: point; }
  .patrolog__row .pill { grid-area: status; }
  .patrolog__row > span:nth-child(4) { grid-area: note; color: var(--muted); font-size: 0.9rem; }
  .patrolog__row .row-cta { grid-area: cta; text-align: left; }
  .proof-strip { grid-template-columns: 1fr; }
  .book { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(var(--demo-h) + var(--header-h));
    left: 0;
    right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.35rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.65rem 0.25rem; }
  .nav-cta { text-align: center; }
  .hero { min-height: min(88vh, 680px); }
  .proof-strip img { height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero__inner { opacity: 1; transform: none; animation: none; transition: none; }
  .pulse i { animation: none; }
}
