
/* ============ TOKENS ============ */
:root {
  --bg: #f4f8f5;
  --surface: #ffffff;
  --surface-2: #eaf2ec;
  --ink: #0e211a;
  --body: #243b33;
  --muted: #5b7268;
  --line: #d9e4dd;
  --line-soft: #e8efe9;
  --brand: #0a6b4d;
  --brand-strong: #075c41;
  --brand-ink: #0b3d2c;
  --brand-tint: #e1f1e7;
  --accent: #e9a51b;
  --accent-soft: #fbeed3;
  --accent-ink: #7c5705;
  --card-shadow: 0 1px 2px rgba(14,33,26,.06), 0 12px 32px -12px rgba(14,33,26,.18);
  --mock-shadow: 0 2px 6px rgba(14,33,26,.08), 0 32px 64px -24px rgba(14,33,26,.30);
  --band-bg: #0b3d2c;
  --band-ink: #eef5f0;
  --band-muted: #b9ccc1;
  --band-card: #114734;
  --band-line: rgba(255,255,255,.14);
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px;
  --head-h: 68px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090f0c;
    --surface: #0e1613;
    --surface-2: #141f1a;
    --ink: #edf4ee;
    --body: #c2cfc6;
    --muted: #8b9b91;
    --line: #223028;
    --line-soft: #1a251f;
    --brand: #35b47e;
    --brand-strong: #4cc992;
    --brand-ink: #bfe9d2;
    --brand-tint: #122b21;
    --accent: #f0b74a;
    --accent-soft: #2c2311;
    --accent-ink: #f3cd7f;
    --card-shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -16px rgba(0,0,0,.55);
    --mock-shadow: 0 2px 8px rgba(0,0,0,.5), 0 36px 72px -24px rgba(0,0,0,.7);
    --band-bg: #0c241a;
    --band-ink: #eef5f0;
    --band-muted: #a9bcae;
    --band-card: #123124;
    --band-line: rgba(255,255,255,.12);
  }
}

/* ============ BASE ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--body);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.rk-landing h1, .rk-landing h2, .rk-landing h3, h1.rk, h2.rk, h3.rk { font-family: var(--font-display); color: var(--ink); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .55em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); }
h3 { font-size: 1.28rem; }
.rk-landing p { margin: 0 0 1em; }
.rk-landing a { color: var(--brand-strong); }
.rk-landing img { max-width: 100%; display: block; }
.rk-landing button { font-family: inherit; }
.rk-landing ::selection { background: var(--accent-soft); color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { ::selection { color: var(--ink); } }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(3.6rem, 7vw, 6rem) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--muted); }

.pill {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .82rem; font-weight: 600;
  color: var(--brand-ink); background: var(--brand-tint);
  border: 1px solid var(--line);
  padding: .42em 1em; border-radius: 999px; margin-bottom: 1.1em;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }
@media (prefers-color-scheme: dark) { .pill { color: var(--brand-ink); } }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border-radius: 14px; padding: .85em 1.5em; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(10,107,77,.6); }
.btn-primary:hover { background: var(--brand-strong); transform: translateY(-1px); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #06271c; } }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .btn-ghost:hover { color: var(--brand); } }
.btn-accent { background: var(--accent); color: #2a2006; }
.btn-accent:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn-sm { font-size: .92rem; padding: .62em 1.1em; border-radius: 11px; }

/* ============ HEADER ============ */
.site-head {
  position: fixed; inset: 0 0 auto 0; height: var(--head-h); z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.head-in { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.01em; }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; flex: none; }
