/* Public site pages: home and pricing (docs/REDESIGN-2026-10-16.md §3, copy: docs/HOME-COPY-2026-10-18.md).
   Load after app.css and theme.css; colours come from theme.css. */
:root {
  --h-bg: var(--panel); --h-card: var(--panel); --h-ink: var(--ink); --h-muted: var(--muted); --h-hint: var(--faint); --h-line: var(--line);
  --h-brand: var(--accent); --h-brand-tint: var(--brand-tint);
  --h-cl-bg: var(--cl-bg); --h-cl: var(--cl); --h-chk-bg: var(--amber-bg); --h-chk: var(--amber); --h-chk-edge: var(--amber-edge);
  --h-serif: var(--sans);
  --h-wrap: 1200px; --h-gutter: 40px; --h-sec: 96px;
  --h-lift: 0 20px 60px rgba(91, 79, 240, .12);
}
body { background: var(--h-bg); color: var(--h-ink); }
a { color: var(--h-brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.ic.sm { width: 14px; height: 14px; vertical-align: -2px; }
.wrap { max-width: var(--h-wrap); margin: 0 auto; padding: 0 var(--h-gutter); }

/* ---------- header (72px) ---------- */
.h-top { display: flex; align-items: center; gap: 10px; height: 72px; padding: 0 var(--h-gutter); max-width: calc(var(--h-wrap) + 2 * var(--h-gutter)); margin: 0 auto; }
.h-logo { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--h-ink); text-decoration: none; font-size: 18px; }
.h-mark { width: 26px; height: 26px; background: var(--logo) center/contain no-repeat; }
.h-top .spacer { flex: 1; }
.h-top #who a { font-size: 15px; color: var(--h-ink); text-decoration: none; }
.h-nav { display: flex; gap: 2px; margin-left: 22px; }
.h-nav a { color: var(--h-muted); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.h-nav a:hover, .h-nav a[aria-current="page"] { color: var(--h-brand); background: var(--h-brand-tint); }
.h-lang { display: inline-flex; margin-right: 8px; }
.lang-select { font-size: 13px; padding: 6px 10px; border: 1px solid var(--h-line); border-radius: 999px; background: var(--h-card); color: var(--h-ink); }
.h-menu-lang { display: flex; gap: 4px; border-top: 1px solid var(--h-line); margin-top: 6px; padding: 8px 4px 2px; }
.h-menu { display: none; position: relative; }
.h-menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--h-line); border-radius: 999px; background: var(--h-card); font-size: 17px; }
.h-menu summary::-webkit-details-marker { display: none; }
.h-menu-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 220px; background: var(--h-card); border: 1px solid var(--h-line); border-radius: 16px; padding: 6px; box-shadow: 0 8px 24px rgba(43, 43, 56, .12); display: flex; flex-direction: column; }
.h-menu-list a { color: var(--h-ink); text-decoration: none; padding: 10px 12px; border-radius: 10px; font-size: 15px; }
.h-menu-list a:hover { background: var(--h-brand-tint); color: var(--h-brand); }

/* ---------- buttons: pills ---------- */
.h-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 16px/1 var(--sans); height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--h-brand); background: var(--h-brand); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.h-btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.h-btn.out { background: var(--h-card); color: var(--h-ink); border-color: var(--h-line); }
.h-btn.out:hover { border-color: var(--h-brand); color: var(--h-brand); background: var(--h-card); }
.h-btn.sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.h-btn:disabled { opacity: .55; cursor: default; }

