/* =========================================================================
   JoinInter · Lanna
   Northern-Thai warmth, premium SaaS execution.
   Indigo (mor hom) · terracotta & lacquer · saffron & marigold · temple gold
   · rice-paper cream, reconciled with brand Blue #002060 / Aqua #45C2F9 /
   Warm #F9606C. Rounded geometry, soft warm depth, woven line motifs.
   ========================================================================= */

:root {
  /* surfaces */
  --rice: #FBF5EA;
  --rice-2: #F4EAD8;
  --paper: #FFFCF6;
  --sand: #EADBC2;
  /* indigo (mor hom), anchored on brand blue */
  --indigo-950: #08133A;
  --indigo-900: #0E1B4A;
  --indigo: #002060;
  --indigo-700: #24397E;
  --indigo-500: #5164A3;
  --indigo-200: #C9D0E8;
  --teal: #1D5E66;
  --teal-300: #8CC2BE;
  --teal-100: #DDEDEA;
  /* terracotta & lacquer, anchored on brand warm */
  --lacquer: #B2362B;
  --terracotta: #D65A3E;
  --warm: #F9606C;
  --terra-100: #FBE2D8;
  /* saffron, marigold, temple gold */
  --saffron: #EE9A2A;
  --marigold: #F6BE3F;
  --saffron-100: #FCEBC8;
  --gold: #C29A44;
  --gold-200: #E8D3A0;
  /* river (aqua) */
  --aqua: #45C2F9;
  --aqua-100: #DDF3FD;
  /* ink */
  --ink: #1A1C35;
  --ink-2: #4D4F68;
  --ink-3: #8C8799;
  --line: rgba(26, 28, 53, .10);
  --line-2: rgba(26, 28, 53, .16);
  /* shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  /* soft warm depth */
  --sh-1: 0 1px 2px rgba(92, 52, 18, .06), 0 2px 8px -2px rgba(92, 52, 18, .08);
  --sh-2: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 2px 6px rgba(92, 52, 18, .06), 0 18px 40px -18px rgba(92, 52, 18, .28);
  --sh-3: 0 2px 8px rgba(30, 20, 60, .08), 0 40px 80px -30px rgba(30, 24, 70, .45);
  /* type */
  --f-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, sans-serif;
  --f-thai: "Noto Sans Thai Looped", "Figtree", sans-serif;
  --f-hand: "Caveat", cursive;
  /* motifs */
  --weave-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='22'%3E%3Crect width='56' height='22' fill='%23002060'/%3E%3Cpath d='M0 2.5h56M0 19.5h56' stroke='%23C29A44' stroke-width='1.2'/%3E%3Cpath d='M14 11 28 5l14 6-14 6z' fill='%23D65A3E'/%3E%3Cpath d='M22 11l6-2.6 6 2.6-6 2.6z' fill='%23F6BE3F'/%3E%3Cpath d='M0 7l4 4-4 4M56 7l-4 4 4 4' fill='none' stroke='%2345C2F9' stroke-width='1.4'/%3E%3Ccircle cx='7' cy='11' r='1.3' fill='%23E8D3A0'/%3E%3Ccircle cx='49' cy='11' r='1.3' fill='%23E8D3A0'/%3E%3C/svg%3E");
  --weave-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M0 16 16 0l16 16-16 16z' fill='none' stroke='%23E8D3A0' stroke-opacity='.09'/%3E%3Cpath d='M16 11l5 5-5 5-5-5z' fill='%23E8D3A0' fill-opacity='.06'/%3E%3C/svg%3E");
  --weave-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M0 16 16 0l16 16-16 16z' fill='none' stroke='%23C29A44' stroke-opacity='.16'/%3E%3Cpath d='M16 12l4 4-4 4-4-4z' fill='%23D65A3E' fill-opacity='.08'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .15 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --ease-soft: cubic-bezier(.22, .9, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--rice) var(--grain);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[lang="th"] { font-family: var(--f-thai); }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.06; margin: 0; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--indigo); color: #fff; padding: 8px 14px; border-radius: 99px; z-index: 99; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--paper); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 600 16px/1.1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft), background .2s;
  position: relative; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-soft); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 17px 28px; font-size: 17px; }
.btn-ink { --bg: var(--indigo); --fg: #fff; box-shadow: 0 6px 16px -8px rgba(0, 32, 96, .6); }
.btn-ink:hover { transform: translateY(-1px); }
.btn-lacquer {
  --bg: linear-gradient(180deg, #E0674A, var(--lacquer));
  background: var(--bg); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -2px 0 rgba(0, 0, 0, .12) inset, 0 12px 26px -12px rgba(178, 54, 43, .8);
}
/* the melt: a drop forms under the button on hover */
.btn-lacquer::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 12px; height: 12px;
  background: var(--lacquer); border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  transform: translate(-50%, 0) scale(.2); opacity: 0; z-index: -1;
  transition: transform .5s var(--ease-soft), opacity .3s;
}
.btn-lacquer:hover { transform: translateY(-2px); }
.btn-lacquer:hover::after { transform: translate(-50%, 11px) scale(1); opacity: 1; }
.btn-ghost { --bg: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { --bg: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink-3), var(--sh-1); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--indigo-700); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 8px; background: var(--weave-band) center/auto 8px; border-radius: 2px; }
.eyebrow-terra { color: var(--lacquer); }
.eyebrow-teal { color: var(--teal); }
.eyebrow-gold { color: var(--gold-200); }
.hero .eyebrow::before { display: none; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 4px rgba(214, 90, 62, .18); animation: pulse 2.4s ease-in-out infinite; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; padding: 12px 0; margin-bottom: -76px; }
.nav-in {
  width: min(1200px, 100% - 32px); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(255, 252, 246, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--line), var(--sh-1);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--f-display); letter-spacing: -.02em; color: var(--indigo); }
