/* landing.css – public front page (v2: story first, try before sign-up). Same family as the app:
 * off-white page, black, indigo, hot pink with black text and a hard shadow; Chakra Petch everywhere, Anton for numbers. */
:root {
  --bg: #F4F6F2; --paper: #FFFFFF; --ink: #080808; --ink-2: #2A2B30; --muted: #5C5E67; --line: #D9DBD6;
  --indigo: #30388C; --indigo-ink: #28307F; --indigo-soft: #EFF0FF;
  --hot: #FF4FA3; --hot-ink: #C92C7D; --hot-soft: #FFF0F7; --green: #1F6B48; --green-soft: #EDF8F2;
  --font: 'Chakra Petch', 'IBM Plex Sans Thai', system-ui, sans-serif;
  --display: Anton, Impact, 'Arial Narrow', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --r: 4px; --hard: 5px 5px 0 #080808;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; }
a { color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.tw { white-space: nowrap; } .tw-chunk { display: inline-block; max-width: 100%; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 700; text-decoration: none; padding: 12px 22px;
  border: 1px solid #080808; border-radius: var(--r); cursor: pointer; transition: transform .1s, box-shadow .1s, background .15s; white-space: nowrap; }
.btn-pink { background: var(--hot); color: #080808; box-shadow: 3px 3px 0 #080808; }
.btn-pink:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #080808; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: #080808; color: #fff; }
.btn-lg { padding: 16px 26px; font-size: 18px; }
.btn-lg.btn-pink { box-shadow: var(--hard); }
.btn-lg.btn-pink:hover { box-shadow: 2px 2px 0 #080808; transform: translate(3px, 3px); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: #080808; color: #fff; }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: inline-flex; align-items: flex-end; gap: 12px; text-decoration: none; }
.wm { font-family: var(--display); font-size: 38px; line-height: .85; letter-spacing: -.01em; color: #fff; display: inline-flex; align-items: flex-end; }
.wm i { display: inline-block; width: .16em; height: .16em; background: var(--hot); margin-left: .05em; margin-bottom: .02em; }
.logo-name { font-weight: 700; font-size: 15px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: #D7D8D4; } .nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .link { font-size: 15px; color: #fff; text-decoration: none; } .nav-cta .link:hover { text-decoration: underline; }
.nav .btn { padding: 9px 16px; font-size: 15px; }
@media (max-width: 920px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 520px) { .logo-name, .nav-cta .link { display: none; } }

.kicker { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--hot-ink); margin-bottom: 16px; }
.kicker.dark { color: var(--indigo); }
.sec { padding: 112px 0; }
.sec-title { font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; line-height: 1.15; margin-bottom: 44px; text-wrap: balance; }
.sec-title.light { color: #fff; }
.doc-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--indigo); }

/* ============ hero: a question everyone has heard ============ */
.hero { background: var(--bg); overflow: hidden; border-bottom: 1px solid #080808; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding: 64px 0 0; }
.hero-copy { padding-bottom: 80px; }
.hero-title { font-weight: 700; line-height: 1.12; display: flex; flex-direction: column; gap: 6px; }
.hero-title .q { font-size: clamp(20px, 2vw, 26px); color: var(--muted); font-weight: 600; }
.hero-title .quote { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.05; color: var(--indigo-ink); letter-spacing: -.01em; }
.hero-title .a { font-size: clamp(28px, 3.1vw, 44px); margin-top: 12px; }
.hero-title mark { background: none; color: var(--ink); box-shadow: inset 0 -.38em 0 var(--hot); padding: 0 .08em; }
.hero-lead { font-size: 19px; color: var(--ink-2); margin-top: 22px; max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: '✓'; color: var(--green); font-weight: 700; }

.hero-photo { position: relative; align-self: end; height: min(640px, 72vh); min-height: 520px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border: 1px solid #080808; border-bottom: 0; border-radius: var(--r) var(--r) 0 0; }
.bubble { position: absolute; background: #fff; border: 1px solid #080808; border-radius: 14px; padding: 12px 16px; font-weight: 600; font-size: 16px; line-height: 1.45; box-shadow: var(--hard); }
.bubble.b1 { left: -36px; top: 48px; }
.bubble.b1::after { content: ''; position: absolute; right: 34px; bottom: -11px; width: 18px; height: 18px; background: #fff; border-right: 1px solid #080808; border-bottom: 1px solid #080808; transform: rotate(45deg); }
.answer { position: absolute; right: -24px; bottom: 44px; width: min(330px, 82%); background: #fff; border: 1px solid #080808; border-radius: var(--r); padding: 16px 18px; box-shadow: 8px 8px 0 var(--indigo); font-size: 14px; }
.answer ul { margin: 4px 0 8px; padding-left: 18px; } .answer li::marker { color: var(--hot-ink); }
.ans-h { font-weight: 700; color: var(--indigo-ink); margin-top: 8px; }
.ans-h b { font-family: var(--display); font-weight: 400; color: var(--hot-ink); margin-right: 6px; }
.credit { position: absolute; right: 8px; top: 8px; font-size: 11px; color: #fff; background: rgba(0, 0, 0, .35); padding: 1px 6px; border-radius: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .bubble.b1 { animation: pop .5s .3s both cubic-bezier(.2, .9, .3, 1.3); }
  .answer { animation: rise .6s .9s both ease-out; }
  @keyframes pop { from { opacity: 0; transform: scale(.85) translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 0; padding-top: 44px; }
  .hero-copy { padding-bottom: 44px; }
  .hero-photo { height: 520px; min-height: 0; }
  .bubble.b1 { left: 12px; top: 18px; }
  .answer { right: 12px; bottom: 20px; }
}

/* ============ pain ============ */
.pain-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.pain-photo { position: sticky; top: 100px; }
.pain-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid #080808; border-radius: var(--r); box-shadow: 10px 10px 0 var(--hot); }
.costs { list-style: none; padding: 0; margin: 0; border-top: 1px solid #080808; }
.costs li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 26px 0; border-bottom: 1px solid #080808; }
.costs li > span { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--hot); }
.costs h3 { font-size: 23px; font-weight: 700; margin-bottom: 6px; }
.costs p { color: var(--ink-2); }
@media (max-width: 900px) { .pain-in { grid-template-columns: 1fr; gap: 40px; } .pain-photo { position: static; max-width: 420px; } }

/* ============ try it ============ */
.try { background: var(--indigo); color: #fff; }
.try-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.try-head .sec-title { margin-bottom: 32px; }
.try .kicker { color: #FFB3D7; }
.try-note { max-width: 24em; color: #D5D8F7; font-size: 15px; margin-bottom: 36px; }
.roles { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.roles button { font: inherit; font-weight: 700; font-size: 16px; padding: 10px 18px; border-radius: 999px; border: 1px solid #fff; background: transparent; color: #fff; cursor: pointer; transition: background .15s, color .15s; }
.roles button:hover { background: rgba(255, 255, 255, .12); }
.roles button[aria-selected="true"] { background: var(--hot); color: #080808; border-color: #080808; box-shadow: 3px 3px 0 #080808; }
.jd { background: #fff; color: var(--ink); border: 1px solid #080808; border-radius: var(--r); box-shadow: 12px 12px 0 #080808; overflow: hidden; }
.jd-head { padding: 26px 32px 18px; border-bottom: 2px solid #080808; }
.jd-head h3 { font-size: 32px; font-weight: 700; margin-top: 4px; }
.jd-dept { color: var(--muted); font-size: 15px; }
.jd-body { padding: 8px 32px 24px; }
.jd-sec { padding: 18px 0; border-bottom: 1px solid var(--line); }
.jd-sec:last-child { border-bottom: 0; }
.jd-sec h4 { font-size: 18px; color: var(--indigo-ink); margin-bottom: 10px; display: flex; align-items: baseline; gap: 10px; }
.jd-sec h4 b { font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--hot-ink); }
.jd table { width: 100%; border-collapse: collapse; font-size: 15px; border: 1px solid #080808; }
.jd th { background: var(--indigo); color: #fff; font-family: var(--mono); font-weight: 500; font-size: 12px; text-align: left; padding: 9px 12px; }
.jd td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.jd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.jd ul { margin: 0; padding-left: 20px; } .jd li::marker { color: var(--hot-ink); }
.comp { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.comp li { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.comp em { font-style: normal; font-family: var(--mono); font-size: 11px; padding: 2px 7px; border-radius: 2px; border: 1px solid #080808; }
.comp .t-core { background: var(--hot); } .comp .t-leadership { background: var(--indigo); color: #fff; border-color: var(--indigo); } .comp .t-functional { background: #fff; }
.jd-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 32px; background: var(--hot-soft); border-top: 1px solid #080808; font-weight: 600; font-size: 15px; }
.jd.play .jd-sec { animation: write .5s both ease-out; }
.jd.play .s2 { animation-delay: .12s; } .jd.play .s3 { animation-delay: .24s; } .jd.play .s4 { animation-delay: .36s; }
@keyframes write { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .jd-head, .jd-body, .jd-foot { padding-left: 18px; padding-right: 18px; }
  .jd-two { grid-template-columns: 1fr; }
  .jd { box-shadow: 6px 6px 0 #080808; }
}

/* ============ before / after ============ */
.ba { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.ba > div:not(.arrow) { border: 1px solid #080808; border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.before { background: #EBECE7; }
.after { background: #fff; box-shadow: 10px 10px 0 var(--indigo); }
.ba-label { font-family: var(--display); font-size: 30px; text-transform: uppercase; line-height: 1; margin-bottom: 6px; }
.before .ba-label { color: var(--muted); } .after .ba-label { color: var(--indigo); }
.file { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; align-items: center; background: #fff; border: 1px dashed #8E908B; border-radius: var(--r); padding: 10px 12px; transform: rotate(-.6deg); }
.file:nth-child(odd) { transform: rotate(.7deg); }
.file b { grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center; background: #2B579A; color: #fff; border-radius: 3px; font-family: var(--display); font-weight: 400; }
.file.chat b { background: #06C755; font-family: inherit; font-size: 16px; }
.file span { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
.file em { font-style: normal; font-size: 13px; color: var(--hot-ink); }
.ba-sum { margin-top: auto; padding-top: 10px; font-weight: 700; }
.before .ba-sum { color: var(--muted); }
.arrow { display: grid; place-items: center; font-family: var(--display); font-size: 48px; color: var(--hot); }
.doc-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.doc-row i { font-style: normal; color: var(--green); font-weight: 700; }
.doc-row.head { border-bottom: 2px solid #080808; align-items: center; justify-content: flex-start; font-size: 20px; }
.code { font-family: var(--mono); font-size: 12px; background: #080808; color: #fff; padding: 2px 7px; border-radius: 2px; }
.rev { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--indigo); }
@media (max-width: 900px) { .ba { grid-template-columns: 1fr; } .arrow { transform: rotate(90deg); height: 40px; } }

/* ============ how + principle ============ */
.how { background: #080808; color: #fff; }
.how .kicker { color: #FFB3D7; }
.steps { list-style: none; padding: 0; margin: 0 0 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #333; }
.steps li { padding: 30px 28px 6px 0; border-right: 1px solid #333; margin-right: 28px; }
.steps li:last-child { border-right: 0; margin-right: 0; }
.step-no { font-family: var(--display); font-size: 84px; line-height: 1; color: var(--hot); display: block; margin-bottom: 16px; }
.steps h3 { font-size: 23px; margin-bottom: 6px; } .steps p { color: #C9CAC6; }
.principle { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; background: var(--indigo); border-radius: var(--r); padding: 40px; }
.principle .big { font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.1; color: #fff; }
.principle .big span { color: var(--hot); }
.principle ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.principle li { display: flex; gap: 12px; color: #E1E3FA; }
.principle li::before { content: ''; flex: none; width: 10px; height: 10px; background: var(--hot); margin-top: 9px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; margin-right: 0; border-bottom: 1px solid #333; padding: 22px 0; }
  .principle { grid-template-columns: 1fr; padding: 28px; }
}

/* ============ uses ============ */
.uses-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.use-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #080808; }
.use-list li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid #080808; align-items: baseline; }
.use-list b { font-size: 20px; }
.use-list span { color: var(--ink-2); }
.uses-photo { position: relative; }
.uses-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid #080808; border-radius: var(--r); box-shadow: 10px 10px 0 var(--indigo); }
.uses-photo figcaption { position: absolute; left: -24px; bottom: 32px; background: #fff; border: 1px solid #080808; border-radius: var(--r); padding: 12px 16px; box-shadow: var(--hard); display: flex; flex-direction: column; max-width: 260px; }
.uses-photo figcaption span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .uses-in { grid-template-columns: 1fr; gap: 40px; }
  .use-list li { grid-template-columns: 1fr; gap: 2px; }
  .uses-photo { max-width: 440px; } .uses-photo figcaption { left: 12px; }
}

/* ============ pricing ============ */
.pricing { background: var(--paper); border-top: 1px solid #080808; border-bottom: 1px solid #080808; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tier { border: 1px solid #080808; border-radius: var(--r); padding: 30px 28px; display: flex; flex-direction: column; gap: 4px; background: #fff; }
.tag { align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; border: 1px solid #080808; }
.tier.hot { box-shadow: 10px 10px 0 var(--indigo); }
.tier.hot .tag { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.tag.pink { background: var(--hot); }
.price { font-family: var(--display); font-size: 64px; line-height: 1; margin-top: 16px; }
.price small { font-family: var(--font); font-size: 18px; font-weight: 700; }
.per { color: var(--muted); }
.fit { margin-top: 12px; padding: 10px 12px; background: var(--bg); border-radius: var(--r); font-size: 14px; font-weight: 600; }
.tier ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.tier li { display: flex; gap: 10px; } .tier li::before { content: '✓'; color: var(--green); font-weight: 700; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.pack { position: relative; display: grid; grid-template-columns: auto auto 1fr; gap: 0 10px; align-items: baseline; padding: 18px 22px; border: 1px dashed #080808; border-radius: var(--r); }
.pack b { font-family: var(--display); font-weight: 400; font-size: 40px; color: var(--indigo); line-height: 1; }
.pack strong { justify-self: end; font-size: 20px; }
.pack small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.pack.best { border-style: solid; background: var(--hot-soft); }
.pack em { position: absolute; top: -12px; left: 18px; font-style: normal; font-size: 12px; font-weight: 700; background: var(--hot); border: 1px solid #080808; padding: 1px 8px; }
.packs-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .tiers, .packs { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq { border-top: 1px solid #080808; }
.faq details { border-bottom: 1px solid #080808; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 19px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-size: 30px; line-height: 1; color: var(--hot-ink); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }
@media (max-width: 900px) { .faq-in { grid-template-columns: 1fr; gap: 0; } }

/* ============ final ============ */
.final { position: relative; color: #fff; overflow: hidden; background: #080808; }
.final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: grayscale(.3); }
.final-in { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; padding: 120px 0; }
.final h2 { font-size: clamp(36px, 5vw, 66px); font-weight: 700; line-height: 1.1; display: flex; flex-direction: column; }
.final h2 > span:nth-child(2) { color: var(--hot); }
.dot { display: inline-block; width: .14em; height: .14em; background: var(--hot); margin-left: .05em; }
.final-cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.final-cta p { color: #D7D8D4; font-size: 15px; }
.final .btn-pink { box-shadow: 5px 5px 0 #fff; }
.final .btn-pink:hover { box-shadow: 2px 2px 0 #fff; }

.foot { background: #080808; color: #D7D8D4; padding: 48px 0 32px; font-size: 14px; border-top: 1px solid #222; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot .wm { font-size: 34px; margin-bottom: 10px; }
.foot .muted { color: #8D8F8A; margin-top: 4px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot nav a { color: #D7D8D4; }
.photo-credit { margin-top: 28px; font-size: 12px; color: #6E706B; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.file.reveal.in { transform: rotate(.7deg); }

@media (max-width: 900px) { .sec { padding: 76px 0; } }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-photo { height: 460px; }
  .answer { width: 78%; }
  .bubble { font-size: 14px; }
  .final-in { padding: 80px 0; }
}

/* ============ v3: corporate and factory HR ============ */
/* hero: JD list card over the photo */
.tracker { position: absolute; left: -40px; bottom: 14px; width: min(340px, 92%); background: #fff; border: 1px solid #080808; border-radius: var(--r); padding: 16px 18px; box-shadow: 8px 8px 0 var(--indigo); font-size: 14px; }
.tr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid #080808; margin-bottom: 4px; }
.tr-head span { font-weight: 700; font-size: 16px; }
.tr-head b { font-size: 12px; color: var(--indigo); font-weight: 600; }
.tracker ul { list-style: none; margin: 0; padding: 0; }
.tracker li { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tracker li:last-child { border-bottom: 0; }
.tracker em { font-style: normal; font-family: var(--mono); font-size: 10.5px; padding: 2px 6px; border-radius: 2px; border: 1px solid #080808; white-space: nowrap; }
.tracker em.t-bp { background: var(--hot); } .tracker em.t-pf { background: var(--indigo); color: #fff; border-color: var(--indigo); } .tracker em.n { border-style: dashed; color: var(--muted); border-color: #8E908B; }
.code { font-family: var(--mono); font-size: 11px; background: #080808; color: #fff; padding: 2px 6px; border-radius: 2px; justify-self: start; }
@media (prefers-reduced-motion: no-preference) { .tracker { animation: rise .6s .6s both ease-out; } }
@media (max-width: 960px) { .tracker { left: 12px; bottom: 18px; } }
@media (max-width: 560px) { .tracker li { grid-template-columns: 1fr auto; } .tracker li .code { grid-column: 1 / -1; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.pain-photo { position: relative; }
.pain-photo figcaption { position: absolute; right: -20px; bottom: 28px; background: var(--indigo); color: #fff; font-weight: 700; padding: 12px 16px; border: 1px solid #080808; border-radius: var(--r); box-shadow: var(--hard); line-height: 1.35; }
@media (max-width: 900px) { .pain-photo figcaption { right: 12px; } }

/* what HR gets */
.gain { background: var(--paper); border-top: 1px solid #080808; border-bottom: 1px solid #080808; }
.gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.g-card { border: 1px solid #080808; border-radius: var(--r); padding: 26px; background: #fff; display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .15s; }
.g-card:hover { transform: translate(-3px, -3px); box-shadow: var(--hard); }
.g-card.wide { grid-column: span 2; }
.g-card.indigo { background: var(--indigo); color: #fff; } .g-card.indigo p { color: #D5D8F7; }
.g-card.pink { background: var(--hot); } .g-card.pink p { color: #2B1020; }
.g-card.dark { background: #080808; color: #fff; } .g-card.dark p { color: #C9CAC6; }
.g-num { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--hot); }
.g-card.pink .g-num { color: #080808; }
.g-card h3 { font-size: 21px; line-height: 1.3; }
.g-card.wide h3 { font-size: 28px; max-width: 18em; }
.g-card p { color: var(--ink-2); }
@media (max-width: 900px) { .gains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gains { grid-template-columns: 1fr; } .g-card.wide { grid-column: auto; } .g-card.wide h3 { font-size: 22px; } }

/* what the company gets */
.org-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -16px 0 28px; }
.chain > span { border: 1px solid #080808; border-radius: var(--r); padding: 6px 12px; font-weight: 700; background: #fff; }
.chain > span:last-child { background: var(--hot); }
.chain i { font-style: normal; font-family: var(--display); color: var(--indigo); font-size: 22px; }
.org .use-list li { grid-template-columns: 230px minmax(0, 1fr); }
@media (max-width: 900px) { .org-in { grid-template-columns: 1fr; gap: 40px; } .org .use-list li { grid-template-columns: 1fr; } }

.ba-sec { background: var(--paper); border-top: 1px solid #080808; }
.file b { font-size: 16px; }
.file:nth-child(3) b { background: #1D6F42; }
.file:nth-child(5) b { background: var(--indigo); font-family: var(--font); }
.doc-row span .code { margin-right: 8px; }

.ent { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 22px; padding: 20px 24px; border: 1px solid #080808; border-radius: var(--r); background: var(--bg); }
.ent div { display: flex; flex-direction: column; gap: 4px; max-width: 52em; }
.ent b { font-size: 19px; }
.ent span { color: var(--ink-2); font-size: 15px; }
.ent a:not(.btn) { color: var(--indigo); font-weight: 700; }
.g-card.dark { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 28px; align-items: center; }
@media (max-width: 900px) { .g-card.dark { grid-template-columns: 1fr; } }

.hero-photo img { object-position: center 30%; }  /* source already cropped (rect=) to the two people talking */
.pain-photo img { object-position: 30% center; }

/* ============ Thai line spacing ============
 * Thai stacks vowels and tone marks above and below the letters, so lines need more room than Latin text:
 * headings ~1.3, body ~1.8. Space between a heading and its text is kept even. */
body { line-height: 1.8; }
.hero-title { gap: 10px; }
.hero-title .q { line-height: 1.5; }
.hero-title .quote { line-height: 1.28; }
.hero-title .a { line-height: 1.38; margin-top: 14px; }
.hero-lead { line-height: 1.85; margin-top: 26px; }
.sec-title { line-height: 1.32; margin-bottom: 48px; }
.kicker { margin-bottom: 18px; line-height: 1.6; }
.costs h3, .g-card h3, .steps h3, .use-list b, .faq summary, .tier .fit { line-height: 1.45; }
.g-card.wide h3 { line-height: 1.35; }
.costs p, .g-card p, .steps p, .use-list span, .faq details p, .try-note, .principle li, .ent span { line-height: 1.8; }
.costs h3 { margin-bottom: 8px; }
.principle .big { line-height: 1.3; }
.final h2 { line-height: 1.3; gap: 4px; }
.jd-head h3 { line-height: 1.35; }
.jd-sec p, .jd td, .jd li { line-height: 1.75; }
.chain { margin-top: -20px; }
.uses-photo figcaption, .pain-photo figcaption, .tracker { line-height: 1.5; }
.kpi { list-style: none; padding: 0 !important; display: grid; gap: 6px; }
.kpi li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.kpi li:last-child { border-bottom: 0; }
.kpi b { color: var(--green); white-space: nowrap; font-weight: 700; }
.jd.play .s5 { animation-delay: .48s; }

/* ---- real sample JDs (assets/sample-jds.js) ---- */
.jd-ctx { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.jd-ctx b { display: inline-block; margin-right: 8px; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink); border: 1px solid #080808; border-radius: 2px; padding: 1px 6px; vertical-align: 1px; }
.jd-real { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--green); }
.jd-real::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.jd-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.jd-jump a { font-size: 13px; font-weight: 600; color: var(--indigo-ink); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.jd-jump a:hover { border-color: var(--indigo); background: var(--indigo); color: #fff; }
.jd-body { position: relative; }
.jd:not(.open) .jd-body { max-height: 820px; overflow: hidden; }
.jd:not(.open) .jd-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(rgba(255,255,255,0), #fff 85%); pointer-events: none; }
.jd-more { display: flex; justify-content: center; padding: 4px 32px 22px; }
.jd .tbl { overflow-x: auto; }
.jd table { font-size: 14px; }
.jd td { line-height: 1.7; }
.jd td:first-child { font-weight: 600; }
.jd table.kv td:first-child { width: 26%; color: var(--indigo-ink); }
.jd table.comp-t { min-width: 760px; }
.jd .cell-list { margin: 0; padding-left: 18px; }
.jd .cell-list li + li { margin-top: 4px; }
.jd-list { margin: 0; padding-left: 22px; }
.jd-list li + li { margin-top: 6px; }
.jd-list li::marker { color: var(--hot-ink); font-weight: 700; }
.jd-sec { scroll-margin-top: 90px; }
.jd-sec p { max-width: 72ch; }
@media (max-width: 760px) {
  .jd:not(.open) .jd-body { max-height: 900px; }
  .jd table:not(.kv) { min-width: 620px; }
  .jd table.kv td:first-child { width: 34%; }
  .jd-more { padding-left: 18px; padding-right: 18px; }
}
/* Long generated prose: break between phrases, not whole space-separated stretches (avoids ragged lines). */
.jd-body .tw-chunk { display: inline; }
.jd-real { align-items: baseline; } .jd-real::before { flex: none; transform: translateY(-1px); }
@media (max-width: 760px) { .jd-jump { display: none; } }
/* Phones: the JD card sits under the photo (overlapping a little) instead of covering it. */
@media (max-width: 560px) {
  .hero-photo { height: auto; min-height: 0; }
  .hero-photo img { height: 300px; border-bottom: 1px solid #080808; border-radius: var(--r); object-position: center 30%; }
  .tracker { position: relative; left: auto; bottom: auto; width: auto; margin: -36px 10px 0; }
}
/* Tablets too: card under the photo; show the faces (top of the cropped photo). */
@media (max-width: 960px) {
  .hero-photo { height: auto; min-height: 0; }
  .hero-photo img { height: 440px; border-bottom: 1px solid #080808; border-radius: var(--r); object-position: center; }
  .tracker { position: relative; left: auto; bottom: auto; width: auto; max-width: 440px; margin: -36px 10px 0; }
}
@media (max-width: 560px) { .hero-photo img { height: 320px; object-position: center 15%; } }
.hero-photo picture { display: block; height: 100%; }
/* copy v4 (2026-11-23): closing line + principle items with a bold lead */
.final h2 .sub { font-size: .5em; line-height: 1.4; margin-top: 10px; }
.principle li b { display: block; color: #fff; margin-bottom: 2px; }
.doc-row i { white-space: nowrap; }
/* hero fits one screen (2026-11-23): headline in 3 lines, checked down to 1280x720 */
.hero-in { padding-top: 52px; }
.hero-copy { padding-bottom: 64px; }
.hero-title .quote { font-size: clamp(40px, 4.4vw, 70px); }
.hero-title .a { font-size: clamp(26px, 2.6vw, 40px); margin-top: 12px; }
.hero-lead { font-size: 19px; margin-top: 22px; }
.hero-actions { margin-top: 28px; }
.trust { margin-top: 22px; }
