/* Felestia 公式サイト（felestia.panmarie.com）
   設計＝A案「星の間」（アプリの世界観：深紺×金×明朝・博物館パネルの格）
   ＋B案の宝石質感（CTA・カードの内側ハイライト）＋C案「星のたより」コピー。
   記名の仕掛け＝スクロールで満ちる月（アプリの月相8枚と同一素材）。 */

:root {
  --night-deep: #040a1e;
  --night: #0b1330;
  --night-soft: #14203f;
  --gold: #d9b36c;
  --brass: #8c6f3f;
  --moonlit: #f2d998;
  --star-cream: #f4e9c8;
  --text: #e9e2d0;
  --text-soft: #b9b3a2;
  --hairline: rgba(217, 179, 108, 0.28);
  --font-display-ja: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", serif;
  --font-display-en: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "Cormorant Garamond", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }

body {
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(242, 217, 152, 0.09), transparent 60%),
    linear-gradient(175deg, var(--night-deep) 0%, var(--night) 46%, var(--night-soft) 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

/* ---- 星空（微細な質感＝ベタ塗り禁止対応） ---- */
.stars {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1.1px 1.1px at 12% 22%, rgba(244, 233, 200, .8), transparent 60%),
    radial-gradient(1px 1px at 33% 64%, rgba(244, 233, 200, .5), transparent 60%),
    radial-gradient(1.4px 1.4px at 57% 14%, rgba(244, 233, 200, .9), transparent 60%),
    radial-gradient(1px 1px at 71% 47%, rgba(244, 233, 200, .55), transparent 60%),
    radial-gradient(1.2px 1.2px at 86% 76%, rgba(244, 233, 200, .7), transparent 60%),
    radial-gradient(1px 1px at 22% 87%, rgba(244, 233, 200, .5), transparent 60%),
    radial-gradient(1.3px 1.3px at 44% 38%, rgba(244, 233, 200, .65), transparent 60%),
    radial-gradient(1px 1px at 92% 25%, rgba(244, 233, 200, .6), transparent 60%);
  animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }

main { position: relative; z-index: 1; }

