/* ALOLA — landing page styles
   Navy #0C1D52 / white, serif headings, system sans body. */

:root {
  --navy: #0c1d52;
  --navy-dark: #081436;
  --navy-tint: #eef1f8;
  --navy-tint-2: #e3e8f4;
  --white: #ffffff;
  --ink: #16204a;
  --ink-soft: #4a5480;
  --border: #dfe4f2;

  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 10px rgba(12, 29, 82, 0.08);
  --shadow-md: 0 10px 30px rgba(12, 29, 82, 0.12);

  --wrap: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

.hero a:focus-visible,
.site-header a:focus-visible {
  outline-color: var(--white);
}

/* Header */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  color: var(--white);
  text-decoration: none;
}

.lang-switch {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px;
  min-height: 44px;
  min-width: 44px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn[aria-pressed="true"] {
  background: var(--white);
  color: var(--navy);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 48px 0 56px;
  text-align: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__card {
  width: min(420px, 90%);
  background: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 24px;
  margin-bottom: 28px;
}

.hero__card-img {
  display: block;
  width: 100%;
  height: auto;
  color: var(--white);
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  margin-bottom: 0.2em;
}

.hero__tagline {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  color: var(--white);
  opacity: 0.85;
  margin-bottom: 1.2em;
  text-transform: uppercase;
}

.hero__desc {
  max-width: 46ch;
  color: var(--white);
  opacity: 0.92;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 12px;
}

.btn[hidden] {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-tint);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Sections */
.section {
  padding: 56px 0;
}

.section--tint {
  background: var(--navy-tint);
}

.section__title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin-bottom: 1em;
}

/* Benefit cards */
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}

.card p {
  color: var(--ink-soft);
  margin: 0;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.step__num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-serif);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step p {
  margin: 0;
  padding-top: 4px;
}

/* Category chips */
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chip {
  background: var(--navy-tint-2);
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}

.contact-card:hover {
  border-color: var(--navy);
}

.contact-card__icon {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--navy);
}

.contact-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-card__label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-card__value {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
  opacity: 0.85;
}

/* Scroll reveal (progressive enhancement only — see main.js) */
.has-js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .has-js .reveal {
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-js .reveal {
    transition: none;
  }
}

/* Responsive breakpoints */
@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero {
    padding: 72px 0 84px;
  }

  .hero__inner {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    gap: 56px;
  }

  .hero__card {
    margin-bottom: 0;
    flex: none;
  }

  .hero__desc {
    margin-left: 0;
  }

  .cta-row {
    justify-content: flex-start;
  }

  .hero__title,
  .hero__tagline,
  .hero__desc {
    text-align: left;
  }

  .hero__content {
    max-width: 480px;
  }
}
