/* =========================================================
   SaHackIT — overview site
   ธีมมาจากโลโก้: เหลือง → ส้ม → ชมพูบานเย็น บนพื้นครีม
   ========================================================= */

:root {
  /* brand (ค่าดึงจากไฟล์โลโก้) */
  --yellow: #F8BB0E;
  --orange: #FF6F00;
  --coral: #EF7050;
  --magenta: #E42195;
  --grad: linear-gradient(90deg, #F8BB0E 0%, #EF7050 50%, #E52692 100%);
  --grad-diag: linear-gradient(135deg, #F59A2E 0%, #E42195 100%);

  /* light */
  --bg: #FFF6EE;
  --bg-alt: #FFEFE2;
  --surface: #FFFFFF;
  --surface-2: #FFF9F4;
  --text: #1C1411;
  --text-2: #4A3D36;
  --muted: #7A6A61;
  --line: rgba(60, 30, 10, .10);
  --line-2: rgba(60, 30, 10, .18);
  --accent-ink: #C24E00;           /* ส้มที่อ่านง่ายบนพื้นครีม (คอนทราสต์ผ่าน) */
  --wm: #0E0A08;                   /* สีตัวอักษรดำในโลโก้ */
  --glow: rgba(255, 140, 60, .28);
  --glow-2: rgba(228, 33, 149, .16);
  --shadow: 0 1px 2px rgba(60, 30, 10, .05), 0 12px 32px -12px rgba(120, 50, 10, .18);
  --shadow-lg: 0 30px 60px -24px rgba(120, 40, 20, .28);
  --nav-bg: rgba(255, 246, 238, .88);
  --pyr-tam: #FCE7B4;
  --pyr-sam: #F7B89B;
  --pyr-stroke: transparent;

  --font: "Anuphan", "Noto Sans Thai", system-ui, sans-serif;
  --font-display: "Inter Tight", "Anuphan", system-ui, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* dark: พื้นน้ำตาลเข้มอมอุ่น ไม่ดำสนิท / ตัวหนังสือครีม ไม่ขาวจ้า / สีแบรนด์ลดความสดลงเล็กน้อย */
:root[data-theme="dark"] {
  --orange: #FF8A3D;
  --magenta: #E2539F;
  --grad: linear-gradient(90deg, #E9B23A 0%, #E77757 50%, #D9479A 100%);
  --grad-diag: linear-gradient(135deg, #EE9A45 0%, #D9479A 100%);

  --bg: #17120F;
  --bg-alt: #1D1714;
  --surface: #221B17;
  --surface-2: #29211C;
  --text: #F2E8DF;
  --text-2: #D3C5BA;
  --muted: #A3948A;
  --line: rgba(255, 230, 210, .09);
  --line-2: rgba(255, 230, 210, .16);
  --accent-ink: #FF9F5E;
  --wm: #F2E8DF;
  --glow: rgba(255, 130, 60, .13);
  --glow-2: rgba(226, 83, 159, .10);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 36px -16px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .7);
  --nav-bg: rgba(23, 18, 15, .88);
  --pyr-tam: #2A211A;
  --pyr-sam: #3D2622;
  --pyr-stroke: rgba(233, 140, 90, .45);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: #fff; }

.ic { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: 10px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), background-color .3s, color .3s;
  will-change: transform;
}
.btn .ic { transition: transform .35s var(--spring); }
.btn:hover .ic { transform: translateX(4px); }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }
.btn--grad {
  color: #fff; background: var(--grad); background-size: 160% 100%; background-position: 0 0;
  box-shadow: 0 10px 24px -10px rgba(228, 33, 149, .55);
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), background-position .6s var(--ease);
}
.btn--grad:hover { background-position: 100% 0; box-shadow: 0 16px 30px -12px rgba(228, 33, 149, .6); }
.btn--ghost { color: var(--text); border: 1.5px solid var(--line-2); background: color-mix(in srgb, var(--surface) 55%, transparent); }
.btn--ghost:hover { border-color: var(--orange); color: var(--accent-ink); }
.btn--light { background: #fff; color: #1C1411; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
.btn:active { transform: scale(.97); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.nav.is-scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  height: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.nav__home { display: flex; align-items: center; height: 100%; }
.nav__slot { display: block; width: 128px; height: 26px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--text-2);
  transition: color .25s, background-color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--grad-diag); transform: translateX(-50%) scale(0); transition: transform .35s var(--spring);
}
.nav__links a:hover { color: var(--text); background: color-mix(in srgb, var(--orange) 9%, transparent); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { transform: translateX(-50%) scale(1); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle { padding: 4px; border-radius: 999px; }
.theme-toggle__track {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  width: 62px; height: 32px; padding: 0 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--muted);
}
.theme-toggle .ic { width: 15px; height: 15px; position: relative; z-index: 1; transition: color .3s; }
.theme-toggle__knob {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad-diag); box-shadow: 0 2px 8px rgba(228, 33, 149, .35);
  transition: transform .5s var(--spring);
}
:root[data-theme="light"] .ic--sun { color: #fff; }
:root[data-theme="dark"] .theme-toggle__knob { transform: translateX(30px); }
:root[data-theme="dark"] .ic--moon { color: #fff; }

.burger { display: none; width: 42px; height: 42px; border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* =========================================================
   BRAND (โลโก้ที่ประกอบจากชิ้นส่วน)
   ========================================================= */
.brand {
  --bfs: clamp(50px, min(13.5vw, 15vh), 160px);
  display: inline-flex; flex-direction: column; align-items: center;
  font-size: var(--bfs);
  color: var(--wm);
  user-select: none;
  transform-origin: 0 0;
}
.js .brand { position: fixed; top: 0; left: 0; z-index: 60; will-change: transform; visibility: hidden; pointer-events: none; }
.js .brand.is-ready { visibility: visible; }
.brand.is-docked { cursor: pointer; }

.brand__triw { display: block; margin-bottom: .12em; will-change: transform, opacity; }
.brand__tri {
  width: 1.12em; height: auto;
  filter: drop-shadow(0 .12em .2em var(--glow));
  transition: transform .6s var(--spring);
  will-change: transform, opacity;
}
.brand__th {
  font-family: "Anuphan", sans-serif; font-weight: 700;
  font-size: .48em; line-height: 1; letter-spacing: 0;
  margin-bottom: .14em;
  will-change: opacity;
}
.brand__th > span { display: inline-block; }
.brand__th .o, .brand__wm .o { color: var(--orange); }
.brand__wm {
  position: relative; display: flex; align-items: flex-end;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1em; line-height: .76; letter-spacing: -.035em;
  white-space: nowrap; padding-bottom: .03em;
}
.brand__wm .l { display: inline-block; }
.brand__dot {
  display: inline-block; width: .27em; height: .27em; margin-left: .035em; margin-bottom: 0;
  border-radius: 50%; background: var(--grad-diag);
}
.brand__bar {
  align-self: stretch; height: .6em; margin-top: .08em;
  background: var(--grad);
  transform-origin: 0 0;
  box-shadow: 0 .14em .4em -.1em var(--glow);
  will-change: transform;
}

/* intro animation — ตอนโหลดหน้า ชิ้นส่วนโลโก้ประกอบตัวกัน */
.js .brand.is-ready .brand__tri { animation: triDrop 1.1s var(--spring) both .1s; }
.js .brand.is-ready .brand__th > span { animation: pop .6s var(--spring) both; }
.js .brand.is-ready .brand__th > span:nth-child(1) { animation-delay: .55s; }
.js .brand.is-ready .brand__th > span:nth-child(2) { animation-delay: .62s; }
.js .brand.is-ready .brand__th > span:nth-child(3) { animation-delay: .69s; }
.js .brand.is-ready .brand__th > span:nth-child(4) { animation-delay: .76s; }
.js .brand.is-ready .brand__wm .l { animation: rise .7s var(--ease) both; }
.js .brand.is-ready .brand__wm .l:nth-child(1) { animation-delay: .35s; }
.js .brand.is-ready .brand__wm .l:nth-child(2) { animation-delay: .40s; }
.js .brand.is-ready .brand__wm .l:nth-child(3) { animation-delay: .45s; }
.js .brand.is-ready .brand__wm .l:nth-child(4) { animation-delay: .50s; }
.js .brand.is-ready .brand__wm .l:nth-child(5) { animation-delay: .55s; }
.js .brand.is-ready .brand__wm .l:nth-child(6) { animation-delay: .60s; }
.js .brand.is-ready .brand__wm .l:nth-child(7) { animation-delay: .65s; }
.js .brand.is-ready .brand__wm .l:nth-child(8) { animation-delay: .70s; }
.js .brand.is-ready .brand__bar { animation: sweep .9s var(--ease) both .75s; }
.js .brand.is-ready .brand__dot { animation: dotDrop 1s var(--ease) both 1.2s; }

@keyframes triDrop {
  0% { opacity: 0; transform: translateY(-1.4em) rotate(-120deg) scale(.4); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes pop { from { opacity: 0; transform: translateY(.3em) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(.45em) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dotDrop {
  0% { opacity: 0; transform: translateY(-3em); }
  45% { opacity: 1; transform: translateY(0) scale(1.25, .7); }
  62% { transform: translateY(-.7em) scale(.92, 1.1); }
  78% { transform: translateY(0) scale(1.1, .88); }
  88% { transform: translateY(-.15em); }
  100% { opacity: 1; transform: none; }
}

/* ลูกเล่นเมื่อโลโก้อยู่ใน nav */
.js .brand.is-ready.is-hop .brand__dot { animation: hop .7s var(--ease); }
@keyframes hop { 0%, 100% { transform: none; } 40% { transform: translateY(-.8em); } 70% { transform: translateY(0) scale(1.2, .8); } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 28px) var(--gutter) 96px;
  text-align: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  opacity: .7;
}
.blob { position: absolute; border-radius: 50%; }
.blob--a { width: 46vmax; height: 46vmax; left: 50%; top: 42%; translate: -60% -50%; background: radial-gradient(circle, var(--glow), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.blob--b { width: 36vmax; height: 36vmax; left: 50%; top: 52%; translate: -10% -40%; background: radial-gradient(circle, var(--glow-2), transparent 65%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(6%, -5%) scale(1.08); } }

.float-tri, .float-dot { position: absolute; opacity: .9; }
.float-tri { width: clamp(28px, 4vw, 54px); animation: floaty 9s ease-in-out infinite; }
.float-tri--1 { left: 9%; top: 24%; rotate: -18deg; }
.float-tri--2 { right: 10%; bottom: 22%; width: clamp(18px, 2.4vw, 32px); rotate: 24deg; animation-delay: -4s; opacity: .7; }
.float-dot { border-radius: 50%; background: var(--grad-diag); animation: floaty 7s ease-in-out infinite; }
.float-dot--1 { width: 14px; height: 14px; right: 18%; top: 22%; animation-delay: -2s; }
.float-dot--2 { width: 9px; height: 9px; left: 16%; bottom: 26%; animation-delay: -5s; opacity: .6; }
@keyframes floaty { 50% { transform: translateY(-18px) rotate(12deg); } }

.hero__logo-slot { display: flex; justify-content: center; }
.hero__copy { max-width: 760px; margin-top: clamp(28px, 4vw, 44px); }
.hero__title {
  font-size: clamp(1.75rem, 4.2vw, 3rem); font-weight: 700; line-height: 1.3; letter-spacing: -.015em;
}
.hero__sub { margin: 16px auto 0; max-width: 620px; color: var(--text-2); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.chips li {
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--text-2);
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}
.js .hero__copy > * { animation: fadeUp .9s var(--ease) both; }
.js .hero__copy > :nth-child(1) { animation-delay: 1.15s; }
.js .hero__copy > :nth-child(2) { animation-delay: 1.3s; }
.js .hero__copy > :nth-child(3) { animation-delay: 1.45s; }
.js .hero__copy > :nth-child(4) { animation-delay: 1.6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; padding: 6px; }
.scroll-cue__mouse { display: block; width: 24px; height: 38px; border: 2px solid var(--line-2); border-radius: 14px; position: relative; }
.scroll-cue__mouse span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* =========================================================
   MARQUEE (แถบไล่สีจากโลโก้)
   ========================================================= */
.marquee-wrap { overflow: hidden; padding: 18px 0; margin: -18px 0; position: relative; z-index: 2; }
.marquee {
  position: relative; overflow: hidden;
  background: var(--grad); color: #fff;
  padding: 14px 0; rotate: -1.2deg; margin: 0 -2vw; width: 104vw;
  box-shadow: var(--shadow);
}
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2vw, 1.3rem); white-space: nowrap; letter-spacing: -.01em; }
.marquee i { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid rgba(255,255,255,.9); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 14px;
}
.eyebrow__tri { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid var(--orange); }
.sec-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.2; letter-spacing: -.02em; }
.lead { margin-top: 16px; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--text-2); }
.sub-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: clamp(48px, 6vw, 72px) 0 22px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- card base ---------- */
.card, .problem, .context, .price, .survey, .versus__side, .ppanel__visual .mock, .revenue {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---------- 01 problem ---------- */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem {
  position: relative; overflow: hidden; padding: 30px 26px 28px;
  transition: transform .5s var(--spring), box-shadow .5s var(--ease), border-color .3s;
}
.problem:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--orange) 40%, transparent); }
.problem::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: 0 0; transition: transform .6s var(--ease); }
.problem:hover::before { transform: scaleX(1); }
.problem__num {
  position: absolute; right: 18px; top: -6px;
  font-family: var(--font-display); font-weight: 900; font-size: 6.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-2);
  transition: -webkit-text-stroke-color .4s;
}
.problem:hover .problem__num { -webkit-text-stroke-color: color-mix(in srgb, var(--orange) 55%, transparent); }
.problem__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-diag); color: #fff; margin-bottom: 20px;
  box-shadow: 0 10px 20px -10px rgba(228, 33, 149, .6);
}
.problem__icon .ic { width: 24px; height: 24px; }
.problem h3 { font-size: 1.25rem; margin-bottom: 10px; position: relative; }
.problem p { color: var(--text-2); font-size: .98rem; position: relative; }

