:root {
  --brand-yellow: #FBBA00;
  --brand-yellow-soft: #FFF3C7;
  --text-dark: #555555;
  --text-muted: #777777;
  --paper: #ffffff;
  --surface: #f6f6f4;
  --line: rgba(85, 85, 85, 0.14);
  --shadow: 0 26px 70px rgba(42, 42, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background:
    radial-gradient(circle at 18% 20%, rgba(251, 186, 0, 0.13), transparent 28rem),
    radial-gradient(circle at 82% 78%, rgba(196, 196, 196, 0.28), transparent 32rem),
    linear-gradient(135deg, #ffffff 0%, var(--surface) 100%);
}

.coming-soon {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 4rem);
  overflow: hidden;
}

.card {
  width: min(100%, 760px);
  display: grid;
  justify-items: center;
  gap: clamp(1.1rem, 2.6vw, 1.7rem);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.35rem, 4vw, 4rem);
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: clamp(1.3rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 380px);
  padding: clamp(0.65rem, 2vw, 1rem) clamp(0.75rem, 2vw, 1.2rem);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

.accent-line {
  width: min(34vw, 150px);
  height: 4px;
  border-radius: 999px;
  background: var(--brand-yellow);
  box-shadow: 0 10px 28px rgba(251, 186, 0, 0.28);
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 720;
  color: var(--text-dark);
  text-wrap: balance;
}

.background-mark {
  position: absolute;
  z-index: -1;
  border: clamp(12px, 2vw, 22px) solid rgba(251, 186, 0, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.background-mark-one {
  width: clamp(9rem, 24vw, 20rem);
  aspect-ratio: 1;
  top: max(-7rem, -10vw);
  right: max(-6rem, -8vw);
}

.background-mark-two {
  width: clamp(7rem, 18vw, 14rem);
  aspect-ratio: 1;
  left: max(-5rem, -7vw);
  bottom: max(-4.5rem, -6vw);
  border-color: rgba(85, 85, 85, 0.08);
}

@media (max-width: 560px) {
  .coming-soon {
    align-items: center;
    padding: 1rem;
  }

  .card {
    min-height: min(78vh, 34rem);
    align-content: center;
    border-radius: 1.4rem;
  }

  .logo-frame {
    width: min(100%, 300px);
  }

  h1 {
    max-width: 14ch;
    font-size: clamp(2.05rem, 11vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    animation: card-in 680ms ease-out both;
  }

  @keyframes card-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}


.site-footer {
  position: absolute;
  inset-inline: 1rem;
  bottom: clamp(0.9rem, 2.4vw, 1.6rem);
  z-index: 1;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer a,
.home-link,
.legal-nav a {
  color: var(--text-muted);
  text-decoration: none;
  text-underline-offset: 0.22em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.home-link:hover,
.home-link:focus-visible,
.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--text-dark);
  text-decoration: underline;
  text-decoration-color: var(--brand-yellow);
}

.legal-page .coming-soon {
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: visible;
}

.legal-card {
  width: min(100%, 880px);
  justify-items: stretch;
  text-align: left;
  gap: clamp(1rem, 2vw, 1.45rem);
}

.legal-card .logo-frame,
.legal-card .accent-line,
.legal-card .home-link,
.legal-card .legal-nav {
  justify-self: center;
}

.legal-card .logo-frame {
  text-decoration: none;
}

.legal-content {
  width: 100%;
  font-size: clamp(1rem, 1.7vw, 1.08rem);
  line-height: 1.62;
  color: var(--text-dark);
}

.legal-content h1,
.legal-content h2,
.legal-content p {
  max-width: none;
}

.legal-content h1 {
  margin: 0 0 1.2rem;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 720;
}

.legal-content h2 {
  margin: 1.6rem 0 0.45rem;
  font-size: clamp(1.14rem, 2.3vw, 1.38rem);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--text-dark);
}

.legal-content p {
  margin: 0 0 1rem;
}

.legal-content strong {
  color: var(--text-dark);
}

.home-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.35rem;
  font-size: 0.95rem;
}

@media (max-width: 560px) {
  .site-footer {
    bottom: 0.8rem;
    font-size: 0.86rem;
  }

  .legal-page .coming-soon {
    align-items: start;
    padding: 1rem;
  }

  .legal-card {
    min-height: auto;
    align-content: start;
    padding: 1.35rem 1.05rem;
  }

  .legal-content h1 {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }
}


.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.footer-separator {
  color: rgba(85, 85, 85, 0.42);
}

.legal-nav {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

.legal-nav a[aria-current="page"] {
  color: var(--text-dark);
}

.privacy-card {
  width: min(100%, 980px);
}

.legal-content h3,
.legal-content h4,
.legal-content ul,
.legal-content li {
  max-width: none;
}

.legal-content h3 {
  margin: 1.25rem 0 0.35rem;
  font-size: clamp(1.03rem, 2vw, 1.18rem);
  line-height: 1.3;
  color: var(--text-dark);
}

.legal-content h4 {
  margin: 1rem 0 0.3rem;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text-dark);
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-inline-start: 1.2rem;
}

.legal-content li {
  margin: 0.28rem 0;
}

@media (max-width: 560px) {
  .legal-nav {
    gap: 0.45rem;
    font-size: 0.9rem;
  }

  .legal-content ul {
    padding-inline-start: 1rem;
  }
}
