/* chat.hibira.io landing page. Same palette as hibira.io; system fonts so the
   page needs no font download in any of its seven languages. */
:root {
  color-scheme: light;
  --brand: #e5484d;
  --brand-ink: #fff;
  --brand-soft: #fdecec;
  --page: #fbfaf8;
  --page-2: #f4f2ee;
  --surface: #fff;
  --ink: #111110;
  --ink-2: #3d3c38;
  --muted: #6f6d66;
  --border: rgba(17, 17, 16, 0.1);
  --border-strong: rgba(17, 17, 16, 0.22);
  --good: #1a7f37;
  --critical: #b42318;
  --code-bg: #16161a;
  --code-ink: #e8e6e3;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.06);
  --font: 'LC Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif;
  --mono: 'LC Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --brand: #ff6369;
    --brand-ink: #1a0b0c;
    --brand-soft: #3a1d1f;
    --page: #0f0f10;
    --page-2: #151517;
    --surface: #1b1b1e;
    --ink: #f4f3f1;
    --ink-2: #c9c7c1;
    --muted: #9b9991;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.24);
    --good: #57d07a;
    --critical: #ff8a80;
    --code-bg: #0b0b0d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  }
}

/* Self-hosted fonts, cut per language to the characters the page shows
   (landing/fonts/subset.py): Plus Jakarta Sans for Latin and Vietnamese,
   Noto Sans for CJK and Thai, JetBrains Mono for code. */
