/* ============================================================================
   BeyondVR (beyondvr-th.com)
   Direction: "Neon aurora in deep space" - a violet-to-cyan light source
   bleeding through near-black glass, orbital rings, suspended device mockups,
   wide geometric type. Dark theme locked page-wide.
   ========================================================================= */

:root {
  /* Surfaces */
  --bg: #0a0911;
  --bg-2: #0d0c16;
  --surface: #14121f;
  --surface-2: #1a1729;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Ink */
  --text: #f3f1f8;
  --muted: #a5a1b8;

  /* Brand */
  --accent: #11d0ef;
  --accent-2: #6f22b2;
  --grad: linear-gradient(100deg, #6f22b2 0%, #11d0ef 100%);

  /* Shape: one radius system - cards 18, small 12, controls pill */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --header-h: 72px;
  --shadow: 0 24px 70px rgba(4, 2, 12, 0.7);

  --font-display: 'Kanit', 'Noto Sans Thai', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Thai', 'Noto Sans Thai', system-ui, sans-serif;
}

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

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Aurora field behind everything. Fixed + pointer-events:none so it never
   repaints while scrolling. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(760px 520px at 78% -6%, rgba(111, 34, 178, 0.42), transparent 62%),
    radial-gradient(620px 460px at 6% 22%, rgba(17, 208, 239, 0.16), transparent 60%),
    radial-gradient(900px 620px at 50% 118%, rgba(111, 34, 178, 0.2), transparent 66%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
}
h3 {
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
}
h4 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Layout primitives ───────────────────────────────────────────────────── */

.container {
  width: min(1220px, 92vw);
  margin-inline: auto;
}

.container-narrow {
  width: min(760px, 92vw);
  margin-inline: auto;
}

/* Reading-width helpers. Golden Rule 20: width belongs to the container,
   never to a paragraph selector. */
.measure {
  max-width: 62ch;
}

.measure-wide {
  max-width: 76ch;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section.tight {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.bg-alt {
  background: linear-gradient(180deg, transparent, rgba(20, 18, 31, 0.75) 16%, rgba(20, 18, 31, 0.75) 84%, transparent);
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
  margin-bottom: 0.7rem;
}

.section-head p {
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.lede {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--muted);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  padding: 0.78rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: var(--grad);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(111, 34, 178, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 38px rgba(17, 208, 239, 0.32);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

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

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

.link-accent {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Header + navigation ─────────────────────────────────────────────────── */

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  direction: ltr;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.solid {
  background: rgba(10, 9, 17, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.header-inner {
  width: min(1220px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo img {
  height: 26px;
  width: auto;
}

.site-nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav-desktop a:not(.btn) {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav-desktop a:not(.btn):hover,
.site-nav-desktop a.is-active {
  color: var(--text);
}

.header-controls-mobile {
  display: none;
  align-items: center;
  gap: 0.9rem;
}

.nav-burger {
  display: block;
  width: 26px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle:checked ~ .site-header .nav-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle:checked ~ .site-header .nav-burger span:nth-child(2) {
  opacity: 0;
}
.nav-toggle:checked ~ .site-header .nav-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav is a SIBLING of <header>, never a child. */
.site-nav {
  display: none;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.lang-switcher a {
  color: var(--muted);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-switcher a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

@media (max-width: 900px) {
  .site-nav-desktop {
    display: none;
  }
  .header-controls-mobile {
    display: flex;
  }
  .site-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 800;
    padding: 1.2rem 4vw 1.8rem;
    background: rgba(13, 12, 22, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-115%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }
  .site-nav a:not(.btn) {
    padding: 0.65rem 0;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .site-nav .btn {
    width: 100%;
    margin-top: 0.9rem;
  }
  .nav-toggle:checked ~ .site-nav {
    transform: translateY(0);
    visibility: visible;
  }
}

/* ── Home hero: asymmetric split ─────────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.hero-copy h1 {
  margin-bottom: 1.1rem;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .lede {
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.hero-visual img {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 30px 60px rgba(111, 34, 178, 0.45));
}

.orbit {
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  border: 1px solid rgba(17, 208, 239, 0.26);
  z-index: 1;
}

.orbit.two {
  inset: 20% 18%;
  border-color: rgba(111, 34, 178, 0.5);
  border-style: dashed;
}

html.js .orbit {
  animation: spin 26s linear infinite;
}

html.js .orbit.two {
  animation-duration: 38s;
  animation-direction: reverse;
}

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

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    min-height: 230px;
  }
}

/* ── Showcase: horizontal scroll-snap rail ───────────────────────────────── */

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 27%);
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-2) transparent;
}

.rail::-webkit-scrollbar {
  height: 6px;
}

.rail::-webkit-scrollbar-thumb {
  background: var(--accent-2);
  border-radius: var(--radius-pill);
}

.rail-item {
  scroll-snap-align: start;
  background: linear-gradient(180deg, rgba(111, 34, 178, 0.16), rgba(20, 18, 31, 0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rail-item .shot {
  flex: 1;
  display: grid;
  place-items: end center;
  min-height: 200px;
  overflow: hidden;
}

.rail-item .shot img {
  max-height: 260px;
  width: auto;
}

.rail-item h3 {
  margin: 0 0 0.25rem;
}

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

@media (max-width: 700px) {
  .rail {
    grid-auto-columns: 78%;
  }
}

/* ── Why us: asymmetric bento ────────────────────────────────────────────── */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}

.bento-cell {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}

/* Row widths add up to 6 on every row, so the grid never ends on a blank cell:
   4 + 2 / 2 + 4 / 3 + 3 */
.bento-cell.w2 {
  grid-column: span 2;
}

.bento-cell.w3 {
  grid-column: span 3;
}

.bento-cell.w4 {
  grid-column: span 4;
}

.bento-cell.tinted {
  background: linear-gradient(150deg, rgba(111, 34, 178, 0.3), rgba(20, 18, 31, 0.95));
  border-color: rgba(111, 34, 178, 0.4);
}

.bento-cell.cyan {
  background: linear-gradient(150deg, rgba(17, 208, 239, 0.18), rgba(20, 18, 31, 0.95));
  border-color: rgba(17, 208, 239, 0.32);
}

.bento-cell h3 {
  margin-bottom: 0.4rem;
}

.bento-cell p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.icon-chip {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.icon-chip svg {
  width: 21px;
  height: 21px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .bento-cell,
  .bento-cell.w2,
  .bento-cell.w3 {
    grid-column: span 2;
  }
  .bento-cell.w4 {
    grid-column: span 4;
  }
}

@media (max-width: 620px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-cell,
  .bento-cell.w2,
  .bento-cell.w3,
  .bento-cell.w4 {
    grid-column: span 1;
  }
}

/* ── Features: offset grid, two cells carry imagery ──────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.feature-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(20, 18, 31, 0.7);
  padding: 1.6rem 1.5rem;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.feature-card h3 {
  margin-bottom: 0.45rem;
}

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

/* Offsets give the grid rhythm instead of three identical rows. */
@media (min-width: 981px) {
  .feature-card:nth-child(2),
  .feature-card:nth-child(5) {
    margin-top: 2.2rem;
  }
  .feature-card:nth-child(3),
  .feature-card:nth-child(6) {
    margin-top: 4.4rem;
  }
}

.feature-card.has-art {
  padding-bottom: 0;
}

.feature-card .art {
  margin: 1.3rem -1.5rem 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(111, 34, 178, 0.18), transparent);
}

.feature-card .art img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
}

.feature-card .art.duo {
  display: flex;
  gap: 0;
  padding: 1rem 0 0;
}

.feature-card .art.duo img {
  width: 50%;
}

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ── FAQ accordion ───────────────────────────────────────────────────────── */

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(20, 18, 31, 0.6);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(17, 208, 239, 0.35);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 3rem 1.05rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

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

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 1.4rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-body {
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ── Steps (pricing + unsubscribe) ───────────────────────────────────────── */

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.step-card {
  position: relative;
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.step-card .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.7rem;
}

.step-card h3 {
  margin-bottom: 0.35rem;
}

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

@media (max-width: 860px) {
  .steps-row {
    grid-template-columns: 1fr;
  }
}

/* ── Pricing cards ───────────────────────────────────────────────────────── */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 400px));
  justify-content: center;
  gap: 1.4rem;
}

.pricing-card {
  border-radius: var(--radius);
  border: 1px solid rgba(17, 208, 239, 0.3);
  background: linear-gradient(165deg, rgba(111, 34, 178, 0.28), rgba(20, 18, 31, 0.96));
  padding: 1.9rem 1.7rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.plan-operator {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.price-val {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  margin: 0;
}

.price-freq {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-meta {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
}

.plan-features {
  list-style: none;
  margin: 1.2rem 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  text-align: start;
}

.plan-features li {
  position: relative;
  padding-inline-start: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.plan-features li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

/* ── Values / vision (About) ─────────────────────────────────────────────── */

.value-stack {
  display: grid;
  gap: 1.1rem;
}

.value-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.3rem;
  align-items: start;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(20, 18, 31, 0.6);
}

.value-row .icon-chip {
  margin-bottom: 0;
  width: 56px;
  height: 56px;
}

.value-row .icon-chip svg {
  width: 25px;
  height: 25px;
}

.value-row h3 {
  margin-bottom: 0.35rem;
}

.value-row p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 620px) {
  .value-row {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

.vision-panel {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(17, 208, 239, 0.28);
  background: linear-gradient(140deg, rgba(111, 34, 178, 0.34), rgba(17, 208, 239, 0.1) 70%, rgba(20, 18, 31, 0.95));
  padding: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}

.vision-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.vision-lead {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.5;
  font-weight: 400;
}

.about-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
  }
}

/* ── Unsubscribe opt-out box ─────────────────────────────────────────────── */

.optout-box {
  border-radius: var(--radius);
  border: 1px solid rgba(17, 208, 239, 0.35);
  background: linear-gradient(150deg, rgba(17, 208, 239, 0.14), rgba(20, 18, 31, 0.96));
  padding: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1.2rem;
}

.op-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.sms-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.sms-keyword {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-strong);
}

.sms-to {
  color: var(--muted);
  font-size: 0.95rem;
}

.sms-dest {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.optout-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.optout-notes li {
  font-size: 0.86rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
}

@media (max-width: 700px) {
  .optout-notes {
    grid-template-columns: 1fr;
  }
}

.confirm-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 1.4rem;
}

@media (max-width: 860px) {
  .confirm-row {
    grid-template-columns: 1fr;
  }
}

/* ── Refund policy list ──────────────────────────────────────────────────── */

.refund-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 1.6rem;
}

.refund-list li {
  position: relative;
  padding-inline-start: 1.6rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.refund-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grad);
}

@media (max-width: 760px) {
  .refund-list {
    grid-template-columns: 1fr;
  }
}

/* ── Page hero (interior pages) ──────────────────────────────────────────── */

.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}

.page-hero h1 {
  margin-bottom: 0.8rem;
}

.page-hero p {
  color: var(--muted);
}

/* ── Contact ─────────────────────────────────────────────────────────────── */

.care-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.7rem 1.6rem;
  margin-bottom: 1.6rem;
}

.care-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.care-card p {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.care-card a {
  color: var(--accent);
  word-break: break-word;
}

/* ── Forms (contact + signin) ────────────────────────────────────────────── */

.contact-form,
.form-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(1.5rem, 4vw, 2.2rem);
}

.form-card.narrow {
  width: min(520px, 100%);
  margin-inline: auto;
}

.contact-form h3,
.form-card h3 {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #918da8;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.signin-card button,
.form-card button {
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.error-msg,
.errorMsg {
  display: none;
  color: #ff7a6b;
  font-size: 0.82rem;
  margin-top: 0.3rem;
}

.form-success,
.successMsg {
  display: none;
  color: var(--accent);
  font-weight: 600;
  margin-top: 1rem;
}

.form-success a,
.successMsg a {
  color: var(--accent);
}

.form-disclaimer {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ── 404 ─────────────────────────────────────────────────────────────────── */

.not-found {
  min-height: calc(100dvh - var(--header-h) - 200px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.big-num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 700;
  line-height: 0.9;
  margin: 0 0 0.5rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.not-found p {
  color: var(--muted);
}

/* ── Legal pages (shared partials render inside .legals) ─────────────────── */

.legals-wrap {
  padding: 3.5rem 0;
}

.legals {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 5rem;
}

.legals .container {
  width: min(840px, 92vw);
  margin-inline: auto;
}

.legals h1 {
  display: none;
}

.legals h6 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 2rem 0 0.5rem;
}

.legals p {
  margin-bottom: 0.85rem;
  line-height: 1.75;
  color: #cdcada;
}

.legals ul {
  margin: 0.5rem 0 1rem;
  padding-inline-start: 1.2rem;
}

.legals li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
  color: #cdcada;
}

.legals a {
  color: var(--accent);
  word-break: break-word;
}

.legals table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.92rem;
}

.legals th,
.legals td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  text-align: start;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(10, 9, 17, 0.7);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.4rem;
}

.footer-brand .logo img {
  height: 24px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-entity {
  font-size: 0.84rem;
  line-height: 1.8;
}

.footer-entity a {
  color: var(--accent);
  word-break: break-word;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-version {
  opacity: 0.6;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

/* ── Scroll reveal: hidden ONLY when JS tagged <html class="js"> ─────────── */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.js .orbit,
  html.js .orbit.two {
    animation: none;
  }
  .btn,
  .feature-card,
  .site-header {
    transition: none;
  }
}
