@charset "UTF-8";
/* Upwink — one family (Bricolage Grotesque), ink on white, one accent (wink yellow). */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque.woff2) format("woff2");
}

:root {
  --paper: #ffffff;
  --mist: #f5f5f9;
  --ink: #171830;
  --slate: #5a5c76;
  --line: #e2e2eb;
  --wink: #ffd338;
  --wink-deep: #f5c400;
  --wink-soft: #fff6cc;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --radius: 12px;
  --radius-small: 8px;
  --font: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(23, 24, 48, .06), 0 12px 32px rgba(23, 24, 48, .08);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl, dd, ol, ul, figure, pre { margin: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--wink); color: var(--ink); }

.page-width { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: var(--radius-small); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 22px; font-weight: 700; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand:hover .brand-mark path { d: path("M17.5 16.5c1.2 0 5.8 0 7 0"); }
.brand-mark path { transition: d .15s ease; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; background: var(--wink); color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(23, 24, 48, .14); transition: background .15s ease, transform .1s ease; }
.button:hover { background: var(--wink-deep); }
.button:active { transform: scale(.98); }
.button.small { min-height: 38px; padding: 7px 16px; font-size: 14px; }
.button.secondary { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.button.secondary:hover { background: var(--mist); }
.button.danger { background: var(--danger); color: #fff; box-shadow: none; }
.button.danger:hover { background: #912018; }
.button.full-width, .full-width { width: 100%; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.text-button { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 550; text-align: left; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .15s ease; }
.text-button:hover { text-decoration-color: var(--wink-deep); }
.delete-link { color: var(--danger); }

.tag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; background: var(--mist); color: var(--slate); font-size: 12px; font-weight: 550; line-height: 1.5; white-space: nowrap; }
.tag-new, .tag-green { background: var(--wink-soft); color: var(--ink); }
.pin { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50% 50% 50% 4px; background: var(--wink); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: 0; box-shadow: 0 0 0 3px var(--paper), 0 4px 12px rgba(23, 24, 48, .18); }

/* Landing: header */
.site-header { display: flex; align-items: center; gap: 28px; height: 84px; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 15px; }
.site-nav a, .site-nav .text-button { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--slate); transition: color .15s ease; }
.site-nav a:hover, .site-nav .text-button:hover { color: var(--ink); }

/* Landing: hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: 56px; align-items: end; padding-block: clamp(48px, 9vw, 112px) clamp(64px, 9vw, 120px); }
.hero h1 { font-size: clamp(52px, 9.4vw, 124px); font-weight: 700; line-height: .94; letter-spacing: -.035em; }
.pinned { position: relative; white-space: nowrap; }
.hero .hero-pin { position: absolute; top: -.25em; right: -1.35em; width: 1.3em; height: 1.3em; font-size: .3em; }
.hero-description { max-width: 34em; margin-top: 28px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--slate); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine-print { max-width: 30em; margin-top: 16px; font-size: 14px; color: var(--slate); }
.hero-note { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; background: var(--paper); box-shadow: var(--shadow); }
.note-top { display: flex; align-items: center; gap: 10px; }
.note-kind { font-size: 14px; font-weight: 600; }
.note-top .tag { margin-left: auto; }
.note-message { margin-top: 14px; font-size: 19px; font-weight: 550; line-height: 1.35; letter-spacing: -.01em; }
.note-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.note-meta dt { color: var(--slate); }
.note-foot { margin-top: 16px; font-size: 14px; color: var(--slate); }

/* Landing: sections */
.section-heading { display: grid; gap: 10px; max-width: 40em; margin-bottom: 40px; }
.section-heading h2 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.035em; line-height: 1.05; }
.section-heading p { font-size: 18px; color: var(--slate); }
.install-section, .feature-section, .pricing-section { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }

.install-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 26px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
.steps li::before { content: counter(step); grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 650; }
.steps h3 { font-size: 18px; padding-top: 6px; }
.steps p { margin-top: 4px; color: var(--slate); }
.snippet-card { border-radius: 16px; background: var(--ink); color: #fff; overflow: hidden; }
.snippet-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 20px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-family: var(--mono); font-size: 13px; color: #b9bad0; }
.snippet-copy { padding: 6px 14px; border-radius: 999px; background: var(--wink); color: var(--ink); font-family: var(--font); font-size: 14px; font-weight: 600; transition: background .15s ease; }
.snippet-copy:hover { background: #fff; }
.snippet-copy:focus-visible, .snippet-card :focus-visible { outline-color: #fff; }
.snippet-code { padding: 24px 20px; font-family: var(--mono); font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.snippet-note { padding: 0 20px 20px; font-size: 14px; color: #b9bad0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.feature-grid article { padding-block: 22px 26px; border-top: 1px solid var(--line); }
.feature-grid h3 { font-size: 18px; }
.feature-grid p { margin-top: 8px; color: var(--slate); }
.demo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 20px 24px; border-radius: 16px; background: var(--mist); }
.demo-row p { font-size: 18px; font-weight: 550; }

.pricing-plans { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.price-card { display: flex; flex-direction: column; padding: 32px; }
.price-card + .price-card { border-left: 1px solid var(--line); background: var(--mist); }
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-top h3 { font-size: 20px; }
.price-amount { margin-top: 18px; font-size: 64px; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.price-amount span { font-size: 16px; font-weight: 450; letter-spacing: 0; color: var(--slate); }
.price-features { list-style: none; padding: 0; margin: 26px 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.price-features li { padding-left: 24px; position: relative; }
.price-features li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.billing-note { margin-top: 14px; font-size: 14px; color: var(--slate); }
.retention-note { margin-top: 20px; font-size: 15px; color: var(--slate); }

.last-word { padding-block: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }
.last-word h2 { font-size: clamp(36px, 6vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.last-word p { margin-top: 14px; font-size: 19px; color: var(--slate); }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px 96px; border-top: 1px solid var(--line); }
.site-footer .brand { font-size: 18px; }
.site-footer .brand-mark { width: 22px; height: 22px; }
.site-footer > div { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--slate); }

/* Workspace shell */
.workspace-shell { min-height: 100vh; background: var(--mist); }
.workspace-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding-inline: 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.workspace-header .brand { font-size: 19px; }
.workspace-header .brand-mark { width: 24px; height: 24px; }
.workspace-account { display: flex; align-items: center; gap: 16px; font-size: 14px; min-width: 0; }
.workspace-account > span { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--slate); }
.demo-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; padding: 10px 24px; background: var(--wink-soft); font-size: 14px; text-align: center; }
.workspace-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: calc(100vh - 65px); }
.sidebar { display: flex; flex-direction: column; gap: 2px; padding: 20px 12px; background: var(--paper); border-right: 1px solid var(--line); }
.sidebar-tab { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius-small); font-size: 15px; font-weight: 500; color: var(--slate); text-align: left; transition: background .12s ease, color .12s ease; }
.sidebar-tab svg { width: 18px; height: 18px; flex: none; }
.sidebar-tab:hover { background: var(--mist); color: var(--ink); }
.sidebar-tab.active { background: var(--mist); color: var(--ink); font-weight: 650; box-shadow: inset 3px 0 var(--wink); }
.sidebar-count { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--wink); color: var(--ink); font-size: 12px; font-weight: 650; text-align: center; }
.sidebar-note { margin-top: auto; padding: 16px 12px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--slate); }
.sidebar-note strong { display: block; color: var(--ink); font-weight: 600; }
.dashboard-main { width: 100%; max-width: 1240px; min-width: 0; margin-inline: auto; padding: 32px 32px 112px; }
.dashboard-main:focus { outline: none; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dashboard-heading h1 { font-size: 32px; letter-spacing: -.035em; }
.dashboard-heading p { margin-top: 4px; color: var(--slate); }
.dashboard-heading .button { min-height: 38px; padding: 7px 16px; font-size: 14px; }

.notice { margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.55; color: var(--slate); }
.notice strong { color: var(--ink); font-weight: 600; }
.notice.warning { background: var(--wink-soft); box-shadow: none; color: var(--ink); }
.notice.error { background: var(--danger-soft); box-shadow: none; color: var(--danger); }
.loading-state { padding: 40px 0; color: var(--slate); font-size: 15px; }
.spinner { display: inline-block; width: 14px; height: 14px; margin-right: 9px; vertical-align: -2px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
.form-error { margin-top: 12px; font-size: 14px; color: var(--danger); overflow-wrap: anywhere; }
.form-error:empty { display: none; }
.error-pane { padding: 24px; font-size: 14px; color: var(--danger); }
.error-pane .button { margin-top: 14px; }

/* Inbox */
.dashboard-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.filter-group { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.filter-button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--slate); white-space: nowrap; transition: background .12s ease, color .12s ease; }
.filter-button:hover { color: var(--ink); }
.filter-button.active { background: var(--ink); color: #fff; }
.filter-count { font-size: 12px; font-weight: 600; opacity: .7; }
.export-group { display: flex; align-items: center; gap: 16px; }
.dashboard-toolbar select, .field select, .detail-top select { min-height: 38px; max-width: 100%; padding: 6px 32px 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--paper); font-size: 14px; }
.inbox-layout { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(340px, 1.3fr); min-height: 480px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); overflow: hidden; }
.feedback-list { border-right: 1px solid var(--line); }
.feedback-row { display: block; width: 100%; padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; transition: background .12s ease; }
.feedback-row:hover { background: var(--mist); }
.feedback-row:focus-visible { outline-offset: -3px; }
.feedback-row.selected { background: var(--mist); box-shadow: inset 3px 0 var(--wink); }
.feedback-row-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.feedback-row-category { font-size: 13px; color: var(--slate); }
.feedback-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 550; }
.feedback-row.is-open strong { font-weight: 650; }
.feedback-row-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 13px; color: var(--slate); }
.list-hint { padding: 12px 18px; font-size: 13px; color: var(--slate); }
kbd { padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); font-family: var(--mono); font-size: 12px; }
.feedback-detail { min-width: 0; padding: 24px 28px; }
.detail-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.detail-date { font-size: 14px; color: var(--slate); white-space: nowrap; }
.detail-controls { display: flex; align-items: center; gap: 8px; }
.detail-message { margin-bottom: 20px; font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; white-space: pre-wrap; overflow-wrap: anywhere; text-wrap: pretty; }
.screenshot-frame { position: relative; margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); overflow: hidden; }
.screenshot-frame > img { display: block; width: 100%; height: auto; }
.screenshot-pin { position: absolute; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50% 50% 50% 4px; background: var(--wink); color: var(--ink); font-size: 13px; font-weight: 700; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(23, 24, 48, .25); }
.sample-shot { padding: 20px; }
.sample-shot-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--slate); }
.sample-shot-top strong { font-size: 15px; color: var(--ink); }
.sample-shot-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; padding-top: 18px; }
.sample-art { aspect-ratio: 4 / 3; border-radius: var(--radius-small); background: var(--line); }
.sample-shot h3 { font-size: 22px; }
.sample-shot p { margin-top: 8px; font-size: 13px; color: var(--slate); }
.sample-shop { display: inline-block; white-space: nowrap; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; }
.screenshot-caption { margin: -12px 0 20px; font-size: 13px; color: var(--slate); }
.detail-metadata { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 16px; padding: 16px 0; border-block: 1px solid var(--line); font-size: 14px; }
.detail-metadata dt { color: var(--slate); }
.detail-metadata dd { overflow-wrap: anywhere; }
.detail-metadata a { text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.detail-metadata a:hover { text-decoration-color: var(--wink-deep); }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.detail-placeholder { display: grid; place-items: center; min-height: 300px; padding: 30px; color: var(--slate); font-size: 15px; text-align: center; }
.mobile-back { display: none; }
.empty-state { max-width: 520px; margin: auto; padding: 48px 20px; text-align: center; }
.empty-state h2 { font-size: 24px; margin-bottom: 8px; }
.empty-state p { margin-bottom: 20px; color: var(--slate); }
.empty-state .code-box { text-align: left; }
.setup-steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; text-align: left; }
.setup-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-small); background: var(--mist); font-size: 15px; }
.setup-steps li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); }
.setup-steps li.done { color: var(--slate); }
.setup-steps li.done::before { background: var(--wink); box-shadow: none; }
.setup-steps li.current { font-weight: 600; box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper); }

