/*!
 * SatpamSiber.com — shared design system
 * Plain CSS, no build step. Organised by section; classes are BEM-ish and
 * kebab-case (see BRIEF for the full contract). Tokens live in :root and are
 * overridden for the light theme via [data-theme="light"].
 */

/* ==========================================================================
   0. Reset & base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
/*
 * WCAG AA deviations from the original design tokens (flagged in review):
 *  1. Dark --brand nudged #6366F1 -> #5D60EF so white-on-brand text (buttons,
 *     active chips) reaches >=4.7:1 contrast (was 4.47:1). --brand2 is
 *     unchanged.
 *  2. --wa/--tg get dedicated --wa-ink/--tg-ink foreground tokens per theme
 *     instead of hard-coded #FFFFFF / #06283B, so each pairing is chosen for
 *     contrast rather than reused across themes.
 *  3. Light-theme --wa/--tg were darkened (#128C4A/#0284C7 -> #0F7A3F/#0369A1)
 *     to keep their white ink readable at AA on white button backgrounds.
 */
:root {
  --bg: #0A0B14;
  --bg2: #0F1120;
  --card: #14172A;
  --card2: #191D33;
  --line: #262B47;
  --ink: #F3F4FA;
  --ink2: #C9CDE2;
  --muted: #9AA0BE;
  --brand: #5D60EF;
  --brand2: #8B8DFF;
  --brand-soft: rgba(99, 102, 241, 0.14);
  --brand-ink: #FFFFFF;
  --accent: #A3E635;
  --accent-ink: #15310A;
  --accent-soft: rgba(163, 230, 53, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --wa: #25D366;
  --wa-ink: #052E16;
  --tg: #38BDF8;
  --tg-ink: #06283B;
  --warn: #FB923C;
  --ok-mid: #FACC15;
}

:root[data-theme="light"] {
  --bg: #FBFBFE;
  --bg2: #F2F3FA;
  --card: #FFFFFF;
  --card2: #F7F8FD;
  --line: #E2E4F1;
  --ink: #101228;
  --ink2: #33375A;
  --muted: #5C6183;
  --brand: #4F46E5;
  --brand2: #4338CA;
  --brand-soft: rgba(79, 70, 229, 0.09);
  --brand-ink: #FFFFFF;
  --accent: #4D7C0F;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(77, 124, 15, 0.10);
  --shadow: 0 14px 40px rgba(16, 18, 40, 0.10);
  --wa: #0F7A3F;
  --wa-ink: #FFFFFF;
  --tg: #0369A1;
  --tg-ink: #FFFFFF;
  --warn: #C2410C;
  --ok-mid: #A16207;
}

/* ==========================================================================
   2. Global element defaults
   ========================================================================== */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 "Public Sans", system-ui, sans-serif;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand2);
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--brand2);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   3. Accessibility helpers
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0;
  top: -60px;
  background: var(--brand);
  color: var(--brand-ink);
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

/* ==========================================================================
   4. Layout primitives
   ========================================================================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(14px, 4vw, 32px);
}

.section {
  padding-block: clamp(48px, 7vw, 84px);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 64px);
}

.section--alt {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Same tint as .section--alt but only a top seam (e.g. #komunitas, which
   sits directly above the disclaimer section and shouldn't double the line) */
.section--alt-top {
  background: var(--bg2);
  border-top: 1px solid var(--line);
}

.section--stats {
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 4vw, 44px);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}

.grid--auto-150 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

.grid--auto-250 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.grid--auto-260 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.grid--auto-270 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

.grid--auto-280 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid--auto-300 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid--gap-sm {
  gap: 14px;
}

.grid--gap-md {
  gap: 16px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, 16px);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cluster-gap, 12px);
}

.cluster--split {
  align-items: flex-end;
  justify-content: space-between;
}

/* Small layout modifiers used by a few two-column sections (alat, faq) */
.grid--start {
  align-items: start;
}

.grid--gap-lg {
  gap: clamp(24px, 4vw, 44px);
}

.section--top-line {
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   5. Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: Outfit, sans-serif;
}

.brand:hover {
  color: var(--ink);
}

.brand__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 9px;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.brand__name {
  font-family: Outfit, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  background: none;
  border: 0;
  padding: 9px 13px;
  border-radius: 9px;
  cursor: pointer;
  color: var(--ink2);
  font: 500 15px "Public Sans", sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  background: var(--brand-soft);
  color: var(--ink);
}

.nav-link[aria-current="page"] {
  color: var(--ink);
  background: var(--brand-soft);
}

.nav-desktop .icon-btn {
  margin-left: 6px;
}

.nav-desktop .btn {
  margin-left: 2px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  flex: none;
}

.icon-btn:hover {
  border-color: var(--brand);
}

.icon-btn--menu {
  width: 44px;
  height: 44px;
}

