/* ============================================================
   Priventry — base: variables, reset, typography, utilities, buttons, reveal
   Tema mengikuti oscilar.com (cream / ink / green)
   ============================================================ */

:root {
  --bg: #f4f2ec;
  --bg-soft: #eceae2;
  --card: #fbfaf6;
  --ink: #141412;
  --ink-2: #3d3d38;
  --muted: #63635b;
  --line: rgba(20, 20, 18, 0.1);
  --line-soft: rgba(20, 20, 18, 0.06);
  --green: #2e5e3e;
  --green-soft: #84a97b;
  --green-tint: rgba(46, 94, 62, 0.08);
  --dark: #060607;
  --dark-2: #0d0d10;
  --radius: 18px;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", Menlo, monospace;
  --font-serif: "Fraunces", Georgia, serif;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: auto; } /* smooth scroll ditangani JS (nav.js); CSS smooth bentrok dengan ScrollTrigger pin */

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
img, canvas, svg { display: block; max-width: 100%; }

.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 120px 0; }

/* ---------- type ---------- */
.h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; font-weight: 500; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.eyebrow .tick, .hero-eyebrow .tick {
  width: 7px; height: 7px; background: var(--green); display: inline-block; flex: none;
}
.eyebrow-light { color: var(--green-soft); }
.eyebrow-light .tick { background: var(--green-soft); }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head-row {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.section-sub { color: var(--muted); margin-top: 18px; font-size: 1.05rem; max-width: 640px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--green); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #f5f4ef; color: #0c0c0d; }
.btn-light:hover { background: #fff; box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.35); color: #f5f4ef; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
