/* Monanya — monanya.id
   Palette: kertas (lilac paper), tinta (indigo ink), listrik (electric indigo),
   plus sticker colours used one-per-workshop. */
@font-face {
  font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("assets/fonts/unbounded-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}

:root {
  --kertas: #F4F3FF;
  --tinta: #17123A;
  --tinta-soft: #4B4670;
  --listrik: #4A2BFF;
  --listrik-deep: #2E17C9;
  --sun: #FFD447;
  --pink: #FF8FC2;
  --sky: #8FD3FF;
  --mint: #6FE3B0;
  --lilac: #C3B4FF;
  --white: #FFFFFF;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 36px;
  --r-md: 22px;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--kertas);
  color: var(--tinta);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--tinta); color: var(--white); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--listrik); outline-offset: 3px; border-radius: 6px; }
.products :focus-visible, .closing :focus-visible, .foot :focus-visible { outline-color: var(--sun); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--body); font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: .9em 1.5em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--sm { padding: .55em 1.1em; font-size: .9375rem; }
.btn--lg { padding: 1.05em 1.8em; font-size: 1.0625rem; }
.btn--primary { background: var(--listrik); color: var(--white); }
.btn--primary:hover { background: var(--listrik-deep); }
.btn--ink { background: var(--tinta); color: var(--white); }
.btn--ink:hover { background: var(--listrik); }
.btn--line { border-color: var(--tinta); color: var(--tinta); }
.btn--line:hover { background: var(--tinta); color: var(--white); }
.btn--sun { background: var(--sun); color: var(--tinta); }
.btn--sun:hover { background: var(--white); }
.btn--line-light { border-color: var(--white); color: var(--white); }
.btn--line-light:hover { background: var(--white); color: var(--listrik); }

/* ---------- Logo ---------- */
.logo { display: inline-block; line-height: 0; border-radius: 6px; }
.logo img { height: 44px; width: auto; }
.logo--foot img { height: 52px; }
@media (max-width: 520px) { .logo img { height: 36px; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--kertas) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .9688rem; }
.nav__menu a:not(.btn):hover { color: var(--listrik); }
.nav__toggle { display: none; }

@media (max-width: 820px) {
  .nav__toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--tinta); cursor: pointer;
  }
  .nav__toggle span[aria-hidden] { width: 18px; height: 2px; background: var(--white); position: relative; transition: background .2s; }
  .nav__toggle span[aria-hidden]::before, .nav__toggle span[aria-hidden]::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--white); transition: transform .2s;
  }
  .nav__toggle span[aria-hidden]::before { top: -6px; }
  .nav__toggle span[aria-hidden]::after { top: 6px; }
  .nav__toggle[aria-expanded="true"] span[aria-hidden] { background: transparent; }
  .nav__toggle[aria-expanded="true"] span[aria-hidden]::before { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span[aria-hidden]::after { transform: translateY(-6px) rotate(-45deg); }

  .nav__menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--kertas); padding: 8px var(--gutter) 24px;
    border-bottom: 2px solid var(--tinta);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid color-mix(in srgb, var(--tinta) 12%, transparent); }
  .nav__menu .btn { margin-top: 18px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 9vw, 120px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero__title {
  font-size: clamp(2.75rem, 10.2vw, 8.25rem);
  font-weight: 800; line-height: .95; letter-spacing: -0.05em;
}
.hero__title > span { display: block; }
.hero__mo { color: var(--listrik); }
.hero__bottom {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.hero__sticker {
  flex: 0 0 280px; padding: 26px 26px 28px; text-decoration: none;
  background: var(--sun); border: 2px solid var(--tinta);
  border-radius: 40px 40px 40px 8px; transform: rotate(4deg);
  transition: transform .2s ease;
}
.hero__sticker:hover { transform: rotate(0deg) scale(1.03); }
.hero__sticker-q { display: block; font-family: var(--display); font-weight: 800; font-size: 1.875rem; letter-spacing: -0.04em; line-height: 1; }
.hero__sticker-a { display: block; margin-top: 12px; font-weight: 600; line-height: 1.4; }
@media (max-width: 900px) { .hero__sticker { display: none; } }
.hero__word { color: var(--tinta); white-space: nowrap; min-height: .95em; }
@media (max-width: 560px) {
  .hero__word { white-space: normal; min-height: 1.9em; }
}
.caret {
  display: inline-block; width: .08em; height: .78em; margin-left: .04em;
  background: var(--listrik); vertical-align: -0.04em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__via {
  margin-top: 18px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--tinta-soft);
  min-height: 1.6em;
}
.hero__via b { color: var(--tinta); background: var(--sun); padding: .05em .35em; border-radius: 6px; font-weight: 700; }
.js-via { transition: opacity .25s ease; }
.js-via.is-fading { opacity: 0; }

.hero__lede {
  max-width: 34em;
  font-size: clamp(1.125rem, 1.7vw, 1.3125rem); line-height: 1.55;
}
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--sun); border-block: 2px solid var(--tinta);
  overflow: hidden; padding: 16px 0;
  transform: rotate(-1.2deg); margin: 0 -2vw; position: relative; z-index: 2;
}
.ticker__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker ul { display: flex; flex-shrink: 0; }
.ticker li {
  font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.8vw, 1.375rem);
  white-space: nowrap; padding: 0 1.1em; display: flex; align-items: center; gap: 1.1em;
}
.ticker li::after { content: "✦"; color: var(--listrik); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.sec-head { max-width: 54rem; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.sec-head p { margin-top: 18px; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--tinta-soft); max-width: 36em; }

/* ---------- Products ---------- */
.products {
  background: var(--listrik); color: var(--white);
  padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 10vw, 140px);
  margin-top: -14px; /* tuck under the tilted ticker */
}
.products .sec-head p { color: color-mix(in srgb, var(--white) 80%, transparent); }

