@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0f2c5c;
  --blue: #1a5fc8;
  --sky: #3b8be6;
  --foam: #e9f8ff;
  --paper: #f4f9ff;
  --ink: #0f2c5c;
  --muted: #34507a;
  --gold: #ffc94a;
  --coral: #ff5a4e;
  --radius-frame: 24px;
  --radius-control: 16px;
  --gutter: clamp(16px, 4vw, 40px);
  --page: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.92em;
  background: var(--foam);
  border-radius: 6px;
  padding: 0.05em 0.35em;
}

.outlined {
  color: #ffffff;
  -webkit-text-stroke: 0.14em var(--navy);
  paint-order: stroke fill;
  text-shadow: 0 0.09em 0 rgba(15, 44, 92, 0.35);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
  border: 3px solid var(--navy);
}

.skip:focus {
  top: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 249, 255, 0.94);
  border-bottom: 2px solid rgba(15, 44, 92, 0.12);
}

.topbar__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  margin-right: auto;
}

.brand__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 2px solid var(--navy);
}

.brand__name {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--foam);
  color: var(--blue);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 800;
  color: var(--navy);
  background: #ffffff;
  border: 2px solid var(--navy);
  border-radius: 12px;
  padding: 8px 14px;
  cursor: pointer;
  min-height: 44px;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before {
  top: -6px;
}

.menu-toggle__bars::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 64px 0 120px;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  z-index: -2;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 30, 64, 0.82) 0%, rgba(10, 30, 64, 0.62) 38%, rgba(10, 30, 64, 0.12) 72%, rgba(10, 30, 64, 0) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 64px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 34 C 120 10 240 10 360 30 S 600 56 720 34 S 960 6 1080 28 S 1320 54 1440 30 V64 H0 Z' fill='%23f4f9ff'/%3E%3Cpath d='M0 34 C 120 10 240 10 360 30 S 600 56 720 34 S 960 6 1080 28 S 1320 54 1440 30' fill='none' stroke='%23ffffff' stroke-width='5'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.hero__inner {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero__logo {
  width: clamp(220px, 30vw, 400px);
  margin: 0 0 8px -10px;
}

.hero__title {
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  max-width: 13ch;
  margin-bottom: 0.35em;
}

.hero__lead {
  color: #ffffff;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 34rem;
  text-shadow: 0 1px 2px rgba(10, 30, 64, 0.7);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 26px;
}

.store-button {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 0;
  min-height: 60px;
  padding: 8px 22px 10px;
  background: var(--gold);
  color: var(--navy);
  border: 3px solid var(--navy);
  border-radius: var(--radius-control);
  box-shadow: 0 5px 0 var(--navy);
  text-decoration: none;
  line-height: 1.15;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

a.store-button:hover {
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--navy);
}

a.store-button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--navy);
}

.store-button__small {
  font-size: 0.8rem;
  font-weight: 800;
}

.store-button__big {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
}

.store-button--soon {
  background: var(--foam);
}

.text-link {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.text-link--light {
  color: #ffffff;
}

.text-link--light:hover {
  color: var(--gold);
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--navy);
  background: radial-gradient(circle at 36% 32%, #ffffff 0%, var(--foam) 24%, #9ed8f5 64%, #3e9bd6 100%);
  pointer-events: none;
}

.bubble--a {
  width: 26px;
  height: 26px;
  right: 14%;
  top: 18%;
}

.bubble--b {
  width: 14px;
  height: 14px;
  right: 11%;
  top: 25%;
}

.band {
  padding: clamp(56px, 8vw, 104px) 0;
}

.split {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.kicker {
  font-weight: 800;
  color: var(--blue);
  font-size: 1.05rem;
  margin-bottom: 0.4em;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  color: var(--navy);
}

.frame {
  margin: 0;
  border: 5px solid var(--navy);
  border-radius: var(--radius-frame);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 10px 0 rgba(15, 44, 92, 0.16);
  position: relative;
}

.frame__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.frame figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--foam);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 6px 14px;
  border: 3px solid var(--navy);
  border-radius: 999px;
}

.frame--tilt-left {
  transform: rotate(-1.4deg);
}

.frame--tilt-right {
  transform: rotate(1.6deg);
}

.methods {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.methods__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 14px;
  align-items: start;
}

.methods__step {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--navy);
  background: radial-gradient(circle at 36% 32%, #ffffff 0%, var(--foam) 24%, #9ed8f5 64%, #3e9bd6 100%);
  display: grid;
  place-items: center;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
}

.methods__name {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--navy);
}

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

.wide {
  position: relative;
  max-width: calc(var(--page) + 160px);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wide__image {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: 50% 62%;
  border-radius: var(--radius-frame);
  border: 5px solid var(--navy);
}

.wide__card {
  position: relative;
  max-width: 560px;
  margin: -120px 0 0 clamp(16px, 5vw, 64px);
  background: #ffffff;
  border: 4px solid var(--navy);
  border-radius: 20px;
  padding: 26px 28px 10px;
  box-shadow: 0 8px 0 rgba(15, 44, 92, 0.16);
}

.wide__note {
  font-weight: 800;
  color: var(--blue);
}

.deep {
  margin-top: clamp(56px, 8vw, 104px);
  background: var(--navy);
  color: var(--foam);
  padding: clamp(56px, 8vw, 96px) 0;
}

.deep__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.deep__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  -webkit-text-stroke-color: #071833;
}

