/* Typeface: Plus Jakarta Sans for headings and controls. Andika stays for article reading. */
:root {
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lift: 0 1px 2px rgba(22,35,59,.05), 0 8px 24px rgba(22,35,59,.07);
  --lift-hi: 0 2px 4px rgba(22,35,59,.06), 0 18px 40px rgba(22,35,59,.13);
}
h1, h2, h3 { font-family: var(--display); font-variation-settings: normal; font-weight: 800; letter-spacing: -0.02em; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.btn { font-weight: 700; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.teal { box-shadow: 0 6px 16px rgba(11,107,99,.25); }
.btn.teal:hover { background: #095A53; color: #fff; }
.btn.line:hover { background: var(--tinta); color: var(--papel); }
.btn.mango { background: var(--mangga); color: var(--tinta); box-shadow: 0 6px 16px rgba(245,165,36,.28); }
.btn.mango:hover { background: #FFB73D; color: var(--tinta); }
.btn.ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Header on the public pages: stays at the top, full width */
body.public .top { position: sticky; top: 0; z-index: 20; padding-top: 10px; padding-bottom: 10px; }
body.public .top::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc((100% - 100vw) / 2); right: calc((100% - 100vw) / 2); background: rgba(251,248,241,.88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(22,35,59,.08); }
.pubnav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.navlinks { display: flex; gap: 2px; margin-right: 8px; }
.navlink { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--tinta); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.navlink:hover { background: var(--hamog); color: var(--tinta); }
.navlink[aria-current="page"] { color: var(--dagat); }
.navlink[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 3px; border-radius: 3px; background: var(--mangga); }
.navlink.only-small { display: none; }
.navlogin { padding: 0 12px; color: var(--tinta); font-size: 15px; font-weight: 700; text-decoration: none; }
.navsign { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; white-space: nowrap; }
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; background: var(--puti); border: 1.5px solid var(--guhit); border-radius: 12px; }
.burger span { display: block; height: 2.5px; border-radius: 2px; background: var(--tinta); transition: transform .2s ease, opacity .2s ease; }
.pubnav.open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.pubnav.open .burger span:nth-child(2) { opacity: 0; }
.pubnav.open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Public pages */
.lp { --pad: clamp(48px, 7vw, 96px); animation: lpIn .4s ease both; }
@keyframes lpIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.lp h2 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.1; margin: 0; max-width: 24ch; }
.lp h3 { font-size: 20px; line-height: 1.25; margin: 0; }
.lp-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dagat); }
.lp-sub { font-size: 18px; line-height: 1.55; color: var(--abo); margin: 14px 0 0; max-width: 62ch; }
.lp-p { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--abo); }
.lp-sec { padding: var(--pad) 0; }
.lp-sec.tight { padding-top: clamp(28px, 4vw, 48px); }
.lp-sec.narrow { max-width: 760px; }
.lp-band { margin: 0 calc(50% - 50vw); padding: var(--pad) calc(50vw - 50%); }
.lp-band.soft { background: #F3EEE2; }
.lp-band.dark { background: radial-gradient(700px 360px at 88% 0%, rgba(18,137,126,.38), transparent 70%), var(--tinta); color: #fff; }
.lp-band.dark h2 { color: #fff; max-width: 26ch; }
.lp-band.dark .lp-kicker { color: var(--mangga); }

/* Home hero and page headers share one backdrop */
.lp-hero, .lp-head { margin: 0 calc(50% - 50vw); padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); background: radial-gradient(640px 340px at 92% 8%, rgba(245,165,36,.20), transparent 70%), radial-gradient(560px 360px at 0% 100%, rgba(11,107,99,.13), transparent 70%), linear-gradient(180deg, #F6F1E6, var(--papel)); }
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(32px, 6vw, 72px); padding-bottom: var(--pad); }
.lp-head { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(32px, 5vw, 64px); }
.lp-head h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.05; margin: 0; max-width: 20ch; }
.lp-eyebrow { display: inline-block; margin: 0 0 18px; padding: 8px 15px; background: var(--puti); color: var(--dagat); border: 1px solid rgba(11,107,99,.18); border-radius: 999px; font-size: 13px; font-weight: 700; box-shadow: var(--lift); }
.lp-hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.02; margin: 0; }
.lp-lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--abo); margin: 20px 0 0; max-width: 56ch; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-cta.center { justify-content: center; margin-top: 36px; }
.lp-note { font-size: 14px; color: var(--abo); margin: 16px 0 0; }