.survey { margin-top: 20px; padding: 28px; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.survey__label { font-weight: 700; font-size: 1.1rem; }
.survey__meta { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.survey__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { padding-left: 18px; border-left: 2px solid var(--line-2); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.6rem); line-height: 1.1; }
.stat__num span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__txt { color: var(--text-2); font-size: .93rem; margin-top: 6px; line-height: 1.55; }
[data-count].is-placeholder { font-size: .62em; letter-spacing: 0; -webkit-text-fill-color: var(--muted); color: var(--muted); background: none; }
.survey__meta [data-count].is-placeholder { font-size: 1em; }

.context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.context { padding: 30px; }
.context__title { font-size: 1.2rem; margin-bottom: 18px; }
.who li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px dashed var(--line-2); }
.who li:first-child { border-top: 0; padding-top: 0; }
.who strong { display: block; }
.who span:not(.who__ic) { color: var(--text-2); font-size: .95rem; }
.who__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.who__ic--a { background: color-mix(in srgb, var(--yellow) 22%, transparent); color: #B07D00; }
.who__ic--b { background: color-mix(in srgb, var(--orange) 16%, transparent); color: var(--accent-ink); }
.who__ic--c { background: color-mix(in srgb, var(--magenta) 14%, transparent); color: var(--magenta); }
:root[data-theme="dark"] .who__ic--a { color: var(--yellow); }
.why-now li { display: flex; gap: 12px; padding: 9px 0; color: var(--text-2); }
.why-now .ic { color: var(--orange); margin-top: .3em; }
.why-now__hl {
  margin-top: 8px; padding: 14px 16px !important; border-radius: 14px; color: var(--text) !important;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
}
.industry { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.industry span { color: var(--text); font-weight: 600; padding: 3px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }

/* ---------- 02 solution / pillars ---------- */
.pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); }
.pillars__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ptab {
  position: relative; overflow: hidden; text-align: left;
  display: flex; gap: 14px; align-items: center;
  padding: 18px 18px; border-radius: 16px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent);
  transition: background-color .35s, border-color .35s, transform .35s var(--spring);
}
.ptab:hover { transform: translateY(-3px); }
.ptab__n {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; color: var(--muted); border: 1.5px solid var(--line-2);
  transition: all .35s;
}
.ptab__txt strong { display: block; font-size: 1rem; line-height: 1.35; }
.ptab__txt small { color: var(--muted); font-size: .85rem; }
.ptab__prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 0; }
.ptab.is-active { background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow); }
.ptab.is-active .ptab__n { background: var(--grad-diag); color: #fff; border-color: transparent; }
.ptab.is-active .ptab__prog { animation: prog var(--dur, 7s) linear forwards; }
.pillars.is-paused .ptab.is-active .ptab__prog { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }

.ppanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pillars__panels { display: grid; grid-template-columns: minmax(0, 1fr); }
.ppanel { grid-area: 1 / 1; }
.ppanel[hidden] { display: grid; visibility: hidden; pointer-events: none; }
.ppanel.is-active .ppanel__copy, .ppanel.is-active .ppanel__visual { animation: fadeUp .6s var(--ease) both; }
.ppanel.is-active .ppanel__visual { animation-delay: .08s; }
.ppanel__copy h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 16px; }
.ticks li { position: relative; padding: 0 0 14px 30px; color: var(--text-2); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 0; height: 0;
  border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid var(--orange);
  rotate: 90deg;
}
.ticks strong { color: var(--text); }

