:root {
  --bg: #f7f8ff;
  --text: #18181f;
  --muted: #687083;
  --line: #ececf1;
  --soft: #f7f7fa;
  --brand: #6266f1;
  --brand-dark: #5055e6;
  --green: #18b981;
  --red: #dc2626;
  --amber: #f6a51a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
.is-hidden, [hidden] { display: none !important; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 10%, rgba(98,102,241,.16), transparent 30%),
    radial-gradient(circle at 84% 4%, rgba(24,185,129,.12), transparent 26%),
    linear-gradient(180deg, #fbfbff 0%, #f6f7ff 42%, #ffffff 100%);
}
a { color: inherit; text-decoration: none; }
button, a, input { transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, transform .12s ease, opacity .18s ease; }
button { cursor: pointer; }
button:active, .primary:active, .secondary:active, .tab:active, .chip:active { transform: translateY(1px) scale(.99); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(98,102,241,.24); outline-offset: 2px; }
.topbar { position: sticky; top: 0; z-index: 10; height: 72px; display: flex; align-items: center; gap: 28px; padding: 0 40px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 750; white-space: nowrap; }
.mark { width: 28px; height: 28px; border-radius: 8px; background: #11131a; color: white; display: grid; place-items: center; font-size: 16px; }
.search { height: 44px; width: min(320px, 28vw); display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 9px; background: #f0f0f4; color: #7b8191; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: 16px; color: #54596a; white-space: nowrap; }
.primary { background: var(--brand); color: white; border: 0; border-radius: 22px; padding: 12px 22px; font-weight: 700; box-shadow: 0 8px 18px rgba(98,102,241,.22); display: inline-flex; align-items: center; justify-content: center; min-height: 46px; }
.primary:hover { background: var(--brand-dark); box-shadow: 0 12px 24px rgba(98,102,241,.26); }
.secondary { border: 1px solid #dedfe8; border-radius: 10px; padding: 13px 22px; font-weight: 700; background: white; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; }
.secondary:hover { border-color: #c7c9f6; color: var(--brand-dark); box-shadow: 0 8px 18px rgba(30,35,70,.08); }
.primary:disabled, .secondary:disabled { cursor: wait; opacity: .72; transform: none; }
button[data-state="busy"]::before { content: ""; width: 14px; height: 14px; margin-right: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 999px; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.compact { padding: 8px 10px; font-size: 13px; }
.hero { max-width: 1120px; margin: 92px auto 0; padding: 0 32px; text-align: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid #e3e4ff; border-radius: 999px; background: rgba(255,255,255,.72); color: var(--brand-dark); font-weight: 750; margin-bottom: 24px; }
.hero h1 { margin: 0; font-size: clamp(44px, 6vw, 70px); line-height: 1.05; letter-spacing: 0; font-weight: 820; text-wrap: balance; }
.hero p { margin: 28px auto 0; max-width: 720px; font-size: 23px; color: #565d70; line-height: 1.55; }
.hero p span { color: var(--brand); }
.actions { margin-top: 32px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.stats { max-width: 880px; margin: 100px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; text-align: center; }
.stat strong { display: block; font-size: 42px; line-height: 1.1; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 16px; }
.section { max-width: 1200px; margin: 90px auto; padding: 0 40px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { border: 1px solid #dedfe8; border-radius: 12px; background: white; padding: 28px; min-height: 280px; }
.panel h2 { margin: 0 0 10px; font-size: 26px; }
.panel p { color: var(--muted); line-height: 1.7; margin: 0 0 22px; }
.model-list { display: grid; gap: 12px; }
.model { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fbfbfd; }
.model b { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.pill { padding: 6px 10px; border-radius: 999px; background: #eff0ff; color: var(--brand-dark); font-size: 13px; font-weight: 700; white-space: nowrap; }
.steps { display: grid; gap: 13px; margin-top: 18px; }
.steps div { padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfbff; }
.steps b { display: block; }
.steps span { display: block; margin-top: 5px; color: var(--muted); line-height: 1.55; }
.logo-cloud { min-height: 300px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; background: linear-gradient(135deg, #f3f4ff, #ffffff); }
.provider-tile { border: 1px solid #e3e4ee; border-radius: 14px; padding: 18px; background: rgba(255,255,255,.82); box-shadow: 0 14px 34px rgba(20,20,40,.08); display: flex; align-items: center; gap: 14px; }
.provider-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-weight: 850; color: white; background: #11131a; }
.provider-icon.gemini { background: linear-gradient(135deg, #6d5dfc, #8ed5ff); }
.provider-icon.ds { background: linear-gradient(135deg, #185cff, #40b7ff); }
.provider-icon.kimi { background: linear-gradient(135deg, #111827, #7c3aed); }
.provider-icon.gpt { background: linear-gradient(135deg, #11131a, #27c08a); }
.provider-icon.claude { background: linear-gradient(135deg, #6b4f3f, #d2996f); }
.provider-copy b { display: block; font-size: 18px; }
.provider-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.code { background: #101218; color: #e8e8ef; border-radius: 12px; padding: 22px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; line-height: 1.75; text-align: left; overflow: auto; }
.landing-page { overflow: hidden; }
.landing-nav .nav { gap: 24px; }
.landing-hero { max-width: 1180px; min-height: calc(100vh - 72px); margin: 0 auto; padding: 92px 40px 74px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); gap: 64px; align-items: center; }
.hero-copy h1 { margin: 0; max-width: 620px; font-size: clamp(52px, 6vw, 76px); line-height: 1.02; letter-spacing: 0; font-weight: 850; }
.hero-copy p { margin: 26px 0 0; max-width: 610px; color: #525b6f; font-size: 22px; line-height: 1.55; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.product-panel { border: 1px solid #e4e6ef; border-radius: 24px; padding: 16px; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(248,250,252,.72)); box-shadow: 0 32px 90px rgba(15,23,42,.14); }
.panel-window { border: 1px solid #e2e5ee; border-radius: 18px; background: white; overflow: hidden; }
.window-bar { height: 54px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid #eef0f5; background: #fbfcff; }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d5d8e2; }
.window-bar span:first-child { background: #ef7a75; }
.window-bar span:nth-child(2) { background: #f4c45d; }
.window-bar span:nth-child(3) { background: #62c98b; }
.window-bar strong { margin-left: auto; color: #596174; font-size: 14px; }
.agent-status { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px; }
.agent-status div, .timeline-row, .session-note { border: 1px solid #edf0f5; border-radius: 12px; background: #fbfcff; }
.agent-status div { padding: 16px; }
.agent-status span, .timeline-row span { display: block; color: #6b7280; font-size: 13px; }
.agent-status strong { display: block; margin-top: 6px; font-size: 16px; }
.run-timeline { display: grid; gap: 10px; padding: 0 20px 20px; }
.timeline-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 15px; }
.timeline-row.active { border-color: #bfe8d3; background: #f0fdf7; }
.timeline-row b { font-size: 14px; color: #111827; }
.session-note { margin: 0 20px 20px; padding: 16px; color: #4b5563; line-height: 1.55; background: #f8fafc; }
.capability-section, .difference-section, .final-cta { max-width: 1180px; margin: 0 auto; padding: 92px 40px; }
.section-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 48px); line-height: 1.12; letter-spacing: 0; }
.section-heading p { margin: 18px auto 0; color: #5b6476; font-size: 19px; line-height: 1.65; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.capability-card { min-height: 230px; padding: 26px; border: 1px solid #e3e6ee; border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: 0 18px 48px rgba(15,23,42,.08); }
.capability-card h3 { margin: 0; font-size: 22px; }
.capability-card p { margin: 14px 0 0; color: #5b6476; font-size: 17px; line-height: 1.65; }
.difference-section { text-align: center; }
.flow-diagram { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; padding: 26px; border: 1px solid #e3e6ee; border-radius: 18px; background: white; box-shadow: 0 18px 48px rgba(15,23,42,.08); }
.flow-diagram span { padding: 12px 16px; border-radius: 999px; background: #f4f6f8; color: #111827; font-weight: 750; }
.flow-diagram b { color: #8991a3; }
.flow-text { margin: 18px 0 0; color: #5b6476; font-size: 17px; }
.final-cta { margin-bottom: 80px; text-align: center; border: 1px solid #e3e6ee; border-radius: 24px; background: linear-gradient(135deg, #ffffff, #f8fafc); box-shadow: 0 26px 70px rgba(15,23,42,.1); }
.final-cta h2 { margin: 0 0 26px; font-size: clamp(34px, 4vw, 50px); line-height: 1.1; letter-spacing: 0; }
.admin-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { border-right: 1px solid var(--line); padding: 26px 22px; position: sticky; top: 0; height: 100vh; }
.side-nav { margin-top: 34px; display: grid; gap: 8px; }
.side-nav a { padding: 12px 14px; border-radius: 8px; color: #555d70; }
.side-nav a.active, .side-nav a:hover { background: #f0f0ff; color: var(--brand-dark); font-weight: 700; }
.admin-main { padding: 34px 42px; background: #fafafd; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-head h1 { margin: 0; font-size: 34px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 28px 0; }
.card { border: 1px solid var(--line); border-radius: 10px; background: white; padding: 18px; }
.card span { color: var(--muted); font-size: 14px; }
.card strong { display: block; margin-top: 8px; font-size: 30px; }
.chart { height: 220px; display: flex; align-items: end; gap: 12px; padding: 20px 8px 0; border-top: 1px solid var(--line); }
.bar { flex: 1; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--brand), #9aa0ff); min-width: 24px; }
.table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.table th, .table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.table th { color: var(--muted); font-weight: 650; }
.status { color: var(--green); font-weight: 750; }
.warn { color: var(--amber); font-weight: 750; }
.auth-card { max-width: 520px; margin: 90px auto; border: 1px solid var(--line); border-radius: 16px; padding: 32px; background: rgba(255,255,255,.9); box-shadow: 0 20px 60px rgba(40,40,70,.08); }
.auth-card h1 { margin: 0 0 10px; font-size: 34px; }
.auth-card p { color: var(--muted); line-height: 1.7; }
.auth-shell { min-height: calc(100vh - 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 520px); gap: 72px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 56px 40px; }
.auth-copy h1 { margin: 0; font-size: 54px; line-height: 1.06; letter-spacing: 0; }
.auth-copy p { max-width: 520px; margin: 22px 0 0; color: #565d70; font-size: 22px; line-height: 1.55; }
.auth-form-card { width: 100%; margin: 0; border-radius: 18px; padding: 34px; box-shadow: 0 24px 70px rgba(33,38,70,.13); }
.auth-form-card h2 { margin: 0 0 8px; font-size: 28px; }
.auth-switch { margin: 22px 0 0; text-align: center; color: var(--muted); }
.auth-switch a, .text-link { color: var(--brand-dark); font-weight: 800; }
.text-link { margin-top: 14px; padding: 0; border: 0; background: transparent; min-height: 0; }
.text-link:hover { color: var(--brand); text-decoration: underline; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; margin: 22px 0 4px; border-radius: 12px; background: #f1f2f8; }
.tab { height: 40px; border: 0; border-radius: 8px; background: transparent; color: #5e6576; font-weight: 800; }
.tab.active { background: white; color: var(--brand-dark); box-shadow: 0 6px 16px rgba(30,35,70,.08); }
.login-methods { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.chip { min-height: 36px; padding: 0 14px; border: 1px solid #dedfe8; border-radius: 999px; background: white; color: #5e6576; font-weight: 750; }
.chip.active { border-color: #c7c9f6; background: #eff0ff; color: var(--brand-dark); }
.field { display: grid; gap: 8px; margin-top: 18px; }
.field label { font-weight: 700; }
.field input { height: 46px; border: 1px solid #dfe1eb; border-radius: 10px; padding: 0 14px; font-size: 16px; }
.field input:hover { border-color: #c8cad7; }
.field input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(98,102,241,.12); outline: none; }
.field input.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
.form-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.message { margin-top: 16px; min-height: 22px; color: var(--brand-dark); font-weight: 700; }
.message:not(:empty) { padding: 12px 14px; border-radius: 10px; background: #eff0ff; border: 1px solid #e1e3ff; }
.message.success { color: #067647; background: #ecfdf3; border-color: #b7efcf; }
.message.error { color: #b42318; background: #fff1f0; border-color: #fecaca; }
.message.warning { color: #9a5b00; background: #fff8e6; border-color: #fde68a; }
.message.info { color: var(--brand-dark); background: #eff0ff; border-color: #dfe2ff; }
.key-output { margin-top: 18px; min-height: 54px; padding: 16px; border: 1px solid #dfe1eb; border-radius: 12px; background: #101218; color: #e8e8ef; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.mini-guide { margin-top: 22px; padding: 16px; border: 1px solid #e5e7f0; border-radius: 12px; background: #fbfbff; }
.mini-guide b { display: block; margin-bottom: 6px; }
.mini-guide span { color: var(--muted); line-height: 1.6; }
.console-body { background: linear-gradient(135deg, #f8faff 0%, #ffffff 46%, #eefaf5 100%); }
.console-topbar button { min-height: 36px; }
.user-console { max-width: 1240px; margin: 0 auto; padding: 34px 32px 72px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; }
.user-sidebar { position: sticky; top: 96px; height: fit-content; display: grid; gap: 8px; padding: 12px; border: 1px solid #e4e7ef; border-radius: 18px; background: rgba(255,255,255,.78); box-shadow: 0 20px 60px rgba(15,23,42,.08); }
.user-sidebar a { padding: 12px 14px; border-radius: 12px; color: #596174; font-weight: 750; }
.user-sidebar a:hover, .user-sidebar a.active { background: #eff0ff; color: var(--brand-dark); }
.user-content { display: grid; gap: 20px; min-width: 0; }
.console-card { border: 1px solid #e4e7ef; border-radius: 20px; background: rgba(255,255,255,.9); padding: 26px; box-shadow: 0 22px 64px rgba(15,23,42,.09); }
.welcome-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.welcome-card h1, .console-card h2 { margin: 0; letter-spacing: 0; }
.welcome-card h1 { margin-top: 10px; font-size: 42px; line-height: 1.1; }
.welcome-card p, .console-card p { color: #5b6476; line-height: 1.65; }
.account-summary { min-width: 240px; display: grid; gap: 8px; padding: 18px; border: 1px solid #edf0f5; border-radius: 16px; background: #fbfcff; }
.account-summary span:first-child, .copy-row span, .metric-grid span { color: #6b7280; font-size: 13px; }
.account-summary strong { overflow-wrap: anywhere; }
.status-badge { width: fit-content; display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 850; }
.status-badge.pending { color: #9a5b00; background: #fff8e6; border: 1px solid #fde68a; }
.status-badge.active { color: #067647; background: #ecfdf3; border: 1px solid #b7efcf; }
.status-badge.disabled { color: #b42318; background: #fff1f0; border: 1px solid #fecaca; }
.console-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 18px; }
.copy-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px; border: 1px solid #edf0f5; border-radius: 14px; background: #fbfcff; }
.copy-row code, .key-panel code { display: block; margin-top: 6px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.model-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.model-chips span { padding: 8px 10px; border-radius: 999px; background: #f4f6f8; color: #111827; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; font-weight: 750; }
.quick-connect-card { display: grid; gap: 18px; }
.model-select { display: grid; gap: 8px; min-width: 210px; color: #6b7280; font-size: 13px; font-weight: 750; }
.model-select select { height: 42px; border: 1px solid #dfe1eb; border-radius: 12px; padding: 0 12px; background: white; font-weight: 750; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tool-card { text-align: left; display: grid; gap: 8px; min-height: 150px; padding: 18px; border: 1px solid #e3e6ee; border-radius: 18px; background: #fbfcff; color: #111827; box-shadow: none; cursor: pointer; }
.tool-card:hover { border-color: #c7c9f6; box-shadow: 0 14px 34px rgba(15,23,42,.08); transform: translateY(-1px); }
.tool-card.active { border-color: #9da2ff; background: #f3f4ff; box-shadow: 0 18px 42px rgba(98,102,241,.15); }
.tool-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #111827; color: white; font-weight: 850; }
.tool-card strong { font-size: 17px; }
.tool-card small { color: #5b6476; line-height: 1.45; }
.tool-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.tool-meta b, .tool-meta em { border-radius: 999px; padding: 5px 8px; font-size: 12px; font-style: normal; }
.tool-meta b { background: #eef2ff; color: var(--brand-dark); }
.tool-meta em { background: #ecfdf3; color: #067647; }
.tool-detail { border: 1px solid #e3e6ee; border-radius: 18px; background: #ffffff; padding: 22px; }
.tool-detail-head h3 { margin: 12px 0 8px; font-size: 28px; letter-spacing: 0; }
.tool-detail-head p, .helper-note { color: #5b6476; line-height: 1.65; }
.config-block { margin-top: 16px; border: 1px solid #e6e9f0; border-radius: 16px; background: #f8fafc; overflow: hidden; }
.config-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #e6e9f0; background: #ffffff; }
.config-block pre { margin: 0; padding: 16px; overflow-x: auto; white-space: pre; }
.config-block code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; line-height: 1.6; color: #111827; }
.key-panel { min-height: 120px; padding: 18px; border-radius: 16px; border: 1px solid #dde7f3; background: linear-gradient(135deg, #f8fafc, #ffffff); }
.key-panel.locked { display: grid; place-items: center; text-align: center; border-style: dashed; color: #5b6476; }
.key-panel code { font-size: 18px; color: #111827; }
.quick-steps { margin: 16px 0 0; padding-left: 22px; color: #4b5563; line-height: 1.9; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.metric-grid div { padding: 14px; border-radius: 14px; background: #fbfcff; border: 1px solid #edf0f5; }
.metric-grid strong { display: block; margin-top: 6px; font-size: 24px; }
.security-form { max-width: 560px; display: grid; gap: 14px; }
.usage-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.usage-table th, .usage-table td { padding: 14px 10px; border-bottom: 1px solid #edf0f5; text-align: left; }
.usage-table th { color: #6b7280; font-size: 13px; }
.empty-state { color: #6b7280; text-align: center !important; padding: 28px !important; }
.help-card { margin-bottom: 24px; }
.toast { position: fixed; right: 28px; bottom: 28px; z-index: 30; max-width: 320px; padding: 14px 16px; border-radius: 14px; background: #111827; color: white; box-shadow: 0 18px 44px rgba(15,23,42,.22); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.skeleton-text { color: transparent; border-radius: 8px; background: linear-gradient(90deg, #eef1f6, #f8fafc, #eef1f6); background-size: 220% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
@media (max-width: 860px) {
  .topbar { padding: 0 18px; gap: 14px; }
  .search, .nav a:not(.primary) { display: none; }
  .hero { margin-top: 60px; }
  .stats, .grid, .cards, .admin-layout, .landing-hero, .capability-grid { grid-template-columns: 1fr; }
  .landing-hero { min-height: auto; padding: 56px 20px; gap: 36px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy p { font-size: 19px; }
  .product-panel { border-radius: 18px; padding: 10px; }
  .agent-status { grid-template-columns: 1fr; }
  .capability-section, .difference-section, .final-cta { padding: 64px 20px; }
  .flow-diagram { align-items: stretch; flex-direction: column; }
  .flow-diagram b { transform: rotate(90deg); }
  .auth-shell { grid-template-columns: 1fr; gap: 30px; padding: 34px 20px; }
  .auth-copy h1 { font-size: 38px; }
  .auth-copy p { font-size: 18px; }
  .sidebar { height: auto; position: static; }
  .user-console { grid-template-columns: 1fr; padding: 22px 16px 48px; }
  .user-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .welcome-card, .copy-row { align-items: stretch; flex-direction: column; }
  .console-grid, .metric-grid, .tool-grid { grid-template-columns: 1fr; }
  .welcome-card h1 { font-size: 34px; }
  .console-card { padding: 20px; }
  .tool-detail { padding: 16px; }
  .card-head { flex-direction: column; }
  .usage-table { font-size: 14px; }
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}