.product {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px);
  align-items: center; padding: clamp(40px, 5vw, 64px) 0;
  border-top: 2px solid color-mix(in srgb, var(--white) 22%, transparent);
}
.product--flip .product__text { order: 2; }
.product__name {
  font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: .95;
}
.product__hook { margin-top: 14px; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.1vw, 1.625rem); line-height: 1.25; color: var(--sun); max-width: 20em; }
.product__pain { margin-top: 18px; max-width: 32em; color: color-mix(in srgb, var(--white) 88%, transparent); }
.product__list { margin: 22px 0 30px; display: grid; gap: 12px; max-width: 32em; }
.product__list li { position: relative; padding-left: 34px; }
.product__list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2317123A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

.product__art {
  background: var(--kertas); color: var(--tinta); border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 40px); min-height: 340px; position: relative;
}

/* mochat art */
.art-chat { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.bubble { max-width: 78%; padding: 12px 16px; font-size: .9688rem; line-height: 1.4; border-radius: 20px; }
.bubble--in { background: var(--white); border: 2px solid var(--tinta); border-bottom-left-radius: 6px; align-self: flex-start; }
.bubble--out { background: var(--tinta); color: var(--white); border-bottom-right-radius: 6px; align-self: flex-end; }
.art-chat__time { margin-top: 6px; font-size: .8125rem; color: var(--tinta-soft); align-self: flex-end; }

/* monulis art */
.art-write { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.art-write__src {
  background: var(--white); border: 2px solid var(--tinta); border-radius: var(--r-md);
  padding: 20px; display: grid; gap: 10px; transform: rotate(-3deg);
}
.art-write__file { font-weight: 700; font-size: .875rem; margin-bottom: 4px; }
.art-write__src .line { height: 8px; border-radius: 4px; background: var(--lilac); }
.art-write__src .line--short { width: 60%; }
.art-write__out { display: flex; flex-wrap: wrap; gap: 8px; }
.art-write__out li {
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .875rem;
  background: var(--sun); border: 2px solid var(--tinta);
}
.art-write__out li:nth-child(2n) { background: var(--pink); }
.art-write__out li:nth-child(3n) { background: var(--mint); }

/* moceg art */
.art-data { display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.art-data__bars { display: flex; align-items: flex-end; gap: 10px; height: 220px; border-bottom: 2px solid var(--tinta); }
.art-data__bars span { flex: 1; height: var(--h); background: var(--lilac); border-radius: 10px 10px 0 0; }
.art-data__bars .is-odd { background: var(--pink); border: 2px solid var(--tinta); border-bottom: 0; }
.art-data__flag {
  align-self: flex-start; font-weight: 700; font-size: .9375rem;
  background: var(--tinta); color: var(--white); padding: 8px 16px 8px 34px; border-radius: 999px; position: relative;
}
.art-data__flag::before { content: ""; position: absolute; left: 14px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--pink); }

@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .product--flip .product__text { order: 0; }
  .product__art { min-height: 0; }
}
@media (max-width: 520px) {
  .art-write { grid-template-columns: 1fr; }
  .art-write__src { transform: none; }
}

/* ---------- Belief band ---------- */
.belief { padding: clamp(80px, 11vw, 150px) 0; }
.belief p {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.025em;
  font-size: clamp(1.625rem, 3.6vw, 2.875rem); line-height: 1.18; max-width: 22em;
}

/* ---------- Workshops ---------- */
.workshops { padding-bottom: clamp(80px, 10vw, 140px); }
.ws-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.ws {
  grid-column: span 2; border-radius: var(--r-lg); padding: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 14px; border: 2px solid var(--tinta);
}
.ws--wide { grid-column: span 3; }
.ws--pink { background: var(--pink); }
.ws--sky { background: var(--sky); }
.ws--sun { background: var(--sun); }
.ws--mint { background: var(--mint); }
.ws--lilac { background: var(--lilac); }
.ws__for {
  align-self: flex-start; font-size: .8125rem; font-weight: 700;
  background: var(--kertas); border: 2px solid var(--tinta); padding: 4px 12px; border-radius: 999px;
}
.ws h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em; margin-top: 6px; }
.ws--wide h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
.ws__hook { font-weight: 700; font-size: 1.125rem; line-height: 1.35; }
.ws p { max-width: 34em; }
.ws__take {
  margin-top: auto; padding-top: 16px; border-top: 2px dashed color-mix(in srgb, var(--tinta) 45%, transparent);
  font-weight: 600;
}
.ws__take span { display: block; font-size: .8125rem; font-weight: 700; color: color-mix(in srgb, var(--tinta) 70%, transparent); }
.ws__link {
  align-self: flex-start; font-weight: 700; text-decoration: none; margin-top: 4px;
  background: var(--tinta); color: var(--white); padding: 10px 18px; border-radius: 999px;
  transition: background-color .15s ease;
}
.ws__link:hover { background: var(--listrik); }