.ppanel__visual { position: relative; }
.mock__note { text-align: center; color: var(--muted); font-size: .75rem; margin-top: 10px; letter-spacing: .03em; }
.mock { padding: 16px; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mock__bar em { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--muted); }
.feed-item { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-radius: 12px; transition: background-color .3s; }
.feed-item:hover { background: var(--surface-2); }
.ppanel.is-active .feed-item { animation: slideIn .6s var(--ease) both; }
.ppanel.is-active .feed-item:nth-of-type(2) { animation-delay: .15s; }
.ppanel.is-active .feed-item:nth-of-type(3) { animation-delay: .25s; }
.ppanel.is-active .feed-item:nth-of-type(4) { animation-delay: .35s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.feed-item__tag { font-size: .68rem; font-weight: 700; padding: 4px 8px; border-radius: 8px; white-space: nowrap; }
.t-tech { background: color-mix(in srgb, var(--orange) 15%, transparent); color: var(--accent-ink); }
.t-biz { background: color-mix(in srgb, var(--yellow) 22%, transparent); color: #8A6200; }
.t-design { background: color-mix(in srgb, var(--magenta) 14%, transparent); color: var(--magenta); }
:root[data-theme="dark"] .t-biz { color: var(--yellow); }
.feed-item__body { flex: 1; min-width: 0; }
.feed-item__body strong { display: block; font-size: .92rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-item__body small { color: var(--muted); font-size: .78rem; }
.match { text-align: right; line-height: 1.1; }
.match b { font-family: var(--font-display); font-size: 1.1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.match small { display: block; font-size: .68rem; color: var(--muted); }
.toast {
  display: flex; align-items: center; gap: 10px; margin-top: 10px;
  padding: 10px 14px; border-radius: 12px; font-size: .85rem; font-weight: 500;
  background: var(--text); color: var(--bg);
}
.toast .ic { color: var(--yellow); }
.ppanel.is-active .toast { animation: toastIn .7s var(--spring) both .6s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.95); } to { opacity: 1; transform: none; } }

.team-tri { position: relative; aspect-ratio: 300 / 260; max-width: 380px; margin-inline: auto; }
.team-tri__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.team-tri__edge { stroke-dasharray: 800; stroke-dashoffset: 800; }
.ppanel.is-active .team-tri__edge { animation: draw 1.4s var(--ease) forwards .2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.node {
  position: absolute; translate: -50% -50%; display: flex; flex-direction: column; align-items: center;
  padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  font-size: .85rem; line-height: 1.2; min-width: 96px;
}
.node b { font-size: .95rem; }
.node small { color: var(--muted); font-size: .75rem; }
.node__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-diag); color: #fff; margin-bottom: 6px; }
.node--top { left: 50%; top: 7.7%; }
.node--left { left: 6.7%; top: 94%; }
.node--right { left: 93.3%; top: 94%; }
.ppanel.is-active .node { animation: nodeIn .7s var(--spring) both; }
.ppanel.is-active .node--top { animation-delay: .3s; }
.ppanel.is-active .node--left { animation-delay: .5s; }
.ppanel.is-active .node--right { animation-delay: .7s; }
@keyframes nodeIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.team-tri__center { position: absolute; left: 50%; top: 64%; translate: -50% -50%; text-align: center; line-height: 1.2; }
.team-tri__center small { display: block; color: var(--muted); font-size: .78rem; }
.team-tri__center b { font-family: var(--font-display); font-size: 1.6rem; }
.score { margin-top: 48px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.score__row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--text-2); margin-bottom: 8px; }
.score__row b { font-family: var(--font-display); color: var(--text); }
.score__track, .meter { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.score__track span, .meter span { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--grad); border-radius: inherit; transform-origin: 0 0; }
.ppanel.is-active .score__track span, .ppanel.is-active .meter span { animation: sweep 1.2s var(--ease) both .6s; }

.profile {
  padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform-style: preserve-3d; transition: transform .2s ease-out;
}
.profile__head { display: flex; gap: 12px; align-items: center; }
.profile__head strong { display: block; font-size: .98rem; line-height: 1.3; }
.profile__head small { color: var(--muted); font-size: .8rem; }
.avatar { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--grad-diag); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.verified {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px; flex: none;
  font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  color: #fff; background: var(--grad-diag);
}
.verified .ic { width: 14px; height: 14px; }
.ppanel.is-active .verified { animation: stamp .7s var(--spring) both .5s; }
@keyframes stamp { from { opacity: 0; transform: scale(2) rotate(-12deg); } to { opacity: 1; transform: none; } }
.profile__row { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 12px; }
.src { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text-2); }
.src .ic { width: 14px; height: 14px; color: var(--orange); }
.history li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 10px 0; border-top: 1px dashed var(--line-2); font-size: .88rem; }
.history span { font-weight: 600; }
.history em { grid-row: 2; font-style: normal; color: var(--muted); font-size: .78rem; }
.history b { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: .8rem; color: var(--accent-ink); }
.profile__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.profile__foot small { display: block; color: var(--muted); font-size: .75rem; margin-bottom: 6px; }

