:root {
  color-scheme: light;
  --ink: #173b3f;
  --ink-soft: #4b766f;
  --cream: #fff8e8;
  --paper: #fffdf8;
  --green: #58b368;
  --coral: #d93b61;
  --sky: #2d9cdb;
  --line: rgba(23, 59, 63, 0.12);
  --shadow: 0 28px 80px rgba(23, 59, 63, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--cream);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 209, 102, 0.28), transparent 28rem),
    radial-gradient(circle at 90% 95%, rgba(88, 179, 104, 0.2), transparent 28rem),
    var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100vh;
  padding: clamp(1rem, 2.5vw, 2.5rem);
}

.hero {
  width: min(1440px, 100%);
  min-height: calc(100vh - clamp(2rem, 5vw, 5rem));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(1.5rem, 3vw, 2.75rem);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 7.5rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 4.5rem);
  background: rgba(255, 255, 255, 0.9);
}

.brand-logo {
  width: min(24rem, 58vw);
  height: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(88, 179, 104, 0.28);
  border-radius: 999px;
  color: #286c45;
  background: rgba(88, 179, 104, 0.11);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0.32rem rgba(88, 179, 104, 0.14);
}

.hero-visual {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 68vh, 50rem);
  padding: clamp(2rem, 6vw, 6rem);
  background-image:
    linear-gradient(90deg, rgba(255, 253, 248, 0.7) 0%, rgba(255, 253, 248, 0.2) 50%, transparent 74%),
    url("assets/arc-en-ciel-hero.webp");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero-copy {
  width: min(42rem, 58%);
  padding: clamp(1.6rem, 3vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 2rem;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 18px 50px rgba(23, 59, 63, 0.14);
  backdrop-filter: blur(14px);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-family: "Avenir Next Rounded", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(2.35rem, 4.4vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.lead {
  max-width: 58ch;
  margin: 1.4rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 3.5rem;
  padding: 0.9rem 1.3rem;
  border-radius: 1rem;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 24px rgba(23, 59, 63, 0.22);
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-action svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.primary-action:hover {
  transform: translateY(-2px);
  background: #0f3033;
  box-shadow: 0 16px 30px rgba(23, 59, 63, 0.28);
}

.primary-action:focus-visible {
  outline: 4px solid rgba(45, 156, 219, 0.35);
  outline-offset: 4px;
}

.access-note {
  max-width: 16rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1.25rem, 4vw, 4.5rem);
  color: var(--ink-soft);
  background: #fff;
  font-size: 0.78rem;
}

footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.footer-links a,
.text-link {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.footer-links a:hover,
.text-link:hover {
  color: var(--coral);
}

.content-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.content-card {
  width: min(54rem, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}

.content-header img {
  width: min(19rem, 70vw);
  height: auto;
}

.content-body {
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.content-body h1 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.content-body h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.15rem;
}

.content-body p,
.content-body li {
  color: var(--ink-soft);
  line-height: 1.7;
}

.content-body ul {
  padding-left: 1.2rem;
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--ink);
  background: #fff;
  font-weight: 750;
  text-decoration: none;
}

.secondary-action:hover {
  border-color: rgba(217, 59, 97, 0.35);
  color: var(--coral);
}

.content-footer {
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  main {
    padding: 0;
  }

  .hero {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .site-header {
    min-height: 6.2rem;
  }

  .status-pill {
    padding: 0.6rem;
    font-size: 0;
  }

  .hero-visual {
    align-items: start;
    min-height: calc(100vh - 10rem);
    padding: 1.25rem;
    background-image:
      linear-gradient(180deg, rgba(255, 253, 248, 0.1) 30%, rgba(255, 253, 248, 0.82) 75%),
      url("assets/arc-en-ciel-hero.webp");
    background-position: 58% bottom;
  }

  .hero-copy {
    width: 100%;
    max-width: 38rem;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  h1 {
    max-width: 16ch;
    font-size: clamp(2.25rem, 9vw, 3.65rem);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 1rem;
  }

  .brand-logo {
    width: min(18.5rem, 76vw);
  }

  .hero-visual {
    padding: 0.75rem;
  }

  .hero-copy {
    padding: 1.35rem;
  }

  .primary-action {
    width: 100%;
  }

  .access-note {
    max-width: none;
  }

  footer {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .content-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-actions > * {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