.icon-btn__bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.nav-mobile {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav-panel {
  display: flex;
  flex-direction: column;
  padding: 8px clamp(14px, 4vw, 32px) 18px;
  gap: 2px;
  border-top: 1px solid var(--line);
  background: var(--bg2);
}

.nav-panel__link {
  text-align: left;
  background: none;
  border: 0;
  padding: 14px 4px;
  cursor: pointer;
  color: var(--ink);
  font: 500 16px "Public Sans", sans-serif;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  display: block;
}

.nav-panel .btn--block {
  margin-top: 12px;
}

/* Breakpoint: desktop nav >= 861px, mobile controls <= 860px.
   860.98px (not 860px) closes the fractional-viewport-width gap some
   browsers report between the two queries. */
@media (max-width: 860.98px) {
  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    display: flex;
  }
}

@media (min-width: 861px) {
  .nav-panel {
    display: none !important;
  }
}

/* ==========================================================================
   6. Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg2);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 26px;
  padding-block: clamp(32px, 5vw, 52px);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: contain;
  flex: none;
}

.site-footer__heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  font-size: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links a,
.site-footer__links button {
  color: var(--ink2);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: 400 15px "Public Sans", sans-serif;
  cursor: pointer;
}

.site-footer__links a:hover,
.site-footer__links button:hover {
  color: var(--accent);
}

.site-footer__bottom {
  border-top: 1px solid var(--line);
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  padding-block: 18px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ==========================================================================
   7. Typography
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* line-height 1.15 (vs. the home hero's 1.05 on .hero__title) reads better
   at the shorter, more paragraph-like sub-page hero headings. Intentional
   deviation from the design's single hero-only line-height. */
.h1 {
  font-family: Outfit, sans-serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
}

.h2 {
  font-family: Outfit, sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}

.h3 {
  font-family: Outfit, sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

.h3--lg {
  font-size: 22px;
  margin: 0 0 6px;
}

.lead {
  color: var(--ink2);
  font-size: 16.5px;
  margin: 14px 0 0;
  max-width: 60ch;
}

/* Home hero lead is the largest/most fluid; sub-page hero leads are a step
   down. Both override the static default above. */
.lead--hero {
  font-size: clamp(16px, 2.1vw, 19px);
}

.lead--page {
  font-size: clamp(16px, 2vw, 18px);
}

.lead--sm {
  font-size: 16px;
}

/* Text-measure utilities (max-width in ch) for the design's per-section
   reading widths, so paragraphs don't need one-off inline styles. */
.measure-52 {
  max-width: 52ch;
}

.measure-58 {
  max-width: 58ch;
}

.measure-62 {
  max-width: 62ch;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.kicker {
  display: block;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand2);
}

.kicker--muted {
  color: var(--muted);
}

/* ==========================================================================
   8. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 12px;
  font: 600 16px "Public Sans", sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  min-height: 40px;
  line-height: 1.2;
}

.btn--primary {
  background: var(--brand);
  color: var(--brand-ink);
}

.btn--primary:hover {
  background: var(--brand2);
  color: var(--brand-ink);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--ink);
}

.btn--wa {
  background: var(--wa);
  color: var(--wa-ink);
}

.btn--wa:hover {
  color: var(--wa-ink);
  opacity: 0.9;
}

.btn--tg {
  background: var(--tg);
  color: var(--tg-ink);
}

.btn--tg:hover {
  color: var(--tg-ink);
  opacity: 0.9;
}

.btn--sm {
  padding: 11px 18px;
  font-size: 15px;
  border-radius: 11px;
}

.btn--block {
  width: 100%;
  text-align: center;
}

/* ==========================================================================
   9. Cards
   ========================================================================== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.card--hover:hover {
  border-color: var(--brand);
}

.card--dashed {
  border-style: dashed;
}

/* A whole <a class="card"> acting as a link card should read as body text,
   not as a link (the arrow / hover state carries the "this is clickable"
   affordance instead). */
a.card {
  color: var(--ink);
  text-decoration: none;
  display: block;
}

a.card .h3,
a.card h3 {
  color: var(--ink);
}

.card__body {
  padding: 20px;
}

.card__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft));
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}

article.card {
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.community-card {
  padding: clamp(22px, 4vw, 44px);
}

.community-card.grid {
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
}

.card__body .kicker {
  margin-bottom: 9px;
}

.card__body .h3 {
  font-size: 18.5px;
  margin: 9px 0 8px;
  line-height: 1.3;
}

.card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ==========================================================================
   10. Feature tiles
   ========================================================================== */
.feature {
  padding: 26px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}

.feature:hover {
  border-color: var(--brand);
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand2);
  display: grid;
  place-items: center;
  font: 700 18px Outfit, sans-serif;
}

.feature p {
  margin: 0;
  color: var(--ink2);
  font-size: 15.5px;
}

/* ==========================================================================
   11. Stats
   ========================================================================== */
.stat {
  padding: 6px 0;
}

.stat__value {
  font-family: Outfit, sans-serif;
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand2);
}

.stat__label {
  color: var(--ink2);
  font-size: 14px;
  margin-top: 4px;
}

/* ==========================================================================
   12. Audience cards
   ========================================================================== */
