/* Imajiva marketing site (redesign Phase 3). Built on ui/tokens.css + ui/components.css (shared with the app). */

.v-b { display: none; } html[data-variant="b"] .v-a { display: none; } html[data-variant="b"] .v-b { display: inline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: var(--border-w) solid transparent; }
.site-header__inner { display: flex; align-items: center; gap: var(--s-4); height: 72px; }
.site-nav { display: none; gap: var(--s-1); margin-left: var(--s-6); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }
.lang-link { display: none; font-weight: 500; color: var(--text-muted); text-decoration: none; font-size: var(--fs-sm); min-height: 24px; align-items: center; }
.lang-link:hover { color: var(--text); }
.site-header__cta { display: none; }
@media (min-width: 960px) { .site-nav, .site-header__cta, .lang-link { display: inline-flex; } .mobile-menu { display: none; } }
.mobile-menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-pill);
  border: var(--border-w) solid var(--border-strong); cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu__bars, .mobile-menu__bars::before, .mobile-menu__bars::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; }
.mobile-menu__bars::before, .mobile-menu__bars::after { content: ""; position: absolute; left: 0; }
.mobile-menu__bars::before { top: -6px; } .mobile-menu__bars::after { top: 6px; }
.mobile-menu[open] .mobile-menu__bars { background: transparent; }
.mobile-menu[open] .mobile-menu__bars::before { top: 0; transform: rotate(45deg); } .mobile-menu[open] .mobile-menu__bars::after { top: 0; transform: rotate(-45deg); }
.mobile-menu__panel { position: absolute; left: var(--s-4); right: var(--s-4); top: 76px; display: grid; gap: var(--s-1); padding: var(--s-4);
  background: var(--surface); border: var(--border-w) solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.mobile-menu__panel a:not(.btn) { padding: var(--s-3); border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-weight: 500; }
.mobile-menu__panel a:not(.btn):hover { background: var(--surface-2); }
.mobile-menu__panel .btn { margin-top: var(--s-2); }

/* sections */
.section__title { max-width: 18ch; }
.section__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-10); }
@media (min-width: 900px) { .section__head { grid-template-columns: 1fr 1fr; align-items: end; } }
.section--tight { padding: var(--s-8) 0 var(--s-16); }
.page-hero { padding-bottom: var(--s-8); }
.band--canvas { background: var(--surface-2); }
.band--ink { background: var(--ink); color: #F8F5EF; }
.band--ink h2 { color: #F8F5EF; }
.eyebrow--on-ink { color: var(--lime); } .lead--on-ink { color: #CFC9DA; }
.split { display: grid; gap: var(--s-10); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-16); } .split--reverse > :first-child { order: 2; } }
.split--even { align-items: start; }

/* hero */
.hero { padding: var(--s-10) 0 var(--s-16); overflow: hidden; }
@media (min-width: 900px) { .hero { padding: var(--s-16) 0 var(--s-24); } }
.hero__grid { display: grid; gap: var(--s-10); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr 1fr; } }
.hero__title { max-width: 11ch; margin-bottom: var(--s-6); }
.hero__ctas { margin: var(--s-6) 0 var(--s-4); }
.hero__art { position: relative; min-height: 340px; }
@media (min-width: 900px) { .hero__art { min-height: 480px; } }
.hero__blob { position: absolute; border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%; }
.hero__blob--lime { width: 70%; aspect-ratio: 1; background: var(--lime); right: 4%; top: 6%; }
.hero__blob--coral { width: 34%; aspect-ratio: 1; background: var(--coral); left: 2%; bottom: 4%; opacity: 0.9; }
.hero__sticker { position: absolute; filter: drop-shadow(0 16px 20px rgba(38, 35, 45, 0.25)); }
.hero__sticker--1 { width: 52%; left: 4%; top: 2%; }
.hero__sticker--2 { width: 44%; right: 0; top: 18%; }
.hero__sticker--3 { width: 42%; left: 30%; bottom: 0; }

/* steps */
.steps { list-style: none; padding: 0; margin: var(--s-10) 0 0; display: grid; gap: var(--s-6); counter-reset: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); border: var(--border-w) solid var(--border); }
.step__num { position: absolute; top: var(--s-5); left: var(--s-5); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--text); color: var(--bg); font-family: var(--font-display); font-weight: 800; }
.step__art { width: 58%; margin: 0 auto var(--s-4); filter: drop-shadow(0 10px 14px rgba(38, 35, 45, 0.18)); }

/* themes */
.themes { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .themes { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); } }
.theme-card { margin: 0; padding: var(--s-4); border-radius: var(--r-lg); display: grid; gap: var(--s-3); }
.theme-card .sticker { background: transparent; }
.theme-card figcaption { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); padding: 0 var(--s-2) var(--s-1); }
.theme-card--lime { background: var(--lime); color: var(--ink); } .theme-card--coral { background: var(--coral); color: var(--ink); }
.theme-card--violet { background: var(--violet); color: #FFFFFF; } .theme-card--ink { background: var(--ink); color: #F8F5EF; }

/* consistency */
.consist { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-4); align-items: center; }
.consist__ref { margin: 0; } .consist__ref .sticker { box-shadow: 0 0 0 3px var(--primary); }
.consist__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }

/* whatsapp phone mock */
.wa-art { display: grid; place-items: center; }
.phone { width: min(320px, 100%); aspect-ratio: 9 / 16; border-radius: 36px; padding: 14px; background: #0F0E13; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.phone__chat { height: 100%; border-radius: 26px; padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3);
  justify-content: flex-end; background: #E9E2D6; }
.bubble { align-self: flex-start; max-width: 70%; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: #FFFFFF; color: var(--ink); font-size: var(--fs-sm); }
.phone__sticker { width: 52%; align-self: flex-start; } .phone__sticker--right { align-self: flex-end; }

/* teasers */
.teaser-grid { display: grid; gap: var(--s-6); } @media (min-width: 900px) { .teaser-grid { grid-template-columns: 1fr 1fr; } }
.teaser { padding: var(--s-8); } .teaser__link { display: inline-flex; gap: var(--s-2); align-items: center; font-weight: 700; color: var(--text); }

/* waitlist */
.waitlist { background: var(--violet-soft); }
.waitlist__grid { display: grid; gap: var(--s-10); align-items: center; }
@media (min-width: 900px) { .waitlist__grid { grid-template-columns: 0.8fr 1.2fr; } }
.waitlist__art { position: relative; min-height: 240px; }
.sticker-float { position: absolute; width: 62%; left: 6%; top: 0; filter: drop-shadow(0 14px 18px rgba(38, 35, 45, 0.22)); }
.sticker-float--sm { width: 44%; left: auto; right: 4%; top: 38%; }
.waitlist__form { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.form-status { margin: 0; font-weight: 600; min-height: 1.6em; } .form-status.is-error { color: var(--danger); } .form-status.is-success { color: var(--success); }

/* gallery (filter without JS: radio + :has) */
.gallery__filters { border: 0; padding: 0; margin: 0 0 var(--s-8); }
.gallery__group + .gallery__group { margin-top: var(--s-12); }
.gallery__intro { display: flex; align-items: center; gap: var(--s-5); margin-bottom: var(--s-6); }
.gallery__ref { width: 96px; flex: none; }
.gallery__grid { --min: 150px; }
.gallery:has(#f-jiva:checked) .gallery__group:not([data-who="jiva"]),
.gallery:has(#f-sari:checked) .gallery__group:not([data-who="sari"]),
.gallery:has(#f-budi:checked) .gallery__group:not([data-who="budi"]) { display: none; }

/* features */
.feature-list { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .feature-list { grid-template-columns: repeat(3, 1fr); } .feature--lead { grid-column: 1 / -1; } }
.feature { display: grid; gap: var(--s-4); padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); border: var(--border-w) solid var(--border); }
.feature__art { width: 120px; }
.feature--lead { background: var(--lime-soft); border-color: transparent; }
@media (min-width: 900px) { .feature--lead { grid-template-columns: 220px 1fr; align-items: center; } .feature--lead .feature__art { width: 220px; } }
.soon__list { margin: 0; padding-left: var(--s-5); } .soon__list li { margin-bottom: var(--s-2); }

/* pricing */
.plans { display: grid; gap: var(--s-6); align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: grid; gap: var(--s-2); align-content: start; padding: var(--s-8) var(--s-6); border-radius: var(--r-lg);
  background: var(--surface); border: var(--border-w) solid var(--border); }
.plan--featured { border: 2px solid var(--text); box-shadow: var(--sh-press); }
.plan__badge { position: absolute; top: -12px; right: var(--s-6); }
.plan__credits { margin: 0; font-weight: 600; color: var(--text-muted); }
.plan__num { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-3xl); color: var(--text); }
.plan__price { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); }
.plan .btn { margin-top: var(--s-4); }
.plans__note { margin: var(--s-8) 0; display: block; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326232D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* about */
.about__art { display: grid; place-items: center; } .about__art img { width: min(360px, 80%); }
.values { display: grid; gap: var(--s-6); margin-top: var(--s-6); } @media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } }
.about__contact { margin-top: var(--s-8); }

/* faq */
.faq { display: grid; gap: var(--s-3); }
.faq__item { border: var(--border-w) solid var(--border); border-radius: var(--r-md); background: var(--surface); padding: 0 var(--s-5); }
.faq__item summary { cursor: pointer; list-style: none; padding: var(--s-5) 32px var(--s-5) 0; font-weight: 600; font-size: var(--fs-md); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--link); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { color: var(--text-muted); padding-bottom: var(--s-5); margin: 0; }

/* legal + 404 */
.legal h1 { font-size: var(--fs-3xl); } .legal h2 { font-size: var(--fs-lg); margin-top: var(--s-8); } .legal p { color: var(--text-muted); }
.notfound { min-height: 100vh; display: grid; place-items: center; } .notfound__art { width: 180px; }

/* footer */
.site-footer { border-top: var(--border-w) solid var(--border); padding: var(--s-12) 0 var(--s-8); }
.site-footer__inner { display: grid; gap: var(--s-8); }
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: 1fr 2fr; } .site-footer__fine { grid-column: 1 / -1; } }
.site-footer__links { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); align-content: start; }
.site-footer__links a { color: var(--text); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; min-height: 24px; } .site-footer__links a:hover { color: var(--link); }