/* ---------- 03 USP ---------- */
.versus { display: grid; grid-template-columns: 1fr auto 1.25fr; gap: 0; align-items: stretch; }
.versus__side { padding: 30px; }
.versus__side--old { background: var(--surface-2); box-shadow: none; }
.versus__side--new {
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  border: 2px solid transparent; box-shadow: var(--shadow-lg);
}
.versus__label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.versus__side--new .versus__label { color: var(--accent-ink); }
.versus h3 { font-size: 1.3rem; margin-bottom: 18px; }
.crossed li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--muted); }
.crossed li .ic { color: #C9473C; }
.crossed li { position: relative; }
.versus.is-in .crossed li::after {
  content: ""; position: absolute; left: 30px; top: 50%; height: 1.5px; width: calc(100% - 30px); max-width: 220px;
  background: currentColor; transform: scaleX(0); transform-origin: 0 0; animation: sweep .6s var(--ease) forwards;
}
.versus.is-in .crossed li:nth-child(1)::after { animation-delay: .5s; }
.versus.is-in .crossed li:nth-child(2)::after { animation-delay: .65s; }
.versus.is-in .crossed li:nth-child(3)::after { animation-delay: .8s; }
.versus.is-in .crossed li:nth-child(4)::after { animation-delay: .95s; }
.versus__foot { margin-top: 14px; font-size: .92rem; color: var(--text-2); padding-top: 14px; border-top: 1px dashed var(--line-2); }
.versus__vs {
  align-self: center; margin: 0 -18px; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1rem; color: #fff;
  background: var(--text); border: 5px solid var(--bg);
}
.sources li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px dashed var(--line-2); }
.sources li:first-child { border-top: 0; padding-top: 0; }
.sources li > span {
  width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: #fff; background: var(--grad-diag);
}
.sources strong { display: block; line-height: 1.4; }
.sources small { color: var(--text-2); font-size: .9rem; }

