/* ---------- subtwin.com — brand kit palette ---------- */
:root {
  --color-midnight: #0B1220;
  --color-slate: #1A2332;
  --color-signal: #22C55E;
  --color-mint: #4ADE80;
  --color-ice: #38BDF8;
  --color-cloud: #F4F7FB;
  --color-muted-kit: #64748B;

  --bg: #ffffff;
  --bg-soft: var(--color-cloud);
  --bg-tint: #e8eef6;
  --ink: var(--color-midnight);
  --ink-2: var(--color-slate);
  --muted: var(--color-muted-kit);
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --brand: var(--color-signal);
  --brand-dark: #16a34a;
  --brand-tint: rgba(34, 197, 94, 0.12);
  --accent: var(--color-signal);
  --accent-ice: var(--color-ice);
  --chat-user: #1e3a5f;
  --warn: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06), 0 1px 1px rgba(11, 18, 32, 0.04);
  --shadow-md: 0 12px 28px -12px rgba(11, 18, 32, 0.18), 0 4px 10px -4px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 24px 48px -16px rgba(11, 18, 32, 0.22), 0 8px 16px -8px rgba(11, 18, 32, 0.10);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  /* Repizen embed host tokens (sampled by widget.repizen.com loader) */
  --repizen-accent: var(--color-signal);
  --repizen-bg: var(--bg);
  --repizen-fg: var(--ink);
  --repizen-font: var(--font-sans);
  --repizen-radius: 10px;
  --repizen-density: compact;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: #15803d; }
p a, li a, .lead a, .quote a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
section.alt { background: var(--bg-soft); }
section.dark {
  background: linear-gradient(180deg, var(--color-midnight) 0%, var(--color-slate) 100%);
  color: #e2e8f0;
}
section.dark h1, section.dark h2, section.dark h3 { color: #ffffff; }
section.dark .muted { color: #94a3b8; }
section.dark a { color: var(--color-mint); }
section.dark a:hover { color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 16px; }
.lead { font-size: 1.18rem; color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-tint);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
section.dark .eyebrow {
  background: rgba(34, 197, 94, 0.15);
  color: var(--color-mint);
}
.section-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .lead { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--brand);
  color: #fff !important;
  box-shadow: 0 6px 16px -8px rgba(34, 197, 94, 0.65);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff !important; }
.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink) !important; }
.btn-light {
  background: #fff;
  color: var(--ink) !important;
}
.btn-light:hover { background: #f1f5f9; color: var(--ink) !important; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-ghost-dark {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn:focus-visible,
.nav-links a:focus-visible,
.brand:focus-visible,
.faq summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink) !important;
  letter-spacing: -0.01em;
  text-decoration: none !important;
}
.brand img.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}
.brand img.brand-logo-mark {
  height: 32px;
  width: 32px;
  display: block;
}
.brand-text { display: none; } /* logo lockup includes wordmark */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none !important;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a.active { color: var(--brand-dark); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 2px;
}

