/* Pasaportik — web pages. Ocean palette: deep sea, sea blue, turquoise; sunset accents. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans.ttf?v=6b68a22053") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --deep: #0b3c5d;
  --sea: #0e7c9a;
  --turquoise: #19b5b0;
  --lagoon: #e3f6f5;
  --sun: #ffb547;
  --coral: #ff6f59;
  --sand: #fff9f0;
  --white: #ffffff;
  --ink: #12303f;
  --ink-soft: #4a6472;
  --line: #d9ebee;
  --ocean: linear-gradient(135deg, #0b3c5d 0%, #0e7c9a 55%, #19b5b0 100%);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 17px/1.7 var(--font); }

a { color: var(--sea); font-weight: 600; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(14, 124, 154, .35); }
a:hover { color: var(--coral); text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--deep); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

h1, h2, h3 { color: var(--deep); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 5.5vw, 52px); font-weight: 800; margin: 0 0 12px; }
h2 { font-size: 24px; font-weight: 800; margin: 44px 0 12px; }
h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }

/* ------------------------------------------------------------------ header + ocean band */
.site-header { position: relative; background: var(--ocean); color: var(--white); padding-bottom: 70px; }
.site-header .bar {
  max-width: 1040px; margin: 0 auto; padding: 16px 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  color: var(--white); text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.01em;
}
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.brand:hover { color: var(--sun); }
.site-header nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px; }
.site-header nav a {
  color: rgba(255, 255, 255, .92); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 7px 14px; border-radius: 999px;
}
.site-header nav a:hover { background: rgba(255, 255, 255, .14); color: var(--white); }
.site-header nav a[aria-current="page"] { background: var(--white); color: var(--deep); }

.band { max-width: 1040px; margin: 0 auto; padding: 18px 22px 0; }
.band h1 { color: var(--white); }
.band .meta { color: rgba(255, 255, 255, .82); font-size: 15px; margin: 0; }
.band .lead { color: rgba(255, 255, 255, .9); }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; display: block; }

/* Illustrated header backgrounds (the app's own artwork), tinted for readable text. */
.site-header.bg-day, .site-header.bg-morning, .site-header.bg-evening, .site-header.bg-night {
  background-color: var(--deep); background-size: cover; background-repeat: no-repeat;
}
.site-header.bg-night {
  background-image: linear-gradient(100deg, rgba(11, 60, 93, .94) 0%, rgba(11, 60, 93, .78) 45%, rgba(14, 124, 154, .45) 100%), url("/assets/art/band-night.webp?v=237f78e098");
  background-position: center, center 62%;
}
.site-header.bg-morning {
  background-image: linear-gradient(100deg, rgba(11, 60, 93, .94) 0%, rgba(11, 60, 93, .76) 45%, rgba(14, 124, 154, .4) 100%), url("/assets/art/band-morning.webp?v=bc474aacef");
  background-position: center, center 70%;
}
.site-header.bg-evening {
  background-image: linear-gradient(100deg, rgba(11, 60, 93, .94) 0%, rgba(11, 60, 93, .76) 45%, rgba(14, 124, 154, .4) 100%), url("/assets/art/band-evening.webp?v=08b862e5cc");
  background-position: center, center 70%;
}
.site-header.bg-day {
  background-image: linear-gradient(180deg, rgba(11, 60, 93, .82) 0%, rgba(11, 60, 93, .5) 38%, rgba(14, 124, 154, .12) 72%, rgba(14, 124, 154, 0) 100%), url("/assets/art/hero-day.webp?v=5ad51278ec");
  background-position: center, center bottom;
}

/* home hero */
.is-home { padding-bottom: 96px; min-height: min(78vh, 720px); }
.is-home .band h1, .is-home .band .lead { text-shadow: 0 2px 14px rgba(5, 30, 48, .55); }
.is-home .wave { height: 96px; }
.hero { padding: 34px 0 170px; max-width: 640px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); }
.hero .lead { font-size: 19px; max-width: 560px; margin: 0 0 26px; color: rgba(255, 255, 255, .92); }
.soon {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sun); color: var(--deep); font-weight: 800; font-size: 16px;
  border-radius: 999px; padding: 12px 22px; box-shadow: 0 8px 20px rgba(255, 181, 71, .35);
}