.lp-art { position: relative; }
.lp-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1; }
.lp-tile { border-radius: 26px; overflow: hidden; background: #D9D5CA; box-shadow: var(--lift); }
.lp-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.lp-collage:hover .lp-tile img { transform: scale(1.04); }
.lp-tile.t0 { border-top-left-radius: 104px; }
.lp-tile.t3 { border-bottom-right-radius: 104px; }
.lp-chip { position: absolute; left: -14px; bottom: 26px; margin: 0; padding: 12px 16px; background: var(--puti); border-radius: 16px; box-shadow: var(--lift-hi); font-size: 13px; line-height: 1.35; color: var(--abo); max-width: 220px; }
.lp-chip b { display: block; font-size: 15px; color: var(--tinta); }

.lp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 44px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.2); min-height: 96px; }
.lp-stats b { display: block; font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--mangga); }
.lp-stats span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.82); }

.lp-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.lp-door { display: flex; flex-direction: column; padding: 26px; background: var(--puti); border: 1px solid var(--guhit); border-radius: 24px; color: var(--tinta); text-decoration: none; box-shadow: var(--lift); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, opacity .6s ease; }
.lp-door:hover { transform: translateY(-4px); box-shadow: var(--lift-hi); border-color: rgba(11,107,99,.35); color: var(--tinta); }
.lp-door p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--abo); }
.lp-more { margin-top: auto; padding-top: 20px; font-weight: 700; color: var(--dagat); text-decoration: none; }
.lp-more::after { content: " \2192"; display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.lp-door:hover .lp-more::after, a.lp-more:hover::after { transform: translateX(4px); }

.lp-islands { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.lp-isl { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; border: 1px solid var(--guhit); text-decoration: none; box-shadow: var(--lift); transition: transform .2s ease, box-shadow .2s ease; }
.lp-isl:hover { transform: translateY(-4px); box-shadow: var(--lift-hi); }
.lp-isl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lp-isl:hover img { transform: scale(1.05); }
.lp-islTx { position: relative; display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 18px; }
.lp-isl.has-ph { color: #fff; border-color: transparent; background: var(--tinta); }
.lp-isl.has-ph:hover { color: #fff; }
.lp-isl.has-ph .lp-islTx { padding-top: 56px; background: linear-gradient(180deg, rgba(22,35,59,0), rgba(22,35,59,.86) 62%); }
.lp-islTx b { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.lp-islTx span { font-size: 14px; line-height: 1.35; opacity: .92; }
.lp-islTx small { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .85; }

.lp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 30px; min-height: 120px; }
.lp-article { display: flex; flex-direction: column; background: var(--puti); border: 1px solid var(--guhit); border-radius: 22px; overflow: hidden; color: var(--tinta); text-decoration: none; box-shadow: var(--lift); transition: transform .2s ease, box-shadow .2s ease; }
.lp-article:hover { transform: translateY(-4px); box-shadow: var(--lift-hi); color: var(--tinta); }
.lp-ph { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #D9D5CA; }
.lp-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lp-article:hover .lp-ph img { transform: scale(1.05); }
.lp-tx { display: flex; flex-direction: column; gap: 4px; padding: 15px 17px 19px; }
.lp-tx small { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--dagat); }
.lp-tx b { font-size: 18px; font-weight: 700; line-height: 1.25; }
.lp-tx span { font-family: var(--reading); font-size: 15px; line-height: 1.5; color: var(--abo); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.lp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.lp-sec.tight > .lp-cards, .lp-sec.tight > .lp-steps { margin-top: 0; }
.lp-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-card { display: flex; flex-direction: column; background: var(--puti); border: 1px solid var(--guhit); border-radius: 24px; padding: 26px; box-shadow: var(--lift); }
.lp-tag { align-self: flex-start; margin-bottom: 14px; padding: 5px 12px; background: var(--hamog); color: var(--dagat); border-radius: 999px; font-size: 12px; font-weight: 700; }
.lp-list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.lp-list li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; color: var(--tinta); }
.lp-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--hamog); }
.lp-list li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 8px; height: 4px; border-left: 2px solid var(--dagat); border-bottom: 2px solid var(--dagat); transform: rotate(-45deg); }

.lp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.lp-steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-step { padding: 24px; background: var(--puti); border: 1px solid var(--guhit); border-radius: 24px; box-shadow: var(--lift); }
.lp-step p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--abo); }
.lp-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 14px; background: var(--dagat); color: #fff; font-weight: 800; box-shadow: 0 6px 14px rgba(11,107,99,.28); }

