:root {
  color-scheme: light;
  --ink: #09243a;
  --muted: #506b7e;
  --line: #d7e6ef;
  --surface: #f4f9fc;
  --surface-blue: #eaf5fb;
  --blue: #0878bd;
  --blue-deep: #07548e;
  --navy: #0a365c;
  --yellow: #ffd34f;
  --yellow-soft: #fff4bd;
  --green: #22a86d;
  --shadow: 0 24px 70px rgba(7, 63, 102, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0 0 auto;
  height: 520px;
  background: linear-gradient(180deg, #e9f7ff 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  pointer-events: none;
}

a { color: var(--blue-deep); }

.site-header {
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(11, 83, 131, .13);
}

.brand {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
}

nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); }
nav a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
nav a:hover { color: var(--blue-deep); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.language-switch button {
  min-width: 62px;
  padding: 6px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .78rem;
  font-weight: 750;
  cursor: pointer;
}
.language-switch button.is-active {
  background: var(--blue-deep);
  color: #fff;
}
.language-switch button:focus-visible,
nav a:focus-visible,
.brand:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 211, 79, .9);
  outline-offset: 3px;
}

main { width: min(1120px, calc(100% - 40px)); margin: auto; }

.hero { padding: clamp(72px, 12vw, 148px) 0 clamp(64px, 10vw, 120px); }
.hero.compact { max-width: 780px; }

.amenige-hero {
  min-height: 680px;
  padding: clamp(64px, 9vw, 116px) 0 clamp(76px, 10vw, 126px);
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr);
  align-items: center;
  gap: clamp(52px, 8vw, 110px);
}

.hero-copy { min-width: 0; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .16em;
}

.app-name-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 850;
  letter-spacing: -.02em;
}

.app-name-lockup img {
  width: 72px;
  height: 72px;
  border-radius: 17px;
  box-shadow: 0 12px 30px rgba(6, 72, 119, .22);
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.45rem, 6.5vw, 5rem);
  line-height: 1.13;
  letter-spacing: -.05em;
}

.amenige-hero h1 { font-size: clamp(2.65rem, 5.6vw, 4.75rem); }

.hero-subtitle {
  margin: 24px 0 0;
  color: var(--blue-deep);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 800;
}

.lead {
  max-width: 710px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.22rem);
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-badges span,
.availability {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 650;
}

.availability { margin: 28px 0 0; }
.availability-strong {
  border-color: #efd675;
  background: var(--yellow-soft);
  color: #725700;
}

.hero-visual {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  position: absolute;
  inset: 2%;
  border-radius: 44% 56% 63% 37% / 47% 38% 62% 53%;
  background:
    radial-gradient(circle at 76% 23%, rgba(255, 211, 79, .9), transparent 28%),
    linear-gradient(145deg, #bceaff 0%, #e8f8ff 54%, #fff3a6 100%);
  content: "";
  transform: rotate(-5deg);
}

.hero-app-icon {
  position: relative;
  z-index: 1;
  width: 68%;
  height: auto;
  border-radius: 23%;
  box-shadow: var(--shadow);
}

.weather-orbit {
  position: absolute;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(7, 63, 102, .13);
  font-size: .78rem;
  font-weight: 800;
}
.weather-orbit-rain { top: 12%; left: 0; background: var(--navy); color: #fff; }
.weather-orbit-safe { right: -1%; bottom: 16%; background: var(--yellow); color: #4f3a00; }

.question-band {
  margin-bottom: 78px;
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  align-items: center;
  gap: 48px;
  border-radius: 32px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 24px 60px rgba(6, 50, 87, .18);
}
.question-band .eyebrow { color: #6fd4ff; }
.question-band h2 { margin: 0; font-size: clamp(1.65rem, 3.2vw, 2.45rem); line-height: 1.3; }
.question-band ol { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.question-band li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0 12px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 15px;
  background: rgba(255, 255, 255, .07);
}
.question-band li > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  color: #463300;
  font-weight: 850;
}
.question-band strong { line-height: 1.35; }
.question-band small { color: #bcd2e2; font-size: .8rem; }

.section { padding: clamp(64px, 9vw, 102px) 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2,
.location-copy h2,
.safety-panel h2,
.english-summary h2,
.trust-grid h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.8vw, 2.85rem);
  line-height: 1.3;
  letter-spacing: -.03em;
}
.section-heading > p:last-child,
.location-copy > p,
.trust-grid article > p:last-child,
.english-summary > p:last-child { color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-grid article { min-width: 0; }
.feature-grid-cards article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, var(--surface));
}
.feature-grid h3 { margin: 18px 0 10px; font-size: 1.2rem; }
.feature-grid p { margin: 0; color: var(--muted); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--surface-blue);
  color: var(--blue-deep);
  font-weight: 850;
}

.location-section {
  display: grid;
  grid-template-columns: 1fr minmax(360px, .86fr);
  align-items: center;
  gap: clamp(48px, 9vw, 110px);
}
.location-copy > p:not(.eyebrow) { margin: 22px 0 0; }
.location-card {
  padding: 20px;
  border: 1px solid #c8dde9;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}
.location-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #eef3f6;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 750;
  text-align: center;
}
.location-tabs span { padding: 7px 5px; border-radius: 9px; }
.location-tabs .active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(8, 58, 90, .1); }
.location-status { display: flex; align-items: center; gap: 12px; padding: 25px 4px 19px; }
.location-status small,
.location-status strong { display: block; }
.location-status small { color: var(--muted); }
.location-status strong { font-size: 1.25rem; }
.status-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 7px rgba(34, 168, 109, .13); }
.location-row { display: flex; justify-content: space-between; gap: 20px; padding: 12px 4px; border-top: 1px solid var(--line); font-size: .9rem; }
.location-row span { color: var(--muted); }
.location-row strong { text-align: right; }
.location-card > p { margin: 17px 4px 2px; color: var(--muted); font-size: .8rem; line-height: 1.55; }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.trust-grid h2 { font-size: 1.35rem; }
.trust-grid p:last-child { margin-bottom: 0; }