@font-face { font-family: 'LC Sans'; src: url("/landing/font-sans.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'LC Mono'; src: url("/landing/font-mono.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'LC zh-TW'; src: url("/landing/font-zh-TW.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'LC zh-CN'; src: url("/landing/font-zh-CN.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'LC ja'; src: url("/landing/font-ja.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'LC ko'; src: url("/landing/font-ko.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'LC th'; src: url("/landing/font-th.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
:root:lang(zh-TW) { --font: 'LC Sans', 'LC zh-TW', 'PingFang TC', 'Microsoft JhengHei', sans-serif; }
:root:lang(zh-CN) { --font: 'LC Sans', 'LC zh-CN', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
:root:lang(ja) { --font: 'LC Sans', 'LC ja', 'Hiragino Sans', 'Yu Gothic UI', Meiryo, sans-serif; }
:root:lang(ko) { --font: 'LC Sans', 'LC ko', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
:root:lang(th) { --font: 'LC Sans', 'LC th', Thonburi, 'Leelawadee UI', Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.65 var(--font); }
:lang(ja), :lang(zh-TW), :lang(zh-CN), :lang(ko) { line-height: 1.8; }
:lang(th) { line-height: 1.85; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 780px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font: 600 15px/1 var(--font); text-decoration: none; padding: 12px 18px; cursor: pointer; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 15px 22px; font-size: 16px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--page) 86%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.top-row { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 16px; white-space: nowrap; }
.brand b { color: var(--brand); font-weight: 700; }
.links { display: none; gap: 22px; margin-left: 28px; font-size: 15px; }
.links a { text-decoration: none; color: var(--ink-2); }
.links a:hover { color: var(--ink); }
@media (min-width: 860px) { .links { display: flex; } }
.lang { position: relative; margin-left: auto; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 9px; cursor: pointer; color: var(--ink-2); font-size: 14px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--page-2); color: var(--ink); }
.lang summary span { display: none; }
@media (min-width: 520px) { .lang summary span { display: inline; } }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; min-width: 170px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.lang li a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.lang li a:hover { background: var(--page-2); }
.lang li a[aria-current] { color: var(--brand); font-weight: 600; }
@media (max-width: 400px) { .top .btn-sm { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 48px 0 8px; }
/* Drifting coral glow plus Gemini-made map art in the hibira.io hero style:
   Asia-Pacific arcs carrying chats into one hub. */
.hero::before { content: ""; position: absolute; z-index: -1; top: -260px; right: -12%; width: 70%; height: 900px; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 20%, transparent), transparent); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; z-index: -2; inset: -24px -24px auto; height: 760px; pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, var(--page)), linear-gradient(90deg, var(--page) 14%, color-mix(in srgb, var(--page) 50%, transparent) 46%, transparent 72%), url("/landing/art-hero.webp") right top / cover no-repeat;
  animation: ken-burns 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-8%, 6%) scale(1.08); } }
@keyframes ken-burns { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.hero-grid { position: relative; display: grid; gap: 36px; align-items: center; }
.hero-copy { max-width: 760px; margin: 0 auto; text-align: center; }
@media (min-width: 1000px) {
  .hero { padding: 76px 0 8px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .hero-copy { margin: 0; text-align: left; }
  .hero-copy .lead { margin-left: 0; }
  .hero-copy .points { justify-content: flex-start; }
  .hero-copy .join { margin-left: 0; }
}
@media (max-width: 860px) { .hero::after { opacity: .5; background-image: linear-gradient(180deg, transparent 62%, var(--page)), linear-gradient(90deg, var(--page) 14%, color-mix(in srgb, var(--page) 50%, transparent) 46%, transparent 72%), url("/landing/art-hero-800.webp"); } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 99px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--brand); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
h1 { margin-top: 18px; font-size: clamp(32px, 5.4vw, 54px); font-weight: 800; letter-spacing: -.012em; }
:lang(ja) h1, :lang(ja) .h2, :lang(ja) .lead { word-break: auto-phrase; }
:lang(ja) h1, :lang(zh-TW) h1, :lang(zh-CN) h1, :lang(ko) h1 { letter-spacing: 0; line-height: 1.3; }
.lead { margin: 18px auto 0; font-size: 18px; color: var(--ink-2); max-width: 36em; }
.points { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 15px; }
.points li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.points svg { flex: none; color: var(--good); }

/* Waitlist form */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.join { position: relative; margin: 30px auto 0; max-width: 600px; padding: 18px; text-align: left; }
@media (min-width: 640px) { .join { padding: 22px; } }
.join input[type=email], .join input[type=text] { width: 100%; font: 16px/1.4 var(--font); color: var(--ink); background: var(--page); border: 1px solid var(--border-strong); border-radius: 10px; padding: 12px 13px; appearance: none; }
.join input::placeholder { color: var(--muted); opacity: .8; }
.join input:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
.join input[aria-invalid=true] { border-color: var(--critical); }
.join.start { display: grid; gap: 12px; justify-items: start; }
.join.start .btn { min-width: 220px; justify-content: center; }
.join.start .note { margin: 0; }
.join-row { display: flex; flex-wrap: wrap; gap: 8px; }
.join-row input { flex: 1 1 240px; }
.join-row .btn { flex: 1 0 auto; }
.join-more { margin-top: 10px; display: grid; gap: 10px; }
.join-more input[type=text] { padding: 9px 12px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.chips-label { float: left; padding: 0; margin-right: 4px; font-size: 13px; color: var(--muted); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 5px 11px; border: 1px solid var(--border-strong); border-radius: 99px; font-size: 13px; background: var(--page); transition: background .15s, border-color .15s; }
.chip input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha { margin-top: 12px; min-height: 65px; }
.err { margin-top: 10px; color: var(--critical); font-size: 14px; font-weight: 500; }
.note { margin-top: 12px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.note a { color: var(--muted); }
.ok { text-align: center; padding: 18px 8px; }
.ok svg { margin: 0 auto 12px; color: var(--good); }
.ok h2 { font-size: 21px; margin-bottom: 8px; }
.ok p { color: var(--ink-2); }
.join.done > :not(.ok) { display: none; }
.join.done .ok { display: block; }

/* Product recordings and screenshots */
.demo { margin: 44px 0 0; }
/* On a phone the side-by-side recording scrolls sideways instead of
   shrinking until its text can't be read. */
@media (max-width: 720px) { .demo .frame { overflow-x: auto; } .demo .frame-bar { position: sticky; left: 0; } .demo .clip { width: 760px; max-width: none; } }
.frame { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow), 0 24px 60px -24px rgba(0, 0, 0, .18); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: var(--page-2); border-bottom: 1px solid var(--border); }
.frame-bar i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.frame-bar span { margin-left: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip, .shot { display: block; width: 100%; height: auto; background: var(--page-2); }
/* Each product shot sits on Hibira's map art (the red arcs from
   hibira.io), with the ripple mark in the corner and a couple of floating
   labels naming what the shot shows. */
.stage { position: relative; padding: 22px; border-radius: calc(var(--radius) + 10px); isolation: isolate;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%), url("/landing/map-light.webp") right -40px bottom -30px / 120% auto no-repeat, var(--page-2);
  background-blend-mode: normal, multiply; border: 1px solid var(--border); }
.stage::after { content: ""; position: absolute; z-index: -1; left: 16px; bottom: 14px; width: 92px; height: 92px; opacity: .14; background: url("/landing/favicon.svg") center / contain no-repeat; }
.stage.wide { padding: 26px; }
@media (min-width: 940px) { .stage { padding: 30px; } .stage.wide { padding: 36px 40px; } }
.tags { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.tags li { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .28); font-size: 13px; font-weight: 600; white-space: nowrap; }
.tags li:nth-child(1) { top: -14px; right: 18px; }
.tags li:nth-child(2) { bottom: -14px; left: 26px; }
.show.rev .tags li:nth-child(1) { right: auto; left: 18px; }
.show.rev .tags li:nth-child(2) { left: auto; right: 26px; }
.tags .ripple { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft) url("/landing/favicon.svg") center / 14px no-repeat; }
@media (max-width: 520px) { .stage, .stage.wide { padding: 10px; } .tags li { font-size: 12px; padding: 6px 12px 6px 8px; } .tags li:nth-child(2) { display: none; } }
.demo-steps { list-style: none; counter-reset: d; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 18px 0 0; padding: 0; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.demo-steps li { counter-increment: d; display: flex; align-items: center; gap: 8px; }
.demo-steps li::before { content: counter(d); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 940px) { .section { padding: 88px 0; } }
.alt { background: var(--page-2); border-block: 1px solid var(--border); }
.h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: -.01em; }
.sub { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 46em; }
.center .sub { margin-inline: auto; }

.show { margin-top: 48px; display: grid; gap: 22px; align-items: center; }
@media (min-width: 940px) { .show { margin-top: 72px; grid-template-columns: .78fr 1.22fr; gap: 52px; } .show.rev { grid-template-columns: 1.22fr .78fr; } .show.rev .show-copy { order: 2; } }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.show h3 { margin-top: 8px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.show-copy > p:not(.kicker) { margin-top: 12px; color: var(--ink-2); }
.ticks { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.ticks li { position: relative; padding-left: 24px; }
.learn { display: inline-block; margin-top: 18px; color: var(--brand); font-weight: 600; font-size: 15px; text-decoration: none; }
.learn::after { content: " →"; transition: margin .15s; }
.learn:hover::after { margin-left: 4px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 10px; height: 5px; border: solid var(--good); border-width: 0 0 2px 2px; transform: translateY(-50%) rotate(-45deg); }
.more { margin-top: 64px; display: grid; gap: 14px; }
@media (min-width: 640px) { .more { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .more { grid-template-columns: repeat(4, 1fr); } }
.mini { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.mini h3 { font-size: 16px; margin-bottom: 4px; }
.mini p { color: var(--ink-2); font-size: 14px; }
.icon { display: block; width: 42px; height: 42px; border-radius: 11px; background: var(--brand-soft) center / 22px no-repeat; }
.icon.i0 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5484d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4M10 17l5-5-5-5M15 12H3'/%3E%3C/svg%3E"); }
.icon.i1 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5484d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.icon.i2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5484d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.icon.i3 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5484d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3Cpath d='M8 9h8M8 13h5'/%3E%3C/svg%3E"); }
.icon.i4 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5484d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.icon.i5 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5484d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); }

.steps { margin: 36px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li { counter-increment: s; position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li:hover, .plan:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); }
.steps .art { width: 100%; height: auto; aspect-ratio: 720 / 504; object-fit: cover; border-bottom: 1px solid var(--border); background: var(--page-2); }
.step-body { position: relative; padding: 20px 22px 22px 68px; }
.step-body::before { content: counter(s, decimal-leading-zero); position: absolute; left: 20px; top: 19px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font: 700 13px/1 var(--mono); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent), 0 0 18px color-mix(in srgb, var(--brand) 35%, transparent); }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 15px; }
.snippet { margin: 24px 0 0; background: var(--code-bg); color: var(--code-ink); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .55); }
.snippet .frame-bar { background: rgba(255, 255, 255, .04); border-bottom-color: rgba(255, 255, 255, .08); }
.snippet .frame-bar i { background: rgba(255, 255, 255, .18); }
.snippet .frame-bar span { color: #9b9991; font-family: var(--mono); }
.snippet pre { margin: 0; padding: 16px 18px; overflow-x: auto; font: 14px/1.7 var(--mono); }
.snippet .k { color: #ff8a8e; } .snippet .a { color: #f6c27a; } .snippet .s { color: #7ee2a0; }

/* Pricing */
.plans { margin-top: 36px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.plan { position: relative; padding: 24px 20px; display: flex; flex-direction: column; }
.plan.pick { border: 2px solid var(--brand); }
.badge { position: absolute; top: -12px; left: 20px; background: var(--brand); color: var(--brand-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.plan h3 { font-size: 17px; }
.price { margin-top: 10px; font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tag { margin-top: 6px; color: var(--muted); font-size: 14px; min-height: 2.6em; }
.plan ul { margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.plan li { position: relative; padding-left: 20px; }
.plan .contact-sales { margin-top: auto; }
.plan .contact-sales[hidden] { display: none; }
.plan:has(.contact-sales:not([hidden])) ul { margin-bottom: 20px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 5px; border: solid var(--good); border-width: 0 0 2px 2px; transform: translateY(-50%) rotate(-45deg); }
.fine { margin: 24px 0 0; padding: 0 0 0 18px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }

/* FAQ */
.qa { margin-top: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.qa:first-of-type { margin-top: 28px; }
.qa summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa p { padding: 0 20px 18px; color: var(--ink-2); }

.cta .btn { margin-top: 26px; }

/* Footer */
.foot { border-top: 1px solid var(--border); padding: 28px 0 36px; font-size: 14px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
@media (prefers-color-scheme: dark) {
  .stage { background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 60%), url("/landing/map-dark.webp") right -40px bottom -30px / 120% auto no-repeat, var(--page-2); background-blend-mode: normal, screen; }
  .stage::after { opacity: .22; }
}

/* Tech layer: the hibira.io visual language (dot grid, coral network lines,
   pulse nodes, mono labels) carried over to the Live Chat page. */
.field { position: absolute; inset: 0 0 auto; height: 1400px; z-index: -3; pointer-events: none; opacity: .55;
  background-image: radial-gradient(color-mix(in srgb, var(--brand) 24%, transparent) 1px, transparent 1.6px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .4) 50%, transparent); mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .4) 50%, transparent); }
body { position: relative; isolation: isolate; }
@media (prefers-color-scheme: dark) {
  .hero::after { background-image: linear-gradient(180deg, transparent 62%, var(--page)), linear-gradient(90deg, var(--page) 14%, color-mix(in srgb, var(--page) 50%, transparent) 46%, transparent 72%), url("/landing/art-hero-dark.webp"); }
}
@media (max-width: 860px) and (prefers-color-scheme: dark) {
  .hero::after { background-image: linear-gradient(180deg, transparent 62%, var(--page)), linear-gradient(90deg, var(--page) 14%, color-mix(in srgb, var(--page) 50%, transparent) 46%, transparent 72%), url("/landing/art-hero-dark-800.webp"); }
}
.hero-copy > * { animation: page-in .8s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero-copy h1 { animation-delay: .08s; } .hero-copy .lead { animation-delay: .16s; } .hero-copy .points { animation-delay: .24s; } .hero-copy .join { animation-delay: .32s; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }
.join { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: color-mix(in srgb, var(--surface) 88%, transparent); }

/* Hero chat widget: a visitor asks, the auto reply answers from the Q&A, a
   teammate takes over. Messages arrive one after another, then the visitor
   keeps typing. */
.widget { display: none; position: relative; justify-self: end; width: 100%; max-width: 400px; margin-bottom: 34px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); overflow: visible;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 40px 80px -30px color-mix(in srgb, var(--brand) 45%, transparent), 0 0 0 8px color-mix(in srgb, var(--surface) 45%, transparent);
  animation: float-in .9s var(--ease-out, ease-out) .3s both, bob 7s ease-in-out 1.2s infinite alternate; }
@media (min-width: 1000px) { .widget { display: block; } }
@keyframes float-in { from { opacity: 0; transform: translateY(24px) rotate(-1deg); } to { opacity: 1; transform: none; } }
@keyframes bob { to { transform: translateY(-6px); } }
.w-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 22px 22px 0 0; background: var(--brand); color: var(--brand-ink); }
.w-head b { display: block; font-size: 15px; line-height: 1.2; }
.w-head small { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .9; }
.w-head small i { width: 7px; height: 7px; border-radius: 50%; background: #7ee2a0; box-shadow: 0 0 0 0 #7ee2a0; animation: pulse 2s infinite; }
.w-av { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--brand-ink) 22%, transparent); font-weight: 800; font-size: 15px; }
.w-av.sm { width: 24px; height: 24px; font-size: 11px; color: #fff; border: 2px solid var(--surface); }
.w-av.a1 { background: #8b5cf6; } .w-av.a2 { background: #0ea5e9; } .w-av.a3 { background: #f59e0b; }
.w-team { margin-left: auto; display: flex; } .w-team .w-av { border-color: var(--brand); } .w-team .w-av + .w-av { margin-left: -8px; }
.w-log { list-style: none; margin: 0; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; min-height: 330px; font-size: 14px; line-height: 1.45;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1.4px); background-size: 16px 16px; }
.w-log > li { animation: msg-in .5s var(--ease-spring, ease-out) backwards; }
.w-log > li:nth-child(1) { animation-delay: .9s; } .w-log > li:nth-child(2) { animation-delay: 2.1s; } .w-log > li:nth-child(3) { animation-delay: 3.4s; }
.w-log > li:nth-child(4) { animation-delay: 4.3s; } .w-log > li:nth-child(5) { animation-delay: 5.4s; } .w-log > li:nth-child(6) { animation-delay: 6.6s; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.m { max-width: 82%; padding: 9px 13px; border-radius: 16px; }
.m.me { align-self: flex-end; background: var(--brand); color: var(--brand-ink); border-bottom-right-radius: 5px; transform-origin: right bottom; }
.m.bot, .m.agent { align-self: flex-start; background: var(--page-2); color: var(--ink); border: 1px solid var(--border); border-bottom-left-radius: 5px; transform-origin: left bottom; }
.m.bot { border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 8%, transparent); }
.w-tag { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; font: 600 11px/1.3 var(--mono); color: var(--brand); }
.w-link { display: block; margin-top: 6px; padding: 6px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); font: 12px/1.3 var(--mono); color: var(--muted); }
.sys { align-self: center; display: flex; align-items: center; gap: 7px; padding: 4px 12px 4px 4px; border-radius: 99px; background: var(--page-2); border: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.sys .w-av.sm { border: 0; }
.typing { align-self: flex-end; display: flex; gap: 4px; padding: 11px 13px; border-radius: 16px; border-bottom-right-radius: 5px; background: color-mix(in srgb, var(--brand) 14%, var(--surface)); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: dot 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.w-compose { display: flex; align-items: center; gap: 10px; margin: 6px 12px 12px; padding: 8px 8px 8px 14px; border-radius: 14px; border: 1px solid var(--border-strong); color: var(--muted); font-size: 14px; }
.w-compose span { flex: 1; }
.w-compose b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); }
.w-launch { position: absolute; right: -6px; bottom: -34px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: var(--brand-ink);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 16%, transparent), 0 12px 30px -8px color-mix(in srgb, var(--brand) 70%, transparent); animation: launch 2.4s var(--ease-out, ease-out) infinite; }
@keyframes launch { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 35%, transparent), 0 12px 30px -8px color-mix(in srgb, var(--brand) 70%, transparent); } 100% { box-shadow: 0 0 0 16px transparent, 0 12px 30px -8px color-mix(in srgb, var(--brand) 70%, transparent); } }

/* Section labels in mono, numbered like the hibira.io feature list. */
.kicker { font-family: var(--mono); letter-spacing: .06em; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--brand)); }
.h2 { position: relative; }
#features > .wrap > .h2::after, .alt > .wrap > .h2::after, #pricing .h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 14px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), transparent); }
#features > .wrap > .h2.center::after { margin-inline: auto; }

/* Product stages: a dot grid under the map and a pulsing node on each tag. */
.stage::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none; opacity: .5;
  background-image: radial-gradient(color-mix(in srgb, var(--brand) 30%, transparent) 1px, transparent 1.5px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(120% 80% at 0% 100%, #000, transparent 70%); mask-image: radial-gradient(120% 80% at 0% 100%, #000, transparent 70%); }
.tags .ripple { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 50%, transparent); animation: pulse 2.4s infinite; }
.frame { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.stage:hover .frame { transform: translateY(-4px); box-shadow: var(--shadow), 0 34px 70px -28px color-mix(in srgb, var(--brand) 45%, transparent); }

/* Feature minis: thin coral line on top, glow on hover. */
.mini { position: relative; overflow: hidden; }
.mini::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--brand), transparent); opacity: 0; transition: opacity .25s; }
.mini:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.mini:hover::before { opacity: 1; }
.icon { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 25%, transparent), 0 0 22px -4px color-mix(in srgb, var(--brand) 45%, transparent); }