@media (max-width: 980px) {
  .nav-links, .nav-cta .desktop-only { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.open .nav-links a { padding: 10px 12px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(60% 60% at 85% 8%, rgba(34, 197, 94, 0.12) 0%, transparent 55%),
    radial-gradient(45% 50% at 8% 90%, rgba(56, 189, 248, 0.10) 0%, transparent 55%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Side-by-side simple vs complex workflow mocks */
.workflow-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 920px) {
  .workflow-pair { grid-template-columns: 1fr; }
}
.workflow-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.workflow-col .teams-mock {
  flex: 1;
}
.workflow-col .teams-mock .tm-body {
  min-height: 240px;
}
.workflow-col:last-child .teams-mock .tm-body {
  min-height: 300px;
}
.workflow-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.workflow-label h3 {
  margin: 0;
  font-size: 1.05rem;
}
.workflow-label p {
  margin: 0;
  width: 100%;
  font-size: 0.88rem;
  color: var(--muted);
}
.workflow-vs {
  display: none;
}
.tm-msg.agent .steps-inline {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.tm-msg.agent .steps-inline li { margin: 2px 0; }
.hero h1 span.grad {
  background: linear-gradient(90deg, var(--color-signal), var(--color-ice));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-meta {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  color: var(--muted); font-size: .88rem;
}
.hero-meta .dot {
  display: inline-block; width: 8px; height: 8px;
  background: var(--accent); border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  margin-right: 6px; vertical-align: middle;
}

/* ---------- Chat mock ---------- */
.teams-mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: .95rem;
}
.tm-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.tm-avatar {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--color-slate);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; position: relative;
  overflow: hidden;
}
.tm-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.tm-avatar .presence {
  position: absolute; right: -1px; bottom: -1px;
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--accent); border: 2px solid #fff;
}
.tm-id .name { font-weight: 600; color: var(--ink); }
.tm-id .upn { font-size: .78rem; color: var(--muted); }
.tm-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #f8fafc; }
.tm-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  line-height: 1.45;
  font-size: .92rem;
}
.tm-msg.user {
  align-self: flex-end;
  background: var(--chat-user);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.tm-msg.agent {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.tm-msg .meta { font-size: .72rem; color: var(--muted); margin-top: 4px; }
.tm-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
  display: flex; align-items: center; gap: 10px;
  color: var(--muted-2);
  font-size: .88rem;
}
.tm-footer .input {
  flex: 1; height: 32px; border-radius: 999px; background: var(--bg-soft);
  display: flex; align-items: center; padding: 0 14px;
}

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 14px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.card .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-tint); color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.card .icon img { width: 22px; height: 22px; }
.card h3 { margin-bottom: 4px; font-size: 1.1rem; }
.card p { color: var(--muted); margin: 0; font-size: .93rem; }
.card.feature { background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); }
.card.dark {
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.08);
}
.card.dark h3 { color: #fff; }
.card.dark p { color: #94a3b8; }
.card.dark .icon { background: rgba(34, 197, 94, 0.15); color: var(--color-mint); }

/* ---------- Compare ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 920px) { .compare { grid-template-columns: 1fr; } }
.compare .item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.compare .item h4 { margin-bottom: 6px; }
.compare .item p { color: var(--muted); margin: 0; font-size: .95rem; }
.compare .item.bad h4::before {
  content: "×";
  display: inline-block; width: 22px; height: 22px; line-height: 20px; text-align: center;
  background: #fef2f2; color: var(--danger); border-radius: 6px; margin-right: 8px; font-weight: 700;
}
.compare .item.good {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border-color: #bbf7d0;
}
.compare .item.good h4::before {
  content: "✓";
  display: inline-block; width: 22px; height: 22px; line-height: 20px; text-align: center;
  background: var(--brand-tint); color: var(--brand-dark); border-radius: 6px; margin-right: 8px; font-weight: 700;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 12px; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 18px 68px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px; top: 16px;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- CTA strip ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--color-midnight) 0%, var(--color-slate) 55%, #0f3d28 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #cbd5e1; margin: 8px 0 0; }
.cta-band .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 920px) {
  .cta-band { grid-template-columns: 1fr; padding: 36px 28px; }
  .cta-band .actions { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
  .hero-meta { gap: 8px 14px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-midnight);
  color: #cbd5e1;
  padding: 64px 0 32px;
}
.site-footer a { color: #cbd5e1; text-decoration: none !important; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand img.brand-logo-footer {
  height: 28px;
  width: auto;
}
.site-footer .legal {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .85rem; color: #64748b;
}

/* ---------- Sub-page hero ---------- */
.sub-hero {
  padding: 48px 0 32px;
  background:
    radial-gradient(55% 50% at 80% 0%, rgba(34, 197, 94, 0.10) 0%, transparent 55%),
    var(--bg);
}
.sub-hero .lead { max-width: 720px; margin-bottom: 0; }

/* ---------- Misc ---------- */
.kbd {
  font-family: var(--font-mono); font-size: .85em;
  background: var(--bg-tint); border: 1px solid var(--line-strong);
  padding: 2px 6px; border-radius: 6px;
}
code, pre.code {
  font-family: var(--font-mono);
  font-size: .9em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}
code { padding: 1px 6px; }
pre.code { padding: 16px 18px; overflow-x: auto; line-height: 1.55; color: var(--ink-2); }
pre.code .c { color: #64748b; }
pre.code .k { color: var(--brand-dark); font-weight: 600; }
pre.code .s { color: #0e7490; }

.badge {
  display: inline-block;
  background: var(--brand-tint); color: var(--brand-dark);
  padding: 4px 10px; border-radius: 999px;
  font-size: .8rem; font-weight: 600;
}
.badge.green { background: rgba(34, 197, 94, 0.14); color: #15803d; }
.badge.amber { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.badge.gray { background: var(--bg-tint); color: var(--muted); }
.badge.ice { background: rgba(56, 189, 248, 0.14); color: #0369a1; }

.tool-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 12px; }
@media (max-width: 720px) { .tool-list { grid-template-columns: 1fr; } }
.tool-list .tool {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: .88rem;
  color: var(--ink-2);
}
.tool-list .tool::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: var(--brand);
}

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 880px; margin: 0 auto; }
@media (max-width: 920px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 18px 40px -16px rgba(34, 197, 94, 0.35);
  position: relative;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 60%);
}
.price-card.featured::before {
  content: "Available now";
  position: absolute; top: -12px; right: 24px;
  background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.price-card h3 { margin: 0 0 6px; }
.price-card .price {
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--ink); margin: 8px 0 4px;
}
.price-card .price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.price-card .desc { color: var(--muted); margin: 0 0 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.price-card ul li {
  position: relative; padding-left: 26px; color: var(--ink-2); font-size: .96rem;
}
.price-card ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 6px;
  background: var(--brand-tint); color: var(--brand-dark);
  font-size: .8rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.price-card .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--brand-dark); font-size: 1.4rem; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* ---------- Repizen embed (contact) ---------- */
/* Outer shell only — form UI lives in the iframe (theme via data-accent/height/etc.). */
.repizen-embed {
  width: 100%;
  max-width: 100%;
  line-height: 0; /* collapse gap under iframe */
}
.repizen-embed [data-emailer-widget],
.repizen-embed iframe {
  width: 100% !important;
  max-width: 100%;
  display: block;
  border: 0;
  border-radius: 10px;
}

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}
.field textarea { min-height: 120px; resize: vertical; }
.field.full { grid-column: 1 / -1; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* ---------- Logos row ---------- */
.logos {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center;
}
.logo-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 600; color: var(--ink-2); font-size: .85rem;
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.split.reverse > div:first-child { order: 2; }
@media (max-width: 920px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 24px; }
  .split.reverse > div:first-child { order: 0; }
}

ul.checklist { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
ul.checklist li {
  position: relative; padding-left: 30px; color: var(--ink-2);
}
ul.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--brand-tint); color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem;
}

/* ---------- Identity diagram ---------- */
.identity-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.identity-flow .node {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
}
.identity-flow .node strong { display: block; margin-bottom: 4px; color: var(--ink); }
.identity-flow .node span { font-size: .85rem; color: var(--muted); }
.identity-flow .arrow { color: var(--brand); font-weight: 700; font-size: 1.4rem; }
@media (max-width: 720px) {
  .identity-flow {
    grid-template-columns: 1fr;
  }
  .identity-flow .arrow { transform: rotate(90deg); justify-self: center; }
}

/* ---------- Feature icon tiles from sheet (optional) ---------- */
.icon-tile {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 1.35rem;
}
