:root {
  --ink: #41233b;
  --ink-soft: #734a57;
  --cream: #fff5d7;
  --cream-deep: #f7deb0;
  --orange: #ff8a5b;
  --orange-deep: #cb4f32;
  --cyan: #30d8ea;
  --cyan-deep: #087a96;
  --purple: #7437dc;
  --shadow: rgba(44, 28, 77, 0.24);
  --content: 1060px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #bdecff url("/assets/arcane-garden.jpg") center top / cover fixed no-repeat;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", system-ui, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(230, 248, 255, 0.15), rgba(45, 38, 105, 0.22));
}

a {
  color: #087a96;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 3px solid rgba(28, 99, 126, 0.24);
  background: rgba(255, 248, 222, 0.91);
  box-shadow: 0 5px 18px rgba(28, 45, 92, 0.13);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  width: calc(100% - 32px);
  max-width: var(--content);
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 3px solid #fff;
  border-radius: 14px;
  box-shadow: 0 3px 0 rgba(22, 83, 110, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.88rem;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a[aria-current="page"] {
  color: var(--orange-deep);
}

.page-shell {
  width: calc(100% - 28px);
  max-width: var(--content);
  margin: 46px auto 72px;
}

.hero {
  display: grid;
  min-height: 620px;
  padding: clamp(28px, 6vw, 68px);
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  text-align: center;
}

.hero-content {
  width: 100%;
  max-width: 720px;
  min-width: 0;
  padding: clamp(28px, 5vw, 54px);
  border: 4px solid rgba(12, 114, 145, 0.74);
  border-radius: 38px;
  background: linear-gradient(160deg, rgba(255, 249, 224, 0.96), rgba(255, 227, 179, 0.94));
  box-shadow: 0 14px 0 rgba(9, 86, 112, 0.32), 0 28px 65px var(--shadow), inset 0 0 0 4px rgba(255,255,255,.62);
}

.app-icon {
  width: clamp(120px, 23vw, 184px);
  height: auto;
  border: 5px solid white;
  border-radius: 34px;
  box-shadow: 0 8px 0 rgba(41, 30, 88, 0.18), 0 16px 35px rgba(76, 38, 139, 0.25);
}

.hero h1,
.page-title {
  margin: 22px 0 4px;
  color: white;
  font-size: clamp(2.4rem, 8vw, 5rem);
  font-weight: 1000;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 4px 0 var(--orange-deep), 0 7px 0 rgba(91, 41, 48, 0.26);
  text-transform: uppercase;
}

.tagline {
  margin: 18px 0 4px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 580px;
  margin: 18px auto 0;
  font-size: 1.05rem;
}

.pill-row {
  display: flex;
  min-width: 0;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pill {
  max-width: 100%;
  padding: 8px 15px;
  border: 2px solid rgba(8, 122, 150, 0.34);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #08677d;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.panel {
  overflow: hidden;
  border: 4px solid rgba(8, 112, 142, 0.75);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 249, 224, 0.98), rgba(255, 235, 195, 0.98));
  box-shadow: 0 10px 0 rgba(7, 78, 100, 0.26), 0 22px 55px var(--shadow), inset 0 0 0 4px rgba(255,255,255,.58);
}

.panel-heading {
  padding: clamp(28px, 5vw, 50px) clamp(24px, 6vw, 68px) 24px;
  border-bottom: 3px solid rgba(203, 79, 50, 0.17);
  background: linear-gradient(180deg, rgba(255, 155, 96, 0.19), rgba(255, 246, 217, 0));
  text-align: center;
}

.page-title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.eyebrow {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.content {
  padding: clamp(28px, 6vw, 70px);
}

.content h2 {
  margin: 42px 0 12px;
  color: #8e3e36;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25;
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  margin: 28px 0 8px;
  color: #645075;
}

.content p,
.content li {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.content ul,
.content ol {
  padding-left: 1.4rem;
}

.content li + li {
  margin-top: 8px;
}

.notice,
.contact-card {
  padding: 20px 22px;
  border: 3px solid rgba(9, 132, 159, .44);
  border-radius: 18px;
  background: rgba(74, 219, 232, .13);
}

.warning {
  border-color: rgba(202, 101, 41, .45);
  background: rgba(255, 177, 84, .15);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.info-card {
  padding: 22px;
  border: 3px solid rgba(8, 122, 150, 0.4);
  border-radius: 22px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 5px 0 rgba(7, 82, 102, .12);
}

.info-card h2,
.info-card h3 {
  margin-top: 0;
}

.button {
  display: inline-block;
  min-width: 190px;
  margin-top: 12px;
  padding: 12px 22px;
  border: 3px solid #076f8e;
  border-radius: 16px;
  background: linear-gradient(#43e4f0, #13bcd7);
  box-shadow: 0 5px 0 #075d77, inset 0 2px 0 rgba(255,255,255,.7);
  color: white;
  font-weight: 1000;
  letter-spacing: .04em;
  text-decoration: none;
  text-shadow: 0 2px 0 #075d77;
  text-transform: uppercase;
}

.button:hover {
  transform: translateY(1px);
  color: white;
  box-shadow: 0 4px 0 #075d77, inset 0 2px 0 rgba(255,255,255,.7);
}

.site-footer {
  padding: 28px 20px 36px;
  border-top: 3px solid rgba(15, 94, 121, 0.22);
  background: rgba(255, 246, 216, 0.92);
  color: var(--ink-soft);
  text-align: center;
}

.footer-links {
  display: flex;
  margin-bottom: 12px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: .85rem;
  text-transform: uppercase;
}

.small {
  font-size: .88rem;
}

@media (max-width: 760px) {
  .nav-shell {
    min-height: 64px;
  }

  .nav-links a:not([aria-current="page"]) {
    display: none;
  }

  .page-shell {
    margin-top: 22px;
  }

  .hero {
    min-height: calc(100vh - 92px);
    padding: 10px 0 34px;
  }

  .hero-content {
    border-radius: 28px;
  }

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

  .content {
    padding: 28px 22px 38px;
  }
}

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

  *, *::before, *::after {
    transition-duration: .01ms !important;
  }
}
