/* SyFu Waiting List renewal (2026-07) — shared JA/EN stylesheet. */

@font-face {
  font-family: "FRIZON";
  src: url("../fonts/Frizon.woff2") format("woff2"),
       url("../fonts/Frizon.woff") format("woff"),
       url("../fonts/Frizon.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #f8f7ff;
  --muted: #c8c5d8;
  --bg: #090712;
  --panel: rgba(20, 16, 34, 0.86);
  --panel-strong: rgba(28, 20, 46, 0.96);
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #4df7f1;
  --yellow: #fff45c;
  --pink: #ff4fc8;
  --purple: #8e5cff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 35%, rgba(142, 92, 255, 0.18), transparent 32rem),
    #090712;
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: #090712;
  background: #fff;
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(9, 7, 18, 0.82), transparent);
}

.header-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand img {
  display: block;
  width: 103px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--cyan);
}

.language-switch {
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 830px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9, 7, 18, 0.97) 0%, rgba(9, 7, 18, 0.79) 45%, rgba(9, 7, 18, 0.22) 78%),
    url("../img/wl/kv_bg.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 220px;
  background: linear-gradient(transparent, #090712);
}

.hero-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 830px;
  margin: 0 auto;
  padding: 136px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.status {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-family: Barlow, Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: FRIZON, Oxanium, Inter, sans-serif;
  line-height: 1.12;
}

html[lang="ja"] body {
  font-family: "Noto Sans JP", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3 {
  font-family: "Noto Sans JP", Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}

html[lang="ja"] h1 {
  font-size: clamp(1.75rem, 7vw, 2.9rem);
  line-height: 1.28;
  word-break: keep-all;
}

html[lang="ja"] .waitlist-panel h2 {
  width: 100%;
  margin-right: auto;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.35;
  text-align: left;
  word-break: keep-all;
}

html[lang="ja"] .section-heading {
  line-height: 1.35;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 690px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.hero-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.button,
.submit-button {
  position: relative;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #090712;
  background: linear-gradient(100deg, var(--cyan), var(--yellow));
  box-shadow: 0 10px 34px rgba(77, 247, 241, 0.18);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button::after,
.submit-button::after {
  content: "→";
  font-size: 1.2em;
}

.button:hover,
.button:focus-visible,
.submit-button:hover,
.submit-button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(10, 8, 20, 0.58);
  box-shadow: none;
}

.button-secondary::after {
  content: none;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 0.93rem;
  font-weight: 750;
  text-underline-offset: 5px;
}

.waitlist-panel {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(28, 20, 46, 0.96), rgba(10, 8, 20, 0.91));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.panel-kicker {
  margin: 0 0 10px;
  color: var(--pink);
  font-family: Barlow, Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.waitlist-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 500;
}

.panel-copy {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 750;
}

.email-input {
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.email-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(77, 247, 241, 0.16);
}

.recaptcha-slot {
  min-height: 78px;
  margin: 18px 0 14px;
}

.review-captcha {
  min-height: 74px;
  display: none;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.58);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
}

.review-mode .g-recaptcha {
  display: none;
}

.review-mode .review-captcha {
  display: flex;
}

.submit-button {
  width: 100%;
  min-height: 54px;
}

.submit-button[aria-busy="true"] {
  opacity: 0.7;
  cursor: wait;
}

.privacy-note,
.form-message {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
}

.privacy-note a {
  text-underline-offset: 3px;
}

.form-message {
  min-height: 1.5em;
  color: var(--cyan);
  font-weight: 700;
}

.form-message[data-state="error"] {
  color: #ff8a8a;
}

.flow-section {
  padding: 90px 0 100px;
  background:
    radial-gradient(circle at 82% 8%, rgba(142, 92, 255, 0.16), transparent 34rem),
    linear-gradient(rgba(9, 7, 18, 0.6), #090712);
}

.section-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-family: Barlow, Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 42px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.flow-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(30, 22, 48, 0.9), rgba(13, 10, 23, 0.92));
}

.flow-card::after {
  content: "";
  position: absolute;
  inset: auto -50px -70px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 92, 255, 0.38), transparent 68%);
}

.step-number {
  margin: 0 0 40px;
  color: var(--pink);
  font-family: FRIZON, Oxanium, sans-serif;
  font-size: 1.6rem;
}

.flow-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 500;
}

.flow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.route-strip {
  margin-top: 42px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(77, 247, 241, 0.26);
  border-radius: 16px;
  background: rgba(77, 247, 241, 0.055);
}

.route-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.route-strip strong {
  color: #fff;
}

.route-links {
  flex: 0 0 auto;
  display: flex;
  gap: 18px;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: #07060d;
}

.footer-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner > img {
  width: 90px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social-link img {
  width: 20px;
  height: 20px;
  display: block;
}

/* The X glyph carries more internal padding than the others, so bump it up. */
.social-link img[src*="twitter"] {
  width: 26px;
  height: 26px;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(77, 247, 241, 0.08);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
}

@media (max-width: 900px) {
  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .header-inner {
    min-height: 68px;
  }

  .header-nav a:not(.language-switch) {
    display: none;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(9, 7, 18, 0.62), rgba(9, 7, 18, 0.91) 48%, #090712 84%),
      url("../img/wl/kv_bg.jpg") 60% top / auto 520px no-repeat;
  }

  .hero-inner {
    min-height: auto;
    padding: 126px 0 76px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy-block {
    padding-top: 92px;
  }

  h1 {
    max-width: 630px;
  }

  .waitlist-panel {
    width: 100%;
    max-width: 620px;
  }

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

  .flow-card {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 24px;
  }

  .route-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 84px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
  }

  html[lang="ja"] h1 {
    font-size: clamp(1.75rem, 7vw, 2.9rem);
    line-height: 1.3;
  }

  .hero-copy-block {
    padding-top: 70px;
  }

  .hero-links,
  .route-links {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-links .button,
  .hero-links .text-link,
  .route-links .text-link {
    width: 100%;
    justify-content: center;
  }

  .waitlist-panel {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .recaptcha-slot {
    overflow: hidden;
  }

  .g-recaptcha {
    transform: scale(0.87);
    transform-origin: left center;
  }

  .flow-section {
    padding: 70px 0 76px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .route-strip {
    padding: 20px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-links {
    justify-content: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