/* ---------- first screen ---------- */
.h-hero { text-align: center; padding: 48px var(--h-gutter) 0; }
#resume { max-width: 760px; margin: 0 auto 24px; text-align: left; }
#resume:empty { display: none; }
#resume .sample-banner { background: var(--h-card); border: 1px solid var(--h-line); border-left: 3px solid var(--h-brand); border-radius: 0 14px 14px 0; padding: 12px 14px; gap: 8px; margin: 0 !important; }
#resume .sample-banner b { color: var(--h-ink); }
#resume .sample-banner span { color: var(--h-muted); font-size: 13.5px; }
.h-hero h1 { font-weight: 300; font-size: 60px; line-height: 1.15; letter-spacing: -0.035em; margin: 0 auto; max-width: 1080px; text-wrap: balance; }
:lang(zh) .h-hero h1 { font-weight: 400; font-size: 52px; letter-spacing: 0; }
.grad { position: relative; display: inline-block; font-weight: 400; color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, #5b4ff0, #c25be8, #ff6fa8, #ff9d4d, #ff6fa8, #c25be8, #5b4ff0); background-size: 300% 100%; animation: h-flow 10s linear infinite; }
.grad::after { content: attr(data-text); position: absolute; inset: 0; color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .65) 50%, transparent 60%); background-size: 250% 100%; background-repeat: no-repeat; background-position: 150% 0; animation: h-shine 5s ease-in-out .8s infinite; }
@keyframes h-flow { to { background-position: 300% 0; } }
@keyframes h-shine { 0% { background-position: 150% 0; } 25%, 100% { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) { .grad, .grad::after { animation: none; } }
.h-sub { font-size: 19px; line-height: 1.55; color: var(--h-muted); max-width: 680px; margin: 22px auto 30px; }
.h-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.h-note { font-size: 13px; color: var(--h-hint); margin: 14px 0 0; }

/* The stage under the buttons shows the example plan, or the paste panel ("Paste a meeting", /#paste). */
.h-stage { max-width: var(--h-wrap); margin: 40px auto 0; text-align: left; position: relative; }
.h-stage[data-view="board"] .h-paste, .h-stage[data-view="paste"] .h-board { display: none; }
.h-board { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; align-items: start; }
.h-plan { background: var(--h-card); border: 1px solid var(--h-line); border-radius: 24px; box-shadow: var(--h-lift); padding: 24px 28px 20px; }
.h-plan-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.h-plan-head h3 { margin: 0; font-size: 19px; font-weight: 500; }
.h-plan-head .gl { margin-left: auto; font-size: 14px; color: var(--h-muted); display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.h-plan-head .gl b { color: var(--h-ink); font-weight: 500; }
.h-rows { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 14px; }
.h-rows th { font-weight: 400; color: var(--h-hint); text-align: left; padding: 0 12px 2px; font-size: 13px; }
.h-rows td { padding: 12px 11px; background: var(--bg); white-space: nowrap; }
.h-rows td:first-child { border-radius: 10px 0 0 10px; box-shadow: inset 4px 0 0 var(--edge); }
.h-rows td:last-child { border-radius: 0 10px 10px 0; }
.h-rows .who { color: var(--h-muted); }
.h-rows .pill { font-size: 12.5px; padding: 4px 12px; font-weight: 500; }
.e-amber { --edge: var(--amber-edge); } .e-green { --edge: var(--green-edge); } .e-blue { --edge: var(--blue-edge); } .e-red { --edge: var(--red-edge); } .e-tent { --edge: var(--tent-edge); }
.pill .ic { width: 12px; height: 12px; margin-right: 3px; vertical-align: -1px; }
.h-float { margin-top: 56px; background: var(--h-card); border: 1px solid var(--h-line); border-radius: 20px; box-shadow: 0 14px 40px rgba(43, 43, 56, .10); padding: 18px; font-size: 14px; }
.h-float .lbl { font-size: 12px; color: var(--h-hint); margin-bottom: 8px; }
.h-float .q { font-weight: 500; line-height: 1.45; margin-bottom: 10px; }
.h-answers { display: flex; flex-direction: column; gap: 6px; }
.h-answers span { border: 1px solid var(--h-line); border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--h-brand); }
.h-answers span.on { background: var(--h-brand); border-color: var(--h-brand); color: #fff; }
.h-answers .more { border: 0; padding: 2px 4px; color: var(--h-muted); }
.h-float .noted { margin-top: 10px; background: var(--tent-bg); color: var(--tent); border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.5; }
.h-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--h-muted); }
.h-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 6px; white-space: nowrap; flex: none; }
.h-tag.plain { background: var(--gray-bg); color: var(--h-muted); }