.one-data { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 8vw, 96px); }
.one-data h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 14px; }
.one-data__copy > p { color: var(--text-2); }
.one-data strong { color: var(--text); }
.moat { margin-top: 26px; padding: 22px 24px; border-radius: var(--radius); background: var(--text); color: var(--bg); }
.moat p { color: color-mix(in srgb, var(--bg) 82%, var(--text)); }
.moat strong { color: var(--bg); }
.moat__q { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: 6px; color: var(--bg) !important; }
.tag { display: inline-block; margin-top: 6px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #fff; }

.tri-diagram { position: relative; aspect-ratio: 320 / 290; max-width: 440px; width: 100%; margin-inline: auto; }
.tri-diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tri-diagram__edge { animation: dash 14s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -280; } }
.tri-diagram__pulse { transform-origin: 160px 185px; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.8); opacity: .35; } 100% { transform: scale(1.9); opacity: 0; } }
.tri-diagram__core {
  position: absolute; left: 50%; top: 63.8%; translate: -50% -50%;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(.7rem, 1.6vw, .85rem); line-height: 1.1; text-align: center;
}
.tri-diagram__v {
  position: absolute; translate: -50% -50%; text-align: center;
  padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  font-weight: 700; line-height: 1.25; white-space: nowrap; font-size: .95rem;
  transition: transform .4s var(--spring);
}
.tri-diagram__v:hover { transform: scale(1.06); }
.tri-diagram__v small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.tri-diagram__v--top { left: 50%; top: 10.3%; }
.tri-diagram__v--left { left: 7.8%; top: 90.3%; }
.tri-diagram__v--right { left: 92.2%; top: 90.3%; }