a { color: var(--moonlit); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--moonlit); outline-offset: 3px; border-radius: 4px;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--gold); color: var(--night-deep); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* ---- ヘッダー ---- */
header.site {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 14px clamp(16px, 4vw, 44px);
  background: rgba(4, 10, 30, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.wordmark {
  font-family: var(--font-display-en);
  font-size: 24px; letter-spacing: 0.34em; font-weight: 600;
  color: var(--star-cream); text-decoration: none; text-transform: uppercase;
}
.wordmark small { display: block; font-size: 10px; letter-spacing: .42em; color: var(--gold); }
nav.site { margin-left: auto; display: flex; gap: clamp(10px, 2.2vw, 26px); align-items: center; }
nav.site a {
  color: var(--text-soft); text-decoration: none; font-size: 13.5px; letter-spacing: .14em;
  padding: 13px 4px; /* タップ48px確保 */
}
nav.site a:hover { color: var(--moonlit); }
.lang-toggle {
  display: inline-flex; border: 1px solid var(--hairline); border-radius: 999px; overflow: hidden;
}
.lang-toggle button {
  appearance: none; border: 0; background: transparent; color: var(--text-soft);
  font-family: inherit; font-size: 12.5px; letter-spacing: .12em;
  padding: 12px 16px; min-height: 44px; cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { background: rgba(217, 179, 108, .16); color: var(--moonlit); }

/* ---- 言語切替（html[lang] で反対言語を隠す方式）----
   ※「既定で全部隠す」方式は .cta 等の display 指定に詳細度で負けるため不可。
   　JS無効時は両言語が並ぶ＝読める状態を保つ（graceful degradation）。 */
/* 【撤去済み 2026-07-05】html[lang]による表示切替＝言語別静的ページ化後は有害（旧site.jsのlang書き換えと
   組み合わさり、日本語ブラウザで英語ページのフォームが消えるバグの原因だった） */

/* ---- ヒーロー ---- */
.hero {
  position: relative; min-height: 92svh;
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(18px, 4vw, 56px);
  padding: clamp(28px, 6vw, 72px) clamp(16px, 5vw, 64px) clamp(48px, 7vw, 84px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: url("night_sky.webp");
  background-size: cover; background-position: top center;
  opacity: .5;
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.kicker {
  color: var(--gold); font-size: 12.5px; letter-spacing: .38em; margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display-ja);
  font-weight: 600;
  font-size: clamp(27px, 4.6vw, 52px);
  line-height: 1.65; letter-spacing: .05em;
  color: var(--star-cream);
  text-shadow: 0 2px 26px rgba(4, 10, 30, .9), 0 0 44px rgba(242, 217, 152, .18);
}
html[lang="en"] .hero h1 { font-family: var(--font-display-en); line-height: 1.35; }
.hero .lede {
  margin-top: 22px; max-width: 34em; color: var(--text-soft); font-size: clamp(14.5px, 1.6vw, 16.5px);
}
.cta-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px;
  background: linear-gradient(160deg, #f0d492 0%, var(--gold) 42%, #a9853f 100%);
  color: #241a06; text-decoration: none; font-weight: 700; letter-spacing: .06em; font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 248, 224, .85), inset 0 -6px 14px rgba(120, 84, 20, .4),
              0 10px 30px rgba(0, 0, 0, .45); /* 宝石の内側ハイライト（B案移植） */
}
.cta.ghost {
  background: transparent; color: var(--moonlit);
  border: 1px solid var(--hairline); box-shadow: none; font-weight: 500;
}
.cta:hover { filter: brightness(1.06); }
.hero-note { margin-top: 14px; font-size: 12px; color: var(--text-soft); letter-spacing: .08em; }

/* ヒーローのアーチ窓（アプリの窓＝正本素材の合成） */
.hero-window { position: relative; justify-self: center; width: min(74vw, 360px); }
.hero-window .frame { position: relative; z-index: 3; }
.hero-window .art {
  position: absolute; z-index: 1; inset: 6.5% 8.5% 5.2% 8.5%;
  object-fit: cover; height: 88%; width: 83%;
  border-radius: 46% 46% 8% 8% / 30% 30% 4% 4%;
}
.hero-window .moon {
  position: absolute; z-index: 2; width: 30%; left: 44%; top: 14%;
  filter: drop-shadow(0 0 18px rgba(242, 217, 152, .45));
  animation: breathe 5.6s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---- セクション共通 ---- */
section.band { padding: clamp(56px, 9vw, 120px) clamp(16px, 5vw, 64px); }
.inner { max-width: 1080px; margin: 0 auto; }
.band h2 {
  font-family: var(--font-display-ja); font-weight: 600;
  font-size: clamp(22px, 3vw, 32px); letter-spacing: .12em; color: var(--star-cream);
  margin-bottom: 14px;
}
html[lang="en"] .band h2 { font-family: var(--font-display-en); letter-spacing: .06em; }
.band .sub { color: var(--text-soft); max-width: 42em; margin-bottom: 40px; }
.hr-gold {
  height: 1px; border: 0; margin: 0 0 26px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  width: 120px;
}

/* 2カラム（本文×アプリ実画面） */
.inner.split {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(22px, 4.5vw, 64px); align-items: center;
}
.inner.split.reverse > div { order: 2; }
.inner.split.reverse > figure { order: 1; }
figure.shot { margin: 0; justify-self: center; width: min(78vw, 330px); }
@media (min-width: 901px) { figure.shot { width: 330px; } .card-stage .hero-card { width: 380px; } }
figure.shot img {
  border-radius: 34px;
  /* 枠線はbox-shadow外枠＝レイアウト幅を消費しない（1px枠で画像が328pxに再縮小されぼやける事故の根治） */
  box-shadow: 0 0 0 1px rgba(217, 179, 108, .4), 0 24px 60px rgba(0, 0, 0, .55);
}
figure.shot figcaption {
  margin-top: 12px; text-align: center; color: var(--text-soft);
  font-size: 12.5px; letter-spacing: .14em;
}

/* カード部品リスト（由来の星） */
ul.card-parts { list-style: none; margin: 18px 0 22px; display: grid; gap: 10px; }
ul.card-parts li {
  padding: 10px 0 10px 22px; position: relative;
  color: var(--text-soft); font-size: 14.5px; line-height: 1.8;
  border-bottom: 1px solid rgba(217, 179, 108, .14);
}
ul.card-parts li::before {
  content: "✦"; position: absolute; left: 0; top: 10px;
  color: var(--gold); font-size: 12px;
}
ul.card-parts b { color: var(--moonlit); font-weight: 600; }

/* 猫星神カード列（非対称に浮かせる） */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 3vw, 34px); align-items: end; }
.cats figure:nth-child(1) { transform: translateY(16px) rotate(-1.6deg); }
.cats figure:nth-child(3) { transform: translateY(22px) rotate(1.8deg); }
.cats img {
  border-radius: 14px; border: 1px solid var(--hairline);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
}
.cats figcaption { text-align: center; margin-top: 12px; color: var(--text-soft); font-size: 13px; letter-spacing: .16em; }

/* 特徴カード */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.6vw, 26px); }
.feature {
  border: 1px solid var(--hairline); border-radius: 18px;
  padding: 30px 26px 28px;
  background: linear-gradient(170deg, rgba(20, 32, 63, .66), rgba(4, 10, 30, .5));
  box-shadow: inset 0 1px 0 rgba(244, 233, 200, .1);
}
.feature .no {
  font-family: var(--font-display-en); font-size: 15px; letter-spacing: .3em; color: var(--brass);
}
.feature h3 {
  font-family: var(--font-display-ja); font-weight: 600; font-size: 19px;
  letter-spacing: .1em; color: var(--moonlit); margin: 10px 0 12px;
}
html[lang="en"] .feature h3 { font-family: var(--font-display-en); }
.feature p { color: var(--text-soft); font-size: 14.5px; }

/* 占星術の引用パネル */
.quote-panel {
  border: 1px solid var(--hairline); border-radius: 20px;
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(600px 280px at 12% 0%, rgba(217, 179, 108, .1), transparent 70%),
    linear-gradient(170deg, rgba(11, 19, 48, .85), rgba(4, 10, 30, .78));
}
.quote-panel blockquote {
  font-size: clamp(15.5px, 1.9vw, 18px); line-height: 2.15; color: var(--text);
}
.quote-panel cite { display: block; margin-top: 18px; color: var(--gold); font-style: normal; font-size: 13px; letter-spacing: .22em; }

/* 静かな約束（プライバシー帯） */
.promise { text-align: center; }
.promise p.big {
  font-family: var(--font-display-ja); font-size: clamp(19px, 2.6vw, 27px);
  letter-spacing: .14em; line-height: 2.1; color: var(--star-cream);
}
html[lang="en"] .promise p.big { font-family: var(--font-display-en); letter-spacing: .05em; }

/* ---- フッター ---- */
footer.site {
  border-top: 1px solid var(--hairline);
  padding: 44px clamp(16px, 5vw, 64px) 60px;
  color: var(--text-soft); font-size: 13.5px;
  position: relative; z-index: 1;
}
footer .cols { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 26px 56px; }
footer nav { display: grid; gap: 12px; }
footer a { color: var(--text-soft); text-decoration: none; padding: 4px 0; }
footer a:hover { color: var(--moonlit); }
footer .brand { margin-right: auto; }
footer .brand .wordmark { font-size: 19px; }
footer .fine { max-width: 1080px; margin: 34px auto 0; font-size: 11.5px; color: rgba(185, 179, 162, .66); }

/* ---- 記名の仕掛け：スクロールで満ちる月 ---- */
.scroll-moon {
  position: fixed; right: clamp(10px, 2.4vw, 26px); bottom: clamp(10px, 2.4vw, 26px); z-index: 40;
  width: 58px; height: 58px; pointer-events: none;
}
.scroll-moon img { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; filter: drop-shadow(0 0 12px rgba(242, 217, 152, .35)); }
.scroll-moon img.on { opacity: 1; }

/* ---- 表示アニメーション（staggered reveal） ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stars, .hero-window .moon { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-moon { display: none; }
}

/* ---- 法務・サポートページ ---- */
.doc { max-width: 820px; margin: 0 auto; padding: clamp(40px, 7vw, 84px) clamp(16px, 5vw, 40px) 90px; }
.doc h1 {
  font-family: var(--font-display-ja); font-weight: 600;
  font-size: clamp(24px, 3.4vw, 34px); letter-spacing: .1em; color: var(--star-cream); margin-bottom: 8px;
}
html[lang="en"] .doc h1 { font-family: var(--font-display-en); }
.doc .updated { color: var(--text-soft); font-size: 13px; margin-bottom: 40px; }
.doc h2 { font-size: 17.5px; letter-spacing: .08em; color: var(--moonlit); margin: 38px 0 10px; font-weight: 600; }
.doc p, .doc li { color: var(--text); font-size: 15px; }
.doc ol.plain { padding-left: 1.6em; }
.doc .backlink { display: inline-block; margin-top: 52px; color: var(--gold); }

/* ---- レスポンシブ ---- */
@media (max-width: 900px) {
  header.site { flex-wrap: wrap; gap: 8px 12px; padding: 10px 12px; }
  .wordmark { font-size: 16.5px; letter-spacing: 0.18em; }
  .wordmark small { font-size: 8.5px; letter-spacing: .3em; }
  nav.site { gap: 8px; }
  nav.site a { font-size: 12.5px; padding: 12px 2px; }
  .lang-toggle button { padding: 10px 10px; font-size: 11.5px; min-height: 40px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-window { order: -1; width: min(60vw, 290px); margin: 0 auto 6px; justify-self: center; }
  .features, .cats { grid-template-columns: 1fr; }
  .inner.split { grid-template-columns: 1fr; }
  .inner.split > figure { order: -1; }
  .inner.split.reverse > div, .inner.split.reverse > figure { order: revert; }
  .inner.split.reverse > figure { order: -1; }
  .cats figure { transform: none !important; max-width: 330px; margin: 0 auto; }
  nav.site a.hide-sp { display: none; }
}

/* ---- お問い合わせフォーム ---- */
form#contact { margin: 8px 0 56px; display: grid; gap: 20px; max-width: 620px; }
form#contact .field { display: grid; gap: 8px; }
form#contact label { color: var(--moonlit); font-size: 13.5px; letter-spacing: .08em; }
form#contact input, form#contact textarea {
  width: 100%; background: rgba(4, 10, 30, .6); color: var(--text);
  border: 1px solid var(--hairline); border-radius: 12px;
  padding: 13px 14px; font-family: inherit; font-size: 15px; line-height: 1.7;
}
form#contact input:focus-visible, form#contact textarea:focus-visible {
  outline: 2px solid var(--moonlit); outline-offset: 1px;
}
form#contact button.cta { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
form#contact .hint { color: var(--text-soft); font-size: 12.5px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-status { min-height: 1.6em; color: var(--moonlit); font-size: 14px; }
.doc h2.faq-q { font-size: 15px; margin-top: 26px; }

