/* =========================================================
   2026 Global Traders' Private Dinner · Guangzhou
   Mobile-first invitation & registration experience
   ========================================================= */

:root {
  --bg: #050b1a;
  --bg-deep: #030713;
  --panel: #0a1730;
  --panel-2: #0c1d3b;
  --line: rgba(147, 190, 255, 0.14);
  --line-strong: rgba(147, 190, 255, 0.26);
  --text: #f3f7ff;
  --muted: #91a6c8;
  --muted-2: #6e83a4;
  --cyan: #66d9ff;
  --blue: #3f7dff;
  --violet: #8a72ff;
  --gold: #e8c47c;
  --danger: #ff7b86;
  --success: #66e0b0;
  --page: 560px;
  --radius: 22px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    sans-serif;
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.2;
}

.ambient-a {
  top: -240px;
  left: -180px;
  background: #1f5dff;
}

.ambient-b {
  right: -220px;
  bottom: -260px;
  background: #6f4dff;
  opacity: 0.14;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(35, 78, 154, 0.24), transparent 70%),
    var(--bg);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.55);
  padding-bottom: 108px;
  overflow: hidden;
}

/* ---------- Hero ---------- */

/* Mobile order: hero first, then copy, then details. */
.page-main {
  display: flex;
  flex-direction: column;
}

.pc-layout,
.pc-rail,
.pc-main {
  display: contents;
}

.rail-cta {
  display: none;
}

.hero { order: 1; }
.intro { order: 2; }
.countdown-wrap { order: 3; }
.sec-details { order: 4; }
.sec-why { order: 5; }
.quote-band { order: 6; }
.sec-process { order: 7; }
.sec-faq { order: 8; }
.host-card { order: 9; }

.hero {
  position: relative;
  background: #06102a;
}

.hero picture,
.hero img {
  display: block;
  width: 100%;
}

.hero img {
  height: auto;
  aspect-ratio: 1800 / 1012;
  object-fit: cover;
}

.hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(5, 11, 26, 0.55) 55%, var(--bg));
  pointer-events: none;
}

/* ---------- Intro ---------- */