/* ---------- 04 business ---------- */
.b2b2c { display: grid; grid-template-columns: 1fr 90px auto 90px 1.3fr; align-items: center; gap: 10px; }
.party { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.party strong { display: block; font-size: 1.1rem; line-height: 1.35; }
.party p { color: var(--text-2); font-size: .92rem; margin-top: 8px; }
.party__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-diag); color: #fff; margin-bottom: 12px; flex: none; }
.pill { display: inline-block; margin-top: 6px; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--magenta) 12%, transparent); color: var(--magenta); }
.pill--free { background: color-mix(in srgb, #1FA971 16%, transparent); color: #168A5B; }
:root[data-theme="dark"] .pill--free { color: #5FD4A0; }
.party--core {
  width: 150px; height: 150px; border-radius: 50%; padding: 0; display: grid; place-content: center; text-align: center;
  background: var(--text); color: var(--bg); border: 0; position: relative;
}
.party--core::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--orange) 60%, transparent); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.party__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; display: inline-flex; align-items: flex-end; }
.party__logo i, .footer__name i, .loop__center i { display: inline-block; width: .27em; height: .27em; border-radius: 50%; background: var(--grad-diag); margin: 0 0 .2em .07em; }
.party--core p { color: color-mix(in srgb, var(--bg) 70%, var(--text)); margin-top: 0; font-size: .82rem; }
.party--payers { display: grid; gap: 12px; padding: 16px; }
.payer { display: flex; gap: 14px; align-items: flex-start; }
.payer + .payer { padding-top: 12px; border-top: 1px dashed var(--line-2); }
.payer p { margin-top: 4px; }
.payer .party__ic { margin-bottom: 0; }
.flow { position: relative; height: 40px; display: grid; place-items: center; }
.flow__line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: flow 1s linear infinite; }
.flow--rev .flow__line { animation-direction: reverse; background-image: repeating-linear-gradient(90deg, var(--magenta) 0 6px, transparent 6px 12px); }
@keyframes flow { to { background-position: 24px 0; } }
.flow__label { position: relative; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bg-alt); color: var(--text-2); white-space: nowrap; translate: 0 -16px; }

