/* GOL AI Assistant: shared styles for /assistant/* (landing, sign-in, console).

   Page scripts live in /assets/assistant/*.js, never inline: the site CSP sets
   script-src without 'unsafe-inline', so an inline <script> or onclick= is
   refused by the browser in production. */

:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-2: #F5F5F5;
  --border: #EAEAEA;
  --border-strong: #D4D4D4;
  --text: #0A0A0A;
  --text-2: #525252;
  --text-3: #737373;
  --black: #0A0A0A;
  --black-hover: #262626;
  --accent: #A05CA0;
  --accent-text: #873C87;
  --accent-pale: #F7ECF7;
  --accent-veil: #FAF1FA;
  --green: #15803D;
  --green-pale: #F0FDF4;
  --green-border: #BBF7D0;
  --red: #B91C1C;
  --red-pale: #FEF2F2;
  --red-border: #FECACA;
  --amber: #92400E;
  --amber-pale: #FFFBEB;
  --amber-border: #FDE68A;
  --display: 'Source Serif 4', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.05);
  --focus: 0 0 0 3px rgba(160,92,160,0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
code, pre, .mono { font-family: var(--mono); }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Icons ---------- */
.icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 14px; height: 14px; }
.icon-lg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 40px; padding: 0.55rem 1.1rem;
  border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--sans); font-size: 0.875rem; font-weight: 500; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-lg { min-height: 48px; padding: 0.8rem 1.5rem; font-size: 0.92rem; }