.audience {
  padding: 22px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}

.audience .h3 {
  font-size: 17.5px;
  margin: 0 0 7px;
}

.audience p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ==========================================================================
   13. List-cards (disclaimer, tujuan, dapat, dsb.)
   ========================================================================== */
.list-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-cards li {
  padding: 16px;
  border-radius: 13px;
  background: var(--card2);
  border: 1px solid var(--line);
  color: var(--ink2);
  font-size: 15.5px;
}

.list-cards li b {
  font-weight: 600;
  color: var(--ink);
}

.list-cards li span {
  color: var(--muted);
}

/* ==========================================================================
   14. Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 18% -10%, var(--brand-soft), transparent 70%),
    radial-gradient(700px 380px at 90% 0%, var(--accent-soft), transparent 72%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  padding-block: clamp(40px, 7vw, 86px) clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero__grid > *:first-child {
  animation: ss-rise 0.6s ease both;
}

.hero__grid > *:last-child {
  position: relative;
  animation: ss-rise 0.7s 0.1s ease both;
}

.hero__title {
  font-family: Outfit, sans-serif;
  font-size: clamp(33px, 6.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 20px 0 0;
}

.hero__accent {
  color: var(--brand2);
}

.hero__cta {
  margin-top: 28px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
}

/* ==========================================================================
   15. Habit card (hero visual)
   ========================================================================== */
.habit-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 26px);
}

.habit-card::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(140deg, var(--brand-soft), transparent 60%);
  animation: ss-drift 9s ease-in-out infinite;
}

.habit-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  font-family: Outfit, sans-serif;
  font-weight: 600;
  font-size: 17px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  animation: ss-pulse 2.4s ease-in-out infinite;
}

.habit-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.habit {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: var(--card2);
  border: 1px solid var(--line);
}

.habit__num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand2);
  display: grid;
  place-items: center;
  font: 700 14px Outfit, sans-serif;
}

.habit b {
  font-weight: 600;
}

.habit span.muted {
  display: block;
  font-size: 14px;
}

/* ==========================================================================
   16. Password tool
   ========================================================================== */
.pw-tool {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow);
}

.pw-tool__label {
  display: block;
  font-weight: 600;
  margin-bottom: 9px;
  font-size: 15px;
}

.pw-input {
  width: 100%;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card2);
  color: var(--ink);
  font: 400 16px "Public Sans", sans-serif;
}

.pw-input:focus {
  border-color: var(--brand);
}

.pw-meter {
  height: 9px;
  border-radius: 999px;
  background: var(--card2);
  margin-top: 16px;
  overflow: hidden;
}

.pw-meter__bar {
  height: 100%;
  width: 0%;
  background: var(--muted);
  border-radius: 999px;
  transition: width 0.25s ease, background 0.25s ease;
}

.pw-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 14.5px;
}

.pw-status__label {
  font-weight: 600;
  color: var(--muted);
}

.pw-status__time {
  color: var(--muted);
}

.pw-checks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pw-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink2);
}

.pw-check__mark {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--card2);
  color: var(--muted);
}

.pw-check[data-ok="true"] .pw-check__mark {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Colour-by-level: JS only toggles data-level on the .pw-tool root */
.pw-tool[data-level="0"],
.pw-tool[data-level="1"] {
  --pw-color: var(--warn);
}

.pw-tool[data-level="2"] {
  --pw-color: var(--ok-mid);
}

.pw-tool[data-level="3"] {
  --pw-color: var(--brand2);
}

.pw-tool[data-level="4"] {
  --pw-color: var(--accent);
}

.pw-tool .pw-meter__bar {
  background: var(--pw-color, var(--muted));
}

.pw-tool .pw-status__label {
  color: var(--pw-color, var(--muted));
}

.tip {
  margin-top: 20px;
  padding: 16px;
  border-radius: 13px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink2);
}

.tip b {
  font-weight: 600;
  color: var(--ink);
}

/* ==========================================================================
   17. Newsletter
   ========================================================================== */
.newsletter {
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.newsletter h3 {
  font-family: Outfit, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}

.newsletter p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
}

.newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter__input {
  flex: 1 1 170px;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: 400 15.5px "Public Sans", sans-serif;
}

.newsletter__input:focus {
  border-color: var(--brand);
}

.newsletter__form .btn {
  padding: 13px 20px;
  font-size: 15.5px;
  border-radius: 11px;
}

.newsletter__msg {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================================================
   18. FAQ
   ========================================================================== */
.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::marker {
  content: "";
}

.faq p {
  margin: 12px 0 0;
  color: var(--ink2);
  font-size: 15px;
}

/* ==========================================================================
   19. Chips (edukasi filter)
   ========================================================================== */
.chip {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink);
}

.chip--active {
  background: var(--brand);
  color: var(--brand-ink);
  border-color: var(--brand);
}

/* ==========================================================================
   20. Keyframes & motion
   ========================================================================== */
@keyframes ss-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ss-pulse {

  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes ss-drift {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
