:root {
  --bg: #050510;
  --panel: #121626;
  --text: #d7deea;
  --muted: #9aa7bc;
  --bright: #fcfcfc;
  --line: rgba(154, 167, 188, 0.2);
  --cyan: #20bfe1;
  --font: "Mulish", "IBM Plex Sans Thai", system-ui, sans-serif;
}

body.is-guest {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}
body.is-app {
  background: var(--tblr-bg-surface, #f8fafc);
}

#guest, #guest * { box-sizing: border-box; }
#guest * { margin: 0; padding: 0; }
#guest a { color: inherit; text-decoration: none; }
#guest img { display: block; max-width: 100%; }

#guest .top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: #050510;
  border-bottom: 1px solid var(--line);
}
#guest .top__brand { display: flex; align-items: center; gap: 0.7rem; color: var(--bright); font-weight: 700; }
#guest .top__mark {
  width: 2rem; height: 2rem; border-radius: 0.55rem;
  display: grid; place-items: center;
  background: rgba(32, 191, 225, 0.16); color: var(--cyan);
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0;
}
#guest .top__nav { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 720px) {
  #guest .top { align-items: flex-start; }
  #guest .top__nav { width: 100%; }
}
#guest .lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
#guest .lang button {
  border: 0; background: transparent; color: var(--muted);
  padding: 0.35rem 0.7rem; font: inherit; font-weight: 700; cursor: pointer;
}
#guest .lang button.active { background: rgba(32, 191, 225, 0.16); color: var(--cyan); }
#guest .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.6rem; padding: 0.45rem 1.1rem; border-radius: 999px;
  font-weight: 700; border: 1px solid transparent;
}
#guest .btn--solid { background: var(--cyan); color: #041018; }
#guest .btn--line { border-color: rgba(252, 252, 252, 0.45); color: var(--bright); }
#guest .btn--ghost { color: var(--muted); }

#guest .hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--bright);
}
#guest .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#guest .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
#guest .hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 16, 0.35) 0%, rgba(5, 5, 16, 0.2) 38%, rgba(5, 5, 16, 0.88) 100%),
    linear-gradient(90deg, rgba(5, 5, 16, 0.72) 0%, rgba(5, 5, 16, 0.25) 58%, transparent 100%);
}
#guest .hero__copy {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.4rem, 6vw, 4rem);
  max-width: 46rem;
}
#guest .eyebrow { color: var(--cyan); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
#guest .hero h1 { color: var(--bright); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; margin: 0.6rem 0 1rem; }
#guest .lede { font-size: 1.15rem; line-height: 1.7; max-width: 40rem; color: rgba(215, 222, 234, 0.92); }
#guest .hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

#guest .band { padding: 3.5rem 1.25rem; }
#guest .band__inner { max-width: 1080px; margin: 0 auto; }
#guest .band h2 { color: var(--bright); font-size: 1.8rem; margin-bottom: 0.8rem; }
#guest .band p { line-height: 1.7; }
#guest .band--problem { background: #0b0f1c; border-block: 1px solid var(--line); }
#guest .band__inner--split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  #guest .band__inner--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}
#guest .band__shot {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  background: #101627;
}
#guest .band__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#guest .grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 760px) { #guest .grid { grid-template-columns: 1fr 1fr; } }
#guest .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  padding: 0 0 1.25rem;
}
#guest .card__shot {
  margin: 0 0 1rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0b1020;
}
#guest .card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#guest .card h3, #guest .card p { padding: 0 1.25rem; }
#guest .card h3 { color: var(--bright); margin-bottom: 0.45rem; }

#guest .steps { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 860px) { #guest .steps { grid-template-columns: repeat(4, 1fr); } }
#guest .step {
  background: #101627;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  padding: 0 0 1.1rem;
}
#guest .step__shot {
  margin: 0 0 0.9rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0b1020;
}
#guest .step__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#guest .step b, #guest .step h3, #guest .step p { padding: 0 1.1rem; }
#guest .step b { display: block; color: var(--cyan); margin-bottom: 0.4rem; }
#guest .step h3 { color: var(--bright); font-size: 1.05rem; margin-bottom: 0.35rem; }

#guest .cta {
  margin: 0 1.25rem 3.5rem;
  padding: 2rem 1.25rem;
  border-radius: 1.2rem;
  background: #101827;
  border: 1px solid var(--line);
  text-align: center;
}
#guest .cta h2 { color: var(--bright); margin-bottom: 0.6rem; }
#guest .cta .hero__cta { justify-content: center; }

#guest .foot {
  padding: 1.2rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

#auth-page:not(.hidden) {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: auto;
  background: rgba(5, 5, 16, 0.88);
}