.btn-sm { min-height: 32px; padding: 0.35rem 0.75rem; font-size: 0.8rem; }
.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--black-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover:not(:disabled) { border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover:not(:disabled) { background: #991B1B; }
.btn-danger-outline { background: var(--surface); color: var(--red); border-color: var(--red-border); }
.btn-danger-outline:hover:not(:disabled) { border-color: var(--red); background: var(--red-pale); }
.btn-on-dark { background: #fff; color: var(--black); }
.btn-on-dark:hover { background: #EAEAEA; }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-ghost-dark:hover { border-color: #fff; }
.btn .spinner { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link { color: var(--accent-text); font-weight: 500; }
.link:hover { text-decoration: underline; text-underline-offset: 2px; }
.link-btn { background: none; border: none; padding: 0; font: inherit; color: var(--accent-text); font-weight: 500; cursor: pointer; }
.link-btn:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 2px; }
.link-btn:disabled { color: var(--text-3); cursor: default; }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.25rem; }
.label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text); margin-bottom: 0.35rem; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.hint { font-size: 0.8rem; color: var(--text-3); margin: 0 0 0.5rem; line-height: 1.5; }
.counter { font-size: 0.75rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.counter.over { color: var(--red); }
.input, .textarea {
  width: 100%; padding: 0.6rem 0.8rem;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.9rem; line-height: 1.5;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder, .textarea::placeholder { color: #A3A3A3; }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--red); }
.textarea { resize: vertical; min-height: 120px; }
.textarea-tall { min-height: 280px; font-size: 0.875rem; }
.field-error { font-size: 0.8rem; color: var(--red); margin-top: 0.35rem; }
.color-field { display: flex; align-items: center; gap: 0.5rem; }
.color-swatch { width: 40px; height: 40px; padding: 0; border: 1px solid var(--border-strong); border-radius: var(--radius); background: none; cursor: pointer; }
.color-swatch::-webkit-color-swatch-wrapper { padding: 3px; }
.color-swatch::-webkit-color-swatch { border: none; border-radius: 5px; }
.color-hex { width: 110px; font-family: var(--mono); font-size: 0.85rem; text-transform: uppercase; }

/* ---------- Alerts ---------- */
.alert { display: flex; gap: 0.65rem; align-items: flex-start; padding: 0.75rem 0.9rem; border-radius: var(--radius); font-size: 0.85rem; line-height: 1.5; border: 1px solid; }
.alert .icon { margin-top: 1px; }
.alert-error { background: var(--red-pale); border-color: var(--red-border); color: var(--red); }
.alert-info { background: var(--accent-veil); border-color: #EBD3EB; color: var(--accent-text); }
.alert-warn { background: var(--amber-pale); border-color: var(--amber-border); color: var(--amber); }
.alert a { text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.72rem; font-weight: 500; border: 1px solid var(--border); color: var(--text-2); background: var(--surface); white-space: nowrap; }
.badge-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-green { color: var(--green); background: var(--green-pale); border-color: var(--green-border); }
.badge-amber { color: var(--amber); background: var(--amber-pale); border-color: var(--amber-border); }

/* ---------- Code block ---------- */
.code-block { display: flex; align-items: center; gap: 0.75rem; background: #0A0A0A; color: #E5E5E5; border-radius: var(--radius); padding: 0.85rem 0.85rem 0.85rem 1.1rem; font-family: var(--mono); font-size: 0.8rem; line-height: 1.6; }
.code-block code { flex: 1; overflow-x: auto; white-space: pre; scrollbar-width: thin; }
.code-block .tok-tag { color: #F0ABFC; }
.code-block .tok-attr { color: #93C5FD; }
.code-block .tok-str { color: #86EFAC; }
.copy-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255,255,255,0.08); color: #E5E5E5; border: 1px solid rgba(255,255,255,0.16); border-radius: 6px; padding: 0.4rem 0.7rem; font-family: var(--sans); font-size: 0.78rem; font-weight: 500; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.copy-btn:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
.copy-btn.copied { background: var(--green-pale); border-color: var(--green); color: #14532D; }
.copy-btn svg { width: 14px; height: 14px; }
.copy-inline { display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: none; padding: 0.15rem 0.3rem; margin: -0.15rem -0.3rem; border-radius: 4px; font-family: var(--mono); font-size: 0.78rem; color: var(--text-2); cursor: pointer; }
.copy-inline:hover { background: var(--surface-2); color: var(--text); }
.copy-inline .icon { width: 13px; height: 13px; opacity: 0.6; }
.copy-inline.copied { color: var(--green); }

/* ---------- Chat (preview component; mirrors the installed widget) ---------- */
/* Same geometry as the installed widget (worker src/index.js handleWidget):
   leaf corners (square top-left and bottom-right, like the mark's brackets),
   replies as text, the visitor's words in the brand colour. */
.mark { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mark .dot { fill: currentColor; stroke: none; transform-box: fill-box; }
/* Typing: the mark's three dots ripple, someone is about to answer. */
.mark .dot.t2 { animation-delay: 0.18s; }
.mark .dot.t3 { animation-delay: 0.36s; }
/* Same motion as the widget: each dot rises in turn, left to right, and settles. */
@keyframes mark-type { 0%, 55%, 100% { opacity: 0.55; transform: none; } 22% { opacity: 1; transform: translateY(-1.75px); } }
.chat { --brand: #2563EB; --on-brand: #FFFFFF; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 6px 24px 6px 24px; overflow: hidden; min-height: 0; }
.chat-head { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1rem 0.9rem 1.1rem; border-bottom: 1px solid #EFEFEF; }
.chat-avatar { width: 34px; height: 34px; border-radius: 3px 14px 3px 14px; background: var(--brand); color: var(--on-brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-avatar .mark { width: 19px; height: 19px; }
.chat-title { font-size: 0.92rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-sub { font-size: 0.74rem; color: var(--text-3); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-log { flex: 1; overflow-y: auto; padding: 1.1rem 1.1rem 0.5rem; display: flex; flex-direction: column; gap: 0.85rem; background: var(--surface); min-height: 0; }
.chat-msg { font-size: 0.875rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.assistant { align-self: stretch; color: #171717; padding-right: 1.5rem; }
.chat-msg.user { align-self: flex-end; max-width: 82%; padding: 0.55rem 0.9rem; background: var(--brand); color: var(--on-brand); border-radius: 16px 16px 4px 16px; }
.chat-msg.notice { align-self: stretch; color: var(--text-3); font-size: 0.78rem; padding: 0.5rem 0.75rem; background: var(--bg); border-radius: 10px; }
.chat-out { align-self: stretch; border: 1px dashed var(--border-strong); border-radius: 4px 14px 4px 14px; padding: 0.7rem 0.9rem 0.75rem; font-size: 0.875rem; line-height: 1.55; color: #171717; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-out-label { display: flex; align-items: center; gap: 0.45rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.3rem; white-space: normal; }
.chat-out-label .mark { width: 15px; height: 15px; color: var(--brand); }
.chat-thinking { align-self: flex-start; color: var(--brand); height: 22px; display: flex; align-items: center; }
.chat-thinking .mark { width: 26px; height: 26px; }
.chat-thinking .dot { animation: mark-type 1.6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.chat-compose { display: flex; align-items: center; gap: 0.4rem; margin: 0.5rem 0.9rem 0; padding: 0.35rem 0.35rem 0.35rem 0.9rem; border: 1px solid var(--border-strong); border-radius: 6px 18px 6px 18px; background: var(--surface); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.chat-compose:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.chat-input { flex: 1; min-width: 0; height: 36px; padding: 0; border: none; outline: none; font-family: var(--sans); font-size: 0.875rem; background: transparent; }
.chat-send { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: none; border-radius: 4px 12px 4px 12px; background: var(--brand); color: var(--on-brand); cursor: pointer; }
.chat-send:disabled { opacity: 0.3; cursor: default; }
.chat-foot { display: flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.65rem 0.9rem 0.75rem; font-size: 0.7rem; color: var(--text-3); background: var(--surface); }
.chat-foot .mark { width: 12px; height: 12px; stroke-width: 2.6; }
.chat-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.75rem; padding: 2rem 1.5rem; color: var(--text-3); font-size: 0.85rem; line-height: 1.55; }
.chat-empty .mark { width: 34px; height: 34px; color: #C4C4C4; }
@media (prefers-reduced-motion: reduce) { .chat-thinking .dot { animation: none; } }

/* ---------- Toast ---------- */
.toast-region { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 300; display: flex; flex-direction: column; gap: 0.5rem; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 0.6rem; min-width: 260px; max-width: 380px; padding: 0.75rem 0.95rem; background: var(--black); color: #fff; border-radius: var(--radius); font-size: 0.85rem; box-shadow: var(--shadow-lg); pointer-events: auto; animation: toast-in 0.18s ease-out; }
.toast .icon { color: #86EFAC; }
.toast.error .icon { color: #FCA5A5; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Dialog ---------- */
.dialog-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,10,0.45); display: flex; align-items: center; justify-content: center; padding: 1rem; animation: fade-in 0.15s ease-out; }
.dialog { width: 100%; max-width: 440px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.dialog-body { padding: 1.5rem 1.5rem 1.25rem; }
.dialog h2 { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 600; }
.dialog p { margin: 0 0 1rem; font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 0.5rem; padding: 0.9rem 1.5rem; border-top: 1px solid var(--border); background: var(--bg); border-radius: 0 0 16px 16px; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Marketing (landing page)
   ========================================================================== */

.nav { position: sticky; top: 0; z-index: 50; background: rgba(250,250,250,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 1rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: inline-flex; align-items: center; transition: opacity 0.2s ease; }
.nav-brand:hover { opacity: 0.78; }
.nav-brand-logo { height: 104px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; font-size: 0.85rem; font-weight: 500; }
.nav-links a { color: var(--text-2); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-dropdown { position: relative; padding: 0.5rem 0; }
.nav-dropdown > span { color: var(--text-2); cursor: pointer; display: inline-flex; align-items: center; gap: 0.3rem; user-select: none; }
.nav-dropdown > span:hover { color: var(--text); }
.nav-dropdown > span::after { content: ''; width: 4.5px; height: 4.5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -2px; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0.5rem 0; width: max-content; box-shadow: var(--shadow-md); z-index: 100; }
.nav-dropdown-menu::before { content: ''; position: absolute; top: -0.5rem; left: 0; right: 0; height: 0.5rem; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 0.5rem 0.9rem; font-size: 0.84rem; color: var(--text-2); }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a[aria-current="page"] { background: var(--accent-veil); color: var(--text); }
.nav-cta { display: inline-flex; align-items: center; padding: 0.5rem 1rem; background: var(--black); color: #fff !important; border-radius: var(--radius); }
.nav-cta:hover { background: var(--black-hover); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 2.5rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1.25rem; }

.hero { position: relative; padding: 4.5rem 0 4rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -220px; right: -260px; width: 860px; height: 860px; background: radial-gradient(circle, var(--accent-veil) 0%, transparent 65%); pointer-events: none; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 4rem; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.06; letter-spacing: -0.022em; margin: 0 0 1.5rem; max-width: 18ch; }
.hero-sub { font-size: 1.06rem; color: var(--text-2); line-height: 1.7; margin: 0; max-width: 54ch; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2.25rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin-top: 1.75rem; font-size: 0.82rem; color: var(--text-3); }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-meta .icon { width: 15px; height: 15px; color: var(--green); }

.hero-visual { position: relative; }
.hero-visual .chat { height: 440px; box-shadow: var(--shadow-lg); }
.hero-visual .chat-msg { animation: msg-in 0.35s ease-out both; }
.hero-visual .chat-msg:nth-child(2) { animation-delay: 0.15s; }
.hero-visual .chat-msg:nth-child(3) { animation-delay: 0.3s; }
.hero-visual .chat-msg:nth-child(4) { animation-delay: 0.45s; }
.hero-visual-caption { margin: 0.85rem 0 0; font-size: 0.75rem; color: var(--text-3); text-align: center; }
@keyframes msg-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-visual .chat-msg { animation: none; } }

.spec-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec { padding: 1.5rem 1.75rem; border-left: 1px solid var(--border); }
.spec:first-child { border-left: none; padding-left: 0; }
.spec-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.4rem; }
.spec-value { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.spec-note { font-size: 0.8rem; color: var(--text-2); margin-top: 0.15rem; }

.section { padding: 6rem 0 0; }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.1; letter-spacing: -0.018em; margin: 0 0 1rem; }
.section-sub { font-size: 1rem; color: var(--text-2); line-height: 1.7; margin: 0; }

.try-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.try-status { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0.7rem 1.25rem; background: var(--accent-veil); border-bottom: 1px solid #EFDCEF; font-size: 0.83rem; color: var(--accent-text); }
.try-status strong { font-weight: 600; }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; }
.try-form { padding: 1.75rem; display: flex; flex-direction: column; }
.try-form .textarea { flex: 1; min-height: 240px; font-size: 0.86rem; }
.try-actions { display: flex; gap: 0.6rem; align-items: center; margin-top: 1.25rem; flex-wrap: wrap; }
.try-actions .hint { margin: 0; }
.try-preview { border-left: 1px solid var(--border); background: var(--bg); padding: 1.25rem; display: flex; }
.try-preview .chat { flex: 1; height: 520px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.step { background: var(--surface); padding: 1.75rem; }
.step-num { font-family: var(--mono); font-size: 0.75rem; color: var(--accent-text); margin-bottom: 1rem; }
.step h3 { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 600; }
.step p { margin: 0; font-size: 0.88rem; color: var(--text-2); line-height: 1.65; }
.install-card { margin-top: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; }
.install-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.install-card-head h3 { margin: 0; font-size: 0.95rem; font-weight: 600; }
.install-card-head p { margin: 0; font-size: 0.82rem; color: var(--text-3); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--surface); padding: 1.75rem; }
.feature-icon { width: 36px; height: 36px; border-radius: var(--radius); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--accent-text); background: var(--accent-veil); margin-bottom: 1.1rem; }
.feature h3 { margin: 0 0 0.45rem; font-size: 0.98rem; font-weight: 600; }
.feature p { margin: 0; font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }

.st { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.st-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 2rem; padding: 2rem 2.25rem; }
.st-card + .st-card { border-top: 1px solid var(--border); }
.st-card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.3; }
.st-card p { margin: 0; font-size: 0.9rem; color: var(--text-2); line-height: 1.75; }
.st-card p + p { margin-top: 0.7rem; }
.st-card a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }

.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 880px; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--text); box-shadow: var(--shadow-md); }
.price-name { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.price-amount { margin: 0.75rem 0 0.25rem; font-size: 2.25rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.price-amount small { font-size: 0.95rem; font-weight: 400; color: var(--text-2); letter-spacing: 0; }
.price-desc { font-size: 0.875rem; color: var(--text-2); margin: 0 0 1.5rem; }
.price-list { list-style: none; margin: 0 0 1.75rem; padding: 1.25rem 0 0; border-top: 1px solid var(--border); display: grid; gap: 0.65rem; font-size: 0.875rem; color: var(--text-2); }
.price-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.price-list .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--green); }
.price-card .btn { margin-top: auto; }
.price-footnote { margin: 1.25rem 0 0; font-size: 0.82rem; color: var(--text-3); max-width: 880px; }

.cta-strip { padding: 6rem 0 0; }
.cta-inner { background: var(--black); color: #fff; border-radius: 16px; padding: 3.5rem 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 0.5rem; letter-spacing: -0.018em; line-height: 1.15; }
.cta-inner p { color: rgba(255,255,255,0.62); font-size: 0.92rem; margin: 0; }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.legal { padding: 4rem 0 0; }
.legal p { font-size: 0.8rem; color: var(--text-3); max-width: 72ch; line-height: 1.75; margin: 0; }
.legal a { color: var(--accent-text); }

.footer-wrap { margin-top: 4rem; display: flex; justify-content: center; padding: 0 1rem; }
.site-footer { width: 100%; max-width: 1120px; border: 1px solid var(--border); border-bottom: none; border-radius: 12px 12px 0 0; background: var(--surface); padding: 1.5rem 2rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-copy { font-size: 0.72rem; color: var(--text-3); }
.footer-links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-3); font-size: 0.82rem; transition: color 0.15s ease; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--text); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero h1 { max-width: none; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec { padding: 1.25rem 1.25rem 1.25rem 0; border-left: none; }
  .spec:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--border); }
  .spec:nth-child(n+3) { border-top: 1px solid var(--border); }
  .try-grid { grid-template-columns: 1fr; }
  .try-preview { border-left: none; border-top: 1px solid var(--border); }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .st-card { grid-template-columns: 1fr; gap: 0.75rem; }
}
@media (max-width: 720px) {
  .nav-inner { min-height: 80px; padding: 0.85rem 1.5rem; }
  .nav-brand-logo { height: 69px; }
  .nav-links { display: none; }
  .wrap { padding: 0 1.25rem; }
  .hero { padding: 3rem 0 3rem; }
  .section { padding-top: 4.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .st-card { padding: 1.5rem; }
  .cta-inner { padding: 2.5rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; gap: 1rem 1.25rem; }
  .btn { min-height: 44px; }
}

/* ==========================================================================
   Sign in
   ========================================================================== */

.auth { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.auth-top { padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; }
.auth-top img { height: 64px; width: auto; }
.auth-top a.back { font-size: 0.85rem; color: var(--text-2); display: inline-flex; align-items: center; gap: 0.35rem; }
.auth-top a.back:hover { color: var(--text); }
.auth-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem 1.25rem 4rem; }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2.25rem; }
.auth-product { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem; }
.auth-card h1 { font-family: var(--display); font-weight: 400; font-size: 1.75rem; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 0.5rem; }
.auth-card .lede { font-size: 0.9rem; color: var(--text-2); margin: 0 0 1.75rem; line-height: 1.6; }
.auth-card .lede strong { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.auth-card .btn-block { width: 100%; }
.auth-card .alert { margin-bottom: 1.25rem; }
.auth-aside { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-3); line-height: 1.6; }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.5rem; margin-bottom: 1.5rem; }
.otp input { width: 100%; height: 54px; text-align: center; font-family: var(--mono); font-size: 1.35rem; font-weight: 500; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); padding: 0; }
.otp input:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
.otp-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; font-size: 0.84rem; color: var(--text-3); }
.auth-legal { margin: 1.5rem 0 0; font-size: 0.78rem; color: var(--text-3); text-align: center; max-width: 420px; }
.auth-legal a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Landing (2026-10-05): the mark, the boundary specimen, the datasheet.
   ========================================================================== */

.l-hero { padding: 6.5rem 0 5rem; text-align: center; }
.l-hero .eyebrow { margin-bottom: 1rem; }
.l-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.03em; margin: 0 auto; max-width: 16ch; }
.l-hero-sub { max-width: 54ch; margin: 1.6rem auto 0; font-size: 1.12rem; color: var(--text-2); line-height: 1.65; }
.l-hero .hero-actions { justify-content: center; }
.l-hero-meta { margin: 1.4rem 0 0; font-size: 0.82rem; color: var(--text-3); }

/* The emblem: the mark at display size, on the leaf tile, typing. */
.emblem { width: 92px; height: 92px; margin: 0 auto 2rem; border-radius: 8px 40px 8px 40px; background: var(--black); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 18px 44px rgba(0,0,0,0.16), 0 2px 6px rgba(0,0,0,0.08); }
.emblem .mark { width: 46px; height: 46px; }
.emblem .dot, .launcher-dot .dot { animation: mark-type 1.6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }

.l-section { padding: 6rem 0; border-top: 1px solid var(--border); }
.l-section-tint { background: var(--surface); }
.l-head { max-width: 640px; margin-bottom: 2.75rem; }
.l-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.08; letter-spacing: -0.022em; margin: 0 0 0.85rem; }
.l-head p { margin: 0; font-size: 1.02rem; color: var(--text-2); line-height: 1.65; }
.l-head code { font-family: var(--mono); font-size: 0.88em; background: var(--surface-2); padding: 0.1em 0.35em; border-radius: 4px; }

/* Specimen: the business's information beside the conversation. */
.specimen { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
.spec-doc { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 8px 28px 8px 28px; padding: 1.5rem 1.6rem 3.4rem; }
.spec-doc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.spec-doc-title { font-weight: 600; font-size: 0.92rem; }
.spec-doc-note { font-size: 0.75rem; color: var(--text-3); }
.spec-lines { list-style: none; margin: 0; padding: 0; counter-reset: line; font-family: var(--mono); font-size: 0.8rem; line-height: 1.6; }
.spec-lines li { counter-increment: line; display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); padding: 0.55rem 0.6rem; margin: 0 -0.6rem; border-radius: 6px; color: var(--text-2); transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.spec-lines li::before { content: counter(line); color: #C4C4C4; }
.spec-lines li.hit { background: #E3EDF7; color: #0A0A0A; box-shadow: inset 3px 0 0 #1E4E79; }
.spec-lines li.hit::before { color: #1E4E79; font-weight: 600; }
.spec-edge { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 1.1rem; padding-top: 0.75rem; border-top: 1px dashed var(--border-strong); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #C4C4C4; transition: color 0.25s ease; }
.spec-edge.hit { color: var(--text-2); }
.spec-chat .chat { height: 100%; min-height: 380px; }
.spec-questions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.q-chip { font-family: var(--sans); font-size: 0.86rem; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 4px 16px 4px 16px; padding: 0.55rem 1rem; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.q-chip:hover { border-color: var(--text); }
.q-chip:focus-visible { outline: none; box-shadow: var(--focus); }
.q-chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.q-chip.q-out { border-style: dashed; }

/* Datasheet */
.sheet { margin: 0; border-top: 1px solid var(--text); }
.sheet-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--border); }
.sheet dt { font-family: var(--mono); font-size: 0.78rem; font-weight: 500; color: var(--text); padding-top: 0.15rem; }
.sheet dd { margin: 0; font-size: 0.95rem; color: var(--text-2); line-height: 1.65; max-width: 70ch; }
.sheet dd a { color: var(--accent-text); }

/* Pricing band */
.price-band { display: grid; grid-template-columns: 1fr 1fr auto; border: 1px solid var(--border); border-radius: 8px 28px 8px 28px; background: var(--surface); overflow: hidden; }
.price-cell { padding: 2rem 2.25rem; }
.price-cell + .price-cell { border-left: 1px solid var(--border); }
.price-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.6rem; }
.price-big { font-family: var(--display); font-size: 2.1rem; line-height: 1.1; letter-spacing: -0.02em; }
.price-big small { font-family: var(--sans); font-size: 0.85rem; color: var(--text-3); letter-spacing: 0; }
.price-cell p { margin: 0.6rem 0 0; font-size: 0.88rem; color: var(--text-2); }
.price-cta { display: flex; align-items: center; }

@media (max-width: 960px) {
  .specimen { grid-template-columns: 1fr; }
  .price-band { grid-template-columns: 1fr; }
  .price-cell + .price-cell { border-left: none; border-top: 1px solid var(--border); }
}
@media (max-width: 720px) {
  .l-hero { padding: 4rem 0 3.5rem; }
  .l-section { padding: 4rem 0; }
  .sheet-row { grid-template-columns: 1fr; gap: 0.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .spec-lines li { transition: none; }
  .mark .dot { animation: none !important; opacity: 1; }
}

/* ==========================================================================
   Console
   ========================================================================== */

/* Shell: the same frame as /console (topbar, Source Serif heading, 960px
   column, footer card), so both products read as one GOL console. Values are
   copied from console.html; change them together. */
.console-body { font-size: 14px; background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
.console-topbar { position: sticky; top: 0; z-index: 50; background: rgba(250,250,250,0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); box-shadow: 0 1px 3px rgba(0,0,0,0.02), inset 0 -1px 0 rgba(255,255,255,0.7); }
.console-topbar-inner { max-width: 960px; margin: 0 auto; padding: 1rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.console-brand { display: flex; align-items: center; transition: opacity 0.15s ease; }
.console-brand:hover { opacity: 0.7; }
.console-brand-logo { height: 104px; width: auto; }
.console-user { display: flex; align-items: center; gap: 1rem; font-size: 0.85rem; color: var(--text-2); min-width: 0; }
.console-user-email { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-signout { background: transparent; border: 1px solid var(--border-strong); color: var(--text); padding: 0.45rem 0.85rem; border-radius: 8px; font-family: var(--sans); font-size: 0.8rem; cursor: pointer; transition: all 0.15s ease; flex-shrink: 0; }
.console-signout:hover { border-color: var(--text); }
.console-main { max-width: 960px; margin: 0 auto; padding: 3rem 2rem 2rem; width: 100%; }
.console-heading { font-family: var(--display); font-weight: 400; font-size: 1.8rem; letter-spacing: -0.02em; margin: 0 0 1.5rem; }

/* Product switcher, shared with /console */
.product-tabs { display: flex; gap: 1.75rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.product-tabs a { position: relative; padding: 0 0 0.75rem; font-size: 0.9rem; font-weight: 500; color: var(--text-3); transition: color 0.15s ease; }
.product-tabs a:hover { color: var(--text); }
.product-tabs a[aria-current="page"] { color: var(--text); }
.product-tabs a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); border-radius: 2px; }

.sub-nav { display: inline-flex; gap: 0.25rem; padding: 0.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; margin-bottom: 2rem; }
.sub-nav a { padding: 0.4rem 0.95rem; border-radius: 999px; font-size: 0.82rem; font-weight: 500; color: var(--text-2); }
.sub-nav a:hover { color: var(--text); }
.sub-nav a[aria-current="page"] { background: var(--black); color: #fff; }

.view { min-width: 0; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-head h1 { margin: 0; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.page-head p { margin: 0.5rem 0 0; color: var(--text-2); font-size: 0.9rem; }

.console-footer-wrap { margin-top: auto; padding-top: 4rem; display: flex; justify-content: center; }
.console-footer-card { width: 100%; max-width: 960px; border: 1px solid var(--border); border-bottom: none; border-radius: 12px 12px 0 0; background: var(--surface); padding: 1.5rem 2rem; }
.console-footer-card .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.console-footer-card .footer-copy { font-size: 0.72rem; color: var(--text-3); }
.console-footer-card .footer-links { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.console-footer-card .footer-links a { color: var(--text-3); font-size: 0.82rem; }
.console-footer-card .footer-links a:hover { color: var(--text); }
.page-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.crumbs { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text-3); margin-bottom: 0.6rem; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.meta-row { display: flex; align-items: center; gap: 0.5rem 1rem; flex-wrap: wrap; margin-top: 0.5rem; font-size: 0.8rem; color: var(--text-3); }

.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
/* Cards match /console's wallet cards */
.metric, .card { background: linear-gradient(180deg, #FFF 0%, rgba(250,250,250,0.5) 100%); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.9); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.metric:hover, .card:hover { border-color: var(--border-strong); box-shadow: 0 4px 16px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9); }
.metric { padding: 1.5rem 1.75rem; }
.metric-label { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.metric-value { margin-top: 0.75rem; font-family: var(--display); font-size: 2.4rem; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.metric-sub { margin-top: 0.3rem; font-size: 0.78rem; color: var(--text-3); }
.metric-sub a { color: var(--accent-text); font-weight: 500; }

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.75rem; border-bottom: 1px solid var(--border); }
.card-head h2 { margin: 0; font-size: 0.92rem; font-weight: 600; }
.card-head .count { font-size: 0.78rem; color: var(--text-3); }
.card-body { padding: 1.25rem; }

.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); padding: 0.65rem 1.25rem; border-bottom: 1px solid var(--border); background: var(--bg); }
.table td { padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--border); font-size: 0.86rem; vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr { cursor: pointer; transition: background 0.1s ease; }
.table tbody tr:hover { background: #FCFCFC; }
.table .cell-name { font-weight: 500; color: var(--text); }
.table .cell-muted { color: var(--text-3); }
.table .cell-actions { text-align: right; white-space: nowrap; }
.table .cell-actions .btn + .btn { margin-left: 0.35rem; }

.empty-state { padding: 3.5rem 1.5rem; text-align: center; }
.empty-state .empty-icon { width: 44px; height: 44px; margin: 0 auto 1rem; border-radius: 50%; background: var(--accent-veil); color: var(--accent-text); display: flex; align-items: center; justify-content: center; }
.empty-state h3 { margin: 0 0 0.4rem; font-size: 1rem; font-weight: 600; }
.empty-state p { margin: 0 auto 1.25rem; max-width: 44ch; color: var(--text-2); font-size: 0.875rem; }

.skeleton { background: linear-gradient(90deg, #F0F0F0 25%, #F7F7F7 50%, #F0F0F0 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; border-radius: 4px; height: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.tabs { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.tab { position: relative; padding: 0.6rem 0.85rem; background: none; border: none; font-family: var(--sans); font-size: 0.86rem; font-weight: 500; color: var(--text-2); cursor: pointer; }
.tab:hover:not(:disabled) { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); }
.tab[aria-selected="true"]::after { content: ''; position: absolute; left: 0.5rem; right: 0.5rem; bottom: -1px; height: 2px; background: var(--text); border-radius: 2px; }
.tab:disabled { color: #C4C4C4; cursor: not-allowed; }

.editor { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 1.5rem; align-items: start; }
.editor-side { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 1rem; }
.editor-side .chat { height: 520px; }
.side-note { font-size: 0.78rem; color: var(--text-3); line-height: 1.5; padding: 0 0.25rem; }
.panel + .panel { margin-top: 1.25rem; }
.panel-title { margin: 0 0 0.25rem; font-size: 0.95rem; font-weight: 600; }
.panel-desc { margin: 0 0 1.25rem; font-size: 0.84rem; color: var(--text-2); }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 0.75rem; padding: 0.9rem 1.25rem; border-top: 1px solid var(--border); background: var(--bg); border-radius: 0 0 16px 16px; }
.form-actions .status { margin-right: auto; font-size: 0.8rem; color: var(--text-3); }
.launcher-preview { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; font-size: 0.8rem; color: var(--text-3); }
.launcher-dot { width: 44px; height: 44px; border-radius: 4px 20px 4px 20px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); }

.danger { border-color: var(--red-border); }
.danger .card-head { border-bottom-color: var(--red-border); }
.danger .card-head h2 { color: var(--red); }
.danger-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.danger-row p { margin: 0; font-size: 0.84rem; color: var(--text-2); max-width: 60ch; }

.steps-list { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 1rem; }
.steps-list li { counter-increment: step; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0.75rem; font-size: 0.86rem; color: var(--text-2); line-height: 1.6; }
.steps-list li::before { content: counter(step); width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.72rem; font-weight: 600; color: var(--text); display: flex; align-items: center; justify-content: center; }
.steps-list strong { color: var(--text); font-weight: 600; }

.kv { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.kv dt, .kv dd { margin: 0; padding: 0.8rem 1.25rem; border-bottom: 1px solid var(--border); font-size: 0.86rem; }
.kv dt { color: var(--text-2); }
.kv dd { font-variant-numeric: tabular-nums; }
.kv dt:nth-last-of-type(1), .kv dd:nth-last-of-type(1) { border-bottom: none; }

.boot { display: flex; align-items: center; justify-content: center; min-height: 40vh; color: var(--text-3); gap: 0.6rem; font-size: 0.85rem; }
.boot .spinner { width: 16px; height: 16px; border: 2px solid var(--border-strong); border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }

@media (max-width: 1100px) {
  .editor { grid-template-columns: 1fr; }
  .editor-side { position: static; }
}
@media (max-width: 860px) {
  .console-topbar-inner { padding: 0.85rem 1.25rem; gap: 0.75rem; }
  .console-brand-logo { height: 69px; }
  .console-user-email { max-width: 110px; font-size: 0.75rem; }
  .console-main { padding: 1.5rem 1rem; }
  .console-heading { font-size: 1.35rem; margin-bottom: 1.25rem; }
  .metrics { grid-template-columns: 1fr; }
  .table .col-id, .table .col-created { display: none; }
  .kv { grid-template-columns: 1fr; }
  .kv dt { border-bottom: none; padding-bottom: 0; }
}

/* Messages tab: customers who left details for the team. */
.tab-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--black); color: #fff; font-size: 0.68rem; font-weight: 600; }
.msg-empty { margin: 0; padding: 1.5rem; text-align: center; color: var(--text-3); font-size: 0.875rem; border: 1px dashed var(--border-strong); border-radius: 12px; }
.msg-item { padding: 1rem 0; border-top: 1px solid var(--border); }
.msg-item:first-child { border-top: none; padding-top: 0; }
.msg-head { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; font-size: 0.875rem; }
.msg-contact { color: var(--accent-text); }
.msg-date { margin-left: auto; color: var(--text-3); font-size: 0.78rem; }
.msg-q { margin: 0.4rem 0 0.75rem; font-size: 0.875rem; color: var(--text-2); line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-item.is-done { opacity: 0.55; }

/* Landing, enterprise pass: trust strip, guarantees, FAQ, close. */
.trust { list-style: none; margin: 2rem auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.75rem; font-size: 0.82rem; color: var(--text-2); }
.trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust li::before { content: ''; width: 6px; height: 6px; border-radius: 1px 3px 1px 3px; background: var(--text); }

.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.promise { background: var(--surface); border: 1px solid var(--border); border-radius: 8px 28px 8px 28px; padding: 1.75rem 1.75rem 2rem; }
.promise-num { font-family: var(--mono); font-size: 0.75rem; color: var(--text-3); margin-bottom: 1.25rem; }
.promise h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.015em; margin: 0 0 0.6rem; }
.promise p { margin: 0; font-size: 0.92rem; color: var(--text-2); line-height: 1.65; }

.faq { max-width: 820px; border-top: 1px solid var(--text); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 500; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 1.1rem; color: var(--text-3); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.faq details p { margin: 0 0 1.25rem; max-width: 70ch; color: var(--text-2); font-size: 0.95rem; line-height: 1.7; }
.faq code { font-family: var(--mono); font-size: 0.88em; background: var(--surface-2); padding: 0.1em 0.35em; border-radius: 4px; }

.l-close { background: var(--black); color: #fff; padding: 5.5rem 0; text-align: center; }
.l-close h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.025em; line-height: 1.08; margin: 0 auto 0.9rem; max-width: 20ch; }
.l-close p { margin: 0 auto; color: rgba(255,255,255,0.7); font-size: 1.02rem; }
.l-close .hero-actions { justify-content: center; }

@media (max-width: 960px) { .promises { grid-template-columns: 1fr; } }
.demo-ho { display: inline-block; margin-top: 0.6rem; padding: 0.45rem 0.8rem; border-radius: 4px 12px 4px 12px; background: var(--brand); color: var(--on-brand); font-size: 0.8rem; font-weight: 600; white-space: normal; }

/* Site header, identical to the homepage (index.html). Change them together. */
.topbar-links { display: flex; align-items: center; gap: 1.75rem; font-size: 0.85rem; font-weight: 500; }
.topbar-links a { color: var(--text-2); transition: color 0.15s ease; }
.topbar-links a:hover { color: var(--text); }
.topbar-links .nav-dropdown { position: relative; padding: 0.5rem 0; }
.topbar-links .nav-dropdown > span { color: var(--text-2); cursor: pointer; transition: color 0.15s ease; display: inline-flex; align-items: center; gap: 0.3rem; user-select: none; }
.topbar-links .nav-dropdown > span:hover { color: var(--text); }
.topbar-links .nav-dropdown > span::after { content: ''; display: inline-block; width: 4.5px; height: 4.5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -2px; }
.topbar-links .nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0.5rem 0; width: max-content; box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04); z-index: 100; }
.topbar-links .nav-dropdown-menu::before { content: ''; position: absolute; top: -0.5rem; left: 0; right: 0; height: 0.5rem; }
.topbar-links .nav-dropdown:hover .nav-dropdown-menu { display: block; }
.topbar-links .nav-dropdown-menu a { display: block; padding: 0.5rem 0.8rem; font-size: 0.84rem; color: var(--text-2) !important; transition: background 0.1s ease, color 0.1s ease; }
.topbar-links .nav-dropdown-menu a:hover { background: var(--accent-veil); color: var(--text) !important; }
.topbar-cta { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem; background: var(--black); color: #fff !important; border-radius: 8px; font-weight: 500; font-size: 0.85rem; transition: background 0.15s ease; }
.topbar-cta:hover { background: var(--black-hover); }
@media (max-width: 720px) {
  .console-topbar-inner { padding: 0.85rem 1.5rem; }
  .console-brand-logo { height: 74px; }
  .topbar-links { display: none; }
}