.safety-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  margin: 70px 0;
  padding: clamp(28px, 5vw, 48px);
  border: 0;
  border-radius: 28px;
  background: #fff7d8;
}
.safety-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: var(--yellow);
  color: #543e00;
  font-size: 1.6rem;
  font-weight: 900;
}
.safety-panel h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.safety-panel p:last-child { margin-bottom: 0; color: #5f551f; }

.english-summary { max-width: 820px; }
.english-summary h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

.app-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 18px;
  align-items: center;
  max-width: 720px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(7, 63, 102, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.app-card:hover { transform: translateY(-3px); box-shadow: 0 20px 45px rgba(7, 63, 102, .14); }
.app-card strong, .app-card small { display: block; }
.app-card strong { font-size: 1.1rem; }
.app-card small { margin-top: 3px; color: var(--muted); }
.app-symbol { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 8px 22px rgba(6, 72, 119, .18); }
.arrow { color: var(--blue); font-size: 2rem; }

.document { max-width: 780px; padding: 76px 0 110px; }
.document h1 { font-size: clamp(2.15rem, 6vw, 3.8rem); }
.document h2 { margin: 52px 0 10px; font-size: 1.28rem; }
.document p, .document li { color: #334f62; }
.document li + li { margin-top: 8px; }
.document hr { margin: 64px 0; border: 0; border-top: 1px solid var(--line); }
.updated { margin: 16px 0 44px; color: var(--muted); font-size: .86rem; }
.small { color: var(--muted) !important; font-size: .86rem; }

.button {
  display: inline-block;
  margin-top: 4px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--blue-deep);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
  padding: 30px 0 52px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}
footer a { color: var(--muted); }
footer span { margin-left: auto; }

@media (max-width: 820px) {
  .amenige-hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-visual { width: min(86%, 390px); grid-row: 1; }
  .hero-copy { grid-row: 2; }
  .question-band,
  .location-section { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .site-header { min-height: 64px; }
  .header-actions { gap: 12px; }
  nav a:not(:last-child) { display: none; }
  .language-switch button { min-width: 54px; padding: 6px 7px; }
  .hero { padding: 64px 0 72px; }
  .amenige-hero { padding: 52px 0 72px; gap: 38px; }
  .hero-visual { width: min(88%, 330px); }
  .app-name-lockup { margin-bottom: 20px; }
  .app-name-lockup img { width: 60px; height: 60px; border-radius: 14px; }
  .question-band { margin-bottom: 40px; gap: 24px; border-radius: 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .location-section { gap: 36px; }
  .location-card { border-radius: 22px; }
  .safety-panel { grid-template-columns: 1fr; margin: 42px 0; }
  .document { padding: 58px 0 80px; }
  footer span { width: 100%; margin-left: 0; }
}

@media (max-width: 420px) {
  main,
  .site-header,
  footer { width: min(100% - 28px, 1120px); }
  .amenige-hero h1 { font-size: 2.45rem; }
  .weather-orbit { font-size: .72rem; }
  .location-row { align-items: flex-start; }
  .header-actions { gap: 8px; }
  .language-switch button { min-width: 50px; padding-inline: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .app-card { transition: none; }
}