.intro {
  position: relative;
  padding: 6px 22px 0;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--cyan);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow-line {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.intro h1 {
  margin: 14px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(34px, 9.4vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.intro h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #ffffff 4%, #b9ddff 42%, #8d9dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lede {
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
  text-wrap: pretty;
}

.meta-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.meta-block {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.meta-label {
  margin-bottom: 4px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.meta-block strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.meta-block strong.gold {
  color: var(--gold);
}

.meta-sub {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta-rule {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}

/* ---------- Countdown ---------- */

.countdown-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 22px 0;
  padding: 11px 14px;
  border: 1px solid rgba(102, 217, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(11, 37, 73, 0.72), rgba(8, 19, 40, 0.5));
}

.countdown-label {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.count-cell {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.count-cell b {
  min-width: 20px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
}

.count-cell span {
  color: var(--muted-2);
  font-size: 8px;
}

.countdown i {
  color: rgba(102, 217, 255, 0.35);
  font-size: 11px;
  font-style: normal;
}

/* ---------- Sections ---------- */

.section {
  padding: 38px 22px 0;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 7px 0 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.detail-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 38, 76, 0.82), rgba(7, 17, 36, 0.92));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.detail-card::before {
  position: absolute;
  top: 0;
  left: 24px;
  width: 110px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  content: "";
}

.detail-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 17px 18px;
  border-bottom: 1px solid rgba(147, 190, 255, 0.08);
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(102, 217, 255, 0.16);
  border-radius: 11px;
  color: var(--cyan);
  background: rgba(102, 217, 255, 0.06);
}

.detail-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.detail-label {
  display: block;
  margin-bottom: 2px;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.detail-row p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

/* ---------- Value cards ---------- */

.value-grid {
  display: grid;
  gap: 10px;
}

.value-card {
  position: relative;
  overflow: hidden;
  padding: 19px 18px 18px 62px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 31, 63, 0.76), rgba(6, 15, 33, 0.66));
}

.value-card::after {
  position: absolute;
  top: -50px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 125, 255, 0.18), transparent 68%);
  content: "";
  pointer-events: none;
}

.value-no {
  position: absolute;
  top: 13px;
  right: 15px;
  color: rgba(145, 166, 200, 0.3);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.value-icon {
  position: absolute;
  top: 20px;
  left: 17px;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  color: var(--cyan);
}

.value-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.value-card h3 {
  margin: 0 0 5px;
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

/* ---------- Quote ---------- */

.quote-band {
  position: relative;
  margin: 38px 22px 0;
  padding: 34px 24px 30px;
  overflow: hidden;
  border: 1px solid rgba(138, 114, 255, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 130% at 90% 0%, rgba(138, 114, 255, 0.2), transparent 55%),
    radial-gradient(80% 130% at 0% 100%, rgba(63, 125, 255, 0.17), transparent 55%),
    #081731;
  text-align: center;
}

.quote-band::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 0.6px, transparent 0.6px);
  background-size: 13px 13px;
  opacity: 0.2;
  content: "";
  pointer-events: none;
}

.quote-mark {
  position: relative;
  width: 23px;
  height: 23px;
  margin-bottom: 10px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
}

.quote-band p {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.quote-band span {
  position: relative;
  display: block;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

/* ---------- Steps ---------- */

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  display: flex;
  gap: 15px;
  padding-bottom: 21px;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li:not(:last-child)::before {
  position: absolute;
  top: 33px;
  bottom: 7px;
  left: 15px;
  width: 1px;
  background: linear-gradient(180deg, rgba(102, 217, 255, 0.35), rgba(102, 217, 255, 0.04));
  content: "";
}

.step-num {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(102, 217, 255, 0.24);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(8, 24, 49, 0.9);
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.steps h3 {
  margin: 3px 0 3px;
  font-size: 14.5px;
  font-weight: 650;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

/* ---------- FAQ ---------- */

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 550;
  list-style: none;
}

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

.faq-list summary svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--muted-2);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 0.25s ease;
}

.faq-list details[open] summary svg {
  transform: rotate(180deg);
}

.faq-list details p {
  margin: -2px 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

/* ---------- Host ---------- */

.host-card {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 38px 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(14, 33, 65, 0.7), rgba(6, 15, 33, 0.55));
}

.host-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232, 196, 124, 0.3);
  border-radius: 12px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}

.host-card div {
  min-width: 0;
  flex: 1;
}