/* ---- H-7: カードの舞台（ドーン＋いっぱいいる） ---- */
.card-stage { position: relative; justify-self: center; width: min(92vw, 560px); }
.card-stage .hero-card { width: min(78vw, 380px); margin: 0 auto; position: relative; z-index: 3; }
.card-fan { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.mini-card {
  /* 実カードキャプチャ（名前・二つ名・魔法陣入り）＝はっきり見せる（隠しすぎ・ぼかしは廃止） */
  position: absolute; width: 40%; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(217, 179, 108, .45), 0 14px 36px rgba(0, 0, 0, .55);
  opacity: .92;
}
.mini-card img { display: block; width: 100%; height: auto; }
.mc1 { left: -8%; top: -3%; transform: rotate(-12deg); }
.mc2 { right: -10%; top: -5%; transform: rotate(11deg); }
.mc3 { left: -12%; top: 36%; transform: rotate(-7deg); opacity: .85; }
.mc4 { right: -13%; top: 33%; transform: rotate(8deg); opacity: .85; }
.mc5 { left: -4%; top: 63%; transform: rotate(-15deg); opacity: .8; }
.mc6 { right: -5%; top: 65%; transform: rotate(14deg); opacity: .8; }
.gallery-note { text-align: center; margin-top: 14px; color: var(--text-soft); font-size: 12.5px; letter-spacing: .12em; position: relative; z-index: 4; }
/* カード扇の上でもキャプションが読めるように（半透明の帯） */
#card .gallery-note, .card-stage figcaption {
  position: relative; z-index: 4;
  background: rgba(4, 10, 30, .72); border-radius: 8px;
  padding: 6px 12px; width: fit-content; margin-left: auto; margin-right: auto;
}