/* Cards: websites, MCP, account */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.dashboard-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.dashboard-card h2 { margin-bottom: 4px; font-size: 18px; }
.dashboard-card > p { font-size: 15px; color: var(--slate); }
.dashboard-card .notice { margin: 16px 0 0; background: var(--mist); box-shadow: none; }
.dashboard-card .button { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.card-label { margin: 20px 0 6px; font-size: 14px; font-weight: 600; }
.project-origin { overflow-wrap: anywhere; }
.code-box { margin: 10px 0; padding: 14px 16px; border-radius: var(--radius-small); background: var(--mist); font-family: var(--mono); font-size: 13px; line-height: 1.65; white-space: pre-wrap; word-break: break-all; overflow-wrap: anywhere; }
textarea.code-box { width: 100%; border: 1px solid var(--line); }
.card-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 13px; color: var(--slate); }
.project-appearance { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.project-appearance > strong { font-size: 15px; font-weight: 600; }
.project-appearance > p { margin: 4px 0 12px; font-size: 14px; color: var(--slate); }
.widget-mini-preview { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 14px; padding: 18px 14px 12px; border-radius: var(--radius-small); background: var(--mist); }
.widget-mini-preview.right { align-items: flex-end; }
.widget-mini-preview.left { align-items: flex-start; }
.preview-feedback { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.preview-branding { font-size: 12px; color: var(--slate); }
.mcp-layout { display: grid; gap: 16px; max-width: 780px; }
.token-list { margin-top: 16px; border-top: 1px solid var(--line); }
.token-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.token-row p { font-size: 15px; font-weight: 550; }
.token-row small { font-size: 13px; color: var(--slate); }
.token-empty { padding: 18px 0; font-size: 14px; color: var(--slate); }
.token-reveal { margin-top: 16px; padding: 16px; border-radius: var(--radius); background: var(--wink-soft); }
.token-reveal p { font-size: 14px; }
.token-reveal .code-box { background: var(--paper); }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; }
.usage-number { margin: 14px 0 10px; font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.usage-number > span { font-size: 15px; font-weight: 450; letter-spacing: 0; color: var(--slate); }
.usage-bar { height: 8px; margin-bottom: 12px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.usage-bar > span { display: block; height: 100%; border-radius: 999px; background: var(--wink); box-shadow: inset 0 0 0 1px rgba(23, 24, 48, .14); }
.plan-comparison { display: grid; gap: 12px; margin: 20px 0; }
.plan-comparison > div { padding: 16px; border-radius: var(--radius); background: var(--mist); }
.plan-comparison .card-label { margin: 0; }
.plan-comparison h3 { margin: 4px 0 8px; font-size: 28px; letter-spacing: -.04em; }
.plan-comparison h3 small { font-size: 14px; font-weight: 450; letter-spacing: 0; color: var(--slate); }
.plan-comparison p { font-size: 14px; color: var(--slate); }
.upgrade-footnote { margin: 12px 0 20px; font-size: 14px; color: var(--slate); }

/* Dialog, forms, toast */
dialog { width: min(480px, calc(100% - 32px)); max-height: 90dvh; padding: 0; border: 0; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(23, 24, 48, .28); }
dialog::backdrop { background: rgba(23, 24, 48, .45); }
dialog[open] { animation: rise .18s ease-out; }
.modal-inner { position: relative; padding: 32px; }
.modal-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--slate); }
.modal-close:hover { background: var(--mist); color: var(--ink); }
.modal-brand { margin-bottom: 18px; }
.modal-brand .brand-mark { width: 36px; height: 36px; }
.modal-inner h2 { padding-right: 32px; font-size: 28px; letter-spacing: -.035em; margin-bottom: 8px; }
.modal-description { margin-bottom: 20px; color: var(--slate); }
.field { display: block; margin-block: 16px; }
.field > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--paper); font-size: 16px; transition: border-color .12s ease; }
.field input:hover, .field textarea:hover { border-color: #c4c4d4; }
.field input:focus-visible, .field textarea:focus-visible, select:focus-visible { outline-offset: 0; border-color: var(--ink); }
.field input[type="color"] { width: 78px; height: 44px; padding: 4px; cursor: pointer; }
.field > small { display: block; margin-top: 6px; font-size: 13px; color: var(--slate); }
.checkbox-field { display: flex; align-items: center; gap: 10px; margin: 20px 0; font-size: 15px; }
.checkbox-field input { width: 18px; height: 18px; accent-color: var(--ink); }
.modal-subtext { margin-top: 12px; font-size: 13px; color: var(--slate); }
.modal-footer { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--slate); text-align: center; }
.privacy-copy p { margin-block: 14px; font-size: 15px; color: var(--slate); }
.privacy-copy strong { color: var(--ink); font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; text-align: center; transform: translateX(-50%); box-shadow: var(--shadow); animation: rise .18s ease-out; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@keyframes drop { 0% { opacity: 0; transform: translateY(-28px) scale(.6); } 70% { opacity: 1; transform: translateY(3px) scale(1.06); } 100% { opacity: 1; transform: none; } }
/* The one orchestrated moment: a pin lands on the headline, then its note arrives. */
.hero-pin { animation: drop .5s .35s cubic-bezier(.3, 1.3, .5, 1) both; }
.hero-note { animation: rise .45s .8s ease-out both; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .hero-note { max-width: 440px; }
  .install-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .workspace-layout { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; gap: 4px; padding: 8px 16px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .sidebar-tab { padding: 8px 12px; white-space: nowrap; }
  .sidebar-tab.active { box-shadow: inset 0 -3px var(--wink); }
  .sidebar-count { margin-left: 2px; }
  .sidebar-note { display: none; }
  .dashboard-main { padding: 24px 20px 112px; }
  .inbox-layout { grid-template-columns: minmax(220px, .85fr) minmax(280px, 1.3fr); }
  .list-hint { display: none; }
}
@media (max-width: 640px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { height: 68px; gap: 14px; }
  .site-header .header-cta, .site-nav a { display: none; }
  .brand { font-size: 20px; }
  .hero .hero-pin { right: -1.1em; }
  .hero-actions .button { flex: 1 1 auto; }
  .section-heading { margin-bottom: 28px; }
  .section-heading p { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-plans { grid-template-columns: 1fr; }
  .price-card { padding: 24px; }
  .price-card + .price-card { border-left: 0; border-top: 1px solid var(--line); }
  .price-amount { font-size: 52px; }
  .site-footer > div { flex-wrap: wrap; gap: 10px 20px; }
  .workspace-header { height: 56px; padding-inline: 16px; }
  .workspace-account > span { max-width: 96px; }
  .dashboard-main { padding: 20px 16px 112px; }
  .dashboard-heading h1 { font-size: 26px; }
  .filter-group { width: 100%; overflow-x: auto; }
  .filter-button { flex: 1; justify-content: center; padding-inline: 10px; }
  .export-group { width: 100%; justify-content: space-between; }
  .inbox-layout { grid-template-columns: 1fr; min-height: 280px; }
  .feedback-list { border-right: 0; }
  .inbox-layout.has-selection .feedback-list, .inbox-layout:not(.has-selection) .feedback-detail { display: none; }
  .mobile-back { display: inline-flex; margin-bottom: 16px; }
  .feedback-detail { padding: 20px 18px; }
  .detail-message { font-size: 21px; }
  .sample-shot-body { grid-template-columns: 1fr; }
  .sample-art { aspect-ratio: 16 / 7; }
  .detail-metadata { grid-template-columns: 88px minmax(0, 1fr); }
  .card-grid, .account-grid { grid-template-columns: 1fr; }
  .dashboard-card { padding: 20px; }
  .modal-inner { padding: 26px 22px; }
  .token-row { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* MCP setup */
.client-picker { display: inline-flex; flex-wrap: wrap; max-width: 100%; margin: 6px 0 4px; border-radius: var(--radius-small); }
.client-picker .filter-button { padding: 5px 12px; }
.setup-hint { margin: 10px 0 0; color: var(--slate); font-size: 14px; }
#human-check:not(:empty) { margin: 4px 0 12px; }

/* OAuth consent, connected apps, ratings, website stats */
.consent-list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; }
.consent-list li, .consent-list label { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.consent-list li { padding: 10px 12px; border-radius: var(--radius-small); background: var(--mist); }
.consent-list input { margin-top: 4px; accent-color: var(--ink); }
.consent-check { font-weight: 700; }
.setup-list { margin: 14px 0 18px; padding-left: 18px; display: grid; gap: 6px; color: var(--slate); font-size: 14px; }
.setup-list code { font-family: var(--mono); font-size: 12.5px; word-break: break-all; }
.row-stars { color: var(--ink); letter-spacing: 1px; }
.project-stats { margin: 4px 0 12px; color: var(--slate); font-size: 14px; }
.usage-number.small { font-size: 22px; }
.modal-subtext + .button-row { margin-top: 16px; }