@media (max-width: 980px) {
  .ws, .ws--wide { grid-column: span 3; }
  .ws:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ws-grid { grid-template-columns: 1fr; }
  .ws, .ws--wide, .ws:last-child { grid-column: auto; }
}

/* ---------- Steps ---------- */
.steps { background: var(--white); padding: clamp(80px, 10vw, 130px) 0; border-block: 2px solid var(--tinta); }
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); counter-reset: step; }
.steps__list li { counter-increment: step; }
.steps__list li::before {
  content: counter(step); display: grid; place-items: center;
  width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50% 50% 50% 8px;
  background: var(--listrik); color: var(--white);
  font-family: var(--display); font-weight: 800; font-size: 1.75rem;
}
.steps__list h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
.steps__list p { margin-top: 10px; color: var(--tinta-soft); max-width: 22em; }
@media (max-width: 760px) { .steps__list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 10vw, 130px) 0; }
.faq__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq .sec-head { margin-bottom: 0; }
.faq .sec-head h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.faq__list { border-top: 2px solid var(--tinta); }
.faq details { border-bottom: 2px solid var(--tinta); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-weight: 700; font-size: 1.125rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 8v12M8 14h12' stroke='%2317123A' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--listrik); }
.faq details p { padding: 0 48px 24px 0; color: var(--tinta-soft); max-width: 38em; }
@media (max-width: 820px) { .faq__inner { grid-template-columns: 1fr; } }

/* ---------- Closing ---------- */
.closing {
  background: var(--listrik); color: var(--white); text-align: center;
  padding: clamp(96px, 13vw, 180px) 0;
}
.closing h2 { font-size: clamp(2.75rem, 9vw, 7.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: .95; }
.closing p { margin: 24px auto 0; max-width: 30em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: color-mix(in srgb, var(--white) 85%, transparent); }
.closing__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.closing .closing__mail { margin-top: 22px; font-weight: 600; font-size: 1rem; }

/* ---------- Footer ---------- */
.foot { background: var(--tinta); color: var(--white); padding: 64px 0 40px; }
.foot__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px 64px; align-items: start; }
.foot__nav { display: flex; gap: 64px; }
.foot__nav div { display: grid; gap: 8px; align-content: start; }
.foot__h { font-weight: 700; color: var(--sun); margin-bottom: 4px; }
.foot__nav a { text-decoration: none; color: color-mix(in srgb, var(--white) 78%, transparent); }
.foot__nav a:hover { color: var(--white); }
.foot__copy { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--white) 18%, transparent); font-size: .9375rem; color: color-mix(in srgb, var(--white) 65%, transparent); }
@media (max-width: 640px) {
  .foot__inner { grid-template-columns: 1fr; }
  .foot__nav { gap: 40px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker ul[aria-hidden] { display: none; }
  .ticker ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .js-via { transition: none; }
  .btn, .ws__link, .faq summary::after { transition: none; }
}