.brand .mark svg { width: 20px; height: 20px; stroke: #fff; }
.brand small { font-family: var(--font-body); font-weight: 500; font-size: .62rem; color: var(--muted); display: block; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.brand .word { line-height: 1.05; }
.nav { display: flex; gap: .35rem; align-items: center; }
.nav a { text-decoration: none; color: var(--body); font-weight: 600; font-size: .95rem; padding: .5em .85em; border-radius: 10px; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.active { color: var(--brand-strong); background: var(--brand-tint); }
@media (prefers-color-scheme: dark) { .nav a.active { color: var(--brand); } }
.head-cta { display: flex; gap: .6rem; align-items: center; }
.menu-btn { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; width: 44px; height: 44px; place-items: center; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 920px) {
  .nav, .head-cta .btn-ghost { display: none; }
  .menu-btn { display: grid; }
  .brand small { display: none; }
  .head-cta .btn-sm { white-space: nowrap; }
}
.mobile-nav {
  position: fixed; inset: var(--head-h) 0 auto 0; z-index: 49;
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: .8rem 20px 1.2rem; display: none;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: .8em .4em; text-decoration: none; color: var(--body); font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav .btn { width: 100%; margin-top: .8rem; }
.mobile-nav .btn-primary { color: #fff; }
@media (prefers-color-scheme: dark) { .mobile-nav .btn-primary { color: #06271c; } }

/* ============ HERO ============ */
.hero {
  padding: calc(var(--head-h) + clamp(2rem, 4.5vw, 3.6rem)) 0 clamp(3rem, 5vw, 4.4rem);
  position: relative; overflow: clip;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 88%);
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 42% 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38rem 20rem at 84% 6%, var(--brand-tint), transparent 62%),
    radial-gradient(30rem 18rem at 6% 26%, rgba(233,165,27,.12), transparent 58%);
}
@media (prefers-color-scheme: dark) { .hero::before { opacity: .6; } }

.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2.4rem, 5vw, 4.6rem); align-items: center; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; max-width: 660px; margin-inline: auto; }
}

.hero h1 { font-size: clamp(2.5rem, 5vw, 3.95rem); font-weight: 800; margin-bottom: .4em; line-height: 1.06; text-wrap: balance; }
.hero h1 .hl { position: relative; color: var(--brand-strong); white-space: nowrap; }
@media (prefers-color-scheme: dark) { .hero h1 .hl { color: var(--brand); } }
.hero h1 .hl svg { position: absolute; left: -2%; right: -2%; bottom: -.13em; width: 104%; height: .3em; fill: none; }
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .hero h1 .hl { white-space: normal; }
}
.hero .lede { font-size: clamp(1.05rem, 1.8vw, 1.24rem); max-width: 34rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.7rem 0 1.7rem; }
.hero-cta .btn { padding: .95em 1.7em; font-size: 1.04rem; }

/* trust row */
.hero-trust { display: flex; gap: 1rem; align-items: center; }
.avatars { display: flex; align-items: center; flex: none; }
.avatars span {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; color: #fff; background: var(--brand);
  border: 3px solid var(--surface); margin-left: -11px; box-shadow: 0 2px 8px rgba(14,33,26,.14);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: #4a7fd4; }
.avatars span:nth-child(3) { background: var(--accent); color: #2a2006; }
.avatars span.more { background: var(--ink); color: var(--surface); font-size: .64rem; }
.hero-trust .tt { font-size: .95rem; font-weight: 700; color: var(--body); display: block; line-height: 1.45; }
.hero-trust .tt b { color: var(--ink); }
.hero-trust .stars { color: var(--accent); font-size: .82rem; letter-spacing: .14em; margin-right: .35em; }
.hero-trust .ts { font-size: .82rem; color: var(--muted); font-weight: 500; }

/* ---------- hero "AI magic" demo ---------- */
.magic { position: relative; padding: clamp(1.2rem, 3vw, 2.2rem); }
.magic-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(52% 50% at 50% 52%, var(--brand-tint), transparent 70%);
  opacity: .85;
}
.magic-dots {
  position: absolute; inset: 8% 0; pointer-events: none; z-index: 0; opacity: .6;
  background-image: radial-gradient(var(--line) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(62% 62% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(62% 62% at 50% 50%, #000, transparent);
}
@media (prefers-color-scheme: dark) { .magic-glow { opacity: .42; } }

.m-stage { position: relative; z-index: 2; display: grid; max-width: 440px; margin-inline: auto; }
.m-card {
  grid-area: 1 / 1; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--mock-shadow); padding: 1.4rem 1.45rem;
  transition: opacity .5s ease, transform .62s cubic-bezier(.22,.85,.3,1);
}
.m-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .9rem; }
.m-who { display: inline-flex; align-items: center; gap: .55em; font-size: .85rem; font-weight: 800; color: var(--ink); }
.m-who .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-grid; place-items: center; font-size: .68rem; flex: none; }
@media (prefers-color-scheme: dark) { .m-who .dot { color: #06271c; } }
.m-who.ai .dot { background: var(--accent); color: #2a2006; font-size: .8rem; }
.m-tag { font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-strong); background: var(--brand-tint); padding: .35em .9em; border-radius: 999px; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .m-tag { color: var(--brand); } }
.m-tag.hot { color: var(--accent-ink); background: var(--accent-soft); }
.m-text { font-size: 1.06rem; line-height: 1.55; color: var(--ink); font-weight: 500; margin: 0 0 1em; min-height: 3.3em; }
.m-caret { display: inline-block; width: 2px; height: 1.1em; background: var(--brand); vertical-align: -.14em; margin-left: 3px; border-radius: 2px; animation: mblink 1s steps(2, start) infinite; }
@keyframes mblink { 50% { opacity: 0; } }
.m-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-top: 1px dashed var(--line); padding-top: 1rem; }
.m-hint { font-size: .78rem; font-weight: 600; color: var(--muted); }
.m-send {
  font-size: .82rem; font-weight: 800; color: #fff; background: var(--brand);
  border-radius: 10px; padding: .55em 1.2em; display: inline-flex; align-items: center; gap: .45em; white-space: nowrap;
}
@media (prefers-color-scheme: dark) { .m-send { color: #06271c; } }
.m-send svg { width: 14px; height: 14px; }
.m-send.ghost { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }

.m-sections { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: .55rem; }
.m-sections li { display: flex; gap: .65rem; align-items: center; font-size: .88rem; font-weight: 600; color: var(--ink); }
.m-sections .ck { flex: none; width: 22px; height: 22px; border-radius: 8px; background: var(--brand-tint); display: grid; place-items: center; }
.m-sections .ck svg { width: 12px; height: 12px; stroke: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .m-sections .ck svg { stroke: var(--brand); } }

/* phase transitions: prompt -> result */
.magic .m-result { opacity: 0; transform: translateY(34px) scale(.95); pointer-events: none; }
.magic[data-phase="result"] .m-prompt { opacity: 0; transform: translateY(-28px) scale(.94) rotate(-1.6deg); pointer-events: none; }
.magic[data-phase="result"] .m-result { opacity: 1; transform: none; pointer-events: auto; }
.magic[data-phase="result"] .m-caret { visibility: hidden; }
.magic[data-phase="result"] .m-sections li { animation: mpop .45s cubic-bezier(.3,1.4,.5,1) both; animation-delay: calc(120ms + var(--i) * 110ms); }
@keyframes mpop { from { opacity: 0; transform: translateX(-10px); } }

/* floating module chips */
.m-chips { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.m-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 700; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: .6em 1.05em;
  box-shadow: var(--card-shadow); white-space: nowrap;
  animation: mfloat 5.4s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.m-chip svg { width: 15px; height: 15px; color: var(--brand); flex: none; }
@keyframes mfloat { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-9px) rotate(var(--rot, 0deg)); } }
.mc1 { left: 0; top: 7%; --d: 0s; --rot: -3deg; }
.mc2 { right: 1%; top: 0; --d: .8s; --rot: 2deg; }
.mc3 { left: 1%; bottom: 13%; --d: 1.6s; --rot: 2deg; }
.mc4 { right: 3%; bottom: 22%; --d: 2.4s; --rot: -2deg; }
.mc5 { left: 36%; bottom: 0; --d: 3.2s; --rot: 1.5deg; }

/* hero stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(2.6rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.stat-item { text-align: center; }
.stat-item .n { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--ink); }
.stat-item .n em { font-style: normal; color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .stat-item .n em { color: var(--brand); } }
.stat-item .l { font-size: .88rem; color: var(--muted); font-weight: 500; }

@media (max-width: 960px) {
  .magic { padding: 0 0 .4rem; }
  .magic-glow, .magic-dots { display: none; }
  .m-chips { position: static; display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-top: 1.1rem; pointer-events: auto; }
  .m-chip { position: static; animation: none; }
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; } }
@media (prefers-reduced-motion: reduce) {
  .m-chip { animation: none; }
  .m-caret { animation: none; }
  .m-card { transition: none; }
}
/* ============ FEATURES ============ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2.6rem, 5vw, 4rem) 0; }
.feature + .feature { border-top: 1px solid var(--line-soft); }
.feature.rev > .f-copy { order: 2; }
.feature.rev > .f-visual { order: 1; }
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; } .feature.rev > .f-copy { order: 1; } .feature.rev > .f-visual { order: 2; } }
.f-tag { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: .9em; }
@media (prefers-color-scheme: dark) { .f-tag { color: var(--brand); } }
.f-tag svg { width: 1.25em; height: 1.25em; }
.feature h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .45em; }
.feature .lede { font-size: 1.02rem; }
.checks { list-style: none; padding: 0; margin: 1.3em 0 0; display: grid; gap: .7em; }
.checks li { display: flex; gap: .7em; align-items: flex-start; font-weight: 500; font-size: .98rem; }
.checks .ck { flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--brand-tint); display: grid; place-items: center; margin-top: 1px; }
.checks .ck svg { width: 14px; height: 14px; stroke: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .checks .ck svg { stroke: var(--brand); } }
.f-visual { position: relative; }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--card-shadow); overflow: hidden; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line-soft); }
.mock-head .mt { font-weight: 700; color: var(--ink); font-size: .95rem; }
.mock-head .ma { font-size: .78rem; font-weight: 700; color: var(--brand-strong); text-decoration: none; }
@media (prefers-color-scheme: dark) { .mock-head .ma { color: var(--brand); } }

/* calendar mock */
.cal { padding: 1rem 1.2rem 1.2rem; }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding-bottom: .6rem; }
.cal-week span { text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .d { aspect-ratio: 1; border-radius: 9px; display: grid; place-items: center; font-size: .84rem; font-weight: 600; color: var(--body); position: relative; }
.cal-grid .d.dim { color: var(--muted); opacity: .45; }
.cal-grid .d.ev1::after, .cal-grid .d.ev2::after, .cal-grid .d.ev3::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; }
.cal-grid .d.ev1::after { background: var(--brand); }
.cal-grid .d.ev2::after { background: var(--accent); }
.cal-grid .d.ev3::after { background: #4a7fd4; }
.cal-grid .d.today { background: var(--brand); color: #fff; }
@media (prefers-color-scheme: dark) { .cal-grid .d.today { color: #06271c; } }
.cal-foot { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.cal-foot .chip-ev { font-size: .78rem; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 9px; padding: .5em .9em; display: inline-flex; gap: .5em; align-items: center; }
.cal-foot .chip-ev i { width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* absensi mock */
.attend { display: grid; grid-template-columns: 200px 1fr; gap: 1.1rem; padding: 1.2rem; }
.scan { background: #0c1611; border-radius: 14px; padding: 1rem; color: #e9f2ec; text-align: center; position: relative; overflow: hidden; }
.scan .qrv { background: #fff; border-radius: 10px; padding: 8px; }
.scan .qrv canvas { width: 100%; display: block; }
.scan .st { font-size: .74rem; font-weight: 700; margin-top: .7em; display: flex; align-items: center; justify-content: center; gap: .5em; }
.scan .st .pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: blink 1.6s infinite; }
.scan .cap { font-size: .7rem; color: #9fb3a8; margin-top: .3em; }
.att-rows { display: flex; flex-direction: column; gap: .55rem; }
.att-row { display: flex; align-items: center; gap: .8rem; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: .55rem .8rem; }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: #fff; background: var(--brand); }
.avatar.a2 { background: var(--accent); color: #2a2006; }
.avatar.a3 { background: #4a7fd4; }
.avatar.a4 { background: #8a5cc9; }
.att-row .nm { font-size: .86rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.att-row .tm2 { font-size: .72rem; color: var(--muted); }
.att-row .ok { margin-left: auto; font-size: .68rem; font-weight: 800; color: var(--brand-strong); background: var(--brand-tint); padding: .3em .8em; border-radius: 999px; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .att-row .ok { color: var(--brand); } }
@media (max-width: 560px) { .attend { grid-template-columns: 1fr; } .scan { max-width: 240px; } }

/* ledger mock */
.ledger { padding: .6rem 1.2rem 1.2rem; }
.ledger table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.ledger th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: .7em .5em; border-bottom: 1px solid var(--line-soft); }
.ledger td { padding: .75em .5em; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger .tgl { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.ledger .ket { font-weight: 600; color: var(--ink); }
.ledger .ket small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.ledger .duit { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.duit.in { color: var(--brand-strong); } .duit.out { color: #c04a3a; }
@media (prefers-color-scheme: dark) { .duit.in { color: var(--brand); } }
.kas-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1rem; }
.kas-sum .ks { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: .7rem .9rem; }
.kas-sum .ks .k { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kas-sum .ks .v { font-weight: 800; font-size: 1.02rem; font-variant-numeric: tabular-nums; color: var(--ink); }
@media (max-width: 560px) { .kas-sum { grid-template-columns: 1fr 1fr; } }

/* ============ AI MODULES (Interactive Tabbed Showcase) ============ */
.ai-chip {
  display: inline-flex; align-items: center; gap: .3em;
  font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent);
  border-radius: 999px; padding: .32em .95em; margin-left: .9em; white-space: nowrap;
}
.mod-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin: clamp(1.8rem, 3.5vw, 2.6rem) 0 0; }
.mod-chip {
  display: flex; align-items: center; gap: .75rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: .8rem .95rem;
  text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: .9rem; line-height: 1.3;
  box-shadow: var(--card-shadow);
  transition: all .2s ease;
  cursor: pointer; font-family: inherit; width: 100%; text-align: left;
  outline: none;
}
.mod-chip:hover { transform: translateY(-2px); border-color: var(--brand); }
.mod-chip.is-active {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 4px 18px rgba(10,107,77,.18);
  outline: 2px solid var(--brand);
  outline-offset: -1px;
}
.mod-chip .mi { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; transition: all .2s ease; }
.mod-chip.is-active .mi { background: var(--brand); color: #ffffff; }
.mod-chip .mi svg { width: 20px; height: 20px; }
.mod-chip small { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; transition: color .2s ease; }
.mod-chip.is-active small { color: var(--brand-strong); font-weight: 800; }
@media (prefers-color-scheme: dark) {
  .mod-chip .mi { color: var(--brand); }
  .mod-chip.is-active .mi { color: #06271c; }
  .mod-chip.is-active small { color: var(--brand); }
}

/* Tab Panels & Workflow Stepper */
.mod-tab-panels { position: relative; margin-top: .8rem; }
.mod-panel { display: none; }
.mod-panel.is-active {
  display: block;
  animation: modPanelFadeIn .32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes modPanelFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .mod-panel.is-active { animation: none; }
}
.mod-panel .feature {
  padding: clamp(1.6rem, 3.2vw, 2.6rem) 0 1rem;
  border-top: none;
}
.mod-workflow-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1rem; padding: .9rem 1.3rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--card-shadow);
}
.mod-wf-info { display: flex; flex-direction: column; gap: .2rem; }
.mod-wf-step {
  font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand-strong);
}
@media (prefers-color-scheme: dark) { .mod-wf-step { color: var(--brand); } }
.mod-wf-title { font-size: .88rem; font-weight: 600; color: var(--muted); }
.mod-next-btn {
  cursor: pointer; display: inline-flex; align-items: center; gap: .5em;
  font-family: inherit; border-radius: var(--r-sm); font-size: .84rem; font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .mod-strip {
    display: flex; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    gap: .7rem; padding-bottom: .6rem;
    scrollbar-width: none;
  }
  .mod-strip::-webkit-scrollbar { display: none; }
  .mod-chip {
    flex: 0 0 195px; scroll-snap-align: start;
    font-size: .84rem; padding: .7rem .85rem;
  }
  .mod-workflow-bar { flex-direction: column; align-items: stretch; gap: .75rem; text-align: center; }
  .mod-wf-info { align-items: center; }
  .mod-next-btn { width: 100%; justify-content: center; }
}

/* dashboard: 5-module bars + result icons */
.bars.mods { justify-content: center; gap: clamp(.9rem, 2.4vw, 1.8rem); }
.bars.mods .b { flex: 0 1 54px; }
.bars.mods .b i { max-width: 34px; }
.bars.mods .b b { font-size: .7rem; }
.mod-ic { flex: none; width: 46px; height: 48px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; }
.mod-ic svg { width: 22px; height: 22px; }
@media (prefers-color-scheme: dark) { .mod-ic { color: var(--brand); } }

/* analysis mock */
.analyze { display: grid; grid-template-columns: .85fr 44px 1.35fr; gap: .9rem; padding: 1.2rem; align-items: stretch; }
.an-doc { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 14px; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.an-doct { font-size: .78rem; font-weight: 800; color: var(--ink); line-height: 1.4; }
.ln { height: 8px; border-radius: 4px; background: var(--line); }
.an-file { margin-top: auto; font-size: .68rem; font-weight: 700; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; align-self: flex-start; white-space: nowrap; }
.an-arrow { display: grid; place-items: center; }
.an-arrow .ar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; border: 1px solid var(--line); }
.an-arrow svg { width: 20px; height: 20px; }
@media (prefers-color-scheme: dark) { .an-arrow .ar { color: var(--brand); } }
.an-out { display: flex; flex-direction: column; gap: .55rem; }
.an-row { display: flex; gap: .7rem; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: .55rem .75rem; }
.an-ck { flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--brand-tint); display: grid; place-items: center; margin-top: 1px; }
.an-ck svg { width: 13px; height: 13px; stroke: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .an-ck svg { stroke: var(--brand); } }
.an-row b { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .an-row b { color: var(--brand); } }
.an-row span { font-size: .8rem; font-weight: 500; color: var(--body); line-height: 1.45; }
.an-foot { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .1rem; }
.chip { font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; white-space: nowrap; }
.chip.hot { color: var(--accent-ink); background: var(--accent-soft); border-color: var(--accent); }
@media (max-width: 640px) { .analyze { grid-template-columns: 1fr; } .an-arrow .ar { transform: rotate(90deg); } }

/* rpp mock */
.rppdoc { padding: 1.1rem 1.2rem 1.2rem; }
.ai-badge { font-size: .72rem; font-weight: 800; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 999px; padding: .4em 1em; white-space: nowrap; }
.rd-head { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 14px; padding: .9rem 1.1rem; margin-bottom: .8rem; }
.rd-head b { display: block; color: var(--ink); font-size: .98rem; }
.rd-head span { font-size: .78rem; color: var(--muted); font-weight: 500; }
.rd-sec { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: .75rem .95rem; margin-bottom: .55rem; }
.rd-sec b { display: block; font-size: .78rem; font-weight: 800; color: var(--brand-strong); letter-spacing: .02em; margin-bottom: .5rem; }
@media (prefers-color-scheme: dark) { .rd-sec b { color: var(--brand); } }
.rd-sec .ln { margin-bottom: .4rem; }
.rd-sec .ln:last-child { margin-bottom: 0; }
.rd-act { display: flex; gap: .6rem; margin-top: .9rem; }
.rd-btn { font-size: .8rem; font-weight: 700; color: #fff; background: var(--brand); border-radius: 10px; padding: .6em 1.2em; }
.rd-btn.ghost { color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { .rd-btn { color: #06271c; } }

/* quiz mock */
.qz { padding: 1.1rem 1.2rem 1.2rem; }
.qz-q { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: .8rem; line-height: 1.5; }
.qz-q b { color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .qz-q b { color: var(--brand); } }
.qz-opts { display: grid; gap: .5rem; }
.qz-opts span { display: flex; align-items: center; gap: .6rem; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 11px; padding: .6em .9em; font-size: .84rem; font-weight: 600; color: var(--body); }
.qz-opts span.ok { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-ink); font-weight: 800; }
.qz-opts .ck { flex: none; width: 20px; height: 20px; border-radius: 7px; background: var(--brand); display: grid; place-items: center; margin-left: auto; }
.qz-opts .ck svg { width: 12px; height: 12px; stroke: #fff; }
.qz-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .9rem; }
.qz-more { margin-top: .8rem; font-size: .8rem; color: var(--muted); font-weight: 600; border-top: 1px dashed var(--line); padding-top: .8rem; }

/* slide mock */
.sld { padding: 1.1rem 1.2rem 1.2rem; }
.sld-main { border-radius: 14px; background: linear-gradient(135deg, var(--brand-tint), var(--surface-2)); border: 1px solid var(--line); padding: 1.6rem 1.4rem; text-align: center; position: relative; overflow: hidden; }
.sld-main b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.sld-main > span { display: block; font-size: .82rem; color: var(--muted); font-weight: 500; margin-top: .3em; }
.sld-main .sld-no { position: absolute; right: .8rem; bottom: .6rem; font-size: .7rem; font-weight: 700; color: var(--muted); margin-top: 0; }
.sld-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .55rem; margin-top: .8rem; }
.sld-t { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 10px; padding: .55rem .4rem; text-align: center; font-size: .66rem; font-weight: 700; color: var(--muted); line-height: 1.4; }
.sld-t i { display: block; height: 26px; border-radius: 6px; background: var(--line); margin-bottom: .45rem; }
.sld-t.cur { border-color: var(--brand); color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .sld-t.cur { color: var(--brand); } }
@media (max-width: 560px) { .sld-thumbs { grid-template-columns: repeat(3, 1fr); } }

/* game mock */
.gm { padding: 1.1rem 1.2rem 1.2rem; }
.gm-q { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: .2rem; }
.gm-timer { height: 8px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-soft); overflow: hidden; margin: .5rem 0 .9rem; }
.gm-timer i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.gm-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.gm-opts span { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .82rem; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: .7em .7em; color: var(--body); }
.gm-opts span.ok { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-ink); }
.gm-opts .ck { flex: none; width: 20px; height: 20px; border-radius: 7px; background: var(--brand); display: grid; place-items: center; }
.gm-opts .ck svg { width: 12px; height: 12px; stroke: #fff; }
.gm-board { margin-top: 1rem; display: flex; flex-direction: column; gap: .45rem; }
.gm-row { display: flex; align-items: center; gap: .8rem; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 11px; padding: .5em .9em; font-size: .84rem; }
.gm-row b { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; font-size: .78rem; font-weight: 800; flex: none; }
@media (prefers-color-scheme: dark) { .gm-row b { color: var(--brand); } }
.gm-row:first-child b { background: var(--accent-soft); color: var(--accent-ink); }
.gm-row span { font-weight: 600; color: var(--ink); }
.gm-row i { margin-left: auto; font-style: normal; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

/* hero float cards: AI prompt + game */
.ai-prompt { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: .65rem .8rem; font-size: .8rem; font-weight: 500; color: var(--body); margin-bottom: .7rem; line-height: 1.5; }
.ai-steps { display: flex; flex-direction: column; gap: .45rem; }
.ai-step { display: flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 600; color: var(--ink); }
.ai-step .ck2 { flex: none; width: 20px; height: 20px; border-radius: 7px; background: var(--brand-tint); display: grid; place-items: center; }
.ai-step .ck2 svg { width: 11px; height: 11px; stroke: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .ai-step .ck2 svg { stroke: var(--brand); } }
.gmf-head { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: .7rem; }
.gmf-head .live { font-size: .68rem; font-weight: 800; color: #fff; background: var(--brand); padding: .25em .8em; border-radius: 999px; }
.gmf-q { font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: .6rem; }
.gmf-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.gmf-opts span { font-size: .74rem; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 10px; padding: .6em .5em; text-align: center; color: var(--body); }
.gmf-opts .ok { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-ink); font-weight: 800; }
.gmf-score { margin-top: .8rem; font-size: .78rem; color: var(--muted); font-weight: 600; text-align: center; }
.gmf-score b { color: var(--ink); font-size: .92rem; }

/* ============ DOCS BAND ============ */
.band { background: var(--band-bg); color: var(--band-ink); position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40rem 22rem at 85% -4rem, rgba(233,165,27,.16), transparent 60%);
}
.band .section-head h2 { color: var(--band-ink); }
.band .lede { color: var(--band-muted); }
.band-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.6rem); align-items: center; }
@media (max-width: 940px) { .band-grid { grid-template-columns: 1fr; } }
.band .checks li { font-weight: 500; }
.band .checks .ck { background: rgba(255,255,255,.1); }
.band .checks .ck svg { stroke: var(--accent); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } }
.g-item { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--band-line); cursor: zoom-in; padding: 0; margin: 0; background: var(--band-card); font: inherit; color: inherit; }
.g-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; transition: transform .5s ease; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.03); }
.g-cap { position: absolute; inset: auto 0 0 0; padding: 2.2rem .95rem .8rem; background: linear-gradient(to top, rgba(4,12,9,.88), transparent); text-align: left; }
.g-cap b { display: block; font-size: .88rem; color: #fff; font-weight: 700; line-height: 1.35; }
.g-cap span { font-size: .72rem; color: rgba(255,255,255,.78); font-weight: 500; }
.g-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,12,9,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1020px, 100%); max-height: 88vh; display: flex; flex-direction: column; gap: .9rem; }
.lightbox img { max-height: 74vh; width: auto; max-width: 100%; border-radius: 14px; margin: 0 auto; }
.lightbox figcaption { color: #fff; text-align: center; }
.lightbox figcaption b { display: block; font-size: 1.02rem; }
.lightbox figcaption span { color: rgba(255,255,255,.7); font-size: .86rem; }
.lightbox .lb-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox .lb-close svg { width: 20px; height: 20px; }

/* ============ PRICING ============ */
.toggle { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px; gap: 2px; }
.toggle button { border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: .92rem; padding: .55em 1.3em; border-radius: 999px; cursor: pointer; transition: all .2s ease; }
.toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(14,33,26,.12); }
.toggle .save { font-size: .72rem; color: var(--brand-strong); background: var(--brand-tint); padding: .2em .6em; border-radius: 999px; margin-left: .4em; font-weight: 800; }
@media (prefers-color-scheme: dark) { .toggle .save { color: var(--brand); } }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; align-items: stretch; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.7rem 1.7rem 1.9rem; display: flex; flex-direction: column; position: relative; }
.price.feat { border: 2px solid var(--brand); box-shadow: var(--card-shadow); }
.price .ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .45em 1.1em; border-radius: 999px; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .price .ribbon { color: #06271c; } }
.price .pn { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.price .pd { font-size: .86rem; color: var(--muted); margin: .2em 0 1.1em; }
.price .pr { margin: .4em 0 1.2em; min-height: 74px; }
.price .pr .amt { font-family: var(--font-display); font-size: 2.35rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.price .pr .amt small { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--muted); }
.price .pr .per { font-size: .82rem; color: var(--muted); font-weight: 500; }
.price .pr .old { font-size: .86rem; color: var(--muted); text-decoration: line-through; display: block; min-height: 1.3em; }
.price ul { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: .62em; font-size: .93rem; }
.price ul li { display: flex; gap: .65em; align-items: flex-start; }
.price ul li svg { flex: none; width: 1.05em; height: 1.05em; margin-top: .25em; stroke: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .price ul li svg { stroke: var(--brand); } }
.price ul li.dim { color: var(--muted); }
.price ul li.dim svg { stroke: var(--muted); }
.price .btn { margin-top: auto; width: 100%; }
.price-foot { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 1.6rem; }
@media (max-width: 920px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } .price.feat { order: -1; } }

/* ============ TESTIMONIALS ============ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.testi .q { font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; color: var(--ink); line-height: 1.5; flex: 1; }
.testi .q::before { content: "“"; color: var(--accent); font-size: 2.2em; line-height: 0; display: block; margin: .35em 0 .12em -.06em; }
.testi .who { display: flex; gap: .8rem; align-items: center; }
.testi .who .avatar { width: 44px; height: 44px; font-size: .85rem; }
.testi .who b { display: block; font-size: .92rem; color: var(--ink); }
.testi .who span { font-size: .78rem; color: var(--muted); }
@media (max-width: 920px) { .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ============ FAQ ============ */
.faq-wrap { max-width: 760px; margin-inline: auto; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem .2rem; text-align: left; font-size: 1.04rem; font-weight: 700; color: var(--ink); font-family: var(--font-body); }
.faq-q .fx { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .25s ease, background .25s ease; color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .faq-q .fx { color: var(--brand); } }
.faq-q .fx svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .fx { transform: rotate(45deg); background: var(--brand-tint); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a p { padding: 0 .2rem 1.4rem; color: var(--muted); font-size: .98rem; max-width: 62ch; margin: 0; }

/* ============ CTA BAND ============ */
.cta-panel { background: var(--brand); border-radius: var(--r-xl); padding: clamp(2.4rem, 5vw, 4rem); position: relative; overflow: hidden; text-align: center; color: #fff; }
.cta-panel::before {
  content: ""; position: absolute; width: 34rem; height: 34rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,165,27,.35), transparent 65%);
  right: -10rem; top: -16rem; pointer-events: none;
}
.cta-panel h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .4em; position: relative; }
.cta-panel p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 1.8em; position: relative; }
.cta-panel .row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-panel .btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.cta-panel .btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.6); }
.cta-note { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 1.4em; position: relative; margin-bottom: 0; }

/* ============ FOOTER ============ */
footer { border-top: 1px solid var(--line); padding: 3.2rem 0 1.8rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot-brand p { font-size: .92rem; color: var(--muted); max-width: 34ch; margin-top: .8em; }
.foot-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 1em; font-weight: 800; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; }
.foot-col a { text-decoration: none; color: var(--body); font-size: .94rem; font-weight: 500; }
.foot-col a:hover { color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .foot-col a:hover { color: var(--brand); } }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); font-size: .85rem; color: var(--muted); }
.foot-bottom .links { display: flex; gap: 1.4em; }
.foot-bottom a { color: var(--muted); text-decoration: none; }
.foot-bottom a:hover { color: var(--ink); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ============ MOTION ============ */
/* Semua konten langsung ter-render dan terlihat saat halaman dibuka — TIDAK ada
   konten yang disembunyikan di balik animasi scroll-trigger. Kelas .rv / .rv.in /
   rv-d* hanya dipertahankan (sebagai no-op) agar markup lama tetap kompatibel. */
.rv, .rv.in { opacity: 1; transform: none; transition: none; }
.rv-d1, .rv-d2, .rv-d3 { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .site-head, .hero-cta, .float-wrap, .lightbox, .mobile-nav, .menu-btn { display: none !important; }
  .rv { opacity: 1; transform: none; }
}




/* ============ HERO (REDESIGNED 2-COLUMN AESTHETIC) ============ */
.hero {
  position: relative;
  padding: clamp(2.4rem, 4.5vw, 4rem) 0 clamp(2.8rem, 5vw, 4.5rem);
  background: radial-gradient(1000px 480px at 50% -40px, rgba(10, 107, 77, 0.09), transparent 75%),
              radial-gradient(700px 400px at 95% 15%, rgba(233, 165, 27, 0.08), transparent 65%),
              var(--bg);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.8rem);
  align-items: center;
}
.hero-copy {
  text-align: left;
  max-width: 620px;
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: .6em;
}
.hero-copy .lede {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1.6em;
}
.hero-cta {
  display: flex;
  gap: .85rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.hero-trust {
  display: flex;
  gap: 1.2em;
  align-items: center;
  flex-wrap: wrap;
  font-size: .86rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: .6rem;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: .4em;
}
.hero-trust svg {
  width: 1.05em;
  height: 1.05em;
  stroke: var(--brand);
}
.social-proof {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
}
.social-proof .avatars {
  display: flex;
}
.social-proof .av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  background: var(--brand);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-left: -8px;
}
.social-proof .av:first-child { margin-left: 0; }
.social-proof .av.a2 { background: var(--accent); color: #fff; }
.social-proof .av.a3 { background: #2563eb; }
.social-proof .av.a4 { background: #9333ea; }
.social-proof-text {
  font-size: .84rem;
  line-height: 1.35;
  color: var(--body);
}
.social-proof-text b {
  color: var(--ink);
  display: block;
}
.social-proof-text span {
  color: var(--muted);
  font-size: .78rem;
}

/* hero product visual */
.hero-visual {
  position: relative;
  width: 100%;
}
.dash {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: 0 16px 48px -12px rgba(10, 107, 77, 0.15), 0 4px 16px -4px rgba(14, 33, 26, 0.08);
  overflow: hidden;
  position: relative;
}
.dash-bar {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .75rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dots i:nth-child(1) { background: #ff5f56; }
.dots i:nth-child(2) { background: #ffbd2e; }
.dots i:nth-child(3) { background: #27c93f; }
.url {
  flex: 1;
  max-width: 380px;
  margin-inline: auto;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand-strong);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .28em 1em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: .02em;
}
.dash-body {
  display: grid;
  grid-template-columns: 60px 1fr;
  min-height: 420px;
}
.dash-side {
  border-right: 1px solid var(--line-soft);
  padding: .9rem .5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  align-items: center;
  background: var(--surface-2);
}
.dash-side .m {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all .15s ease;
}
.dash-side .m svg { width: 18px; height: 18px; }
.dash-side .m.on {
  background: var(--brand-tint);
  color: var(--brand-strong);
  border-color: var(--line);
}
.dash-side .sp { flex: 1; }
.dash-main {
  padding: clamp(1rem, 2vw, 1.4rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
}
.dash-top h3 {
  margin: 0;
  font-size: 1.1rem;
}
.dash-top .sub {
  font-size: .8rem;
  color: var(--muted);
}
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .7rem;
}
.stat {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: .75rem .85rem;
}
.stat .k {
  font-size: .68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.stat .v {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin: 2px 0;
}
.stat .t {
  font-size: .72rem;
  color: var(--brand-strong);
  font-weight: 600;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: .8rem;
  flex: 1;
}
.panel {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: .85rem 1rem;
}
.panel .ph {
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel .ph .tag {
  font-size: .68rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: .15em .65em;
  border-radius: 999px;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  padding-top: .3rem;
}
.bars .b {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
  min-width: 0;
}
.bars .b i {
  width: 100%;
  max-width: 24px;
  border-radius: 5px 5px 3px 3px;
  background: var(--brand);
  opacity: .88;
  display: block;
}
.bars .b b {
  font-size: .62rem;
  font-weight: 600;
  color: var(--muted);
}
.bars .b.cur i {
  background: var(--accent);
}

.ev-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.ev {
  display: flex;
  gap: .65rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: .5rem .65rem;
}
.ev .mod-ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ev .mod-ic svg { width: 15px; height: 15px; }
.ev .tt {
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.ev .tm {
  font-size: .7rem;
  color: var(--muted);
}

/* Enhanced Floating cards with subtle animations */
.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 12px 30px -8px rgba(10, 107, 77, 0.22);
  padding: .85rem 1rem;
  z-index: 4;
  backdrop-filter: blur(8px);
}
.float-rpp {
  width: 215px;
  right: -12px;
  top: -18px;
  transform: rotate(2deg);
}
.float-rpp .fp-head {
  font-size: .78rem;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .4rem;
}
.float-rpp .ai-badge {
  font-size: .62rem;
  font-weight: 800;
  background: var(--brand);
  color: #fff;
  padding: .15em .55em;
  border-radius: 999px;
}
.float-rpp .ai-prompt {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.35;
  background: var(--surface-2);
  padding: .4em .6em;
  border-radius: 6px;
  margin-bottom: .45rem;
}
.float-rpp .fp-cap {
  font-size: .72rem;
  color: var(--brand-strong);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .35em;
}

.float-game {
  width: 235px;
  left: -14px;
  bottom: -22px;
  transform: rotate(-2deg);
}
.float-game .gmf-head {
  font-size: .78rem;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .35rem;
}
.float-game .live {
  font-size: .62rem;
  font-weight: 800;
  background: #e11d48;
  color: #fff;
  padding: .15em .6em;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.float-game .live::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
}
.float-game .gmf-score {
  font-size: .74rem;
  color: var(--muted);
  line-height: 1.35;
}
.float-game .gmf-score b {
  color: var(--accent-ink);
  font-weight: 800;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-copy {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .social-proof {
    justify-content: center;
  }
  .float-rpp { right: 8px; top: -14px; }
  .float-game { left: 8px; bottom: -16px; }
}

@media (max-width: 680px) {
  .float-rpp, .float-game {
    position: static;
    transform: none;
    width: 100%;
    margin-top: .8rem;
  }
  .dash-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .dash-side { display: none; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
}
