/* TruckSure public site (030) — same look as nosapp.org: light pages, black feature tiles, Apple-like type.
   Used by pages/site.html (home), signup.html, terms.html, privacy.html. Fonts are self-hosted (CSP: 'self' only). */
@font-face { font-family: "Google Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../vendor/fonts/GoogleSans-thai.woff2") format("woff2"); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Google Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../vendor/fonts/GoogleSans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Google Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../vendor/fonts/GoogleSans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans Thai"; font-style: normal; font-weight: 400 700; font-display: swap; src: local("Noto Sans Thai"), url("../vendor/fonts/NotoSansThai-thai.woff2") format("woff2"); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
:root {
  --ink: #1d1d1f; --ink-2: #6e6e73; --ink-3: #86868b;
  --paper: #ffffff; --mist: #f5f5f7;
  --night: #000000; --night-card: #1d1d1f; --on-night: #f5f5f7; --on-night-2: #a1a1a6;
  --blue: #0071e3; --blue-h: #0077ed; --link: #0066cc; --link-night: #2997ff;
  --line: #d2d2d7; --ok: #1d9a4a; --bad: #d70015;
  --max: 1180px; --gutter: max(22px, calc((100vw - var(--max)) / 2));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Google Sans", "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", "Leelawadee UI", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 22px; }
.nw { white-space: nowrap; }
.dim { color: var(--ink-3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- global nav ---------- */
.gnav { position: sticky; top: 0; z-index: 50; background: rgba(22, 22, 23, .82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.gnav-in { max-width: 1080px; margin: 0 auto; height: 52px; padding-inline: 22px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #f5f5f7; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.gnav-links { display: flex; gap: 26px; margin-left: 12px; }
.gnav-links a { color: #d2d2d7; text-decoration: none; font-size: 14px; transition: color .2s; }
.gnav-links a:hover { color: #fff; }
.gnav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.gnav-end .ghost { color: #f5f5f7; text-decoration: none; font-size: 14px; padding: 7px 14px; border-radius: 980px; border: 1px solid rgba(255, 255, 255, .28); }
.gnav-end .ghost:hover { background: rgba(255, 255, 255, .1); }
.gnav-end .btn { padding: 7px 16px; font-size: 14px; }
.gnav-menu { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 12px 10px; cursor: pointer; }
.gnav-menu i { display: block; height: 1.5px; background: #d2d2d7; margin: 5px 0; transition: transform .3s; }
.gnav.open .gnav-menu i:first-child { transform: translateY(3.25px) rotate(45deg); }
.gnav.open .gnav-menu i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- type / buttons ---------- */
.eyebrow { font-size: 19px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 760px; margin: 18px auto 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); color: #fff; text-decoration: none; padding: 12px 24px; border-radius: 980px;
  font: inherit; font-size: 17px; font-weight: 500; border: 0; cursor: pointer; transition: background .2s; min-height: 44px; }
.btn:hover { background: var(--blue-h); }
.btn.alt { background: var(--mist); color: var(--ink); }
.btn.alt:hover { background: #e8e8ed; }
.btn.night { background: var(--night-card); color: var(--on-night); }
.btn[disabled] { opacity: .55; cursor: default; }
.link { color: var(--link); text-decoration: none; font-size: 19px; background: none; border: 0; font-family: inherit; cursor: pointer; padding: 0; }
.link::after { content: " ›"; }
.link:hover { text-decoration: underline; }
.link.night { color: var(--link-night); }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 88px 22px 0; overflow: hidden; }
.hero .eyebrow { color: var(--blue); }
.hero h1 { font-size: clamp(42px, 7vw, 92px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.hero-sub { font-size: clamp(20px, 2.5vw, 28px); line-height: 1.4; color: var(--ink-2); margin: 22px auto 0; max-width: 860px; font-weight: 500; }
.cta { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.hero-devices { position: relative; max-width: 1000px; margin: 64px auto 0; }
.hero-devices .laptop { max-width: 860px; margin: 0 auto; }
.hero-devices .phone { position: absolute; right: 0; bottom: 0; width: clamp(120px, 22%, 220px); }

/* ---------- device frames ---------- */
.laptop { margin: 0; width: 100%; }
.laptop .screen { background: #0d0d0f; padding: 2.1% 2.1% 2.5%; border-radius: 20px 20px 4px 4px; box-shadow: inset 0 0 0 1.5px #3a3a3c, 0 40px 80px -30px rgba(0, 0, 0, .45); }
.laptop .screen img { width: 100%; height: auto; border-radius: 3px; background: #fff; }
.laptop .base { height: 13px; margin: 0 -6.5%; position: relative; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #e3e3e8 0%, #b9b9bf 55%, #8e8e93 100%); }
.laptop .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 5px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #a8a8ae; }
.phone { margin: 0; width: 260px; max-width: 100%; background: #0d0d0f; padding: 3.6%; border-radius: 17%/8%; box-shadow: inset 0 0 0 1.5px #3a3a3c, 0 40px 80px -30px rgba(0, 0, 0, .5); position: relative; }
.phone .screen { border-radius: 13%/6%; overflow: hidden; aspect-ratio: 750 / 1624; background: #fff; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone::after { content: ""; position: absolute; top: 5.2%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); background: #0d0d0f; border-radius: 99px; }

/* ---------- sign-in strip ---------- */
.signin { padding: 70px 0 10px; }
.signin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 960px; margin: 0 auto; }
.signin a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 16px; background: var(--mist); border-radius: 24px; padding: 22px 24px; text-decoration: none; transition: background .2s; }
.signin a:hover { background: #ebebf0; }
.signin .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--blue); }
.signin b { display: block; font-size: 19px; font-weight: 600; line-height: 1.3; }
.signin small { display: block; color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.signin .go { color: var(--link); font-size: 15px; white-space: nowrap; }
.signin-title { text-align: center; font-size: 15px; color: var(--ink-2); margin-bottom: 16px; }

/* ---------- feature tiles ---------- */
.group-head { text-align: center; padding: 140px 22px 64px; }
.group-head h2 { font-size: clamp(38px, 5.8vw, 76px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.tile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; padding: 100px var(--gutter); margin: 12px 12px 0; border-radius: 30px; overflow: hidden; }
.tile.light { background: var(--mist); }
.tile.dark { background: var(--night); color: var(--on-night); }
.tile.flip .tile-copy { order: 2; }
.tile h2 { font-size: clamp(40px, 5.2vw, 66px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
.tag { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.3; font-weight: 600; margin-top: 12px; }
.body { margin-top: 18px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.dark .body { color: var(--on-night-2); }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 7px 14px; border-radius: 980px; background: #fff; color: var(--ink); }
.dark .chips li { background: var(--night-card); color: var(--on-night); }
.tile-media { min-width: 0; display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 2vw, 24px); }
.tile-media .phone { width: clamp(150px, 42%, 270px); }
.tile-media .phone.sm { width: clamp(120px, 34%, 220px); transform: translateY(24px); }
.tile-media .laptop { max-width: 640px; }

/* ---------- how ---------- */
.how { background: var(--mist); padding: 130px 0; text-align: center; margin-top: 12px; }
.how h2 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.steps { list-style: none; padding: 0; margin: 70px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; text-align: left; }
.steps li { background: var(--paper); border-radius: 26px; padding: 34px 26px; }
.steps b { font-size: 15px; color: var(--blue); font-weight: 600; letter-spacing: .04em; }
.steps h3 { font-size: 21px; margin-top: 16px; font-weight: 600; line-height: 1.3; }
.steps p { color: var(--ink-2); margin-top: 10px; font-size: 16px; }

/* ---------- pricing ---------- */
.pricing { padding: 140px 0 40px; text-align: center; }
.pricing h2 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.trial-band { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 26px; padding: 12px 22px; border-radius: 980px; background: #e8f3ff; color: #00418a; font-size: 16px; font-weight: 500; }
.toggle { display: inline-flex; margin-top: 34px; background: var(--mist); border-radius: 980px; padding: 4px; }
.toggle button { border: 0; background: none; font: inherit; font-size: 15px; padding: 9px 20px; border-radius: 980px; cursor: pointer; color: var(--ink-2); min-height: 40px; }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.toggle small { color: var(--ok); font-weight: 600; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; text-align: left; align-items: stretch; }
.plan { position: relative; background: var(--mist); border-radius: 28px; padding: 36px 30px 32px; display: flex; flex-direction: column; }
.plan.rec { background: var(--night); color: var(--on-night); }
.plan .badge { position: absolute; top: 20px; right: 22px; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 980px; background: var(--blue); color: #fff; }
.plan h3 { font-size: 26px; font-weight: 700; }
.plan .for { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.plan.rec .for, .plan.rec .per, .plan.rec .feat li { color: var(--on-night-2); }
.plan .price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .price b { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan .per { color: var(--ink-2); font-size: 15px; }
.plan .save { margin-top: 6px; font-size: 14px; color: var(--ok); min-height: 21px; }
.plan.rec .save { color: #30d158; }
.plan .users { margin-top: 18px; font-size: 18px; font-weight: 600; }
.plan .feat { list-style: none; padding: 0; margin: 16px 0 26px; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.plan .feat li { padding-left: 24px; position: relative; }
.plan .feat li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan.rec .feat li::before { border-color: #30d158; }
.plan .btn { margin-top: auto; width: 100%; }
.pricing-notes { margin-top: 26px; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.paylist { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.paylist span { padding: 6px 14px; border-radius: 980px; background: var(--mist); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { padding: 120px 0 60px; }
.faq h2 { text-align: center; font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -0.02em; }
.faq-list { max-width: 860px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--ink-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }

/* ---------- final call ---------- */
.final { background: var(--night); color: var(--on-night); text-align: center; padding: 140px 22px 130px; margin: 40px 12px 0; border-radius: 30px; }
.final h2 { font-size: clamp(38px, 5.8vw, 72px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.final .lead { color: var(--on-night-2); }

/* ---------- footer ---------- */
.foot { padding: 40px 0 70px; font-size: 13px; color: var(--ink-3); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot p + p { margin-top: 6px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- sign-up page ---------- */
.su { min-height: calc(100vh - 52px); background: var(--mist); padding: 48px 16px 80px; }
.su-card { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .3); }
.su-side { background: var(--night); color: var(--on-night); padding: 48px 40px; display: flex; flex-direction: column; gap: 22px; }
.su-side h1 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.su-side .lead { color: var(--on-night-2); font-size: 18px; margin: 0; }
.su-points { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 14px; }
.su-points li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.su-points i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--night-card); color: var(--link-night); font-style: normal; font-weight: 700; }
.su-points b { display: block; font-weight: 600; }
.su-points small { color: var(--on-night-2); font-size: 15px; }
.su-side .help { margin-top: auto; color: var(--on-night-2); font-size: 15px; }
.su-main { padding: 44px 44px 40px; }
.stepper { list-style: none; padding: 0; margin: 0 0 26px; display: flex; gap: 8px; }
.stepper li { flex: 1; font-size: 13px; color: var(--ink-3); padding-top: 10px; border-top: 3px solid var(--line); }
.stepper li.on { color: var(--blue); border-color: var(--blue); font-weight: 600; }
.stepper li.done { color: var(--ink-2); border-color: #9ecbff; }
.su-main h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.su-main .sub { color: var(--ink-2); margin-top: 6px; font-size: 16px; }
.form { margin-top: 24px; display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--ink-3); }
.field input { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); min-height: 48px; transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .16); }
.field.err input { border-color: var(--bad); }
.field .msg { display: none; color: var(--bad); font-size: 14px; margin-top: 5px; }
.field.err .msg { display: block; }
.field .hint { color: var(--ink-3); font-size: 14px; margin-top: 5px; }
.pw { position: relative; }
.pw input { padding-right: 76px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--link); font: inherit; font-size: 14px; padding: 8px 10px; cursor: pointer; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes label { margin: 0; }
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes span { display: inline-block; padding: 9px 16px; border-radius: 980px; border: 1px solid var(--line); font-size: 15px; font-weight: 500; cursor: pointer; min-height: 40px; }
.sizes input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.sizes input:focus-visible + span { box-shadow: 0 0 0 4px rgba(0, 113, 227, .3); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; color: var(--ink-2); font-weight: 400; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.check a { color: var(--link); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 14px; border-radius: 12px; background: #fff1f0; color: #a1000f; font-size: 15px; }
.alert.ok { background: #eaf8ee; color: #136b31; }
.alert[hidden] { display: none; }
.code-in { font-size: 30px !important; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; padding-left: .5em !important; }
.su-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.su-actions .btn { min-width: 220px; }
.su-small { font-size: 14px; color: var(--ink-2); }
.su-done { text-align: center; padding: 30px 0; }
.su-done .mark { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #eaf8ee; display: grid; place-items: center; color: var(--ok); font-size: 36px; font-weight: 700; }

/* ---------- legal pages ---------- */
.legal { max-width: 860px; margin: 0 auto; padding: 64px 22px 80px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; letter-spacing: -0.02em; }
.legal .updated { color: var(--ink-3); margin-top: 8px; font-size: 15px; }
.legal h2 { font-size: 22px; margin-top: 36px; font-weight: 600; }
.legal p, .legal li { color: #3a3a3c; margin-top: 10px; }
.legal ul { padding-left: 22px; }

/* ---------- chat widget ---------- */
.cw-btn { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  background: var(--blue); color: #fff; font: inherit; font-size: 16px; font-weight: 600; padding: 14px 20px; border-radius: 980px; box-shadow: 0 12px 30px -10px rgba(0, 113, 227, .7); min-height: 52px; }
.cw-btn svg { flex: none; }
.cw-btn .dot { position: absolute; top: 6px; right: 8px; width: 12px; height: 12px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 2px #fff; }
.cw-btn .dot[hidden] { display: none; }
.cw { position: fixed; right: 20px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 71; width: min(380px, calc(100vw - 24px)); max-height: min(620px, calc(100vh - 120px));
  display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .45); overflow: hidden; }
.cw[hidden] { display: none; }
.cw-head { background: var(--night); color: var(--on-night); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.cw-head img { width: 36px; height: 36px; border-radius: 10px; }
.cw-head b { display: block; font-size: 16px; }
.cw-head small { color: var(--on-night-2); font-size: 13px; }
.cw-head button { margin-left: auto; background: none; border: 0; color: var(--on-night); font-size: 26px; line-height: 1; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; }
.cw-head button:hover { background: rgba(255, 255, 255, .1); }
.cw-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--mist); display: flex; flex-direction: column; gap: 10px; min-height: 160px; }
.cw-msg { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.cw-msg.visitor { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.cw-msg.staff { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.cw-msg small { display: block; font-size: 11.5px; opacity: .7; margin-top: 4px; }
.cw-sys { align-self: center; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.cw-intro { background: #fff; border-radius: 16px; padding: 14px; font-size: 15px; color: var(--ink-2); }
.cw-form { display: grid; gap: 8px; }
.cw-form input, .cw-form textarea, .cw-compose textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; resize: none; }
.cw-form input:focus, .cw-form textarea:focus, .cw-compose textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, .15); }
.cw-form .check { font-size: 13px; }
.cw-form .btn { width: 100%; }
.cw-err { color: var(--bad); font-size: 13.5px; }
.cw-compose { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.cw-compose textarea { max-height: 120px; }
.cw-compose .btn { padding: 10px 16px; min-height: 44px; }
.cw-compose[hidden] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1068px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }
@media (max-width: 900px) {
  .gnav-links { display: none; position: absolute; top: 52px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 22px 22px; background: rgba(22, 22, 23, .97); }
  .gnav.open .gnav-links { display: flex; }
  .gnav-links a { font-size: 21px; font-weight: 600; color: #e8e8ed; padding: 10px 0; }
  .gnav-menu { display: block; order: 3; }
  .gnav-end .ghost { display: none; }
  .tile { grid-template-columns: minmax(0, 1fr); text-align: center; padding-block: 76px 64px; gap: 44px; }
  .tile.flip .tile-copy { order: 0; }
  .chips { justify-content: center; }
  .signin-grid { grid-template-columns: minmax(0, 1fr); }
  .su-card { grid-template-columns: minmax(0, 1fr); }
  .su-side { padding: 34px 26px; }
  .su-side .help { display: none; }
  .su-main { padding: 32px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 60px; }
  .tile, .final { margin-inline: 8px; }
  .tile { border-radius: 24px; padding-inline: 20px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .hero-devices .phone { width: 30%; right: -4px; }
  .signin a { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; }
  .signin .ic { width: 44px; height: 44px; }
  .signin .go { display: none; }
  .su { padding: 0 0 60px; }
  .su-card { border-radius: 0; }
  .su-actions .btn { width: 100%; }
  .cw-btn span { display: none; }
  .cw-btn { padding: 14px; }
  .cw { right: 12px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* learn before signing up: the public manual (#learn) */
.learn { padding: 130px 0 10px; text-align: center; }
.learn h2 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.learn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 960px; margin: 40px auto 0; text-align: left; }
.learn-card { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 16px; background: var(--mist); border-radius: 24px; padding: 22px 24px; text-decoration: none; color: var(--ink); transition: background .2s; }
.learn-card:hover { background: #ebebf0; }
.learn-card .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--blue); }
.learn-card b { display: block; font-size: 19px; font-weight: 600; line-height: 1.3; }
.learn-card small { display: block; color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.learn-card .go { color: var(--link); font-size: 15px; white-space: nowrap; }
@media (max-width: 760px) { .learn-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .learn-card { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; } .learn-card .ic { width: 44px; height: 44px; } .learn-card .go { display: none; } }