/*
 * FAQ, Support and 404 — the same light palette as the landing page (A056 ui/theme/Color.kt): white surfaces, brand red
 * #E01418 → #FE693D, ink #05141D, Plus Jakarta Sans (res/font).
 */

:root {
  --red: #E01418;
  --orange: #FE693D;
  --grad: linear-gradient(135deg, #FE693D 0%, #E01418 100%);
  --grad-h: linear-gradient(90deg, #E01418 0%, #FE693D 100%);
  --ink: #05141D;
  --ink-2: #323438;
  --body: #50545B;
  --muted: #797979;
  --line: #EAEAEA;
  --line-2: #F1F1F2;
  --soft: #FFF6F2;
  --brand-soft: #FDEFEF;
  --header-height: 4.5rem;
  --site-width: 72rem;
  --radius: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #fff; }
body {
  margin: 0; min-height: 100vh; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 1rem; line-height: 1.65; color: var(--body);
  background: radial-gradient(60vmax 50vmax at 100% 0%, rgba(254, 105, 61, .14), transparent 60%), radial-gradient(50vmax 40vmax at 0% 30%, rgba(252, 231, 232, .9), transparent 60%), #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(224, 20, 24, .45); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* header */
.header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(255, 255, 255, .85); border-bottom: 1px solid var(--line-2); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); padding-top: env(safe-area-inset-top); }
.header__content { max-width: var(--site-width); height: var(--header-height); margin: 0 auto; padding: 0 1.25rem; display: flex; align-items: center; gap: 1rem; }
.header-placeholder { height: calc(var(--header-height) + env(safe-area-inset-top)); }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo__mark { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 14px -6px rgba(224, 20, 24, .55); }
.logo__text { font-weight: 800; font-size: 1.2rem; color: var(--ink); line-height: 1.05; letter-spacing: -.02em; display: flex; flex-direction: column; }
.logo__text small { font-size: .66rem; font-weight: 700; letter-spacing: .08em; color: var(--red); text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav__link { padding: .5rem .75rem; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav__link:hover { color: var(--red); background: var(--brand-soft); }
.nav__link--active { color: var(--red); background: var(--brand-soft); }
.nav__cta { margin-left: .5rem; }
.menu-button { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--brand-soft); flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.menu-button__line { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }

/* buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; transition: transform .2s, box-shadow .2s; white-space: nowrap; }
.button--brand { color: #fff; background: var(--grad); box-shadow: 0 10px 24px -8px rgba(224, 20, 24, .55), inset 0 1px 0 rgba(255, 255, 255, .35); }
.button--brand:hover { transform: translateY(-2px); }
.button--dark { color: #fff; background: var(--ink); white-space: normal; text-align: center; overflow-wrap: anywhere; }
.button--dark:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(5, 20, 29, .5); }
.button--small { min-height: 40px; padding: 0 1rem; font-size: .875rem; }

/* page title + sections */
.page-title { padding: 4.5rem 1.25rem 2.5rem; text-align: center; }
.page-title__container { max-width: 46rem; margin: 0 auto; }
.page-title__title { margin: 0 0 1rem; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; color: var(--ink); }
.page-title__title em { font-style: normal; background: var(--grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-title__description { margin: 0; font-size: 1.1rem; }
.section { padding: 1rem 1.25rem 5rem; }
.section__container { max-width: var(--site-width); margin: 0 auto; }
.section__container--narrow { max-width: 50rem; }
.section__title { margin: 3rem 0 1rem; font-size: 1.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.section__title--small { font-size: 1.3rem; }
.link { color: var(--red); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.link:hover { text-decoration: underline; }

/* faq */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq__item { border-radius: var(--radius); background: #fff; box-shadow: 0 1px 2px rgba(5, 20, 29, .05), inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.faq__item--open { box-shadow: 0 18px 36px -20px rgba(224, 20, 24, .35), inset 0 0 0 1.5px rgba(224, 20, 24, .25); }
.faq__question { margin: 0; }
.faq__button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 700; font-size: 1.05rem; text-align: left; cursor: pointer; }
.faq__icon { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--brand-soft); color: var(--red); font-size: 1.2rem; transition: transform .3s, background-color .3s, color .3s; }
.faq__item--open .faq__icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__item--open .faq__answer { grid-template-rows: 1fr; }
.faq__answer-inner { overflow: hidden; }
.faq__answer-inner p { margin: 0; padding: 0 1.35rem 1.25rem; }

/* cta, lists, facts */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 2.5rem; padding: 1.75rem; border-radius: 1.5rem; background: linear-gradient(135deg, #FFF6F2, #FDEFEF); box-shadow: inset 0 0 0 1px rgba(224, 20, 24, .12); }
.cta--soft { background: linear-gradient(135deg, #FFF6F2, #fff); }
.cta__title { margin: 0 0 .35rem; font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.cta__body { margin: 0; }
.prose-list { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .75rem; }
.prose-list strong { color: var(--ink); }
.facts { margin: 0; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.facts__row { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .9rem 1.25rem; border-top: 1px solid var(--line-2); }
.facts__row:first-child { border-top: 0; }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

/* 404 */
.not-found { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.25rem; }
.not-found__art { width: 180px; height: 180px; margin-bottom: .5rem; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
.not-found__title { margin: 0; font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: var(--grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found__subtitle { margin: .5rem 0; font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.not-found__description { margin: 0 0 1.75rem; }

/* footer */
.footer { padding: 3.5rem 1.25rem 2rem; background: #FAFAFA; border-top: 1px solid var(--line-2); }
.footer__container { max-width: var(--site-width); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer__brand { max-width: 26rem; }
.footer__pitch { margin: 1rem 0 0; font-size: .92rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.footer__group { display: flex; flex-direction: column; gap: .4rem; }
.footer__group a { font-size: .92rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.footer__group a:hover { color: var(--red); }
.footer__group-title { margin: 0 0 .35rem; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer__note { max-width: var(--site-width); margin: 2.5rem auto 0; font-size: .8rem; color: var(--muted); }
.copyright { max-width: var(--site-width); margin: 1rem auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

@media (max-width: 860px) {
  .menu-button { display: flex; }
  .nav { display: none; position: absolute; top: calc(var(--header-height) + env(safe-area-inset-top)); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(5, 20, 29, .35); }
  .nav.is-open { display: flex; }
  .nav__link { padding: .8rem .75rem; font-size: 1rem; }
  .nav__cta { margin: .5rem 0 0; }
  .facts__row { grid-template-columns: 1fr; gap: .2rem; }
}
