/* Make Sense Studio — tema gelap (cerita) + section terang (informasi). Lihat DESIGN.md */
:root {
  --bg: #0A0A0B;
  --surface: #151517;
  --surface-2: #1D1D20;
  --fg: #F5F5F4;
  --muted: #9A9AA1;
  --line: #26262A;
  --accent: #FF5A1F;
  --accent-2: #E5470F;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 12px; --r: 22px; --r-lg: 32px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-bg: rgba(10,10,11,.72);
  --float-bg: rgba(29,29,32,.86);
  --soft: #D4D4D8;
  --ok: #7DD3A0;
  --warn: #F5C26B;
  --ph: #FFB08F;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #F6F6F3;
  --surface: #FFFFFF;
  --surface-2: #ECECE8;
  --fg: #0A0A0B;
  --muted: #5E5E64;
  --line: #E2E2DD;
  --header-bg: rgba(246,246,243,.8);
  --float-bg: rgba(255,255,255,.9);
  --soft: #2A2A2E;
  --ok: #15803D;
  --warn: #A16207;
  --ph: #B8411D;
  color-scheme: light;
}
[data-theme="light"] .light { --bg: #ECECE8; --surface: #FFFFFF; --line: #DADAD4; }
.light {
  --bg: #F4F4F2;
  --surface: #FFFFFF;
  --surface-2: #EBEBE8;
  --fg: #0A0A0B;
  --muted: #5E5E64;
  --line: #DEDEDA;
  background: var(--bg);
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
.display { font-size: clamp(46px, 8vw, 104px); font-weight: 800; letter-spacing: -0.045em; line-height: .98; }
.h2 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 800; letter-spacing: -0.04em; }
.h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.dot { color: var(--accent); }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.label { font-size: 13px; font-weight: 600; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; background: var(--surface); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0; font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); }
.btn-ghost { background: var(--surface-2); color: var(--fg); }
.btn-ghost:hover { background: var(--line); }
.link { font-weight: 700; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.link:hover { border-color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--header-bg); view-transition-name: site-header; -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, transform .45s var(--ease); color: var(--fg); }
.site-header.hide { transform: translateY(-100%); }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; height: 68px; gap: 20px; }
.theme-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--fg); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .4s var(--ease), background .2s; }
.theme-btn:hover { transform: rotate(20deg); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .moon { display: none; }
[data-theme="light"] .theme-btn .sun { display: none; }
[data-theme="light"] .theme-btn .moon { display: block; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.brand-dot { width: .34em; height: .34em; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #FF9A6B, var(--accent) 45%, #B83A0C 100%); display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-cta { min-height: 40px; padding: 0 18px; font-size: 14px; background: var(--fg); color: var(--bg) !important; }
.menu-btn { display: none; background: var(--surface-2); color: var(--fg); border: 0; border-radius: 999px; height: 40px; padding: 0 18px; font: 700 14px var(--font); cursor: pointer; }

/* Hero */
.hero { position: relative; padding: clamp(64px, 10vw, 120px) 0 0; text-align: center; overflow: hidden; }
.hero .display { max-width: 12em; margin: 0 auto 28px; }
.hero .lead { margin: 0 auto; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-stage { position: relative; height: clamp(420px, 52vw, 620px); margin-top: 56px; transform: perspective(1600px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .8s var(--ease); transform-style: preserve-3d; }
.hero-sphere { position: absolute; left: calc(50% + 110px); bottom: 368px; width: clamp(84px, 8vw, 112px); height: auto; aspect-ratio: 1; z-index: 3; filter: drop-shadow(0 18px 18px rgba(0,0,0,.28)); opacity: 0; transform: translateY(-120vh); animation: hero-drop 1.2s cubic-bezier(.3,0,.4,1) .9s forwards; }
@keyframes hero-drop { 0% { opacity: 1; transform: translateY(-60vh); } 55% { transform: translateY(0) scale(1.12, .88); } 70% { transform: translateY(-38px) scale(.96, 1.04); } 85% { transform: translateY(0) scale(1.04, .96); } 93% { transform: translateY(-8px); } 100% { opacity: 1; transform: none; } }
.device { position: absolute; bottom: 0; will-change: transform, opacity; }
.device-browser { left: 50%; width: min(860px, 92%); transform: translateX(-50%); z-index: 1; }
.device-phone-hero { left: calc(50% + min(260px, 30vw)); bottom: -60px; z-index: 2; }
.device-card-hero { left: calc(50% - min(430px, 46vw)); bottom: 70px; z-index: 2; width: 260px; }
.stage-note { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 4; }

/* Intro animation */
.intro { opacity: 0; transform: translateY(40px); animation: rise 1s var(--ease) forwards; }
.intro.d1 { animation-delay: .15s; } .intro.d2 { animation-delay: .3s; } .intro.d3 { animation-delay: .45s; } .intro.d4 { animation-delay: .6s; }
.device-browser.intro { transform: translate(-50%, 60px); animation-name: rise-x; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-x { to { opacity: 1; transform: translate(-50%, 0); } }

/* Split words */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 60ms); }
[data-split].in .w > span { transform: none; }

/* Browser mockup */
.browser { background: #111113; border: 1px solid #2A2A2E; border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 -30px 80px rgba(0,0,0,.5); text-align: left; }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid #222226; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2E2E33; }
.browser-url { flex: 1; max-width: 300px; margin: 0 auto; height: 24px; border-radius: 6px; background: #1C1C1F; font-size: 11px; color: #7A7A80; display: flex; align-items: center; justify-content: center; }
.site-mock { background: #FBF6EE; color: #2B1D12; padding: 34px 40px 0; height: 330px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.site-mock .sm-nav { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; margin-top: -14px; }
.site-mock .sm-nav span:last-child { opacity: .55; font-weight: 600; }
.site-mock h4 { margin: 0 0 12px; font-size: 34px; line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.site-mock p { margin: 0 0 18px; font-size: 13px; opacity: .7; line-height: 1.5; }
.sm-btn { display: inline-block; background: #2B1D12; color: #FBF6EE; font-size: 12px; font-weight: 700; padding: 10px 16px; border-radius: 999px; }
.sm-photo { border-radius: 14px 14px 0 0; background: radial-gradient(circle at 50% 60%, #E9B97A 0 26%, transparent 27%), radial-gradient(circle at 36% 48%, #D79A55 0 16%, transparent 17%), radial-gradient(circle at 64% 44%, #C98843 0 13%, transparent 14%), linear-gradient(160deg, #F1DFC4, #E2C49C); }

/* Phone mockup */
.phone { width: 270px; height: 560px; border-radius: 46px; background: #0C0C0E; border: 1px solid #2E2E33; padding: 10px; box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 0 0 2px #19191C; position: relative; text-align: left; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 20px; background: #000; z-index: 5; }
.screen { position: absolute; inset: 10px; border-radius: 37px; overflow: hidden; background: #fff; color: #111; font-size: 12px; }
.screen-in { padding: 52px 16px 16px; height: 100%; }
.scr-title { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.scr-sub { font-size: 11px; color: #777; }

/* IG profile screen */
.ig-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ig-ava { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #E2C49C, #B9773A); flex: none; }
.ig-stats { display: flex; gap: 12px; font-size: 10px; color: #666; }
.ig-stats b { display: block; font-size: 13px; color: #111; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 12px; }
.ig-grid span { aspect-ratio: 4 / 5; border-radius: 3px; }
.ig-grid span:nth-child(6n+1) { background: linear-gradient(160deg, #F1DFC4, #D79A55); }
.ig-grid span:nth-child(6n+2) { background: #2B1D12; }
.ig-grid span:nth-child(6n+3) { background: radial-gradient(circle at 50% 55%, #E9B97A 0 30%, #FBF6EE 31%); }
.ig-grid span:nth-child(6n+4) { background: #FF5A1F; }
.ig-grid span:nth-child(6n+5) { background: linear-gradient(200deg, #E2C49C, #8A5A2B); }
.ig-grid span:nth-child(6n+6) { background: #EFE7DA; }

/* Report rows */
.rep-big { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; margin: 4px 0 2px; }
.rep-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid #EEE; font-size: 12px; }
.rep-row b { font-size: 13px; }
.rep-bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin: 14px 0; }
.rep-bars span { flex: 1; background: #EDEDED; border-radius: 4px 4px 2px 2px; height: var(--h); transform-origin: bottom; }
.rep-bars span:last-child { background: #FF5A1F; }
.up { color: #16A34A; font-weight: 700; }

/* Calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 8px; }
.cal b { font-size: 9px; color: #999; text-align: center; font-weight: 600; }
.cal span { aspect-ratio: 1; border-radius: 7px; background: #F3F3F3; font-size: 9px; color: #888; display: flex; align-items: flex-start; justify-content: flex-start; padding: 3px 4px; position: relative; }
.cal span.p::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #FF5A1F; }
.cal span.r::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2B1D12; }
.legend { display: flex; gap: 12px; margin-top: 12px; font-size: 10px; color: #666; }
.legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }

/* Landing screen */
.lp { background: #FBF6EE; color: #2B1D12; height: 100%; display: flex; flex-direction: column; }
.lp .screen-in { flex: 1; }
.lp-photo { height: 190px; border-radius: 16px; margin: 6px 0 14px; background: radial-gradient(circle at 50% 60%, #E9B97A 0 26%, transparent 27%), radial-gradient(circle at 34% 46%, #D79A55 0 15%, transparent 16%), linear-gradient(160deg, #F1DFC4, #E2C49C); }
.lp h5 { margin: 0 0 6px; font-size: 22px; line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; }
.lp p { margin: 0; font-size: 11px; opacity: .7; }
.lp-cta { margin: 0 14px 22px; background: #25D366; color: #fff; text-align: center; font-weight: 800; padding: 14px; border-radius: 999px; font-size: 13px; }

/* Card (hero side) */
.mini-card { background: #fff; color: #111; border-radius: 20px; padding: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.5); text-align: left; }

/* Marquee */
.marquee { padding: 40px 0 10px; display: grid; overflow: hidden; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { display: flex; width: max-content; gap: 12px; animation: slide 48s linear infinite; }
.marquee-row.rev { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.chip-pill { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 15px; white-space: nowrap; }
.chip-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.sec { padding: clamp(88px, 12vw, 160px) 0; position: relative; }
.sec-head { margin-bottom: 64px; }
.sec-head .lead { margin-top: 20px; }

/* Sticky story */
.story { position: relative; height: 480vh; }
.story-sticky { position: sticky; top: 0; height: 100vh; padding-top: 48px; display: flex; flex-direction: column; justify-content: center; }
.story-head { text-align: center; margin-bottom: 36px; }
.story-grid { display: grid; grid-template-columns: 220px 1fr 340px; align-items: center; gap: 40px; }
.tabs { display: grid; gap: 8px; justify-items: start; position: relative; isolation: isolate; }
.tab-pill { position: absolute; left: 0; top: 0; z-index: -1; border-radius: 999px; background: var(--fg); transition: transform .55s var(--ease), width .55s var(--ease), height .55s var(--ease); pointer-events: none; }
.tab { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--surface); color: var(--muted); font: 700 15px var(--font); cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease); }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { background: transparent; color: var(--bg); }
.tabs.no-pill .tab[aria-selected="true"] { background: var(--fg); }
.tab-bar { width: 3px; height: 16px; border-radius: 2px; background: currentColor; opacity: .3; }
.story-phone { position: relative; justify-self: center; }
.story-phone .phone { height: min(560px, calc(100vh - 260px)); min-height: 460px; }
.story-phone .screen { opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.story-phone .screen.active { opacity: 1; transform: none; }
.story-phone .tag { position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); white-space: nowrap; }
.story-text { position: relative; min-height: 280px; }
.story-copy { position: absolute; inset: 0; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.story-copy.active { opacity: 1; transform: none; pointer-events: auto; }
.big-num { font-size: clamp(64px, 8vw, 104px); font-weight: 800; letter-spacing: -0.06em; line-height: .9; }
.big-num small { font-size: 20px; letter-spacing: -0.02em; margin-left: 8px; font-weight: 700; }
.story-copy p { color: var(--muted); margin: 20px 0 18px; }
.progress { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; gap: 6px; }
.progress span { width: 28px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.progress span::after { content: ""; position: absolute; inset: 0; background: var(--fg); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; position: relative; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .3s; }
a.tile:hover { transform: translateY(-6px); border-color: #3A3A40; }
.tile-7 { grid-column: span 7; } .tile-5 { grid-column: span 5; } .tile-6 { grid-column: span 6; } .tile-4 { grid-column: span 4; } .tile-8 { grid-column: span 8; } .tile-12 { grid-column: span 12; }
.tile p { color: var(--muted); margin: 10px 0 0; max-width: 30em; }
.tile-img { margin: auto -32px -32px; padding-top: 12px; }
.tile-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 55%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 55%, #000 55%, transparent 100%); transition: transform 1s var(--ease); }
a.tile:hover .tile-img img { transform: scale(1.05); }
.tile-go { margin-top: 18px; font-weight: 700; font-size: 14px; }
.tile-no { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 14px; }

/* Report section */
.report { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.report-card { background: #fff; color: #111; border-radius: var(--r-lg); padding: 32px; box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.report-card .tag { background: #F4F4F2; border-color: #E5E5E2; color: #666; }
.report-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.report-num { font-size: clamp(44px, 5vw, 64px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin: 8px 0 4px; }
.report-card .rep-bars { height: 160px; margin: 28px 0 20px; gap: 10px; }
.report-card .rep-bars span { transform: scaleY(0); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.report-card.in .rep-bars span { transform: scaleY(1); }
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.report-grid div { background: #F6F6F4; border-radius: 14px; padding: 14px; }
.report-grid b { display: block; font-size: 18px; letter-spacing: -0.02em; }
.report-grid span { font-size: 12px; color: #777; }

/* Process (light) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; padding-top: 44px; list-style: none; margin: 0; }
.process::before, .process::after { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line); }
.process::after { background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .2s linear; }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -44px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); z-index: 1; transition: background .3s, border-color .3s; }
.step.on::before { background: var(--accent); border-color: var(--accent); }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.step .label { display: block; margin-top: 14px; }

/* Trust */
.strike-list { list-style: none; margin: 28px 0 0; padding: 0; }
.strike-list li { font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.25; color: var(--muted); position: relative; width: fit-content; }
.strike-list li span { background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 58% / 0% .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .9s var(--ease); transition-delay: calc(var(--i) * 300ms + .2s); }
.strike-list.in li span { background-size: 100% .1em; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .ans { overflow: hidden; }
.faq .ans p { margin: 0 0 24px; color: var(--muted); max-width: 40em; }

/* Final CTA */
.final { text-align: center; padding: clamp(110px, 14vw, 200px) 0; }
.final .display { display: inline-block; }
.drop-dot { display: inline-block; width: .2em; height: .2em; margin-left: .04em; border-radius: 50%; vertical-align: baseline; background: radial-gradient(circle at 32% 30%, #FFA27A, var(--accent) 45%, #A9360B 100%); box-shadow: 0 .02em .06em rgba(255,90,31,.35); transform: translateY(-3em); opacity: 0; }
.final.in .drop-dot { animation: drop 1.1s cubic-bezier(.3,.0,.4,1) .35s forwards; }
@keyframes drop { 0% { transform: translateY(-3em); opacity: 1; } 55% { transform: translateY(0) scale(1.15, .85); } 70% { transform: translateY(-.6em) scale(.95, 1.05); } 85% { transform: translateY(0) scale(1.05, .95); } 100% { transform: none; opacity: 1; } }

/* Floating CTA */
.float-cta { position: fixed; left: 50%; bottom: 20px; z-index: 55; display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--float-bg); box-shadow: 0 10px 30px rgba(0,0,0,.18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); transform: translate(-50%, 140%); transition: transform .5s var(--ease); }
.float-cta.show { transform: translate(-50%, 0); }
.float-cta .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
.float-cta .btn-ghost { background: transparent; color: var(--fg); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* Inner pages */
.page-head { padding: clamp(64px, 9vw, 120px) 0 56px; text-align: center; }
.page-head .display { font-size: clamp(44px, 7vw, 92px); margin: 14px auto 24px; max-width: 12em; }
.page-head .lead { margin: 0 auto; }
.crumb { font-size: 14px; color: var(--muted); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--fg); }
.toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.toc a { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 700; transition: background .2s, color .2s; }
.toc a:hover { background: var(--fg); color: var(--bg); }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding: 48px; margin-bottom: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: 90px; }
.detail-side { position: sticky; top: 100px; }
.detail-side .tile-no { margin: 0 0 12px; }
.detail-side .h2 { font-size: clamp(34px, 4vw, 52px); }
.detail-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 16px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 55%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 55%, #000 55%, transparent 100%); }
.detail-body .lead { margin: 0 0 32px; color: var(--fg); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cols .h3 { font-size: 16px; color: var(--muted); }
.list { list-style: none; margin: 12px 0 0; padding: 0; }
.list li { padding: 12px 0; border-top: 1px solid var(--line); }
.fit { margin-top: 32px; padding: 20px 22px; background: var(--surface-2); border-radius: var(--r-sm); }
.fit p { margin: 6px 0 0; color: var(--muted); }
.about-story { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.about-story p { font-size: 19px; margin: 0 0 1.2em; color: var(--soft); }
.quote { font-size: clamp(32px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; max-width: 16em; margin: 0 auto; text-align: center; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; padding-bottom: 120px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; }
.form { display: grid; gap: 22px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 54px; padding: 14px 16px; font: 16px/1.4 var(--font); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6A6A70; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,90,31,.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { font-size: 14px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; background: var(--bg); transition: all .2s; }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
.form-error { color: #FF8A5C; font-size: 14px; font-weight: 700; margin: 0; min-height: 1.4em; }
.contact-side dl { margin: 0; }
.contact-side dt { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 26px; }
.contact-side dt:first-child { margin-top: 0; }
.contact-side dd { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
.placeholder { background: rgba(255,90,31,.16); color: var(--ph); padding: 2px 8px; border-radius: 6px; font-size: .85em; font-weight: 600; }

/* Footer */
.site-footer { background: var(--bg); color: var(--fg); padding: 96px 0 40px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.foot-brand { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.site-footer h2 { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 10px 0; }
.site-footer a { text-decoration: none; color: var(--soft); transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Responsive */
@media (max-width: 1080px) {
  .story-grid { grid-template-columns: 180px 1fr 280px; gap: 24px; }
  .device-card-hero { display: none; }
}
@media (max-width: 900px) {
  .story { height: auto; }
  .story-sticky { position: static; height: auto; padding: 96px 0; }
  .story-grid { grid-template-columns: 1fr; gap: 28px; }
  .tabs { display: flex; overflow-x: auto; gap: 8px; justify-content: flex-start; padding: 2px 2px 6px; scrollbar-width: none; }
  .tab { flex: none; height: 44px; }
  .story-phone .phone { height: 540px; }
  .story-text { min-height: 0; display: grid; }
  .story-copy { position: static; grid-area: 1 / 1; text-align: center; }
  .story-copy p { max-width: 30em; margin-left: auto; margin-right: auto; }
  .progress { display: none; }
  .report, .faq-grid, .about-story, .contact-grid, .detail { grid-template-columns: 1fr; }
  .detail { padding: 28px; gap: 28px; }
  .detail-side { position: static; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .process::before, .process::after { display: none; }
  .tile-7, .tile-5, .tile-6, .tile-4, .tile-8 { grid-column: span 12; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .theme-btn { margin-left: auto; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; }
  .nav-links.open { display: flex; animation: rise .35s var(--ease); }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links li:last-child { border-top: 0; }
  .nav-links a { display: block; padding: 16px 0; font-size: 18px; }
  .nav-links .nav-cta { display: flex; margin-top: 16px; min-height: 50px; font-size: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-stage { height: 470px; margin-top: 56px; }
  .hero-sphere { width: 64px; left: auto; right: 12%; bottom: 312px; }
  .device-browser { width: 140%; }
  .device-phone-hero { left: 50%; margin-left: -110px; bottom: -150px; transform: scale(.82); transform-origin: bottom center; }
  .device-phone-hero.intro { animation-name: rise-s; }
  .site-mock { padding: 24px 22px 0; grid-template-columns: 1fr; height: 300px; }
  .site-mock h4 { font-size: 26px; }
  .sm-photo { display: none; }
  .process { grid-template-columns: 1fr; row-gap: 32px; padding-top: 0; }
  .step { padding-left: 36px; }
  .step::before { top: 2px; }
  .tile { padding: 24px; }
  .tile-img { margin: auto -24px -24px; }
  .report-card { padding: 22px; }
  .report-grid { grid-template-columns: 1fr; }
  .field-row, .cols { grid-template-columns: 1fr; }
  .panel { padding: 24px; }
  .foot-top { grid-template-columns: 1fr; }
  .float-cta { width: calc(100% - 24px); }
  .float-cta .btn { flex: 1; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@keyframes rise-s { to { opacity: 1; transform: scale(.82); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro, .reveal, .story-copy, .story-phone .screen { opacity: 1; transform: none; }
  .device-browser.intro { transform: translateX(-50%); }
  [data-split] .w > span { transform: none; }
  .marquee-row { animation: none; }
  .drop-dot { opacity: 1; transform: none; }
  .report-card .rep-bars span { transform: none; }
  .strike-list li span { background-size: 100% .1em; }
}

/* ===== Portofolio ===== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.filter { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 700 14px var(--font); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filter:hover { color: var(--fg); }
.filter[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.filter span { opacity: .55; margin-left: 4px; font-weight: 600; }

.case-feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 48px; margin-bottom: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.case-feature:nth-of-type(even) .case-visual { order: -1; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.case-feature h3, .case h3 { color: var(--fg); font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; }
.case h3 { font-size: 22px; }
.case-dl { margin: 24px 0 0; display: grid; gap: 14px; }
.case-dl div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.case-dl dt { font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 2px; }
.case-dl dd { margin: 0; color: var(--soft); }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.stack span { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; }
.status { color: var(--ok); border-color: currentColor; background: transparent; }
.status.wip { color: var(--warn); }
.case-visual { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .3s, opacity .4s var(--ease); }
.case:hover { transform: translateY(-4px); border-color: #3A3A40; }
.case p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }
.case .stack { margin-top: auto; padding-top: 20px; }
.case.hide, .case-feature.hide { display: none; }
.case.pop, .case-feature.pop { animation: rise .6s var(--ease); }

/* Mock: TV signage */
.tv { width: 92%; aspect-ratio: 16 / 9; background: #050506; border: 10px solid #1A1A1D; border-radius: 14px; position: relative; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.tv-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 6%; opacity: 0; animation: tvcycle 9s infinite; }
.tv-slide:nth-child(2) { animation-delay: 3s; } .tv-slide:nth-child(3) { animation-delay: 6s; }
.tv-slide b { font-size: clamp(18px, 2.4vw, 30px); letter-spacing: -0.04em; line-height: 1.05; max-width: 70%; }
.tv-slide small { font-size: 12px; opacity: .7; margin-top: 6px; }
@keyframes tvcycle { 0%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }
.tv-badge { position: absolute; top: 10px; right: 12px; font-size: 10px; font-weight: 700; color: #7DD3A0; z-index: 2; }
.tv-stand { width: 26%; height: 14px; background: #1A1A1D; margin: 0 auto; border-radius: 0 0 8px 8px; }
.screens-mini { position: absolute; left: 0; bottom: 4px; display: grid; gap: 6px; background: #fff; color: #111; padding: 12px; border-radius: 14px; font-size: 11px; width: 190px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.screens-mini div { display: flex; justify-content: space-between; gap: 8px; }
.on-dot { color: #16A34A; font-weight: 700; } .off-dot { color: #D97706; font-weight: 700; }

/* Mock: funnel */
.funnel { width: 100%; max-width: 460px; background: #fff; color: #111; border-radius: 22px; padding: 26px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.funnel-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; }
.funnel-row i { display: block; height: 26px; border-radius: 6px; background: #EDEDED; width: var(--w); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 120ms); }
.funnel-row:nth-last-child(2) i { background: var(--accent); }
.in .funnel-row i { transform: scaleX(1); }
.capi { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: #555; background: #F6F6F4; border-radius: 12px; padding: 10px 12px; }
.capi b { color: #111; }

/* Mock: materi grid in phone */
.asset-card { border-radius: 12px; overflow: hidden; background: #F4F4F2; margin-bottom: 10px; }
.asset-card .ph { height: 92px; }
.asset-card div { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-size: 11px; }
.asset-card button { all: unset; background: #111; color: #fff; font-size: 10px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }

@media (max-width: 1000px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .case-feature { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .case-feature:nth-of-type(even) .case-visual { order: 0; }
  .case-visual { min-height: 0; }
}
@media (max-width: 640px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-dl div { grid-template-columns: 1fr; gap: 4px; }
  .screens-mini { position: static; width: 100%; margin-top: 12px; }
  .case-visual { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .tv-slide { animation: none; } .tv-slide:first-child { opacity: 1; } .funnel-row i { transform: none; } }

/* ===== Mode terang: render bola diletakkan di "panggung" gelap ===== */
[data-theme="light"] .tile-img { margin: auto 0 0; padding-top: 24px; }
[data-theme="light"] .tile-img img, [data-theme="light"] .detail-img { -webkit-mask-image: none; mask-image: none; border-radius: 20px; background: #0A0A0B; }
[data-theme="light"] .report-card, [data-theme="light"] .mini-card, [data-theme="light"] .funnel { border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.08); }
[data-theme="light"] .phone, [data-theme="light"] .browser { box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.cut-dot { width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.3)); }
html.theming, html.theming * { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }

/* Layar chat AI & alur otomasi */
.bubble { max-width: 86%; padding: 10px 12px; border-radius: 16px; font-size: 11.5px; line-height: 1.45; margin-bottom: 8px; }
.bubble.me { margin-left: auto; background: #111; color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { background: #F1F1EF; color: #111; border-bottom-left-radius: 4px; }
.bubble.ai b { display: block; font-size: 10px; color: #FF5A1F; margin-bottom: 4px; }
.flow { margin-top: 6px; }
.flow-step { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; position: relative; padding-bottom: 16px; }
.flow-step::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: #EAEAEA; }
.flow-step:last-child::before { display: none; }
.flow-step i { width: 28px; height: 28px; border-radius: 50%; background: #111; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.flow-step:last-child i { background: #FF5A1F; }
.flow-step b { display: block; font-size: 12.5px; }
.flow-step span { font-size: 10.5px; color: #777; }

/* ===== UX: smooth scroll, transisi halaman, progress, gambar ===== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
.scroll-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; background: var(--accent); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }
html.js img[loading="lazy"] { opacity: 0; transition: opacity .7s ease, transform 1s var(--ease); }
html.js img[loading="lazy"].loaded { opacity: 1; }
.case { position: relative; }
.case .tile-go { display: inline-flex; align-items: center; gap: 8px; }
.case .tile-go::after { content: ""; width: 18px; height: 2px; background: currentColor; transition: width .35s var(--ease); }
a.case:hover .tile-go::after { width: 30px; }
.case-grid .case { will-change: transform; }
.form-ok { display: none; padding: 16px 18px; border-radius: 14px; background: rgba(21,128,61,.1); color: var(--ok); font-weight: 600; font-size: 15px; }
.form-ok.show { display: block; animation: rise .5s var(--ease); }
.form-ok a { color: inherit; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(229,71,15,.12); }
.btn-primary:hover, .btn-accent:hover { box-shadow: 0 10px 24px rgba(0,0,0,.16); }
@media (max-width: 900px) {
  .story-sticky { padding-top: 0; }
  .tab-pill { display: none; }
  .tab[aria-selected="true"] { background: var(--fg); }
  .story-phone { touch-action: pan-y; }
}
@media (max-width: 640px) {
  .site-footer { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sphere { opacity: 1; transform: none; }
  .hero-stage { transform: none; }
  html.js img[loading="lazy"] { opacity: 1; }
  @view-transition { navigation: none; }
}

/* Titik oranye menempel rapat ke huruf terakhir */
.display .dot, .h2 .dot, .quote .dot, .case-feature h3 .dot, .detail-side .h2 .dot { margin-left: -.05em; }
@media (max-width: 900px) { .story-phone { display: flex; flex-direction: column; align-items: center; } .story-phone .tag { position: static; transform: none; margin-top: 16px; } }

/* Ilustrasi clay berlatar transparan: panel mengikuti tema */
.tile-img, [data-theme="light"] .tile-img { margin: auto 0 0; padding-top: 24px; }
.tile-img img, .detail-img, [data-theme="light"] .tile-img img, [data-theme="light"] .detail-img { -webkit-mask-image: none; mask-image: none; border-radius: 20px; background: var(--surface-2); object-fit: contain; }
.tile-img { overflow: hidden; border-radius: 20px; }
a.tile:hover .tile-img img { transform: scale(1.04) translateY(-4px); }
.hero-sphere, .cut-dot { filter: drop-shadow(0 16px 16px rgba(60,30,10,.22)); }
.about-img { width: 100%; height: auto; border-radius: 24px; background: var(--surface-2); }
.about-banner { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 28px; display: block; background: var(--surface-2); }
@media (max-width: 640px) { .about-banner { aspect-ratio: 4 / 3; border-radius: 20px; } }
