:root {
  --page: #f5f7f9;
  --paper: #fbfcfd;
  --ink: #283346;
  --muted: #718093;
  --line: #dfe7ef;
  --line-soft: #edf2f6;
  --teal: #44c5bd;
  --teal-dark: #1d8d91;
  --blue: #5d8fc8;
  --rose: #f1c7ba;
  --cream: #fff8ea;
  --danger: #b54747;
  --success: #167c62;
  --shadow: 0 14px 34px rgba(55, 69, 86, 0.12);
  --soft-shadow: 0 8px 22px rgba(73, 87, 103, 0.09);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(68, 197, 189, 0.12), transparent 32rem),
    radial-gradient(circle at top right, rgba(241, 199, 186, 0.22), transparent 36rem),
    var(--page);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.site-shell {
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
}

.topbar {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  font-size: 13px;
  font-weight: 900;
  color: #263145;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(145deg, #64d6ce, #5b83c8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.nav-pill {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-pill a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 9px;
  color: #3e4b61;
  font-size: 12px;
  white-space: nowrap;
}

.nav-pill a:hover,
.nav-pill a[aria-current="page"] {
  color: #0f5f67;
  background: #eefcfb;
}

.top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.button,
.tiny-button,
.copy-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  color: #3d4b60;
  font-size: 12px;
  cursor: pointer;
}

.button {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

.button--primary,
.tiny-button--accent {
  border-color: rgba(68, 197, 189, 0.42);
  color: #0f6f74;
  background: #effdfb;
}

.button--dark {
  border-color: #283346;
  color: #fff;
  background: #283346;
}

.button--wide {
  width: 100%;
}

.hero {
  padding: 62px 0 44px;
  text-align: center;
}

.hero-art {
  width: 176px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 28%, rgba(255, 255, 255, 0.9) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 36%, rgba(255, 255, 255, 0.8) 0 4px, transparent 5px),
    linear-gradient(135deg, rgba(104, 214, 209, 0.92), rgba(104, 148, 202, 0.86) 48%, rgba(246, 194, 169, 0.9));
  box-shadow: 0 16px 40px rgba(79, 126, 159, 0.18);
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  inset: 10px 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transform: rotate(-14deg);
}

.hero-art::after {
  inset: 26px 4px 8px;
  border-color: rgba(41, 84, 116, 0.34);
  transform: rotate(9deg);
}

.hero-art--home {
  width: min(320px, 88vw);
  height: 130px;
  border-radius: 18px;
  background-image:
    linear-gradient(180deg, rgba(15, 30, 47, 0.18), rgba(15, 30, 47, 0.52)),
    url("/assets/skills/hero-workspace.png");
  background-size: cover;
  background-position: center 42%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 18px 44px rgba(55, 79, 102, 0.22);
}

.hero-art--home::before,
.hero-art--home::after {
  display: none;
}

.hero-kicker {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  color: #283346;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.02;
  font-weight: 500;
}

.hero-copy {
  max-width: 690px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.prompt-bar {
  width: min(680px, 100%);
  min-height: 48px;
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.prompt-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  color: #39475e;
  background: transparent;
  font-size: 13px;
}

.hero-actions,
.quick-actions,
.filter-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 20px;
}

.quick-actions {
  margin-top: 16px;
}

.quick-chip,
.filter-chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  color: #405067;
  font-size: 12px;
}

.filter-strip {
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 22px auto 20px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(251, 252, 253, 0.84);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
}

.filter-chip {
  cursor: pointer;
}

.filter-chip[aria-pressed="true"] {
  color: #0c6f75;
  border-color: rgba(68, 197, 189, 0.58);
  background: #effdfb;
}

.section {
  padding: 36px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 26px;
  line-height: 1.1;
}

