@font-face {
  font-family: "Cairo";
  src: url("/fonts/Cairo-VariableFont.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --turquoise: #0ccccd;
  --turquoise-ink: #0a6f70;
  --green: #89cd54;
  --gold: #f8ca64;
  --text: #212121;
  --muted: #4f4f4f;
  --surface: #ffffff;
  --bg: #f4fbfb;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(10, 111, 112, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Cairo", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--turquoise-ink);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 14px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--turquoise-ink);
  color: #fff;
}

.btn-primary:hover {
  background: #086061;
}

.btn-on-dark {
  background: #fff;
  color: var(--turquoise-ink);
}

.btn-on-dark:hover {
  background: var(--gold);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skip-link {
  position: absolute;
  right: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--turquoise-ink);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(12, 204, 205, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--turquoise-ink);
}

.header-cta {
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand-name {
  font-family: "Poppins", "Cairo", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--turquoise-ink);
  letter-spacing: 0.02em;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 28, 32, 0.28), rgba(4, 28, 32, 0.62)),
    url("/images/splash_bg.jpg") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy,
.hero-art {
  color: #fff;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.25;
}

.hero p {
  margin: 0 0 1.6rem;
  max-width: 38rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.94);
}

.hero .hero-actions {
  margin-top: 0.2rem;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.mascot {
  width: min(320px, 100%);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
}

.panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 10px 30px rgba(12, 204, 205, 0.08);
}

.note {
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

.note h2 {
  margin: 0 0 0.6rem;
  color: var(--turquoise-ink);
}

.note p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 3.4rem 0;
}

.section-alt {
  background: #fff;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--turquoise-ink);
  font-weight: 800;
}

.section h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.3;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(12, 204, 205, 0.16);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow);
}

.section-alt .card {
  background: var(--bg);
}

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

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

.mark {
  width: 2.4rem;
  height: 0.35rem;
  margin-bottom: 0.9rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--turquoise), var(--green));
}

.mark-gold {
  background: var(--gold);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.25rem 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(12, 204, 205, 0.16);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--turquoise-ink);
  color: #fff;
  font-family: "Poppins", "Cairo", sans-serif;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.4rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.download-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #0a6f70, #0ccccd);
  color: #fff;
}

.download-box h2,
.download-box p {
  color: #fff;
}

.download-box a {
  color: #fff;
  font-weight: 800;
  text-underline-offset: 0.18em;
}

.download-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.55);
  font-weight: 800;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid rgba(12, 204, 205, 0.16);
  border-radius: 14px;
  padding: 0.2rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  padding: 0.9rem 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: left;
  color: var(--turquoise-ink);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(12, 204, 205, 0.16);
  padding: 1.4rem 0 2rem;
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner a {
  color: var(--turquoise-ink);
  font-weight: 700;
  text-decoration: none;
}

.footer-inner a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

@media (max-width: 960px) {
  .cards,
  .steps,
  .download-box,
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .hero {
    padding: 2.2rem 0 3rem;
  }

  .hero-inner {
    text-align: center;
  }

  .hero p,
  .hero .hero-actions {
    margin-inline: auto;
    justify-content: center;
  }

  .header-inner {
    min-height: 64px;
    flex-wrap: wrap;
    padding: 0.4rem 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 0.4rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .section {
    padding: 2.4rem 0;
  }
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 0 2.8rem;
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 28, 32, 0.28), rgba(4, 28, 32, 0.62)),
    url("/images/splash_bg.jpg") center / cover no-repeat;
}

.page-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.3;
}

.page-hero p {
  margin: 0;
  max-width: 38rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.94);
}

.page-hero-logo {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.3));
}

.page-note {
  margin: 1.4rem 0 0;
  color: var(--muted);
}

.page-note a,
.faq a,
.card a,
.prose a {
  color: var(--turquoise-ink);
  font-weight: 800;
}

.support-box {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(12, 204, 205, 0.16);
  box-shadow: var(--shadow);
}

.support-box h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}

.support-box p {
  margin: 0;
  color: var(--muted);
}

.draft-banner {
  margin: 0 0 1.4rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #fff6d8;
  border: 1px solid rgba(248, 202, 100, 0.7);
  color: #5c4708;
  font-weight: 800;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.25rem;
}

.prose h3 {
  margin: 1.2rem 0 0.4rem;
  font-size: 1.08rem;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose ul {
  padding-inline-start: 1.2rem;
}

.confirm-box {
  margin-top: 2rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: #f3fbfb;
  border: 1px solid rgba(12, 204, 205, 0.28);
}

.confirm-box h2 {
  margin-top: 0;
}

.btn-outline {
  background: #fff;
  color: var(--turquoise-ink);
  border-color: var(--turquoise-ink);
}

.btn-outline:hover {
  background: #e7f7f7;
}

.invite-wrap {
  max-width: 44rem;
}

.invite-panel,
.invite-fallback {
  background: var(--surface);
  border: 1px solid rgba(12, 204, 205, 0.16);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
  box-shadow: var(--shadow);
}

.invite-panel[hidden] {
  display: none !important;
}

.invite-panel h2,
.invite-fallback h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.invite-panel p,
.invite-fallback li {
  color: var(--muted);
}

.invite-panel-error {
  border-color: rgba(180, 70, 70, 0.28);
  background: #fff8f8;
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.invite-steps,
.invite-fallback ol {
  margin: 0.4rem 0 0;
  padding-inline-start: 1.2rem;
}

.invite-fallback {
  margin-top: 1rem;
}

@media (max-width: 960px) {
  .support-box,
  .page-hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .page-hero {
    padding: 1.8rem 0 2.2rem;
  }

  .page-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .page-hero p {
    margin-inline: auto;
  }

  .page-hero-logo {
    width: 96px;
    height: 96px;
  }

  .support-box .btn {
    justify-self: start;
  }
}

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

  * {
    animation: none !important;
    transition: none !important;
  }
}