/* カードの生きた傾き（ホバー・タッチ非対応環境では静止） */
.tilt { transition: transform .5s ease, filter .5s ease; }
@media (hover: hover) {
  .tilt:hover { transform: perspective(900px) rotateY(-6deg) rotateX(3deg) scale(1.02); filter: brightness(1.05); }
}

/* ---- スクショ列（毎日セクション3枚） ---- */
.shots-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 30px); margin-top: 34px; align-items: start; }
.theme-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 330px)); gap: clamp(16px, 4vw, 44px); justify-content: center; }

/* ---- 中間CTA・最終CTA ---- */
.midcta-lead { width: 100%; text-align: center; color: var(--moonlit); letter-spacing: .12em; margin-bottom: 4px; }

/* ---- H-8: 流れ星（数十秒に一度・reduced-motionでは消す） ---- */
.shooting-stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.shooting-stars i {
  position: absolute; width: 130px; height: 1.5px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(244,233,200,.95), transparent);
  transform: rotate(-32deg); opacity: 0;
  animation: shoot 9s linear infinite;
}
.shooting-stars i:nth-child(1) { top: 12%; left: 68%; animation-delay: 2s; }
.shooting-stars i:nth-child(2) { top: 28%; left: 22%; animation-delay: 6.4s; animation-duration: 11s; }
.shooting-stars i:nth-child(3) { top: 55%; left: 78%; animation-delay: 9.8s; animation-duration: 13s; }
@keyframes shoot {
  0%, 92% { opacity: 0; transform: translate3d(0,0,0) rotate(-32deg); }
  93% { opacity: .9; }
  100% { opacity: 0; transform: translate3d(-340px, 212px, 0) rotate(-32deg); }
}