.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price { padding: 24px 22px; position: relative; overflow: hidden; transition: transform .5s var(--spring), box-shadow .5s var(--ease); }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price__who { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.price h4 { font-size: 1.12rem; margin: 6px 0 14px; }
.price__amt { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; line-height: 1; letter-spacing: -.02em; }
.price__amt .cur { font-size: .55em; vertical-align: .45em; margin-right: 2px; color: var(--muted); }
.price__amt small { font-family: var(--font); font-size: .9rem; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.price__amt--txt { font-family: var(--font); font-size: 1.5rem; font-weight: 700; }
.price__note { margin-top: 12px; font-size: .88rem; color: var(--text-2); line-height: 1.55; }
.price--feature { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 2px solid transparent; }
.price::after {
  content: ""; position: absolute; right: -26px; bottom: -22px; width: 0; height: 0;
  border-left: 40px solid transparent; border-right: 40px solid transparent; border-bottom: 70px solid var(--orange);
  opacity: .07; rotate: -20deg; transition: transform .6s var(--spring), opacity .4s;
}
.price:hover::after { transform: translate(-8px, -8px) rotate(25deg); opacity: .16; }

.policy {
  display: flex; gap: 14px; align-items: center; margin-top: 18px;
  padding: 16px 20px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, #1FA971 9%, var(--surface)); border: 1px solid color-mix(in srgb, #1FA971 28%, transparent);
  font-size: .95rem; color: var(--text-2);
}
.policy strong { color: var(--text); }
.policy__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #1FA971; color: #fff; }

.two-col { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.card { padding: 30px; }
.card__title { font-size: 1.25rem; margin-bottom: 18px; }
.reason { padding: 16px 0; border-top: 1px dashed var(--line-2); }
.reason:first-of-type { border-top: 0; padding-top: 0; }
.reason__who { display: inline-block; font-weight: 700; font-size: .85rem; padding: 2px 12px; border-radius: 999px; background: var(--grad); color: #fff; margin-bottom: 8px; }
.reason p { color: var(--text-2); }
.channels li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 11px 0; border-top: 1px dashed var(--line-2); color: var(--text-2); font-size: .96rem; }
.channels li:first-child { border-top: 0; padding-top: 0; }
.channels em { color: var(--muted); }
.ch { flex: none; font-size: .74rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.ch--s { background: color-mix(in srgb, var(--yellow) 24%, transparent); color: #8A6200; }
.ch--o { background: color-mix(in srgb, var(--orange) 15%, transparent); color: var(--accent-ink); }
.ch--h { background: color-mix(in srgb, var(--magenta) 13%, transparent); color: var(--magenta); }
:root[data-theme="dark"] .ch--s { color: var(--yellow); }

/* ---------- 05 market ---------- */
.market { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.pyramid { position: relative; max-width: 420px; width: 100%; margin-inline: auto; aspect-ratio: 400 / 346; }
.pyramid svg { width: 100%; height: 100%; }
.pyr { transform-origin: 200px 346px; transform: scale(0); transition: transform 1s var(--spring); }
.pyr--tam { fill: var(--pyr-tam); stroke: var(--pyr-stroke); stroke-width: 1.5; transition-delay: .1s; }
.pyr--sam { fill: var(--pyr-sam); stroke: var(--pyr-stroke); stroke-width: 1.5; transition-delay: .35s; }
.pyr--som { fill: url(#g-brand); transition-delay: .6s; }
.pyramid.is-in .pyr { transform: scale(1); }
.pyramid__lbl { position: absolute; left: 50%; translate: -50% 0; font-family: var(--font-display); font-weight: 800; letter-spacing: .06em; font-size: clamp(.85rem, 1.6vw, 1rem); color: var(--text); }
.pyramid__lbl--tam { top: 22%; }
.pyramid__lbl--sam { top: 54%; }
.pyramid__lbl--som { top: 84%; color: #fff; }
.tsm__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line-2); }
.tsm__row:last-child { border-bottom: 1px solid var(--line-2); }
.tsm dt b { display: block; font-family: var(--font-display); font-weight: 800; letter-spacing: .08em; color: var(--accent-ink); }
.tsm dt span { color: var(--text-2); font-size: .94rem; }
.tsm dd { margin: 0; text-align: right; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1; white-space: nowrap; }
.tsm dd small { display: block; font-family: var(--font); font-weight: 500; font-size: .8rem; color: var(--muted); margin-top: 6px; white-space: normal; }
.tsm__row--hl dd { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tsm__row--hl dd small { -webkit-text-fill-color: var(--muted); }

.revenue { margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 3vw, 36px); }
.revenue__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 22px; }
.revenue__head h3 { font-size: 1.3rem; }
.revenue__total { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.revenue__bar { display: flex; height: 56px; border-radius: 14px; overflow: hidden; background: var(--line); }
.seg { width: var(--w); display: flex; align-items: center; padding: 0 16px; color: #fff; font-size: .9rem; font-weight: 700; white-space: nowrap; transform: scaleX(0); transform-origin: 0 0; transition: transform 1.1s var(--ease); }
.seg--saas { background: linear-gradient(90deg, #F8BB0E, #F19A3A); color: #3A2600; }
.seg--fee { background: linear-gradient(90deg, #EF7050, #E52692); transition-delay: .35s; }
.revenue.is-in .seg { transform: scaleX(1); }
.revenue__legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 16px; color: var(--text-2); font-size: .95rem; }
.revenue__legend strong { color: var(--text); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.dot--saas { background: #F5A623; }
.dot--fee { background: #E8457A; }

/* ---------- 06 growth loop ---------- */
.loop { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 980px; margin-inline: auto; }
.loop__ring { position: relative; aspect-ratio: 1; max-width: 360px; width: 100%; margin-inline: auto; }
.loop__ring svg { width: 100%; height: 100%; animation: spin 40s linear infinite; }
.loop__orb {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%;
  background: var(--grad-diag); box-shadow: 0 0 0 6px color-mix(in srgb, var(--orange) 20%, transparent);
  transform: rotate(var(--a, -90deg)) translateX(var(--r, 150px)); transition: transform 1s var(--ease);
}
.loop__center { position: absolute; inset: 0; display: grid; place-content: center; grid-auto-flow: column; align-items: end; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.03em; }
.loop__steps { counter-reset: s; display: grid; gap: 10px; }
.loop__steps li {
  display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 50%, transparent); color: var(--text-2);
  transition: all .5s var(--ease);
}
.loop__steps li > span { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; border: 1.5px solid var(--line-2); color: var(--muted); transition: all .5s var(--ease); }
.loop__steps li.is-on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); transform: translateX(8px); border-color: var(--line-2); }
.loop__steps li.is-on > span { background: var(--grad-diag); color: #fff; border-color: transparent; }

/* ---------- CTA ---------- */
.cta { padding: clamp(64px, 9vw, 120px) 0; }
.cta__box {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 60px); border-radius: 28px;
  background: var(--grad); color: #fff;
  box-shadow: 0 40px 80px -40px rgba(228, 33, 149, .55);
}
:root[data-theme="dark"] .cta__box { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.28), transparent 50%); }
.cta__tri { position: absolute; z-index: -1; width: 300px; right: -60px; bottom: -80px; opacity: .25; filter: brightness(1.6) saturate(.4); animation: floaty 10s ease-in-out infinite; }
.cta h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.25; }
.cta p { max-width: 620px; margin: 16px auto 28px; color: rgba(255,255,255,.92); }

/* ---------- footer ---------- */
.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 18px 32px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__tri { width: 40px; transition: transform .8s var(--spring); }
.footer__brand:hover .footer__tri { transform: rotate(360deg); }
.footer__name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; line-height: 1; display: inline-flex; align-items: flex-end; }
.footer__th { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; font-size: .92rem; color: var(--text-2); }
.footer__links a:hover { color: var(--accent-ink); }
.footer__copy { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; padding-top: 18px; border-top: 1px solid var(--line); }

/* cursor glow (desktop) */
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%;
  pointer-events: none; z-index: -1; opacity: 0;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  transition: opacity .5s;
}
.cursor-glow.is-on { opacity: .7; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .pillars__tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .pillars__tabs::-webkit-scrollbar { display: none; }
  .ptab { flex: 0 0 min(320px, 80%); scroll-snap-align: start; }
  .ptab:hover { transform: none; }
  .b2b2c { grid-template-columns: 1fr; justify-items: center; gap: 4px; }
  .b2b2c .party:not(.party--core) { width: 100%; max-width: 560px; }
  .flow { width: 40px; height: 64px; }
  .flow__line { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 6px, transparent 6px 12px); background-size: 2px 24px; animation-name: flowY; }
  .flow--rev .flow__line { background-image: repeating-linear-gradient(180deg, var(--magenta) 0 6px, transparent 6px 12px); }
  .flow__label { translate: 64px 0; }
  @keyframes flowY { to { background-position: 0 24px; } }
  .pricing { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  :root { --nav-h: 62px; }
  .nav__links {
    position: fixed; left: 0; right: 0; top: var(--nav-h); z-index: 55;
    flex-direction: column; gap: 2px; margin: 0; padding: 12px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .35s, visibility .35s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav__links a::after { left: auto; right: 14px; bottom: 50%; translate: 0 50%; }
  .nav__actions { margin-left: auto; gap: 6px; }
  .nav__cta { display: none; }
  .burger { display: block; }

  .problems { grid-template-columns: 1fr; }
  .survey { grid-template-columns: 1fr; gap: 18px; }
  .context-grid, .two-col, .one-data, .market, .loop { grid-template-columns: 1fr; }
  .ppanel { grid-template-columns: minmax(0, 1fr); }
  .versus { grid-template-columns: 1fr; }
  .versus__vs { margin: -18px auto; }
  .tri-diagram { max-width: 380px; }
  .loop__steps li.is-on { transform: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .survey__stats { grid-template-columns: 1fr; gap: 14px; }
  .pricing { grid-template-columns: 1fr; }
  .tsm__row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tsm dd { text-align: left; }
  .pyramid { max-width: 300px; }
  .team-tri, .tri-diagram { width: 76%; }
  .tri-diagram__v { font-size: .82rem; padding: 8px 10px; }
  .tri-diagram__v small { font-size: .7rem; }
  .node { min-width: 0; padding: 8px 10px; }
  .history b { font-size: .74rem; }
  .profile__foot { grid-template-columns: 1fr; }
  .br-md { display: none; }
  .hero { padding-bottom: 88px; }
  .context, .card, .versus__side { padding: 24px 20px; }
  .seg b { font-size: .78rem; }
  .seg { padding: 0 10px; }
}

/* ลด motion สำหรับคนที่ตั้งค่าไว้ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
}