.section-note {
  max-width: 440px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.card-grid,
.feature-grid,
.pricing-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.agent-card {
  min-height: 246px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(214, 224, 236, 0.88);
  border-radius: 14px;
  background: linear-gradient(135deg, #dbeef3, #bad4e6);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.agent-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.92;
  background:
    linear-gradient(105deg, transparent 8%, rgba(255, 255, 255, 0.52) 21%, transparent 38%),
    radial-gradient(circle at 28% 18%, rgba(255, 238, 193, 0.86), transparent 22%),
    radial-gradient(circle at 78% 22%, rgba(156, 218, 220, 0.8), transparent 29%),
    linear-gradient(155deg, rgba(78, 107, 130, 0.16), rgba(10, 30, 51, 0.56));
  z-index: 0;
}

.agent-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent 48%),
    linear-gradient(0deg, rgba(19, 35, 54, 0.78), transparent 58%);
  z-index: 0;
}

.agent-card--image {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(19, 35, 54, 0.18)),
    var(--skill-image),
    linear-gradient(135deg, #dbeef3, #bad4e6);
}

.agent-card--image::before {
  opacity: 0.24;
  background:
    linear-gradient(108deg, transparent 7%, rgba(255, 255, 255, 0.64) 24%, transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(255, 225, 172, 0.58), transparent 26%);
}

.agent-card--image::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(0deg, rgba(15, 30, 47, 0.82), rgba(15, 30, 47, 0.24) 62%, transparent);
}

.agent-card--e2e {
  --skill-image: url("/assets/skills/e2e-tester.png");
}

.agent-card--social-thumb {
  --skill-image: url("/assets/skills/social-poster.png");
}

.agent-card--linkedin {
  --skill-image: url("/assets/skills/linkedin-prospector.png");
}

.agent-card--a11y-thumb {
  --skill-image: url("/assets/skills/a11y-auditor.png");
}

.agent-card--data-thumb {
  --skill-image: url("/assets/skills/data-extractor.png");
}

.agent-card--x-thumb {
  --skill-image: url("/assets/skills/x-marketer.png");
}

.agent-card--pairing {
  --skill-image: url("/assets/skills/browser-pairing.png");
}

.agent-card--job-applier {
  --skill-image: url("/assets/skills/job-applier.png");
}

.agent-card--cold-email {
  --skill-image: url("/assets/skills/cold-email-sender.png");
}

.agent-card--bid-applier {
  --skill-image: url("/assets/skills/freelancer-upwork-bid-applier.png");
}

.agent-card:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease;
}