.host-card p {
  margin: 0 0 1px;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.host-card strong {
  display: block;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.host-card div span {
  display: block;
  margin-top: 1px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.host-card a {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.host-card a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.host-card a svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

/* ---------- Footer ---------- */

.footer {
  padding: 34px 22px 22px;
  text-align: center;
}

.footer p {
  margin: 0;
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.8;
}

.footer-links {
  margin-top: 2px !important;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-links span {
  margin: 0 6px;
  opacity: 0.5;
}

.footer-note {
  margin-top: 8px !important;
  opacity: 0.65;
}

/* ---------- Sticky CTA ---------- */

.sticky-cta {
  position: fixed;
  z-index: 90;
  right: 0;
  bottom: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--page);
  padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(147, 190, 255, 0.13);
  background: rgba(5, 13, 29, 0.88);
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.sticky-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.3;
}

.sticky-copy span {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.sticky-copy strong {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: scale(0.985);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.btn-primary {
  flex: 0 0 auto;
  min-width: 138px;
  height: 46px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(100deg, #2f6df6, #6a67ff 58%, #8a72ff);
  box-shadow: 0 8px 24px rgba(63, 125, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(63, 125, 255, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-submit {
  position: relative;
  width: 100%;
  height: 51px;
  margin-top: 4px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(100deg, #2f6df6, #6a67ff 58%, #8a72ff);
  box-shadow: 0 12px 30px rgba(63, 125, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 15px;
}

.btn-submit.is-loading .btn-label {
  opacity: 0;
}

.btn-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  width: 19px;
  height: 19px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-submit.is-loading .btn-spinner {
  display: block;
}

.btn-ghost {
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12.5px;
}

.btn-ghost:hover {
  border-color: rgba(102, 217, 255, 0.4);
}

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 12, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: var(--page);
  max-height: 92dvh;
  padding: 12px 22px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background:
    radial-gradient(100% 45% at 50% 0%, rgba(39, 79, 151, 0.26), transparent 70%),
    #07132a;
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, 104%);
  transition: transform 0.34s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.modal.is-open .sheet {
  transform: translate(-50%, 0);
}

.sheet-handle {
  width: 38px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(145, 166, 200, 0.28);
}

.sheet-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.sheet-close svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.sheet-head {
  margin-bottom: 20px;
  padding-right: 28px;
}

.sheet-head h2,
.success-view h2 {
  margin: 6px 0 6px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.sheet-head > p:last-child,
.success-sub {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

/* ---------- Form ---------- */

.field {
  margin-bottom: 13px;
}

.field label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  color: #dce7fa;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field label span {
  color: var(--cyan);
}

.field label .optional {
  margin-left: 2px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 400;
}

.field input {
  width: 100%;
  height: 47px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder {
  color: rgba(145, 166, 200, 0.62);
}

.field input:focus {
  border-color: rgba(102, 217, 255, 0.58);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 0 3px rgba(102, 217, 255, 0.09);
}

.field.has-error input {
  border-color: rgba(255, 123, 134, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 123, 134, 0.08);
}

.field-error {
  min-height: 0;
  margin: 0;
  color: var(--danger);
  font-size: 10.5px;
  line-height: 1.5;
}

.field-error:not(:empty) {
  margin-top: 5px;
}

.consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 6px 0 3px;
  color: var(--muted);
  cursor: pointer;
  font-size: 10.5px;
  line-height: 1.65;
}

.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.checkbox-ui {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.checkbox-ui svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: #04101f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
  opacity: 0;
}

.consent input:checked + .checkbox-ui {
  border-color: var(--cyan);
  background: var(--cyan);
}

.consent input:checked + .checkbox-ui svg {
  opacity: 1;
}

.consent input:focus-visible + .checkbox-ui {
  box-shadow: 0 0 0 3px rgba(102, 217, 255, 0.18);
}

.consent a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-error {
  margin-bottom: 8px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  margin: 9px 0 0;
  color: var(--muted-2);
  font-size: 9.5px;
  text-align: center;
}

.form-note svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

/* ---------- Success ---------- */

.success-view {
  text-align: center;
}

.success-seal {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 4px auto 15px;
  border: 1px solid rgba(102, 224, 176, 0.4);
  border-radius: 50%;
  color: var(--success);
  background: rgba(102, 224, 176, 0.08);
  box-shadow: 0 0 0 7px rgba(102, 224, 176, 0.04);
  animation: sealIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

.success-seal svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.success-view h2 {
  font-size: 27px;
}

.success-sub {
  max-width: 350px;
  margin: 0 auto;
}

.pass-card {
  position: relative;
  margin: 21px 0 16px;
  padding: 17px 17px 15px;
  overflow: hidden;
  border: 1px solid rgba(232, 196, 124, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(100% 160% at 100% 0%, rgba(63, 125, 255, 0.2), transparent 55%),
    linear-gradient(145deg, #0c1d3a, #071127);
  text-align: left;
}

.pass-card::before,
.pass-card::after {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(232, 196, 124, 0.28);
  border-radius: 50%;
  background: #07132a;
  content: "";
}

.pass-card::before {
  left: -8px;
}

.pass-card::after {
  right: -8px;
}

.pass-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px dashed rgba(147, 190, 255, 0.18);
}

.pass-top span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.pass-top b {
  color: var(--gold);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.pass-meta {
  display: flex;
  gap: 26px;
  padding: 12px 0;
}

.pass-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pass-meta span {
  color: var(--muted-2);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.pass-meta b {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pass-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 11px;
  border-top: 1px dashed rgba(147, 190, 255, 0.18);
}

.pass-code span {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.pass-code strong {
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.pass-status {
  position: absolute;
  top: 60px;
  right: 16px;
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid rgba(232, 196, 124, 0.24);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(232, 196, 124, 0.07);
  font-size: 8px;
}

.pass-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.success-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 9px;
}

.success-hint {
  margin: 10px 0 0;
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.6;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  z-index: 1200;
  top: 50%;
  left: 50%;
  max-width: calc(100vw - 48px);
  padding: 10px 17px;
  border: 1px solid rgba(147, 190, 255, 0.18);
  border-radius: 10px;
  color: var(--text);
  background: rgba(4, 11, 24, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  font-size: 12px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -44%);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* ---------- Legal ---------- */

.legal-page {
  padding-bottom: 34px;
}

.legal {
  padding: 28px 22px 8px;
}

.legal-back {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 11px;
}

.legal-back svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.legal h1 {
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.legal-date {
  margin: 0 0 26px;
  color: var(--muted-2);
  font-size: 10px;
}

.legal > p,
.legal li {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
}

.legal > p {
  margin: 0 0 13px;
}

.legal h2 {
  margin: 27px 0 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.legal ul {
  margin: 0 0 13px;
  padding-left: 18px;
}

.legal li {
  margin-bottom: 4px;
}

.legal li::marker {
  color: var(--cyan);
}

.legal-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  align-items: baseline;
  margin-top: 30px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(10, 23, 48, 0.65);
}

.legal-contact span {
  width: 100%;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.legal-contact strong {
  font-size: 13px;
}

.legal-contact a {
  color: var(--cyan);
  font-size: 11px;
}

.copy-buffer {
  position: fixed;
  top: -1000px;
  left: -1000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ---------- Reveal ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Desktop ---------- */

@media (min-width: 720px) {
  body {
    padding: 28px 0;
    background:
      radial-gradient(50% 60% at 18% 8%, rgba(39, 87, 187, 0.24), transparent 60%),
      radial-gradient(45% 55% at 84% 92%, rgba(110, 77, 255, 0.18), transparent 60%),
      #02050d;
  }

  .page {
    border: 1px solid rgba(147, 190, 255, 0.12);
    border-radius: 30px;
    padding-bottom: 100px;
  }

  .hero {
    border-radius: 29px 29px 0 0;
    overflow: hidden;
  }

  .sticky-cta {
    bottom: 28px;
    border: 1px solid rgba(147, 190, 255, 0.16);
    border-radius: 18px;
    max-width: calc(var(--page) - 24px);
    padding: 11px 16px;
  }
}

/* ---------- Desktop / large screens ---------- */

@media (min-width: 1000px) {
  :root {
    --page: 1200px;
  }

  body {
    padding: 28px 24px;
  }

  .page {
    max-width: var(--page);
    padding-bottom: 44px;
    overflow: visible;
    border-radius: 30px;
  }

  .page-main {
    display: block;
  }

  .pc-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 0 42px;
    align-items: start;
    padding: 38px 40px 0;
  }

  .pc-rail {
    position: sticky;
    top: 22px;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 18px;
    align-self: start;
  }

  .pc-rail .intro,
  .pc-rail .countdown-wrap,
  .rail-cta {
    order: 0;
  }

  .pc-main {
    display: block;
    min-width: 0;
  }

  .intro {
    padding: 0;
  }

  .intro h1 {
    margin: 12px 0 10px;
    font-size: 40px;
    line-height: 1.2;
  }

  .intro .lede {
    font-size: 13px;
    line-height: 1.75;
  }

  .intro .meta-strip {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 18px;
    padding: 10px 0;
  }

  .intro .meta-rule {
    display: none;
  }

  .intro .meta-block {
    display: grid;
    grid-template-areas:
      "label value"
      "label sub";
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(147, 190, 255, 0.09);
  }

  .intro .meta-block:last-child {
    border-bottom: 0;
  }

  .intro .meta-label {
    grid-area: label;
    margin: 0;
  }

  .intro .meta-block strong {
    grid-area: value;
    font-size: 19px;
  }

  .intro .meta-sub {
    grid-area: sub;
    margin: 0;
    overflow: visible;
    font-size: 9.5px;
    line-height: 1.5;
    text-overflow: clip;
    white-space: normal;
  }

  .countdown-wrap {
    margin: 0;
    padding: 13px 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .countdown-wrap .countdown {
    justify-content: space-between;
  }

  .rail-cta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(232, 196, 124, 0.24);
    border-radius: 18px;
    background:
      radial-gradient(120% 100% at 100% 0%, rgba(63, 125, 255, 0.16), transparent 60%),
      linear-gradient(145deg, rgba(16, 38, 76, 0.8), rgba(7, 17, 36, 0.92));
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
  }

  .rail-cta-copy span {
    color: var(--gold);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.17em;
  }

  .rail-cta-copy strong {
    display: block;
    margin: 3px 0 4px;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.01em;
  }

  .rail-cta-copy small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
  }

  .rail-cta .btn {
    width: 100%;
    min-width: 0;
    height: 42px;
    font-size: 13px;
  }

  .pc-main .hero {
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
  }

  .pc-main .section {
    padding: 38px 0 0;
  }

  .pc-main .section-head {
    margin-bottom: 20px;
  }

  .pc-main .section-head h2 {
    font-size: 28px;
  }

  .pc-main .detail-row {
    padding: 18px 20px;
  }

  .pc-main .value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .pc-main .value-card {
    min-height: 190px;
    padding: 58px 15px 17px;
  }

  .pc-main .value-icon {
    top: 16px;
    left: 16px;
  }

  .pc-main .value-no {
    top: 15px;
    right: 14px;
  }

  .pc-main .value-card p {
    font-size: 11.5px;
    line-height: 1.7;
  }

  .pc-main .quote-band {
    margin: 38px 0 0;
  }

  .pc-main .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .pc-main .steps li {
    display: block;
    padding: 17px 15px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(13, 31, 63, 0.66), rgba(6, 15, 33, 0.5));
  }

  .pc-main .steps li:last-child {
    padding-bottom: 16px;
  }

  .pc-main .steps li:not(:last-child)::before {
    display: none;
  }

  .pc-main .step-num {
    margin-bottom: 12px;
  }

  .pc-main .steps h3 {
    margin: 0 0 4px;
  }

  .pc-main .steps p {
    font-size: 11.5px;
  }

  .host-card {
    margin: 42px 40px 0;
  }

  .footer {
    padding: 38px 40px 22px;
  }

  .sticky-cta {
    display: none;
  }

  .modal .sheet {
    top: 50%;
    bottom: auto;
    width: calc(100% - 48px);
    max-width: 540px;
    max-height: 88vh;
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    transform: translate(-50%, -46%);
  }

  .modal.is-open .sheet {
    transform: translate(-50%, -50%);
  }

  .modal .sheet-handle {
    display: none;
  }
}

/* Compact desktop / small laptop: keep the two-column structure but give
   the content column more breathing room and stack the cards. */
@media (min-width: 1000px) and (max-width: 1199px) {
  .pc-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 0 32px;
    padding: 32px 32px 0;
  }

  .intro h1 {
    font-size: 36px;
  }

  .pc-main .section-head h2 {
    font-size: 26px;
  }

  .pc-main .value-grid {
    grid-template-columns: 1fr;
  }

  .pc-main .value-card {
    min-height: 0;
    padding: 19px 18px 18px 62px;
  }

  .pc-main .value-icon {
    top: 20px;
    left: 17px;
  }

  .pc-main .value-no {
    top: 13px;
    right: 15px;
  }

  .pc-main .value-card p {
    font-size: 12px;
  }

  .pc-main .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pc-main .steps li {
    display: flex;
    gap: 15px;
    padding: 0 0 21px;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .pc-main .steps li:last-child {
    padding-bottom: 0;
  }

  .pc-main .steps li:not(:last-child)::before {
    display: block;
    top: 33px;
    bottom: 7px;
    left: 15px;
    width: 1px;
    background: linear-gradient(180deg, rgba(102, 217, 255, 0.35), rgba(102, 217, 255, 0.04));
    content: "";
  }

  .pc-main .step-num {
    margin-bottom: 0;
  }

  .pc-main .steps h3 {
    margin: 3px 0 3px;
  }

  .pc-main .steps p {
    font-size: 12px;
  }

  .host-card {
    margin: 38px 32px 0;
  }

  .footer {
    padding: 34px 32px 22px;
  }
}

@media (max-width: 370px) {
  .intro,
  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .countdown-wrap,
  .quote-band,
  .host-card {
    margin-right: 18px;
    margin-left: 18px;
  }

  .meta-strip {
    gap: 7px;
  }

  .meta-block strong {
    font-size: 19px;
  }

  .meta-sub {
    font-size: 8px;
  }

  .sticky-copy {
    display: none;
  }

  .btn-primary {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sealIn {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