/* Paste panel */
.h-paste { max-width: 760px; margin: 0 auto; background: var(--h-card); border: 1px solid var(--h-line); border-radius: 24px; box-shadow: var(--h-lift); padding: 24px 28px 22px; }
.h-paste-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.h-paste-head .spacer { flex: 1; }
.h-back { border: 0; background: none; color: var(--h-brand); font: 500 14px var(--sans); cursor: pointer; padding: 6px 0; }
.h-start { font-size: 17px; font-weight: 600; margin: 0; }
.h-ai { display: flex; gap: 7px; align-items: flex-start; font-size: 13.5px; color: var(--h-muted); margin: 0 0 12px; }
.h-ai .ic { margin-top: 2px; color: var(--h-hint); }
.h-ai b { font-weight: 600; color: var(--h-ink); }
.h-box { background: var(--h-card); border: 1px solid var(--h-brand); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 4px var(--h-brand-tint); }
.h-box textarea { display: block; width: 100%; border: 0; border-radius: 0; background: transparent; padding: 16px 18px; height: 170px; font: 15px/1.55 var(--sans); color: var(--h-ink); resize: vertical; }
.h-box textarea::placeholder { color: var(--h-hint); }
.h-box textarea:focus { outline: none; }
.h-foot { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border-top: 1px solid var(--h-line); flex-wrap: wrap; }
.h-foot .spacer { flex: 1; }
.h-file { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; padding: 8px 14px; border: 1px solid var(--h-line); border-radius: 999px; background: #fff; cursor: pointer; margin: 0; color: var(--h-ink); }
.h-hint { font-size: 12.5px; color: var(--h-hint); }
.h-date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--h-muted); margin: 0; font-weight: 400; }
.h-date input { border: 0; border-bottom: 1px dashed var(--h-hint); border-radius: 0; padding: 2px 0; background: transparent; font-weight: 600; color: var(--h-ink); font-size: 13.5px; }
.h-more { margin-top: 12px; font-size: 13.5px; color: var(--h-muted); }
.h-more summary { cursor: pointer; }
.h-more .row { margin-top: 8px; }
.h-more input { width: 100%; }
.h-go { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.h-keep { font-size: 12.5px; color: var(--h-hint); margin: 0; flex: 1; min-width: 220px; }
.h-keep a { color: var(--h-hint); }

/* ---------- below the first screen ---------- */
.h-sec { padding: var(--h-sec) 0 0; scroll-margin-top: 16px; }
.h-hero + .wrap > .h-sec:first-child { padding-top: calc(var(--h-sec) - 16px); }
.h-sec h2 { font-weight: 400; font-size: 40px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 14px; }
:lang(zh) .h-sec h2 { letter-spacing: 0; }
.h-sec h3 { font-size: 20px; font-weight: 500; line-height: 1.35; margin: 0 0 8px; }
.h-sec p, .h-sec li { color: var(--h-muted); font-size: 17px; line-height: 1.55; }
.h-sec-lead { margin: 0 0 32px; max-width: 680px; }
.h-center { text-align: center; } .h-center .h-sec-lead { margin-left: auto; margin-right: auto; }

.bg-amber { background: var(--amber-bg); } .bg-green { background: var(--green-bg); } .bg-blue { background: var(--blue-bg); } .bg-tent { background: var(--tent-bg); }

.h-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.h-split.flip > :first-child { order: 2; }
.h-split p { margin: 0; max-width: 520px; }
.h-shot { background: var(--bg); border-radius: 24px; padding: 28px; }
.h-card { background: var(--h-card); border: 1px solid var(--h-line); border-radius: 16px; padding: 16px 18px; font-size: 14.5px; }
.h-card + .h-card { margin-top: 12px; }
.h-card b { font-weight: 500; }
.h-card .meta { font-size: 13px; color: var(--h-muted); margin-top: 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.h-card s { color: var(--h-hint); }
.h-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.h-quotes > div { background: var(--h-card); border: 1px solid var(--h-line); border-radius: 16px; padding: 18px; }
.h-quotes h3 { font-size: 16.5px; }
.h-quotes p { font-size: 14px; margin: 0; }
.h-arrow { text-align: center; color: var(--h-hint); margin: 8px 0; }
.h-line-note { font-size: 13.5px; border-radius: 12px; padding: 10px 14px; margin-top: 12px; }

.h-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h-steps li, .h-cards > div { background: var(--h-card); border: 1px solid var(--h-line); border-radius: 24px; padding: 28px; }
.h-steps .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #5b4ff0, #c25be8, #ff6fa8); color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.h-steps p, .h-cards p { margin: 0; font-size: 15px; }
.h-try { margin-top: 24px; }
.h-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h-cards.price > div:nth-child(2) { border: 2px solid transparent; background: linear-gradient(var(--h-card), var(--h-card)) padding-box, var(--brand-gradient) border-box; }
.h-price { margin: 4px 0 12px !important; color: var(--h-muted); }
.h-price b { font-size: 34px; color: var(--h-ink); font-weight: 500; }
.h-list { margin: 12px 0; padding-left: 20px; }
.h-list li { margin: 5px 0; }
.h-cards .h-list { margin: 0; padding-left: 18px; }
.h-cards .h-list li { font-size: 15px; }
#security .h-list { columns: 2; column-gap: 40px; max-width: 900px; }
#faq details { border-bottom: 1px solid var(--h-line); padding: 18px 0; max-width: 760px; margin: 0 auto; }
#faq summary { cursor: pointer; font-weight: 500; font-size: 17px; color: var(--h-ink); }
#faq details p { margin: 10px 0 2px; }
.h-final { margin: var(--h-sec) auto 0; max-width: var(--h-wrap); border-radius: 24px; padding: 64px; text-align: center; color: #fff; background: var(--brand-gradient); }
.h-final h2 { font-weight: 400; font-size: 36px; line-height: 1.25; margin: 0 0 24px; }
.h-final .h-btn { background: #fff; color: var(--h-ink); border-color: #fff; }
.h-final .h-btn:hover { background: var(--brand-tint); }
.h-client { display: flex; gap: 7px; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--h-line); font-size: 13.5px; color: var(--h-muted); }
.h-footer { max-width: var(--h-wrap); margin: 64px auto 0; padding: 24px var(--h-gutter) 44px; border-top: 1px solid var(--h-line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--h-hint); }
.h-footer a { color: var(--h-muted); text-decoration: none; }
.h-footer span { color: var(--h-ink); font-weight: 600; margin-right: auto; }

@media (max-width: 1200px) { :root { --h-gutter: 32px; } }
/* Below this the plan and the client's view no longer fit side by side: the client's view goes under the plan. */
@media (max-width: 1100px) {
  .h-board { grid-template-columns: 1fr; gap: 16px; }
  .h-float { margin-top: 0; max-width: 420px; justify-self: end; }
}
@media (max-width: 900px) {
  .h-nav { display: none; }
  .h-board { grid-template-columns: 1fr; gap: 16px; }
  .h-float { margin-top: 0; }
  .h-split, .h-split.flip { grid-template-columns: 1fr; gap: 28px; }
  .h-split.flip > :first-child { order: 0; }
  .h-steps, .h-cards { grid-template-columns: 1fr; }
  #security .h-list { columns: 1; }
}
@media (max-width: 600px) {
  :root { --h-gutter: 20px; --h-sec: 56px; }
  .h-top { height: 60px; }
  .h-lang, .h-top .h-btn { display: none; }
  .h-menu { display: block; }
  .h-hero { padding-top: 32px; }
  .h-hero h1 { font-size: 36px; line-height: 1.2; }
  :lang(zh) .h-hero h1 { font-size: 32px; }
  .h-sub { font-size: 17px; margin: 16px auto 24px; }
  .h-cta .h-btn { width: 100%; }
  .h-stage { margin-top: 32px; }
  .h-plan { padding: 18px 16px; }
  .h-rows thead { display: none; }
  .h-rows, .h-rows tbody, .h-rows tr, .h-rows td { display: block; }
  .h-rows tr { background: var(--bg); border-radius: 12px; box-shadow: inset 4px 0 0 var(--edge); padding: 12px 14px; margin-bottom: 8px; }
  .h-rows td { padding: 0; background: none; box-shadow: none !important; white-space: normal; }
  .h-rows td + td { margin-top: 4px; }
  .h-rows td:first-child { font-weight: 500; }
  .h-rows td.st { margin-top: 8px; }
  .h-plan-head .gl { margin-left: 0; }
  .h-paste { padding: 18px 16px; }
  .h-date { width: 100%; }
  .h-go .h-btn { width: 100%; }
  .h-sec h2 { font-size: 28px; }
  .h-sec p, .h-sec li { font-size: 16px; }
  .h-shot { padding: 16px; }
  .h-steps li, .h-cards > div { padding: 20px; }
  .h-final { padding: 40px 22px; border-radius: 0; }
  .h-final h2 { font-size: 26px; }
  .h-final .h-btn { width: 100%; }
  .h-footer { padding: 20px var(--h-gutter) 32px; }
}

/* Pricing page */
.h-page-title { font-weight: 400; font-size: 52px; line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 16px; }
:lang(zh) .h-page-title { letter-spacing: 0; }
.h-price-note { text-align: center; color: var(--h-muted); font-size: 15px; max-width: 680px; margin: 28px auto 0; }
@media (max-width: 600px) { .h-page-title { font-size: 34px; } }

/* Trimmed home (docs/HOME-LEAN-2026-10-19.md): colour trays behind the pictures, short steps, one-row roles and trust */
.h-shot.bg-amber, .h-shot.bg-green, .h-shot.bg-blue, .h-shot.bg-tent { padding: 32px; }
.h-shot.bg-amber { background: var(--amber-bg); } .h-shot.bg-green { background: var(--green-bg); } .h-shot.bg-blue { background: var(--blue-bg); } .h-shot.bg-tent { background: var(--tent-bg); }
.h-steps.short li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; font-size: 16px; font-weight: 500; color: var(--h-ink); }
.h-steps.short .n { margin: 0; flex: none; }
.h-roles, .h-trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.h-roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.h-roles li { border-top: 2px solid var(--h-line); padding-top: 14px; }
.h-roles b { display: block; font-weight: 500; font-size: 17px; color: var(--h-ink); margin-bottom: 4px; }
.h-roles span { font-size: 15px; color: var(--h-muted); }
.h-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.h-trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--h-muted); line-height: 1.5; }
.h-trust .ic { color: var(--h-brand); margin-top: 3px; }
#security p { margin: 0; }
@media (max-width: 900px) { .h-roles { grid-template-columns: 1fr; } .h-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .h-trust { grid-template-columns: 1fr; } .h-shot.bg-amber, .h-shot.bg-green, .h-shot.bg-blue, .h-shot.bg-tent { padding: 16px; } }