.lp-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; margin-top: 36px; }
.lp-part { padding-top: 18px; border-top: 3px solid var(--dagat); }
.lp-part p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--abo); }

.lp-org { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 44px); background: var(--puti); border: 1px solid var(--guhit); border-radius: 30px; box-shadow: var(--lift); }
.lp-orgMark { display: block; width: 100%; height: auto; }
.lp-org h2 { color: #12264F; max-width: none; }
.lp-org h2 span { color: #B4862A; }

.lp-note-band { margin-top: 0; padding: 26px 28px; background: var(--hamog); border-radius: 24px; }
.lp-note-band p { margin: 8px 0 0; font-size: 17px; line-height: 1.55; }
.lp-sec + .lp-note-band, .lp-band + .lp-note-band { margin-top: var(--pad); }

.lp-join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin: var(--pad) 0 8px; padding: clamp(28px, 5vw, 52px); border-radius: 32px; color: #fff; background: radial-gradient(520px 280px at 100% 0%, rgba(245,165,36,.34), transparent 70%), radial-gradient(520px 300px at 0% 100%, rgba(18,137,126,.5), transparent 70%), var(--tinta); box-shadow: var(--lift-hi); }
.lp-join h2 { color: #fff; }
.lp-join p { margin: 10px 0 0; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.84); max-width: 52ch; }
.lp-join .lp-cta { margin-top: 0; }
.lp-note-band + .lp-join { margin-top: 24px; }

.lp-faq { border-bottom: 1.5px solid var(--guhit); }
.lp-faq:first-of-type { margin-top: 26px; border-top: 1.5px solid var(--guhit); }
.lp-faq summary { position: relative; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 26px; font-weight: 500; color: var(--dagat); transition: transform .2s ease; }
.lp-faq[open] summary::after { transform: rotate(45deg); }
.lp-faq p { margin: 0 0 20px; font-size: 17px; line-height: 1.6; color: var(--abo); max-width: 64ch; }
.lp-credits { margin: 28px 0 0; font-size: 12px; line-height: 1.5; color: var(--abo); }
.lp-credits summary { cursor: pointer; font-weight: 600; }
.lp-credits p { margin: 8px 0 0; font-size: 11px; }

/* Footer */
.foot-pub { display: none; }
body.public .foot { position: relative; z-index: 0; margin-top: 24px; padding-top: 48px; padding-bottom: 36px; border-top: none; color: rgba(255,255,255,.72); }
body.public .foot::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc((100% - 100vw) / 2); right: calc((100% - 100vw) / 2); background: var(--tinta); }
body.public .foot-pub { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 32px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.16); }
body.public .foot-app { display: none; }
.foot-brand img { display: block; height: 56px; width: auto; padding: 6px 12px; background: var(--papel); border-radius: 14px; }
.foot-brand p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; max-width: 34ch; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col b { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mangga); }
body.public .foot a { color: #fff; font-size: 15px; text-decoration: none; }
body.public .foot a:hover { color: var(--mangga); text-decoration: underline; }

/* In-app About: the organisation line */
.orgline { display: flex; align-items: center; gap: 16px; margin: 18px 0 0; padding: 16px 18px; max-width: 720px; background: var(--puti); border: 1.5px solid var(--guhit); border-radius: 18px; }
.orgline img { width: 72px; height: 72px; flex-shrink: 0; }
.orgline b { display: block; font-size: 18px; color: #12264F; }
.orgline span { font-size: 14px; color: var(--abo); }

/* Sign-in and profile screens */
.fine { font-size: 13px; line-height: 1.5; color: var(--abo); margin: 14px 0 0; }
.authcard { max-width: 460px; margin: 20px auto 0; padding: 28px 24px; background: var(--puti); border: 1.5px solid var(--guhit); border-radius: 24px; box-shadow: 0 10px 30px rgba(22,35,59,.06); }
.authcard h1 { font-size: 30px; margin: 0; }
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select { height: 52px; padding: 0 14px; border: 1.5px solid var(--abo); border-radius: 14px; background: var(--puti); color: var(--tinta); font-family: var(--ui); font-size: 17px; }
.btn.wide { width: 100%; margin-top: 14px; }
.form .btn.wide { margin-top: 2px; }
.or { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--abo); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--dagat); }
.msg { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.msg.good { background: var(--hamog); color: var(--tinta); }
.msg.bad { background: #FBE9E4; color: #7A2413; }
.linkish { background: none; border: none; padding: 0; color: var(--dagat); font-size: inherit; text-decoration: underline; }
.linkish.danger { color: var(--gumamela); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--guhit); }
.swatch[aria-checked="true"] { outline: 3px solid var(--tinta); outline-offset: 2px; }
.kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-top: 16px; }
.kid { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; background: var(--papel); border: 1.5px solid var(--guhit); border-radius: 18px; color: var(--tinta); }
.kid b { font-size: 17px; font-weight: 700; }
.kid small { font-size: 12px; color: var(--abo); }
.kid .avatar { width: 56px; height: 56px; font-size: 24px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.who { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-left: auto; padding: 0 14px 0 7px; background: var(--puti); border: 1.5px solid var(--guhit); border-radius: 999px; color: var(--tinta); font-size: 15px; font-weight: 600; }
.who span:last-child { max-width: 9ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 980px) {
  .burger { display: flex; }
  .navlogin { display: none; }
  .navlinks { display: none; position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; flex-direction: column; gap: 2px; margin: 0; padding: 10px; background: var(--puti); border: 1px solid var(--guhit); border-radius: 20px; box-shadow: var(--lift-hi); }
  .pubnav.open .navlinks { display: flex; }
  .navlink { min-height: 50px; padding: 0 14px; font-size: 17px; }
  .navlink[aria-current="page"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 4px; height: auto; }
  .navlink.only-small { display: inline-flex; border-top: 1px solid var(--guhit); border-radius: 0 0 10px 10px; margin-top: 4px; }
}
@media (max-width: 900px) {
  .lp-hero { grid-template-columns: 1fr; }
  .lp-art { max-width: 520px; }
  .lp-chip { left: 12px; }
  .lp-cards, .lp-cards.two, .lp-doors, .lp-steps.three { grid-template-columns: 1fr; }
  .lp-steps, .lp-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-org { grid-template-columns: 1fr; text-align: left; }
  .lp-orgMark { max-width: 160px; }
  body.public .foot-pub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .brand img { height: 42px; }
  .navsign { padding: 0 14px; }
  .lp-steps, .lp-parts { grid-template-columns: 1fr; }
  .lp-tile.t0 { border-top-left-radius: 60px; }
  .lp-tile.t3 { border-bottom-right-radius: 60px; }
  .lp-islands { grid-template-columns: 1fr; }
  .lp-isl { aspect-ratio: 16 / 10; }
  .lp-join .lp-cta, .lp-join .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .lp, .rv, .btn, .lp-door, .lp-isl, .lp-article, .lp-tile img, .lp-isl img, .lp-ph img { animation: none; transition: none; }
  .rv { opacity: 1; transform: none; }
}
.lp-sec + .lp-join { margin-top: 0; }