.agent-card--qa::before {
  background:
    linear-gradient(108deg, transparent 10%, rgba(255, 255, 255, 0.56) 26%, transparent 40%),
    radial-gradient(circle at 22% 20%, #ffe0b4, transparent 24%),
    radial-gradient(circle at 78% 38%, #89c7da, transparent 30%),
    linear-gradient(145deg, #b9d8e2, #506e87);
}

.agent-card--social::before {
  background:
    linear-gradient(108deg, transparent 8%, rgba(255, 255, 255, 0.48) 29%, transparent 45%),
    radial-gradient(circle at 78% 18%, #f7c8a5, transparent 24%),
    radial-gradient(circle at 28% 36%, #8ad4cd, transparent 29%),
    linear-gradient(145deg, #9ec2d3, #56657f);
}

.agent-card--data::before {
  background:
    linear-gradient(110deg, transparent 12%, rgba(255, 255, 255, 0.54) 30%, transparent 44%),
    radial-gradient(circle at 20% 24%, #d8f5ef, transparent 25%),
    radial-gradient(circle at 70% 20%, #c2d4fb, transparent 28%),
    linear-gradient(150deg, #b7d9df, #4f667d);
}

.agent-card--a11y::before {
  background:
    linear-gradient(112deg, transparent 8%, rgba(255, 255, 255, 0.52) 24%, transparent 42%),
    radial-gradient(circle at 24% 28%, #f7dec2, transparent 26%),
    radial-gradient(circle at 78% 32%, #c5f0e6, transparent 27%),
    linear-gradient(145deg, #c6dae5, #58627a);
}

.agent-card--prospecting::before {
  background:
    linear-gradient(108deg, transparent 8%, rgba(255, 255, 255, 0.54) 28%, transparent 44%),
    radial-gradient(circle at 78% 20%, #ffd7b4, transparent 25%),
    radial-gradient(circle at 28% 24%, #91cfe0, transparent 28%),
    linear-gradient(140deg, #a8ced9, #4d647b);
}

.agent-card--api::before {
  background:
    linear-gradient(106deg, transparent 9%, rgba(255, 255, 255, 0.46) 25%, transparent 42%),
    radial-gradient(circle at 32% 18%, #cbf5ff, transparent 24%),
    radial-gradient(circle at 76% 26%, #d9d2ff, transparent 29%),
    linear-gradient(145deg, #9ec2d6, #3d5875);
}

.agent-card-content {
  width: 100%;
  position: relative;
  z-index: 1;
  padding: 20px 20px 18px;
  color: #fff;
}

.agent-card-kicker {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  text-transform: uppercase;
}

.agent-card-title {
  font-size: 22px;
  line-height: 1.08;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.3);
}

.agent-card p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.48;
}

.workflow-gallery {
  display: grid;
  gap: 16px;
}

.workflow-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
  padding: 18px;
}

.workflow-group h3 {
  color: #263145;
  font-size: 19px;
  line-height: 1.12;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.workflow-card {
  min-height: 154px;
  border: 1px solid rgba(214, 224, 236, 0.9);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 250, 250, 0.78)),
    var(--paper);
  padding: 15px;
}

.workflow-card span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: rgba(233, 252, 250, 0.9);
  color: #00747c;
  font-size: 10px;
  text-transform: uppercase;
  padding: 0 10px;
}

.workflow-card h4 {
  margin-top: 12px;
  color: #263145;
  font-size: 16px;
  line-height: 1.16;
}

.workflow-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.48;
}

.workflow-gallery--compact .workflow-card {
  min-height: 132px;
}

.mini-card,
.pricing-card,
.dashboard-card,
.form-panel,
.extension-panel,
.command-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--soft-shadow);
  padding: 20px;
}

.mini-card h3,
.dashboard-card h3 {
  color: #263145;
  font-size: 19px;
  line-height: 1.12;
}

.mini-card p,
.dashboard-card p,
.extension-panel p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pricing-card {
  min-height: 306px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 253, 0.84)),
    var(--paper);
}

.pricing-card--featured {
  border-color: rgba(68, 197, 189, 0.58);
  background:
    linear-gradient(180deg, rgba(239, 253, 251, 0.96), rgba(255, 255, 255, 0.86)),
    var(--paper);
}

.pricing-label,
.status-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #0c6f75;
  background: #effdfb;
  font-size: 11px;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin-top: 14px;
  color: #263145;
  font-size: 24px;
}

.price {
  margin-top: 8px;
  color: #263145;
  font-size: 28px;
}

.pricing-card p:not(.price) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.check-list {
  margin-top: 16px;
  display: grid;
  gap: 9px;
  list-style: none;
  color: #516078;
  font-size: 13px;
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--success);
}

.cta-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(68, 197, 189, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(68, 197, 189, 0.18), transparent 24rem),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  padding: 24px;
}

.cta-band h2 {
  font-size: 28px;
  line-height: 1.08;
}

.cta-band p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.auth-shell {
  min-height: calc(100vh - 160px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: 26px;
  padding: 44px 0;
}

.auth-copy h1 {
  max-width: 620px;
}

.auth-copy p {
  max-width: 560px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.form-panel h2 {
  font-size: 26px;
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #405067;
  font-size: 12px;
}

.field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 12px;
  color: #39475e;
  background: #fff;
  outline: none;
}

.field input:focus {
  border-color: rgba(68, 197, 189, 0.7);
  box-shadow: 0 0 0 4px rgba(68, 197, 189, 0.12);
}

.form-note,
.small-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.message {
  margin-top: 14px;
  border-radius: 11px;
  padding: 10px 12px;
  color: var(--muted);
  background: #f8fbfd;
  font-size: 13px;
  line-height: 1.5;
}

.message.is-error {
  color: var(--danger);
  background: #fff1f1;
}

.message.is-success {
  color: var(--success);
  background: #effdf8;
}

.dashboard-hero {
  padding: 48px 0 24px;
}

.dashboard-hero h1 {
  max-width: 720px;
}

.dashboard-card {
  min-height: 190px;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.analytics-card {
  min-height: 150px;
}

.metric {
  margin-top: 14px;
  color: #263145;
  font-size: 28px;
}

.activity-time {
  margin-top: 14px;
  color: #263145;
  font-size: 20px;
  line-height: 1.2;
}

.activity-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  list-style: none;
}

.activity-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  padding: 10px 12px;
  color: #405067;
  font-size: 13px;
}

.activity-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 14px 14px 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  color: #506078;
  font-size: 13px;
  line-height: 1.55;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #0c6f75;
  background: #effdfb;
  font-weight: 900;
}

.command-card {
  padding: 0;
  overflow: hidden;
}

.command-top {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px 9px 16px;
  border-bottom: 1px solid #d9e4ef;
  background: #f8fbfd;
}

.command-top span {
  color: #46566b;
  font-size: 12px;
  font-weight: 900;
}

.command-card pre {
  padding: 18px;
  color: #2f4359;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 13px;
  line-height: 1.7;
}

.skill-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: center;
  padding: 54px 0 38px;
}

.skill-hero h1,
.skill-hero .hero-copy {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.skill-visual {
  min-height: 300px;
  border: 1px solid rgba(214, 224, 236, 0.88);
  border-radius: 16px;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(19, 35, 54, 0.2)),
    var(--skill-image),
    linear-gradient(135deg, #dbeef3, #bad4e6);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.skill-visual--x {
  --skill-image: url("/assets/skills/x-marketer.png");
}

.skill-visual--a11y {
  --skill-image: url("/assets/skills/a11y-auditor.png");
}

.skill-visual--qa {
  --skill-image: url("/assets/skills/e2e-tester.png");
}

.skill-visual--reviews {
  --skill-image: url("/assets/skills/social-poster.png");
}

.skill-visual--bids {
  --skill-image: url("/assets/skills/freelancer-upwork-bid-applier.png");
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.thumbnail-card {
  min-height: 132px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #f8fbfd;
  overflow: hidden;
}

.thumbnail-card img {
  width: 100%;
  height: 132px;
  display: block;
  object-fit: cover;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 18px;
  align-items: start;
}

.detail-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--soft-shadow);
  padding: 22px;
}

.detail-panel + .detail-panel {
  margin-top: 18px;
}

.detail-panel h2 {
  font-size: 25px;
  line-height: 1.12;
}

.detail-panel h3 {
  margin-top: 18px;
  color: #263145;
  font-size: 20px;
}

.detail-panel p,
.detail-panel li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.detail-panel p {
  margin-top: 10px;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  list-style: none;
}

.detail-list li {
  padding: 12px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(248, 251, 253, 0.86);
}

.detail-list strong {
  display: block;
  margin-bottom: 3px;
  color: #34435a;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.metric-tile {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #f8fbfd;
  padding: 14px;
}

.metric-tile strong {
  display: block;
  color: #263145;
  font-size: 18px;
}

.metric-tile span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 34px 0 48px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.is-hidden {
  display: none;
}

@media (max-width: 920px) {
  .topbar,
  .auth-shell,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .brand,
  .nav-pill,
  .top-actions {
    justify-self: center;
  }

  .card-grid,
  .feature-grid,
  .pricing-grid,
  .dashboard-grid,
  .detail-grid,
  .metric-row,
  .analytics-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .skill-hero {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-note {
    margin-top: 8px;
  }
}

@media (max-width: 580px) {
  .site-shell {
    width: min(100% - 20px, 1080px);
  }

  .hero {
    padding-top: 36px;
  }

  .prompt-bar {
    align-items: stretch;
    flex-direction: column;
    padding: 10px;
  }

  .nav-pill {
    max-width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .top-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .agent-card {
    min-height: 220px;
  }

  .activity-list li {
    grid-template-columns: 1fr;
  }

  .activity-list small {
    text-align: left;
  }
}