.deep__text p {
  font-size: 1.12rem;
}

.frame--danger {
  border-color: var(--coral);
  box-shadow: 0 10px 0 rgba(255, 90, 78, 0.28);
  transform: rotate(1.2deg);
}

.village {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas:
    "text rain"
    "fire fire";
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}

.village__text {
  grid-area: text;
  align-self: center;
}

.village__fire {
  grid-area: fire;
}

.village__fire .frame__img {
  aspect-ratio: 21 / 9;
}

.village__rain {
  grid-area: rain;
}

.islands {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(56px, 8vw, 104px);
}

.islands__head {
  max-width: 640px;
  margin-bottom: 26px;
}

.islands__title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}

.islands__image {
  width: 100%;
  aspect-ratio: 24 / 9;
  object-fit: cover;
  object-position: 50% 55%;
  border-radius: var(--radius-frame);
  border: 5px solid var(--navy);
}

.isles {
  list-style: none;
  margin: -46px 0 0;
  padding: 0 clamp(8px, 2vw, 24px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}

.isle {
  background: #ffffff;
  border: 3px solid var(--navy);
  border-radius: 18px;
  padding: 16px 16px 6px;
  box-shadow: 0 6px 0 rgba(15, 44, 92, 0.14);
}

.isle:nth-child(even) {
  margin-top: 22px;
}

.isle__dot {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid var(--navy);
  margin-bottom: 8px;
}

.isle--teduh .isle__dot {
  background: #7cc46a;
}

.isle--bakau .isle__dot {
  background: #3f8a4e;
}

.isle--karang .isle__dot {
  background: #e0806a;
}

.isle--angin .isle__dot {
  background: #8ea3b5;
}

.isle--kabut .isle__dot {
  background: #c7bedd;
}

.isle__name {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.3em;
}

.isle__line {
  color: var(--muted);
  font-size: 0.98rem;
}

.faq {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(56px, 8vw, 96px);
}

.faq__list {
  display: grid;
  gap: 12px;
}

.faq__item {
  background: #ffffff;
  border: 3px solid var(--navy);
  border-radius: 16px;
  padding: 0 20px;
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  padding: 14px 34px 14px 0;
  position: relative;
}

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

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
}

.faq__item[open] summary::after {
  content: "\2212";
}

.faq__item p {
  color: var(--muted);
  padding-bottom: 6px;
}

.closing {
  background: var(--blue);
  text-align: center;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  display: grid;
  justify-items: center;
  gap: 18px;
}

.closing__title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin: 0;
}

.footer {
  background: var(--navy);
  color: var(--foam);
}

.footer__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 40px var(--gutter) 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 40px;
  align-items: center;
}

.footer__brand img {
  width: 180px;
}

.footer__brand p {
  margin: 6px 0 0;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: flex-end;
}

.footer__links a {
  color: #ffffff;
  font-weight: 800;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__soon {
  color: var(--foam);
}

.footer__legal {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #c9dcf5;
}

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 96px);
}

.legal__head {
  margin-bottom: 28px;
}

.legal__title {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  margin-bottom: 0.2em;
}

.legal__date {
  color: var(--muted);
  font-weight: 800;
}

.legal h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-top: 1.6em;
}

.legal ul {
  padding-left: 1.2em;
}

.legal li {
  margin-bottom: 0.4em;
}

.legal__summary {
  background: #ffffff;
  border: 3px solid var(--navy);
  border-radius: 18px;
  padding: 6px 22px 4px;
}

.legal__summary h2 {
  margin-top: 0.8em;
}

.lost {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) var(--gutter);
  text-align: center;
}

.lost__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.lost__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
}

@media (max-width: 980px) {
  .isles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }

  .isle:nth-child(even) {
    margin-top: 0;
  }

  .isle:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--navy);
    padding: 8px var(--gutter) 14px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 8px;
    font-size: 1.1rem;
  }

  .topbar__inner {
    position: relative;
  }

  .split,
  .deep__inner {
    grid-template-columns: 1fr;
  }

  .village {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "fire"
      "rain";
  }

  .village__fire .frame__img {
    aspect-ratio: 16 / 9;
  }

  .wide__image {
    aspect-ratio: 16 / 10;
  }

  .wide__card {
    margin: -60px 12px 0;
    padding: 20px 20px 6px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 40px 0 96px;
  }

  .hero__shade {
    background: linear-gradient(180deg, rgba(10, 30, 64, 0.82) 0%, rgba(10, 30, 64, 0.7) 60%, rgba(10, 30, 64, 0.5) 100%);
  }

  .bubble {
    display: none;
  }
}

@media (max-width: 520px) {
  .isles {
    grid-template-columns: 1fr;
  }

  .isle:last-child {
    grid-column: auto;
  }

  .frame--tilt-left,
  .frame--tilt-right,
  .frame--danger {
    transform: none;
  }

  .brand__name {
    font-size: 1.1rem;
  }

  .store-button__big {
    font-size: 1.1rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