.brand-mark { width: 34px; height: 27px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--rice-2); color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 104px 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 -10% 30% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 82% 18%, rgba(246, 190, 63, .30), transparent 70%),
    radial-gradient(36% 44% at 10% 30%, rgba(69, 194, 249, .16), transparent 70%),
    radial-gradient(30% 40% at 50% 0%, rgba(214, 90, 62, .10), transparent 70%);
}
.hero-copy { text-align: center; position: relative; z-index: 2; }
.hero-h {
  font-size: clamp(46px, 5.8vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -.03em;
  font-variation-settings: "opsz" 96; color: var(--indigo);
}
.hero-h2 { color: var(--lacquer); font-weight: 520; letter-spacing: -.035em; }
.melt { position: relative; display: inline-block; color: var(--indigo); }
.melt-drip { position: absolute; left: -2%; right: -2%; bottom: -.18em; width: 104%; height: .4em; overflow: visible; }
.melt-drip path { fill: none; stroke: var(--aqua); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.6s .4s var(--ease-soft) forwards; }
.hero-thai { margin-top: 20px; font-size: clamp(17px, 1.6vw, 21px); color: var(--teal); font-weight: 500; }
.hero-sub { margin: 10px auto 0; max-width: 700px; font-size: clamp(16.5px, 1.3vw, 18.5px); color: var(--ink-2); line-height: 1.55; }
.hero-cta { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-fine { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }

/* lanterns (Yi Peng, abstracted) */
.hero-sky { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.lantern {
  position: absolute; width: 18px; height: 24px; border-radius: 9px 9px 6px 6px;
  background: linear-gradient(180deg, #FFE3A3, var(--saffron));
  box-shadow: 0 0 22px 8px rgba(246, 190, 63, .35), 0 0 4px rgba(255, 220, 150, .9) inset;
  opacity: .8; animation: rise 22s linear infinite;
}
.lantern::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 4px; transform: translateX(-50%); border-radius: 50%; background: #FFF3D1; }
.l1 { left: 7%; top: 30%; animation-duration: 26s; animation-delay: -4s; transform: scale(.8); }
.l2 { left: 15%; top: 12%; animation-duration: 30s; animation-delay: -14s; }
.l3 { left: 88%; top: 26%; animation-duration: 24s; animation-delay: -8s; }
.l4 { left: 80%; top: 8%; animation-duration: 34s; animation-delay: -20s; transform: scale(.6); }
.l5 { left: 93%; top: 48%; animation-duration: 28s; animation-delay: -2s; transform: scale(.7); }
.l6 { left: 4%; top: 56%; animation-duration: 32s; animation-delay: -18s; transform: scale(.65); }

/* hero visual */
.stagebox { position: relative; margin-top: 50px; padding-bottom: 104px; }
.hills { position: absolute; left: 50%; bottom: 0; width: 100vw; transform: translateX(-50%); height: 62%; z-index: 0; pointer-events: none; }
.hills svg { width: 100%; height: 100%; }
.hill.h1 { fill: var(--teal); opacity: .14; }
.hill.h2 { fill: var(--indigo); opacity: .9; }
.hill-line { fill: none; stroke: var(--gold); stroke-width: 1.6; opacity: .55; stroke-linecap: round; stroke-linejoin: round; }

.mock-frame { position: relative; margin: 0; z-index: 2; }
.mock-scale { position: relative; width: 100%; }
.mock-scale > * { transform-origin: 0 0; }

/* annotations, hand-written */
.note { position: absolute; font: 600 24px/1 var(--f-hand); color: var(--lacquer); display: flex; align-items: flex-end; gap: 4px; z-index: 6; pointer-events: none; }
.note svg { width: 92px; height: 50px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.note-a { left: 50%; bottom: -66px; color: var(--marigold); transform: rotate(-2deg); font-size: 24px; align-items: center; }
.note-a svg { width: 70px; height: 44px; transform: scaleY(-1) rotate(10deg); }
.note-a span { white-space: nowrap; }
.note-b { left: -114px; top: 28%; width: 108px; font-size: 21px; color: var(--teal); transform: rotate(-4deg); flex-direction: column-reverse; align-items: flex-start; }
.note-b svg { width: 60px; height: 70px; margin-left: 30px; transform: rotate(-60deg); }
.note-b span { max-width: 104px; line-height: .95; }

/* =========================================================================
   Mac app mock · Lanna style
   ========================================================================= */
.mac {
  width: 1200px; height: 772px; border-radius: 22px; overflow: hidden;
  background: var(--rice); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(14, 27, 74, .14), 0 0 0 7px rgba(255, 252, 246, .55), var(--sh-3);
  font: 400 13px/1.35 var(--f-body);
  display: flex; flex-direction: column;
}
.mac svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.mac-bar {
  height: 56px; flex: none; display: flex; align-items: center; gap: 16px; padding: 0 14px 0 18px;
  background: linear-gradient(180deg, #FFFCF6, #FBF4E7); border-bottom: 1px solid var(--line);
}
.lights { display: flex; gap: 8px; width: 186px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #F26B5B; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .15); }
.lights i:nth-child(2) { background: #F6BE3F; } .lights i:nth-child(3) { background: #5DBE7A; }
.bar-title { display: flex; flex-direction: column; line-height: 1.15; }
.bar-title b { font: 700 14px/1.1 var(--f-display); letter-spacing: -.01em; }
.bar-title small { color: var(--ink-3); font-size: 11px; }
.bar-mid { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(92, 52, 18, .05);
  font-size: 12.5px; color: var(--ink-2); white-space: nowrap;
}
.chip b { color: var(--ink); font-weight: 650; }
.chip small { color: var(--ink-3); font-size: 11px; }
.chip svg { width: 15px; height: 15px; color: var(--indigo-500); }
.chip .copy { width: 13px; height: 13px; color: var(--ink-3); }
.chip-link { color: var(--indigo); font-weight: 550; }
.meter { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.meter i { width: 3px; height: 4px; border-radius: 2px; background: var(--sand); transition: height .12s, background .12s; }
.mac[data-state="live"] .meter i { background: var(--teal-300); }
.mac[data-state="live"] .meter i:nth-child(n+7) { background: var(--marigold); }
.mac[data-state="live"] .meter i:nth-child(n+9) { background: var(--terracotta); }
.tally { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--rice-2); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); transition: background .4s, color .4s; }
.tally i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.mac[data-state="live"] .tally { background: var(--terra-100); color: var(--lacquer); }
.mac[data-state="live"] .tally i { background: var(--lacquer); animation: pulse 1.8s ease-in-out infinite; }
.golive {
  position: relative; height: 36px; min-width: 112px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 13.5px/1 var(--f-body); color: #fff; overflow: hidden;
  background: linear-gradient(180deg, #2E4A97, var(--indigo));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 14px -6px rgba(0, 32, 96, .7);
  transition: background .4s, transform .2s;
}
.golive > span { display: inline-flex; align-items: center; gap: 7px; justify-content: center; transition: transform .45s var(--ease-soft), opacity .3s; }
.golive svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.gl-live { position: absolute; inset: 0; transform: translateY(100%); opacity: 0; }
.gl-live i { width: 8px; height: 8px; border-radius: 2px; background: #fff; }
.mac[data-state="live"] .golive { background: linear-gradient(180deg, #E0674A, var(--lacquer)); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 14px -6px rgba(178, 54, 43, .8); }
.mac[data-state="live"] .gl-idle { transform: translateY(-140%); opacity: 0; }
.mac[data-state="live"] .gl-live { transform: none; opacity: 1; }
.golive.press { transform: scale(.94); }

.mac-body { flex: 1; display: flex; min-height: 0; }
.side {
  width: 214px; flex: none; position: relative; padding: 14px 10px; display: flex; flex-direction: column; gap: 1px;
  background: var(--indigo-900) var(--weave-lattice); color: #E9E6F2;
}
.side-group { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-200); opacity: .8; padding: 12px 10px 5px; font-weight: 600; }
.side-group:first-child { padding-top: 2px; }
.side-item { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 10px; font-size: 13px; color: rgba(233, 230, 242, .82); }
.side-item svg { width: 15px; height: 15px; color: var(--teal-300); flex: none; }
.side-item.active { background: linear-gradient(180deg, var(--marigold), var(--saffron)); color: var(--indigo-950); font-weight: 650; box-shadow: 0 4px 12px -4px rgba(238, 154, 42, .7); }
.side-item.active svg { color: var(--indigo); }
.badge { margin-left: auto; font-style: normal; min-width: 18px; height: 18px; border-radius: 9px; background: var(--lacquer); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.count { margin-left: auto; font-style: normal; font-size: 11.5px; opacity: .6; }
.side-weave { margin-top: auto; height: 14px; border-radius: 4px; background: var(--weave-band) center/auto 14px; opacity: .9; }
.side-foot { display: flex; align-items: center; gap: 9px; padding: 10px 6px 0; }
.side-foot b { display: block; font-size: 12.5px; }
.side-foot small { font-size: 11px; color: var(--gold-200); }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--terracotta); color: #fff; font-weight: 700; font-size: 12px; }

.page { flex: 1; min-width: 0; padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 14px; background: var(--rice) var(--grain); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; }
.page-eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--lacquer); font-weight: 650; }
.page-head h3 { font: 700 26px/1.1 var(--f-display); letter-spacing: -.025em; color: var(--indigo); margin-top: 3px; }
.page-langs { display: flex; gap: 6px; }
.lang { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 650; }
.lang.xs { height: 18px; padding: 0 7px; font-size: 10.5px; }
.lang-en { background: var(--aqua-100); color: var(--indigo-700); }
.lang-th { background: var(--saffron-100); color: #8A5208; font-family: var(--f-thai); }
.lang-es { background: var(--terra-100); color: var(--lacquer); }
.lang-zh { background: var(--teal-100); color: var(--teal); }

.grid { flex: 1; min-height: 0; display: grid; gap: 14px; grid-template-columns: 1.45fr 1fr; grid-template-rows: auto 1fr 1fr; grid-template-areas: "sess sess" "caps timer" "qa poll"; }
.card { background: var(--paper); border-radius: 18px; box-shadow: 0 0 0 1px var(--line), var(--sh-1); padding: 14px 16px; min-height: 0; overflow: hidden; position: relative; }
.card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.card-h b { font: 700 14px/1.1 var(--f-display); display: block; }
.card-h small { color: var(--ink-3); font-size: 11.5px; }
.card-h > div { flex: 1; }
.card-ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.card-ic svg { width: 16px; height: 16px; }
.ic-indigo { background: var(--indigo-200); color: var(--indigo); }
.ic-saffron { background: var(--saffron-100); color: #9A5C06; }
.ic-terra { background: var(--terra-100); color: var(--lacquer); }
.ic-teal { background: var(--teal-100); color: var(--teal); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--rice-2); font-size: 11.5px; }
.seg i { font-style: normal; padding: 4px 10px; border-radius: 999px; color: var(--ink-3); }
.seg i.on { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: var(--sh-1); }
.soft-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--rice-2); color: var(--indigo); font: 600 12.5px/1 var(--f-body); white-space: nowrap; }
.soft-btn.sm { height: 26px; font-size: 11.5px; padding: 0 11px; }

.card-session { grid-area: sess; display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
.card-session .qr { width: 62px; height: 62px; padding: 5px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); flex: none; }
.sess-txt b { font: 700 16px/1.2 var(--f-display); color: var(--indigo); }
.sess-txt .ok { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--teal); font-weight: 600; margin-left: 6px; }
.sess-txt .ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3BA57A; }
.sess-txt small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 3px; }
.stats { display: flex; gap: 0; margin-left: auto; }
.stats > div { padding: 2px 20px; border-left: 1px dashed var(--line-2); }
.stats b { display: block; font: 700 24px/1 var(--f-display); color: var(--indigo); letter-spacing: -.02em; }
.stats small { font-size: 11.5px; color: var(--ink-3); }
.card-session .soft-btn { margin-left: 8px; }

.card-caps { grid-area: caps; display: flex; flex-direction: column; }
.caps { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; mask-image: linear-gradient(180deg, transparent, #000 30%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); }
.cap { animation: capIn .7s var(--ease-soft) both; }
.cap .en { font-size: 15px; line-height: 1.35; color: var(--ink); font-weight: 500; }
.cap .th { font-family: var(--f-thai); font-size: 14px; line-height: 1.45; color: var(--teal); margin-top: 2px; }
.cap.old .en { color: var(--ink-3); } .cap.old .th { color: var(--teal-300); }
.cap .typing::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--terracotta); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }

.card-timer { grid-area: timer; display: flex; flex-direction: column; background: var(--paper) var(--weave-light); }
.timer-big { font: 700 64px/1 var(--f-display); letter-spacing: -.04em; color: var(--indigo); margin: 4px 0 12px; font-variation-settings: "opsz" 96; }
.timer-track { height: 10px; border-radius: 99px; background: var(--rice-2); overflow: hidden; }
.timer-track i { display: block; height: 100%; width: 38%; border-radius: inherit; background: linear-gradient(90deg, var(--teal-300), var(--teal)); transition: width 1s linear; }
.timer-meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.ahead { color: var(--teal); font-weight: 650; }

.card-qa { grid-area: qa; }
.qa { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.q { display: flex; gap: 12px; align-items: flex-start; padding: 8px 10px; border-radius: 12px; transition: background .4s; }
.q p { font-size: 13px; line-height: 1.3; font-weight: 500; }
.q small { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--ink-3); font-size: 11.5px; }
.likes { display: flex; flex-direction: column; align-items: center; width: 26px; flex: none; color: var(--terracotta); }
.likes b { font: 700 16px/1 var(--f-display); color: var(--ink); }
.likes svg { width: 12px; height: 12px; fill: currentColor; stroke: none; margin-top: 2px; }
.q.pinned { background: var(--saffron-100); box-shadow: inset 3px 0 0 var(--saffron); }
.onstage { background: var(--lacquer); color: #fff; padding: 2px 8px; border-radius: 99px; font-weight: 650; font-size: 10.5px; }
.q.arrive { animation: qIn .9s var(--ease-soft) both; background: var(--aqua-100); }
.q .orig { display: block; font-family: var(--f-thai); color: var(--teal); font-size: 12px; margin-top: 2px; }
.newtag { background: var(--aqua); color: var(--indigo-950); padding: 2px 8px; border-radius: 99px; font-weight: 700; font-size: 10.5px; }

.card-poll { grid-area: poll; }
.poll-q { font: 650 14.5px/1.25 var(--f-display); color: var(--indigo); margin-bottom: 10px; }
.bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bars li { display: grid; grid-template-columns: 78px 1fr 36px; align-items: center; gap: 10px; font-size: 12.5px; }
.bars i { height: 14px; border-radius: 99px; background: var(--rice-2); overflow: hidden; }
.bars em { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--marigold), var(--saffron)); transition: width 1.4s var(--ease-soft); }
.bars li:nth-child(2) em { background: linear-gradient(90deg, #F08A6E, var(--terracotta)); }
.bars li:nth-child(3) em { background: linear-gradient(90deg, var(--teal-300), var(--teal)); }
.bars li:nth-child(4) em { background: linear-gradient(90deg, #8C9BD0, var(--indigo-700)); }
.bars b { text-align: right; font-weight: 650; }
.poll-foot { display: flex; gap: 8px; align-items: center; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.poll-foot .soft-btn.primary { background: var(--indigo); color: #fff; }
.poll-foot small { margin-left: auto; color: var(--ink-3); font-size: 11.5px; }
.poll-foot kbd { font: 600 11px var(--f-body); background: var(--rice-2); padding: 2px 6px; border-radius: 6px; color: var(--ink-2); }

.qr svg { width: 100%; height: 100%; }

/* ---------- attendee phone ---------- */
.phone {
  position: absolute; left: -84px; bottom: -70px; width: 250px; z-index: 5;
  padding: 9px; border-radius: 44px; background: linear-gradient(160deg, #2A2F55, #0B1030);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12) inset, var(--sh-3);
  animation: floaty 7s ease-in-out infinite;
}
.phone-in { border-radius: 36px; overflow: hidden; background: var(--rice) var(--grain); height: 500px; display: flex; flex-direction: column; padding: 0 14px 12px; }
.ph-status { display: flex; align-items: center; justify-content: space-between; height: 38px; font-size: 12px; font-weight: 650; padding: 0 8px; }
.ph-notch { width: 78px; height: 22px; border-radius: 99px; background: #0B1030; }
.ph-sig { display: flex; gap: 2px; align-items: flex-end; }
.ph-sig i { width: 3px; background: var(--ink); border-radius: 1px; }
.ph-sig i:nth-child(1) { height: 5px; } .ph-sig i:nth-child(2) { height: 7px; } .ph-sig i:nth-child(3) { height: 9px; }
.ph-head { display: flex; align-items: center; gap: 8px; padding: 8px 2px 12px; border-bottom: 1px solid var(--line); }
.ph-head svg { width: 30px; height: 24px; }
.ph-head b { display: block; font: 700 13px/1.1 var(--f-display); color: var(--indigo); }
.ph-head small { font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.ph-head > div { min-width: 0; }
.ph-lang { white-space: nowrap; flex: none; margin-left: auto; background: var(--saffron-100); color: #8A5208; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 99px; }
.ph-caps { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 12px 2px; overflow: hidden; mask-image: linear-gradient(180deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%); }
.ph-caps p { font-size: 17px; line-height: 1.5; color: var(--ink-3); font-weight: 500; animation: capIn .7s var(--ease-soft) both; }
.ph-caps p:last-child { color: var(--ink); font-size: 19px; font-weight: 600; }
.ph-orig { font-size: 11px; color: var(--ink-3); padding: 8px 10px; border-radius: 12px; background: var(--rice-2); margin-bottom: 10px; line-height: 1.35; }
.ph-orig span { font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; font-size: 9.5px; }
.ph-orig em { font-style: normal; }
.ph-ask { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 6px 0 14px; border-radius: 99px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--sh-1); font-size: 12.5px; color: var(--ink-3); }
.ph-ask i { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lacquer); }
.ph-ask svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-tabs { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; color: var(--ink-3); padding: 0 4px; }
.ph-tabs .on { color: var(--indigo); font-weight: 700; position: relative; }
.ph-tabs .on::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -5px; height: 3px; border-radius: 3px; background: var(--saffron); }

/* ---------- Joi ---------- */
.joi { position: relative; }
.joi-svg { width: 100%; height: auto; overflow: visible; }
.joi-shadow { fill: rgba(14, 27, 74, .14); animation: shadow 4.2s ease-in-out infinite; transform-origin: 100px 181px; }
.joi-bounce { animation: bob 4.2s ease-in-out infinite; transform-origin: 100px 170px; }
.joi-arm-r { animation: wave 2.6s ease-in-out infinite; transform-origin: 150px 104px; }
.joi-arm-l { animation: sway 5s ease-in-out infinite; transform-origin: 50px 140px; }
.joi-eyes { animation: blinkEyes 5.5s infinite; transform-origin: 100px 112px; }
.joi:hover .joi-arm-r { animation-duration: .9s; }
.joi-hero { position: absolute; width: 104px; right: -58px; top: -74px; z-index: 6; transform: rotate(6deg); }
.joi-bubble {
  position: absolute; right: 96%; top: 0; white-space: nowrap;
  background: var(--paper); border-radius: 16px 16px 4px 16px; padding: 8px 14px;
  font: 700 17px/1.1 var(--f-display); color: var(--indigo); box-shadow: 0 0 0 1px var(--line), var(--sh-2);
}
.joi-greet { display: inline-block; animation: greet .5s var(--ease-soft) both; }
.joi-sm { width: 92px; flex: none; }
.joi-xs { position: absolute; width: 70px; right: -16px; top: -50px; transform: rotate(8deg); }
.joi-lg { width: 132px; margin: 0 auto 8px; }

/* ---------- woven band ---------- */
.band { height: 22px; background: var(--weave-band) center/auto 22px repeat-x; }

/* ---------- story ---------- */
.story { padding: 120px 0 96px; position: relative; }
.story-head { max-width: 820px; }
.story h2, .sec-head h2, .steps h2 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 620; letter-spacing: -.028em; color: var(--indigo); font-variation-settings: "opsz" 72; }
.lede { margin-top: 20px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.6; max-width: 720px; }
.lede em { font-style: normal; font-family: var(--f-hand); font-size: 1.35em; color: var(--lacquer); font-weight: 650; }
.barriers { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.barrier {
  position: relative; padding: 28px 28px 32px; border-radius: var(--r-lg);
  background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--sh-2);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.barrier:hover { transform: translateY(-6px) rotate(-.4deg); }
.b-num { position: absolute; right: 40px; top: 36px; font: 600 40px/1 var(--f-thai); color: var(--accent); opacity: .55; }
.b-art { height: 150px; border-radius: var(--r-md); background: var(--tint); margin-bottom: 22px; display: grid; place-items: center; overflow: hidden; }
.b-art svg { width: 220px; height: 150px; }
.b-art .sk { fill: none; stroke: var(--indigo); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.b-art .sk.thin { stroke-width: 2; opacity: .45; stroke-dasharray: 3 7; }
.b-art .sk.accent { stroke: var(--accent); stroke-width: 3; }
.b-art .fill-a { fill: var(--accent); }
.b-art .art-th { font: 600 20px var(--f-thai); fill: var(--indigo); }
.b-art .fill-a + .art-th { fill: #fff; }
.b-art .art-en { font: 700 15px var(--f-display); fill: var(--indigo); }
.b-kicker { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.barrier h3 { font-size: 26px; margin: 6px 0 14px; color: var(--ink); }
.b-problem { color: var(--ink-2); font-style: italic; font-size: 16px; padding-left: 14px; border-left: 3px solid var(--tint); }
.b-answer { margin-top: 14px; font-size: 16px; color: var(--ink); }

.joi-says { margin: 56px auto 0; max-width: 720px; display: flex; align-items: center; gap: 22px; padding: 18px 26px 18px 18px; border-radius: var(--r-xl); background: var(--saffron-100); }
.joi-says p { font-size: 17px; color: var(--ink-2); }
.joi-says b { color: var(--indigo); }

/* ---------- steps ---------- */
.steps { padding: 32px 0 110px; }
.steps h2 { max-width: 760px; font-size: clamp(30px, 3.4vw, 44px); }
.thread { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.thread::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); }
.thread li { position: relative; }
.st-n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: 0 0 0 2px var(--gold), var(--sh-1); font: 700 18px/1 var(--f-display); color: var(--indigo); margin-bottom: 18px; position: relative; }
.thread li:nth-child(odd) .st-n { background: var(--indigo); color: var(--marigold); }
.thread b { font: 700 18px/1.2 var(--f-display); display: block; margin-bottom: 6px; }
.thread p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* ---------- features (bento) ---------- */
.features { padding: 110px 0; background: var(--rice-2) var(--grain); border-radius: 56px 56px 0 0; position: relative; }
.sec-head { max-width: 780px; margin-bottom: 52px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 26px 26px 28px; border-radius: var(--r-lg); overflow: hidden; transition: transform .5s var(--ease-soft); }
.tile:hover { transform: translateY(-4px); }
.tile h3 { font-size: 22px; margin: 14px 0 10px; }
.tile p { font-size: 15.5px; line-height: 1.55; }
.t-wide { grid-column: span 2; }
.t-cream { background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.t-cream p { color: var(--ink-2); }
.t-indigo { background: var(--indigo-900) var(--weave-lattice); color: #F2EEF8; }
.t-indigo h3 { font-size: 32px; color: #fff; max-width: 440px; }
.t-indigo p { color: rgba(242, 238, 248, .8); max-width: 520px; }
.t-saffron { background: linear-gradient(160deg, var(--marigold), var(--saffron)); color: var(--indigo-950); }
.t-terra { background: linear-gradient(160deg, #E27552, var(--lacquer)); color: #fff; }
.t-terra p { color: rgba(255, 255, 255, .88); }
.t-teal { grid-column: 1 / -1; background: var(--teal) var(--weave-lattice); color: #fff; display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: center; }
.t-teal > :not(.linkwrap) { grid-column: 1; }
.t-teal .tier { justify-self: start; }
.linkwrap { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.linkwrap .mini { display: inline-flex; gap: 8px; }
.linkwrap .mini span { padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.12); font-size: 13.5px; }
.t-teal h3 { font-size: 30px; }
.t-teal p { color: rgba(255, 255, 255, .82); max-width: 520px; }
.tier { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: rgba(26, 28, 53, .06); color: var(--ink-2); }
.t-indigo .tier, .t-teal .tier, .t-terra .tier { background: rgba(255, 255, 255, .14); color: #fff; }
.t-saffron .tier { background: rgba(8, 19, 58, .1); color: var(--indigo-950); }
.ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; position: absolute; right: 22px; top: 22px; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-cream { background: rgba(255, 255, 255, .18); color: #fff; }
.ic-saffron { background: var(--saffron-100); color: #9A5C06; }
.ic-indigo { background: var(--indigo-200); color: var(--indigo); }
.t-saffron .ic-indigo { background: rgba(255, 255, 255, .45); }
.ic-terra { background: var(--terra-100); color: var(--lacquer); }
.ic-teal { background: var(--teal-100); color: var(--teal); }
.mini-merge { margin-top: auto; padding-top: 20px; width: 100%; display: flex; flex-direction: column; gap: 6px; }
.mini-merge span { align-self: flex-start; font-size: 13px; padding: 6px 12px; border-radius: 14px 14px 14px 4px; background: var(--rice-2); color: var(--ink-2); }
.mini-merge span:nth-child(2) { margin-left: 14px; } .mini-merge span:nth-child(3) { margin-left: 28px; }
.mini-merge b { align-self: stretch; display: flex; justify-content: space-between; margin-top: 4px; font: 600 13.5px/1.2 var(--f-body); padding: 10px 12px; border-radius: 14px; background: var(--saffron-100); color: var(--indigo); box-shadow: inset 3px 0 0 var(--saffron); }
.mini-merge b em { font-style: normal; color: var(--lacquer); }
.mini-poll { margin-top: auto; padding-top: 22px; width: 100%; display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.mini-poll i { flex: 1; max-width: 46px; border-radius: 99px 99px 10px 10px; background: rgba(255, 252, 246, .55); height: var(--h); box-shadow: inset 0 0 0 1.5px rgba(8, 19, 58, .12); }
.mini-poll i:nth-child(1) { background: var(--indigo); box-shadow: none; }
.tile-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tile-langs span { padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(232, 211, 160, .25); font-size: 14px; }
.tile-langs span:nth-child(2) { background: var(--marigold); color: var(--indigo-950); box-shadow: none; font-weight: 600; }
.tile-langs [lang="my"] { font-family: "Noto Sans Myanmar", var(--f-body); }
.tile-fine { margin-top: 16px; font-size: 13.5px !important; opacity: .75; }
.linkpill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--paper); color: var(--indigo); font-weight: 600; font-size: 15px; box-shadow: var(--sh-2); }
.linkpill svg { width: 16px; height: 16px; fill: none; stroke: var(--teal); stroke-width: 1.6; }

/* ---------- stage showcase ---------- */
.stage-sec { padding: 120px 0 120px; background: var(--indigo-950) var(--weave-lattice); color: #EDE9F5; position: relative; }
.stage-sec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px; background: var(--weave-band) center/auto 22px repeat-x; }
.sec-head.light h2 { color: #fff; }
.sec-head.light .lede { color: rgba(237, 233, 245, .78); }
.stage-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(232, 211, 160, .18); margin-bottom: 28px; }
.stage-tabs button { border: 0; background: transparent; color: rgba(237, 233, 245, .75); font: 600 14.5px/1 var(--f-body); padding: 11px 18px; border-radius: 99px; cursor: pointer; transition: background .3s, color .3s; }
.stage-tabs button[aria-selected="true"] { background: var(--marigold); color: var(--indigo-950); }
.stage-wrap { border-radius: 28px; padding: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(232, 211, 160, .16); }

.stage {
  --gap: 20px;
  width: 1280px; height: 720px; position: relative; border-radius: 18px; overflow: hidden;
  background: radial-gradient(70% 90% at 15% 10%, #1D2D6B, transparent 60%), radial-gradient(60% 70% at 100% 100%, rgba(214, 90, 62, .35), transparent 60%), var(--indigo-900);
  font-family: var(--f-body); color: var(--ink);
}
.stage::before { content: ""; position: absolute; inset: 0; background: var(--weave-lattice); opacity: .8; }
.stage > * { position: absolute; transition: all .8s var(--ease-soft); }
.st-slide { left: 28px; top: 28px; width: 860px; height: 470px; border-radius: 26px; background: var(--rice) var(--grain); padding: 44px 52px; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); }
.st-k { font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lacquer); }
.st-big { font: 800 172px/.9 var(--f-display); letter-spacing: -.05em; color: var(--indigo); margin-top: 18px; font-variation-settings: "opsz" 96; }
.st-sub { font-size: 24px; color: var(--ink-2); margin-top: 6px; }
.st-stats { display: flex; gap: 56px; margin-top: 34px; }
.st-stats b { display: block; font: 700 40px/1 var(--f-display); color: var(--terracotta); letter-spacing: -.02em; }
.st-stats span { font-size: 15px; color: var(--ink-2); }
.st-doi { position: absolute; right: -10px; bottom: -6px; width: 420px; height: 130px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.st-qcard { left: 548px; top: 44px; width: 324px; padding: 20px 22px; border-radius: 20px; background: var(--paper); box-shadow: 0 0 0 3px var(--marigold), 0 24px 50px -16px rgba(0, 0, 0, .55); }
.st-qbadge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A5208; background: var(--saffron-100); padding: 4px 10px; border-radius: 99px; }
.st-qcard p { font: 700 21px/1.22 var(--f-display); color: var(--indigo); margin-top: 10px; letter-spacing: -.01em; }
.st-qcard small { display: block; font-size: 14px; color: var(--teal); margin-top: 8px; }
.st-qlikes { position: absolute; right: 18px; top: 18px; font-size: 13px; font-weight: 700; color: var(--lacquer); }
.st-rail { left: 920px; top: 28px; width: 332px; height: 470px; padding: 22px; border-radius: 22px; background: rgba(255, 252, 246, .96); opacity: 0; transform: translateX(40px); }
.st-rail-h { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lacquer); margin-bottom: 14px; }
.st-ri { padding: 14px 16px; border-radius: 16px; background: var(--rice-2); margin-bottom: 10px; }
.st-ri b { font: 650 16px/1.3 var(--f-display); color: var(--indigo); display: block; }
.st-ri small { font-size: 12.5px; color: var(--ink-3); display: block; margin-top: 6px; }
.st-ri.pin { background: var(--saffron-100); box-shadow: inset 4px 0 0 var(--saffron); }
.st-poll { left: 28px; top: 28px; width: 860px; height: 470px; border-radius: 26px; padding: 44px 52px; background: var(--paper); opacity: 0; transform: scale(.96); }
.st-pq { font: 700 44px/1.1 var(--f-display); color: var(--indigo); letter-spacing: -.03em; margin: 12px 0 30px; }
.st-poll ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.st-poll li { display: grid; grid-template-columns: 150px 1fr 70px; align-items: center; gap: 16px; font-size: 20px; font-weight: 600; }
.st-poll i { height: 30px; border-radius: 99px; background: var(--rice-2); position: relative; overflow: hidden; }
.st-poll i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--marigold), var(--saffron)); transition: width 1.4s .3s var(--ease-soft); }
.st-poll li:nth-child(2) i::after { background: linear-gradient(90deg, #F08A6E, var(--terracotta)); }
.st-poll li:nth-child(3) i::after { background: linear-gradient(90deg, var(--teal-300), var(--teal)); }
.st-poll li:nth-child(4) i::after { background: linear-gradient(90deg, #8C9BD0, var(--indigo-700)); }
.st-poll b { text-align: right; font: 700 22px var(--f-display); color: var(--indigo); }
.st-qr { left: 920px; top: 28px; width: 332px; height: 300px; border-radius: 22px; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.st-qr .qr { width: 188px; height: 188px; }
.st-qr b { font: 700 20px/1 var(--f-display); color: var(--indigo); margin-top: 12px; }
.st-qr small { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.st-timer { left: 920px; top: 346px; width: 332px; height: 152px; border-radius: 22px; background: rgba(255, 252, 246, .08); box-shadow: inset 0 0 0 1.5px rgba(232, 211, 160, .35); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.st-timer small { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-200); font-weight: 700; }
.st-timer b { font: 700 64px/1 var(--f-display); letter-spacing: -.03em; }
.st-timer i { width: 220px; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .15); margin-top: 10px; overflow: hidden; }
.st-timer em { display: block; width: 62%; height: 100%; background: var(--marigold); border-radius: inherit; }
.st-caps { left: 28px; right: 28px; top: 520px; height: 128px; border-radius: 22px; background: rgba(8, 19, 58, .78); box-shadow: inset 0 0 0 1px rgba(232, 211, 160, .2); padding: 14px 24px; display: flex; flex-direction: column; justify-content: center; gap: 6px; color: #fff; }
.st-caps div { display: flex; align-items: center; gap: 14px; }
.st-caps .lt { flex: none; width: 34px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 700 11px var(--f-body); background: rgba(255, 255, 255, .12); color: var(--gold-200); }
.st-caps div:first-child p { font-size: 23px; font-weight: 600; }
.st-caps p { font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, .86); }
.st-caps em { font-style: normal; color: var(--marigold); }
.st-caps p[lang="th"] { font-family: var(--f-thai); }
.st-foot { left: 28px; right: 28px; bottom: 16px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 14px; }
.st-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 15px var(--f-display); }
.st-brand svg { width: 28px; height: 22px; }
.st-spons { color: rgba(255, 255, 255, .7); font-size: 13px; }
.st-spons small { text-transform: uppercase; letter-spacing: .14em; font-size: 10.5px; color: var(--gold-200); margin-right: 8px; }

/* layouts */
.stage[data-layout="rail"] .st-slide { width: 872px; }
.stage[data-layout="rail"] .st-qcard { opacity: 0; transform: translateY(-20px) scale(.96); }
.stage[data-layout="rail"] .st-rail { opacity: 1; transform: none; }
.stage[data-layout="rail"] .st-qr { opacity: 0; transform: translateX(40px); }
.stage[data-layout="rail"] .st-timer { opacity: 0; }
.stage[data-layout="poll"] .st-slide { opacity: 0; transform: scale(.96); }
.stage[data-layout="poll"] .st-qcard { opacity: 0; transform: translateY(-20px); }
.stage[data-layout="poll"] .st-poll { opacity: 1; transform: none; }
.stage[data-layout="poll"] .st-poll i::after { width: var(--v); }

.stage-points { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stage-points li { font-size: 16px; color: rgba(237, 233, 245, .75); padding-top: 16px; border-top: 1px solid rgba(232, 211, 160, .2); }
.stage-points b { color: #fff; display: block; font: 700 18px/1.3 var(--f-display); margin-bottom: 4px; }

/* ---------- pricing ---------- */
.pricing { padding: 120px 0 100px; }
.tiers { display: grid; grid-template-columns: 1fr 1.18fr 1fr 1fr; gap: 18px; align-items: stretch; }
.tier-card { position: relative; padding: 28px 24px 26px; border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--sh-1); display: flex; flex-direction: column; }
.tier-card h3 { font-size: 22px; color: var(--indigo); }
.price { font: 650 38px/1 var(--f-display); letter-spacing: -.03em; margin-top: 16px; color: var(--indigo-700); }
.cad { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.blurb { font-size: 15px; color: var(--ink-2); margin: 16px 0 14px; }
.tier-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.tier-card li { position: relative; padding-left: 22px; line-height: 1.4; }
.tier-card li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 9px; height: 9px; transform: rotate(45deg); border-radius: 2px; background: var(--gold); }
.tier-card .btn { margin-top: auto; }
.featured { background: var(--indigo-900) var(--weave-lattice); color: #F2EEF8; box-shadow: 0 0 0 2px var(--gold), var(--sh-3); transform: translateY(-14px); padding-top: 36px; }
.featured h3 { color: var(--marigold); font-size: 26px; }
.featured .price { color: #fff; font-size: 68px; font-weight: 750; }
.featured .cad, .featured .blurb { color: rgba(242, 238, 248, .75); }
.featured li::before { background: var(--marigold); }
.feat-weave { position: absolute; left: 0; right: 0; top: 0; height: 12px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--weave-band) center/auto 12px repeat-x; }
.ribbon { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo-950); background: var(--marigold); padding: 5px 10px; border-radius: 99px; margin-bottom: 14px; }

/* ---------- faq ---------- */
.faq { padding: 60px 0 110px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 620; color: var(--indigo); }
.faq-th { margin-top: 14px; font-size: 19px; color: var(--teal); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details { border-radius: var(--r-md); background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--sh-1); padding: 0 22px; transition: background .3s; }
details[open] { background: #fff; }
summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font: 650 18px/1.3 var(--f-display); color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--saffron-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11h8M11 7v8' stroke='%23B2362B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .4s var(--ease-soft); }
details[open] summary::after { transform: rotate(135deg); }
details p { padding: 0 0 22px; color: var(--ink-2); font-size: 16px; max-width: 640px; }

/* ---------- closing ---------- */
.closing { padding: 40px 0 140px; }
.closing-in { text-align: center; padding: 56px 24px 64px; border-radius: 48px; background: radial-gradient(60% 80% at 50% 0%, rgba(246, 190, 63, .35), transparent 70%), var(--paper); box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
.closing h2 { font-size: clamp(38px, 5vw, 68px); font-weight: 640; color: var(--indigo); }
.closing-th { font-size: 20px; color: var(--teal); margin: 14px 0 30px; }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--indigo-950) var(--weave-lattice); color: rgba(237, 233, 245, .78); padding: 40px 0 44px; }
.foot-hills { position: absolute; left: 0; right: 0; top: -119px; height: 120px; }
.foot-hills svg { width: 100%; height: 100%; fill: var(--indigo-950); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; }
.foot .brand { color: #fff; }
.foot-brand p { margin-top: 10px; font-family: var(--f-hand); font-size: 24px; color: var(--marigold); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; font-size: 15px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: #fff; }
.foot-copy { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(232, 211, 160, .16); font-size: 14px; }
.foot-copy span { margin-left: 8px; color: var(--gold-200); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes rise { 0% { translate: 0 30px; opacity: 0; } 12% { opacity: .85; } 85% { opacity: .7; } 100% { translate: 18px -340px; opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0) scale(1, 1); } 45% { transform: translateY(-9px) scale(.985, 1.02); } 55% { transform: translateY(-9px) scale(.985, 1.02); } 92% { transform: translateY(1px) scale(1.03, .97); } }
@keyframes shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.82); opacity: .6; } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(0); } }
@keyframes sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(5deg); } }
@keyframes blinkEyes { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes greet { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes capIn { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes qIn { 0% { opacity: 0; transform: translateY(-14px) scale(.97); } 60% { opacity: 1; transform: translateY(2px); } 100% { transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .featured { transform: none; }
  .thread { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .thread::before { display: none; }
  .note { display: none; }
  .phone { right: -8px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
  .hero { padding-top: 100px; }
  .l1, .l3, .l5, .l6 { display: none; }
  .l2 { left: 6%; top: 9%; } .l4 { left: 90%; top: 14%; }
  .hero-h { font-size: 46px; }
  .hero-cta .btn { width: 100%; }
  .stagebox { margin-top: 84px; padding-bottom: 236px; }
  .joi-hero { width: 70px; right: 2px; top: -62px; }
  .joi-bubble { font-size: 13px; padding: 6px 10px; }
  .phone { width: 180px; left: auto; right: 6px; bottom: -214px; padding: 7px; border-radius: 32px; }
  .phone-in { height: 340px; border-radius: 28px; padding: 0 10px 10px; }
  .ph-caps p { font-size: 13px; } .ph-caps p:last-child { font-size: 14.5px; }
  .ph-status { height: 30px; } .ph-notch { width: 58px; height: 17px; }
  .ph-tabs { font-size: 9.5px; }
  .ph-orig { font-size: 10px; }
  .barriers { grid-template-columns: 1fr; }
  .story { padding: 80px 0 64px; }
  .joi-says { flex-direction: column; text-align: center; border-radius: var(--r-lg); padding: 22px; }
  .thread { grid-template-columns: 1fr; gap: 22px; }
  .thread li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; }
  .thread .st-n { grid-row: span 2; margin: 0; }
  .features { padding: 80px 0; border-radius: 32px 32px 0 0; }
  .bento, .tiers { grid-template-columns: 1fr; }
  .t-wide { grid-column: auto; }
  .t-teal { display: flex; flex-direction: column; align-items: flex-start; }
  .linkwrap { align-items: flex-start; margin-top: 20px; }
  .t-indigo h3, .t-teal h3 { font-size: 26px; }
  .stage-sec { padding: 88px 0; }
  .stage-tabs { display: flex; width: 100%; }
  .stage-tabs button { flex: 1; padding: 10px 6px; font-size: 13px; }
  .stage-wrap { padding: 6px; border-radius: 16px; }
  .stage-points { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-side { position: static; }
  .joi-xs { right: 10px; top: -46px; width: 60px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .melt-drip path { stroke-dashoffset: 0; }
  .lantern { animation: none; opacity: .7; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