/* ------------------------------------------------------------------ content */
main { max-width: 1040px; margin: 0 auto; padding: 22px 22px 70px; }
main > p, main > ul, main > table, main > h2, main > ol { max-width: 820px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 680px; }
.meta { color: var(--ink-soft); font-size: 15px; }

.card {
  background: var(--white); border-radius: 22px; padding: 26px 28px; margin: 24px 0; max-width: 820px;
  box-shadow: 0 10px 30px rgba(11, 60, 93, .08); border: 1px solid var(--line);
}
.card h2 { margin-top: 0; }

.notice {
  background: #fff3df; border-left: 5px solid var(--sun); border-radius: 12px;
  padding: 14px 18px; margin: 0 0 28px; font-size: 15px; max-width: 820px;
}
.notice strong { color: #8a5a00; }
.todo { background: #ffe3b8; color: #7a4b00; border-radius: 6px; padding: 1px 6px; font-size: .92em; }

ol.steps { padding-left: 0; list-style: none; counter-reset: step; }
ol.steps li { counter-increment: step; position: relative; padding: 4px 0 4px 44px; margin: 6px 0; }
ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 4px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--turquoise); color: var(--white); font-weight: 800; font-size: 14px;
  display: grid; place-items: center;
}
.path { font-weight: 700; color: var(--deep); background: var(--lagoon); border-radius: 8px; padding: 2px 8px; white-space: nowrap; }

table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 14px 0; font-size: 15.5px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th { width: 34%; font-weight: 700; color: var(--deep); background: var(--lagoon); }

/* home: features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 10px 0 30px; }
.feature {
  background: var(--white); border-radius: 22px; padding: 22px 24px; border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(11, 60, 93, .07); transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11, 60, 93, .12); }
.feature p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.feature .art {
  display: block; width: 100%; max-width: 168px; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 18px; margin-bottom: 14px; background: var(--lagoon);
}
.feature .icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 14px; color: var(--white);
}
.f1 .icon { background: linear-gradient(135deg, #0b3c5d, #0e7c9a); }
.f2 .icon { background: linear-gradient(135deg, #0e7c9a, #19b5b0); }
.f3 .icon { background: linear-gradient(135deg, #ff6f59, #ffb547); }
.f4 .icon { background: linear-gradient(135deg, #19b5b0, #7ad7a8); }

/* home: world map */
.map-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: center; margin: 10px 0 30px;
  background: var(--white); border-radius: 26px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(11, 60, 93, .1);
}
.map-card img { display: block; width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.map-card > div { padding: 24px 28px 24px 0; }
.map-card h2 { margin: 0 0 8px; }
.map-card p { margin: 0; color: var(--ink-soft); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, .8); }
.site-footer .bar {
  max-width: 1040px; margin: 0 auto; padding: 26px 22px 34px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sun); }
.site-footer .lang { margin-left: auto; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header nav { margin-left: 0; width: 100%; }
  .site-header nav a { padding: 6px 12px; font-size: 14px; }
  .hero { padding: 20px 0 120px; }
  .is-home { min-height: 0; }
  .map-card { grid-template-columns: 1fr; gap: 0; }
  .map-card > div { padding: 20px 22px 24px; }
  .features { grid-template-columns: 1fr; gap: 12px; }
  .feature { display: grid; grid-template-columns: 92px 1fr; column-gap: 16px; align-items: center; padding: 14px 16px; }
  .feature .art { grid-row: span 2; max-width: 92px; margin: 0; border-radius: 14px; }
  .feature h3 { align-self: end; margin: 0; }
  .feature p { align-self: start; font-size: 15px; }
  .site-footer .lang { margin-left: 0; }
  th { width: auto; }
  th, td { display: block; border: 0; padding: 4px 16px; }
  th { padding-top: 12px; }
  tr { display: block; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature, .feature:hover { transition: none; transform: none; }
}