/* Steps band: a faint dot grid behind the cards. */
.alt { position: relative; overflow: hidden; isolation: isolate; }
.alt::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1px, transparent 1.5px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }

/* Pricing: the picked plan gets the moving coral border from hibira.io. */
.plan.pick { border: 1px solid transparent; background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 25%, #f6c27a), var(--brand));
  background-origin: border-box; background-clip: padding-box, border-box; background-size: 100% 100%, 220% 220%; animation: border-flow 6s linear infinite; box-shadow: var(--shadow), 0 26px 60px -30px color-mix(in srgb, var(--brand) 60%, transparent); }
@keyframes border-flow { to { background-position: 0 0, 220% 0; } }
.price { font-family: var(--font); }

/* Closing band: always dark, with the Gemini art of chats converging. */
.cta { position: relative; overflow: hidden; isolation: isolate; color: #f4f3f1; background: #0f0f10; padding-bottom: clamp(150px, 22vw, 300px); }
.cta::before { content: ""; position: absolute; inset: auto 0 0; height: 100%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, #0f0f10 18%, rgba(15, 15, 16, .55) 52%, transparent 80%), url("/landing/art-cta.webp") center bottom / max(100%, 1100px) auto no-repeat; }
.cta::after { content: ""; position: absolute; inset: -40% 20% auto; height: 520px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 99, 105, .22), transparent); animation: drift 12s ease-in-out infinite alternate; }
.cta .sub { color: #b8b6b0; }
.cta .btn { background: #ff6369; color: #1a0b0c; box-shadow: 0 0 0 6px rgba(255, 99, 105, .14), 0 0 40px rgba(255, 99, 105, .45); }
.cta :focus-visible { outline-color: #ff6369; }
.foot { border-top: 0; background: #0f0f10; color: #9b9991; }
.foot a { color: #9b9991; } .foot a:hover { color: #f4f3f1; }

/* Motion, tuned to hibira.io: the same ease-out and spring curves, a one-shot
   staggered rise into view (motion.js adds .reveal / .in), springy icons,
   buttons that lift and press, and a header that lifts once scrolled. */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), border-color .35s, box-shadow .35s var(--ease-out); transition-delay: calc(min(var(--i, 0), 8) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal.in:hover { transition-delay: 0s; }
.top { transition: box-shadow .3s var(--ease-out), background-color .3s var(--ease-out); }
.top.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.links a { position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.links a:hover::after { transform: scaleX(1); }
.brand img { transition: transform .6s var(--ease-spring); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.btn { transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), filter .2s; }
.btn:not([disabled]):hover { transform: translateY(-1px); box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn:not([disabled]):active { transform: translateY(0) scale(.98); }
.icon { transition: transform .45s var(--ease-spring); }
.mini:hover .icon { transform: rotate(-8deg) scale(1.12); }
.step-body::before { transition: transform .45s var(--ease-spring); }
.steps li:hover .step-body::before { transform: scale(1.15); }
.mini, .plan, .steps li { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s, opacity .7s var(--ease-out); }
.mini:hover, .plan:hover, .steps li:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .08); }
.plan.pick:hover { box-shadow: var(--shadow), 0 30px 64px -28px color-mix(in srgb, var(--brand) 70%, transparent); }
.chip span { transition: background .15s, border-color .15s, transform .3s var(--ease-spring); }
.chip input:checked + span { transform: scale(1.06); }
.qa summary::after { transition: transform .35s var(--ease-spring); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Parallax (motion.js): layers trail the scroll at different depths and lean
   toward the pointer, like the hibira.io hero. */
html.parallax { --scroll: 0; --mx: 0; --my: 0; }
.parallax .field { translate: calc(var(--mx) * -6px) calc(var(--scroll) * .45px + var(--my) * -6px); will-change: translate; }
.parallax .hero::after { translate: calc(var(--mx) * -14px) calc(var(--scroll) * .3px + var(--my) * -10px); will-change: translate; }
.parallax .hero::before { translate: calc(var(--mx) * 24px) calc(var(--scroll) * .15px + var(--my) * 18px); }
.parallax .widget { translate: calc(var(--mx) * 8px) calc(var(--scroll) * -.06px + var(--my) * 6px); transition: translate .3s cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 860px) { .parallax .hero::before, .parallax .widget { translate: none; } }
:lang(th) h1 { line-height: 1.5; }
.hero-copy h1 .ph { display: inline-block; line-height: inherit; }

/* What AI each plan includes, under the plan cards. */
.ai-plans { margin: 24px 0 0; padding: 22px 24px; }
.ai-plans h3 { margin: 0 0 12px; font-size: 18px; }
.ai-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ai-plans table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.ai-plans th, .ai-plans td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: center; white-space: nowrap; }
.ai-plans tbody tr:last-child th, .ai-plans tbody tr:last-child td { border-bottom: 0; }
.ai-plans thead th { font-weight: 600; }
.ai-plans tbody th { text-align: left; font-weight: 500; white-space: normal; }
.ai-plans td.no { color: var(--muted); }
.ai-plans td.yes { color: var(--good); font-weight: 600; }
.ai-plans table { table-layout: fixed; }
.ai-plans thead th:first-child { width: 26%; }
.ai-plans .note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.ai-plans tbody th, .ai-plans thead th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
@media (max-width: 600px) { .ai-plans { padding: 18px 16px; } .ai-plans thead th:first-child { width: 34%; } }