@media (prefers-reduced-motion: reduce) {
  .shooting-stars, .tilt { animation: none !important; transition: none !important; }
  .shooting-stars { display: none; }
  .parallax { transform: none !important; }
}

@media (max-width: 900px) {
  /* 満ちる月ウィジェット＝スマホでは小さく・本文に重ならないよう透明度も落とす */
  .scroll-moon { width: 34px; height: 34px; right: 8px; bottom: 8px; opacity: .75; }
  .shots-row { grid-template-columns: 1fr; }
  .shots-row .shot { width: min(78vw, 330px); margin: 0 auto; }
  .theme-duo { grid-template-columns: 1fr; justify-items: center; }
  .card-stage { margin-top: 10px; }
}

/* ---- 完璧化パス（2026-07-04）：CTAシマー・ミニカード浮遊 ---- */
.cta { position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 46%;
  left: -60%; transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,250,230,.5), transparent);
  animation: shimmer 5.2s ease-in-out infinite;
}
.cta.ghost::after { display: none; }
@keyframes shimmer { 0%, 74% { left: -60%; } 88% { left: 120%; } 100% { left: 120%; } }
.mini-card { animation: floaty 7s ease-in-out infinite; }
.mc2, .mc4, .mc6 { animation-duration: 8.6s; animation-delay: 1.4s; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .cta::after { display: none; } .mini-card { animation: none; } }

/* H-13: 猫星神のルビ（フェレスティアン） */
rt { font-size: .32em; letter-spacing: .22em; opacity: .8; font-weight: 400; padding-bottom: .2em; }

/* H-14: 待機リスト・ダイアログ（星夜世界観・2回確認入力） */
dialog#waitlist {
  margin: auto; width: min(440px, calc(100vw - 32px));
  background: radial-gradient(120% 140% at 50% 0%, #1b2342 0%, #0e1330 60%, #0a0e24 100%);
  color: var(--moonlit);
  border: 1px solid var(--hairline); border-radius: 18px;
  padding: 34px 30px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
dialog#waitlist:focus, dialog#waitlist:focus-visible { outline: none; }
dialog#waitlist::backdrop { background: rgba(4, 6, 18, .72); backdrop-filter: blur(3px); }
#wl-form { position: relative; }
#wl-form h2 { font-size: 18.5px; margin: 0 36px 10px 0; }
.wl-lede { font-size: 13.5px; line-height: 1.9; opacity: .85; margin-bottom: 18px; }
#wl-form .field { margin-bottom: 14px; }
#wl-form label { display: block; font-size: 12px; letter-spacing: .06em; margin-bottom: 6px; color: var(--gold); }
#wl-form input[type="email"] {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--hairline);
  color: var(--moonlit); font-size: 15px;
}
#wl-form input[type="email"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.wl-submit { width: 100%; justify-content: center; margin-top: 6px; }
.wl-close {
  position: absolute; top: -12px; right: -10px; width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 1px solid var(--hairline); color: var(--moonlit);
  font-size: 18px; cursor: pointer;
}
#wl-status { min-height: 1.4em; margin-top: 12px; font-size: 13px; }
.wl-privacy { margin-top: 10px; font-size: 11.5px; opacity: .65; line-height: 1.8; }
.wl-privacy a { color: var(--gold); }
