:root {
  --color-bg: #F4F8FF;
  --color-surface: #FFFFFF;
  --color-surface-soft: #EAF0FF;
  --color-primary: #4285F4;
  --color-primary-hover: #3367D6;
  --color-primary-soft: #E5EDFF;
  --color-accent: #FBBC05;
  --color-accent-soft: #FFF3C4;
  --color-text: #1F2A44;
  --color-text-soft: #4A556D;
  --color-muted: #6B748E;
  --color-faint: #98A2B3;
  --color-border: #D7E0F3;
  --color-success: #3BAA7A;
  --color-danger: #D96B6B;
  --color-warning: #F0A74B;
  --color-google-blue: #4285F4;
  --color-google-red: #EA4335;
  --color-google-yellow: #FBBC05;
  --color-google-green: #34A853;

  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 18px;
  --space-lg: 24px;
  --space-xl: 30px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --card-shadow: 0 12px 28px rgba(66, 84, 149, 0.12);

  --container-padding: clamp(16px, 4vw, 34px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    "Helvetica Neue",
    Arial,
    sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
}

body {
  min-height: 100vh;
}

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

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1200px, 100% - 32px);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgb(246 248 255 / 0.95);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  flex: 1;
  min-width: 0;
}

.brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: white;
  box-shadow: var(--card-shadow);
  display: grid;
  place-items: center;
}

.brand-title {
  margin: 0;
  font-size: 16px;
}

.brand-subtitle {
  margin: 0;
  font-size: 12px;
  color: var(--color-muted);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.menu-toggle span {
  height: 2px;
  background: var(--color-text);
  display: block;
}

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-nav a {
  padding: 8px 10px;
  color: var(--color-text-soft);
  font-size: 14px;
  border-radius: 10px;
}

.main-nav a:hover {
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

.header-action {
  border-radius: 10px;
  border: 1px solid var(--color-primary);
  padding: 8px 12px;
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
}

.main-content {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  display: grid;
  gap: var(--space-lg);
}

.hero {
  background:
    radial-gradient(760px 280px at 8% -10%, #EAF0FF 0%, transparent 70%),
    radial-gradient(700px 260px at 94% 12%, #FFF4D1 0%, transparent 75%),
    linear-gradient(180deg, #F9FCFF 0%, #FFFFFF 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 4vw, 34px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--space-xl);
}

.eyebrow {
  color: var(--color-primary);
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.hero p {
  margin: 0;
  color: var(--color-text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-primary {
  color: #fff;
  background: var(--color-primary);
  box-shadow: 0 8px 18px rgba(91, 108, 255, 0.28);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

.btn-secondary {
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-color: #d9e2ff;
}

.btn-ghost {
  color: var(--color-text);
  background: var(--color-surface-soft);
  border-color: #dce4ff;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--color-border);
  padding-bottom: 6px;
}

.hero-meta span {
  color: var(--color-text-soft);
}

.phone-mock {
  justify-self: center;
  width: min(280px, 100%);
  border-radius: 28px;
  padding: 12px;
  background: #161E2B;
  color: #fff;
  box-shadow: 0 18px 45px rgba(28, 33, 53, 0.3);
}

.phone-mock-inner {
  border-radius: 20px;
  background: #fff;
  color: var(--color-text);
  padding: 16px;
}

.phone-top {
  margin: 0;
  font-size: 12px;
  color: var(--color-text-soft);
}

.phone-content {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.phone-badge {
  display: inline-block;
  width: fit-content;
  background: var(--color-surface-soft);
  color: var(--color-primary);
  font-size: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid var(--color-primary-soft);
}

.phone-photo {
  height: 110px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dfe7ff, #f8faff);
}

.phone-footer {
  font-size: 12px;
  text-align: center;
  color: var(--color-text-soft);
  border-top: 1px solid var(--color-border);
  padding-top: 8px;
}

.section {
  display: grid;
  gap: var(--space-md);
}

.section-heading h2 {
  margin: 0 0 5px;
  font-size: clamp(22px, 3vw, 32px);
}

.tiny-label {
  margin: 0;
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.google-style-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.google-ribbon-card .module-sub {
  margin: 0;
}

.google-ribbon {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 14px;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.google-ribbon span {
  color: #fff;
  text-align: center;
  padding: 14px 10px;
  font-weight: 700;
  font-size: 13px;
}

.google-state-grid {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.google-state-grid div {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.google-state-grid strong {
  font-size: 14px;
  color: var(--color-text);
}

.google-state-grid small {
  color: var(--color-text-soft);
  font-size: 12px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.google-blue {
  background: var(--color-google-blue);
}

.google-red {
  background: var(--color-google-red);
}

.google-yellow {
  color: #1f2937;
  background: var(--color-google-yellow);
}

.google-green {
  background: var(--color-google-green);
}

.google-bullet-list {
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.google-bullet-list li {
  list-style: none;
  border: 1px dashed var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 12px;
  padding: 10px;
  color: var(--color-text-soft);
}

.google-bullet-list li span {
  color: var(--color-text);
}

.overview-grid,
.module-grid,
.code-layout,
.template-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid #dce4ff;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 18px;
}

.card h3 {
  margin-top: 0;
}

.palette {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.swatch {
  min-width: 112px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.swatch.bg-bg {
  background: var(--color-bg);
}

.swatch.bg-surface {
  background: var(--color-surface);
}

.swatch.bg-surface-soft {
  background: var(--color-surface-soft);
}

.swatch.bg-primary {
  color: #fff;
  background: var(--color-primary);
}

.swatch.bg-accent {
  background: var(--color-accent);
  color: #3d3100;
}

.swatch strong,
.swatch small {
  display: block;
}

.module-card .module-demo {
  margin: 12px 0 14px;
}

.module-head .tag {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--color-muted);
}

.module-card p {
  margin: 8px 0 0;
  color: var(--color-text-soft);
}

.demo-nav,
.demo-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.mini-card {
  background: #fff;
  border: 1px dashed var(--color-border);
  border-radius: 12px;
  padding: 12px;
}

.mini-card p {
  margin: 0;
  color: var(--color-text-soft);
}

.mini-card strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
}

.demo-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.demo-form button {
  border: 0;
  background: var(--color-primary);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
}

.module-card pre,
.code-layout pre {
  margin: 0;
  max-height: 110px;
  overflow: auto;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #111827;
  color: #e5e7eb;
  font-size: 13px;
  line-height: 1.5;
  padding: 10px;
}

.copy-btn {
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: #111827;
  color: #f8fafc;
  padding: 8px 12px;
  cursor: pointer;
}

.copy-btn:active {
  transform: translateY(1px);
}

.pipeline-shell {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.pipeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 12px;
  padding: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.pipeline-item {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px;
}

.pipeline-item .tiny {
  margin: 0;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
}

.pipeline-item p {
  margin: 8px 0 0;
  color: var(--color-text-soft);
}

.step-note {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--color-text-soft);
}

.template-switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff;
  color: var(--color-text-soft);
  cursor: pointer;
}

.pill.active {
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-color: #d8deff;
}

.template-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px;
}

.template-card[data-hide="true"] {
  display: none;
}

.template-card p {
  margin: 8px 0 0;
  color: var(--color-text-soft);
}

.code-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.code-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.final-placeholder {
  min-height: 110px;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--color-text-soft);
}

.site-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 20px;
  padding: 22px 0 30px;
  color: var(--color-muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .google-style-grid {
    grid-template-columns: 1fr;
  }

  .overview-grid,
  .module-grid,
  .code-layout,
  .template-grid {
    grid-template-columns: 1fr;
  }

  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: calc(100% - 20px);
    padding: 0 var(--space-sm);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    padding: 10px;
    border-radius: 14px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--card-shadow);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .card-row,
  .template-grid {
    grid-template-columns: 1fr;
  }
}

/* Google-inspired visual tightening for homepage and module previews */
.site-header {
  box-shadow: 0 8px 24px rgba(29, 47, 110, 0.08);
  border-bottom-color: #d8e2f7;
}

.header-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid #dce7ff;
  background: linear-gradient(135deg, #fff 35%, #f0f4ff 100%);
}

.main-nav a {
  position: relative;
  overflow: hidden;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  bottom: 8px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width 200ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: calc(100% - 24px);
}

.header-action {
  background: linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
  border-color: #b9cdff;
  box-shadow: 0 8px 22px rgba(66, 133, 244, 0.18);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #d6e1fa;
  background:
    radial-gradient(620px 230px at 4% -4%, #e8f0ff 0%, transparent 65%),
    radial-gradient(560px 210px at 100% 22%, #fff6d8 0%, transparent 65%),
    radial-gradient(420px 180px at 75% 86%, rgba(234, 67, 53, 0.12) 0%, transparent 68%),
    linear-gradient(180deg, #f9fcff 0%, #ffffff 100%);
  box-shadow: 0 22px 42px rgba(50, 70, 145, 0.14);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 330px;
  height: 330px;
  left: -90px;
  top: -120px;
  background: radial-gradient(circle, rgba(66, 133, 244, 0.24), transparent 65%);
  filter: blur(14px);
}

.hero::after {
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(66, 133, 244, 0.18), transparent 67%);
  filter: blur(10px);
}

.hero-copy h1 {
  text-wrap: balance;
}

.hero-copy p {
  font-size: clamp(15px, 1.6vw, 17px);
}

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

.hero-meta li {
  border-radius: 12px;
  border: 1px solid #d7e2f8;
  padding: 8px 12px;
  background: var(--color-surface);
  box-shadow: 0 4px 10px rgba(66, 133, 244, 0.08);
}

.btn {
  letter-spacing: 0.04em;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, #4c74ff 0%, var(--color-primary) 100%);
  box-shadow: 0 12px 24px rgba(74, 109, 239, 0.35);
}

.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border-color: #c8d6ff;
}

.phone-mock {
  background: #161e2b;
  border: 0;
  position: static;
}

.phone-mock::before {
  display: none;
}

.phone-mock-inner {
  border: 0;
}

.section-heading h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--card-shadow);
}

.module-head {
  padding-bottom: 10px;
  border-bottom: 1px dashed #d9e1f5;
}

.card-row,
.template-grid,
.module-grid {
  row-gap: 14px;
}

.mini-card {
  background: #fff;
  border: 1px solid #dce6fa;
}

.module-demo {
  gap: 12px;
}

.demo-form button,
.module-demo button {
  background: var(--color-primary);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 18px rgba(66, 133, 244, 0.26);
}

.pipeline-shell {
  border: 1px solid #dae4fb;
  border-radius: 22px;
  padding: 16px;
  background: #fff;
}

.pipeline-item {
  background: #fff;
  border: 1px solid #d7e2fb;
  border-radius: 16px;
  box-shadow: none;
}

.pipeline-item h3 {
  margin-top: 6px;
}

.template-switch {
  align-items: stretch;
}

.template-switch .pill {
  border: 1px solid #d3e0ff;
  background: #fff;
  color: #3b4660;
  border-radius: 999px;
  transition: all 160ms ease;
}

.template-switch .pill:hover {
  color: #2d64ef;
  border-color: #95b1ff;
}

.template-switch .pill.active {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-color: #c8d6ff;
  box-shadow: none;
}

.template-card {
  border-radius: 18px;
  border: 1px solid #d7e3ff;
  background: #fff;
}

.template-card h3 {
  color: #25314a;
}

.copy-btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #bed0ff;
  background: #fff;
  color: #2f5dd6;
  font-weight: 700;
}

.copy-btn:hover {
  background: #eef4ff;
}

.step-note {
  color: var(--color-text-soft);
}

.google-ribbon-card {
  border-left: none;
  overflow: hidden;
}

.google-ribbon-card::after {
  content: '';
  position: absolute;
  right: 20px;
  bottom: -16px;
  width: 120px;
  height: 80px;
  border-radius: 100px;
  background: radial-gradient(circle, rgba(52, 168, 83, 0.16), transparent 65%);
  pointer-events: none;
}

.google-state-grid > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #dbe7fd;
  border-radius: 12px;
  background: #fff;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(30, 48, 122, 0.14);
}

.google-bullet-list li {
  border: 1px solid #d8e4ff;
  border-left: 5px solid #4285f4;
  background: #fff;
  border-radius: 10px;
}

code {
  background: #0f172a;
  border-color: #c9d6ef;
  color: #e6edf9;
}

pre {
  border-radius: 14px;
}

@media (max-width: 1024px) {
  .google-style-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 680px) {
  .page-shell {
    width: min(1200px, 100% - 16px);
  }

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

  .google-style-grid {
    grid-template-columns: 1fr;
  }
}
/* Selective color accents: reserved for a few showcase windows only. */
#code-gallery .card:first-child {
  border-color: transparent;
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    linear-gradient(135deg, #4285f4 0%, #8ab4f8 48%, #d2e3fc 100%) border-box;
  box-shadow: 0 14px 32px rgba(66, 133, 244, 0.12);
}

#code-gallery .card:nth-child(2) {
  border-color: transparent;
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    linear-gradient(135deg, #fbbc05 0%, #ea4335 52%, #fce8e6 100%) border-box;
  box-shadow: 0 14px 32px rgba(234, 67, 53, 0.1);
}

.template-card:nth-child(2) {
  border-color: transparent;
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    linear-gradient(135deg, #34a853 0%, #8ad7ae 52%, #d9f2e3 100%) border-box;
  box-shadow: 0 12px 28px rgba(52, 168, 83, 0.1);
}

.pipeline-item:nth-child(3) {
  border-color: transparent;
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    linear-gradient(135deg, #4285f4 0%, #fbbc05 48%, #ea4335 100%) border-box;
  box-shadow: 0 12px 28px rgba(66, 133, 244, 0.1);
}
/* SkuWatch AI Visibility layer: built from the SkuWatch style-template card, spacing, and responsive system. */
.sf-site {
  --sf-ink: #14283d;
  --sf-muted: #526579;
  --sf-teal: #0f766e;
  --sf-teal-dark: #0b5d57;
  --sf-teal-soft: #dff3ef;
  --sf-canvas: #f4f8ff;
  --sf-line: #d7e0f3;
  --sf-amber: #c97d10;
  --sf-red: #c34c58;
  background: var(--sf-canvas);
  color: var(--sf-ink);
}
.sf-site, .sf-site button, .sf-site input { font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.sf-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sf-header { position: sticky; top: 0; z-index: 10; background: rgb(244 248 255 / .93); backdrop-filter: blur(12px); border-bottom: 1px solid var(--sf-line); }
.sf-header-inner { min-height: 70px; display: flex; align-items: center; gap: 24px; }
.sf-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 800; letter-spacing: -.03em; color: var(--sf-ink); white-space: nowrap; }
.sf-brand-mark { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; }
.sf-brand-mark img { display: block; width: 100%; height: 100%; }
.sf-nav { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.sf-nav a, .sf-header-cta { padding: 8px 10px; border-radius: 9px; font-size: 14px; color: var(--sf-muted); }
.sf-nav a:hover, .sf-nav a[aria-current="page"] { background: var(--sf-teal-soft); color: var(--sf-teal-dark); }
.sf-header-cta { border: 1px solid var(--sf-teal); color: var(--sf-teal); font-weight: 700; }
.sf-coming-soon { color: var(--sf-muted); font-size: 14px; font-weight: 700; }
.sf-header-cta.sf-coming-soon { border-color: var(--sf-line); color: var(--sf-muted); }
.sf-main { padding: 56px 0 82px; }
.sf-hero { padding: 72px 0 54px; background: radial-gradient(720px 300px at 4% 0%, #dff3ef, transparent 70%), radial-gradient(540px 260px at 95% 16%, #fff2d4, transparent 68%); }
.sf-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 34px; align-items: center; }
.sf-kicker { margin: 0 0 11px; color: var(--sf-teal); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.sf-hero h1, .sf-prose h1 { margin: 0; color: var(--sf-ink); font-size: clamp(39px, 5.4vw, 67px); line-height: 1.02; letter-spacing: -.055em; max-width: 11ch; }
.sf-hero-copy > p:not(.sf-kicker) { max-width: 56ch; margin: 20px 0 0; color: var(--sf-muted); font-size: 18px; line-height: 1.7; }
.sf-actions, .sf-share { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 25px; }
.sf-button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid var(--sf-teal); border-radius: 12px; background: var(--sf-teal); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 20px rgb(15 118 110 / .18); }
.sf-button:hover { background: var(--sf-teal-dark); border-color: var(--sf-teal-dark); }
.sf-text-link { color: var(--sf-teal); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.sf-instrument, .sf-card, .sf-answer, .sf-conversion, .sf-empty { background: #fff; border: 1px solid var(--sf-line); border-radius: 20px; box-shadow: 0 12px 28px rgb(66 84 149 / .1); }
.sf-instrument { padding: 23px; }
.sf-instrument-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid var(--sf-line); }
.sf-instrument-head strong { font-size: 14px; } .sf-live { color: var(--sf-teal); font: 12px ui-monospace, monospace; }
.sf-score-preview { padding: 25px 0 19px; display: flex; align-items: end; gap: 13px; }
.sf-score-preview strong, .sf-score span { font: 800 clamp(65px, 10vw, 94px)/.8 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.1em; color: var(--sf-ink); }
.sf-score-preview span { color: var(--sf-muted); font-size: 13px; max-width: 13ch; }
.sf-meter { height: 11px; overflow: hidden; border-radius: 999px; background: #e7eef7; }.sf-meter span { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sf-teal), #52b6a7); }
.sf-check-preview, .sf-checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }.sf-check-preview li, .sf-checks li { display: flex; gap: 10px; align-items: start; font-size: 14px; }.sf-check-preview li span:last-child, .sf-checks small { color: var(--sf-muted); display: block; margin-top: 2px; }
.sf-dot { width: 10px; height: 10px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; }.sf-dot-pass { background: var(--sf-teal); }.sf-dot-warn { background: var(--sf-amber); }.sf-dot-fail { background: var(--sf-red); }
.sf-section { padding: 72px 0; }.sf-section-soft { background: #fff; border-block: 1px solid var(--sf-line); }.sf-section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }.sf-section h2 { margin: 0; font-size: clamp(27px, 4vw, 42px); line-height: 1.1; letter-spacing: -.04em; }.sf-section-head p:last-child { margin: 0; color: var(--sf-muted); max-width: 44ch; }
.sf-check-grid, .sf-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.sf-card { padding: 23px; }.sf-card h3 { margin: 14px 0 9px; font-size: 19px; letter-spacing: -.02em; }.sf-card p { margin: 0; color: var(--sf-muted); }.sf-index { color: var(--sf-teal); font: 700 13px ui-monospace, monospace; }
.sf-evidence-note { max-width: 72ch; margin: 22px 0 0; padding-left: 14px; border-left: 3px solid var(--sf-teal); color: var(--sf-muted); font-size: 14px; }
.sf-scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sf-scenario-card { box-shadow: none; }
.sf-scenario-card small { display: block; margin-top: 18px; color: var(--sf-muted); font-size: 12px; }
.sf-post-card { display: flex; min-height: 250px; flex-direction: column; justify-content: space-between; }.sf-post-card .sf-meta { margin: 0; }.sf-post-card a { color: var(--sf-teal); font-weight: 800; }
.sf-prose-wrap { padding-top: 58px; }.sf-prose { width: min(720px, calc(100% - 40px)); margin: 0 auto; }.sf-prose h1 { max-width: 15ch; font-size: clamp(37px, 5vw, 60px); }.sf-prose h2 { margin: 48px 0 15px; font-size: clamp(25px, 3vw, 34px); line-height: 1.15; letter-spacing: -.035em; }.sf-prose h3 { margin: 30px 0 8px; }.sf-article-body { font-size: 17px; line-height: 1.8; color: #263d51; }.sf-article-body a { color: var(--sf-teal); text-decoration: underline; text-underline-offset: 3px; }.sf-article-body li { margin: 7px 0; }.sf-article-body code { background: var(--sf-teal-soft); padding: 2px 5px; border-radius: 5px; }.sf-answer { margin: 24px 0 15px; padding: 19px 21px; border-color: #b9ddd7; background: linear-gradient(135deg, #effbf8, #fff); }.sf-answer strong { color: var(--sf-teal); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }.sf-answer p { margin: 7px 0 0; font-size: 18px; line-height: 1.6; color: var(--sf-ink); }.sf-meta, .sf-report-meta { color: var(--sf-muted); font-size: 13px; }.sf-meta span, .sf-report-meta span { margin: 0 6px; color: #a2afbc; }
.sf-toc { margin: 30px 0; padding: 16px 19px; border-left: 3px solid var(--sf-teal); background: #f7fbfb; }.sf-toc p { margin: 0 0 6px; font-size: 13px; font-weight: 800; }.sf-toc ol { margin: 0; padding-left: 19px; }.sf-toc li { margin: 4px 0; }.sf-toc a { color: var(--sf-teal); font-size: 14px; }
.sf-faq { margin-top: 44px; }.sf-faq details { border-bottom: 1px solid var(--sf-line); padding: 15px 0; }.sf-faq summary { cursor: pointer; font-weight: 800; }.sf-faq p { color: var(--sf-muted); }.sf-conversion { margin-top: 54px; padding: 26px; border-color: #b9ddd7; background: linear-gradient(145deg, #f0fbf8, #fff); }.sf-conversion h2 { margin: 0; font-size: 27px; }.sf-conversion p:not(.sf-kicker) { color: var(--sf-muted); }
.sf-author { display: flex; gap: 16px; align-items: center; margin-top: 42px; padding: 20px; border: 1px solid var(--sf-line); border-radius: 16px; background: #fff; }
.sf-author img { flex: 0 0 auto; border-radius: 50%; object-fit: cover; border: 3px solid var(--sf-teal-soft); }
.sf-author h2, .sf-author h3 { margin: 0 0 4px; font-size: 21px; }
.sf-author p { margin: 0; color: var(--sf-muted); font-size: 14px; line-height: 1.55; }
.sf-author small { display: block; margin-top: 7px; color: var(--sf-muted); font-size: 11px; }
.sf-author .sf-kicker { margin-bottom: 3px; }
.sf-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.sf-author-profile { margin-top: 0; align-items: flex-start; }
.sf-scanner { width: min(820px, calc(100% - 40px)); margin: 0 auto; }.sf-scanner-intro { text-align: center; max-width: 650px; margin: 0 auto 28px; }.sf-scanner-intro h1 { max-width: none; }.sf-scan-card { padding: 25px; }.sf-scan-form, .sf-waitlist { display: flex; gap: 10px; }.sf-scan-form input, .sf-waitlist input { min-width: 0; flex: 1; border: 1px solid var(--sf-line); border-radius: 12px; padding: 12px 14px; color: var(--sf-ink); }.sf-scan-form input:focus, .sf-waitlist input:focus { outline: 3px solid #c5ebe4; border-color: var(--sf-teal); }.sf-helper { color: var(--sf-muted); font-size: 13px; }.sf-example { margin-top: 18px; border: 0; background: none; color: var(--sf-teal); padding: 0; text-decoration: underline; cursor: pointer; font-weight: 750; }.sf-score { display: flex; align-items: end; gap: 17px; margin-top: 28px; }.sf-score small { color: var(--sf-muted); font-weight: 700; margin-bottom: 6px; }.sf-checks { padding-top: 20px; border-top: 1px solid var(--sf-line); }.sf-checks strong { font-size: 14px; }.sf-success { color: var(--sf-teal); font-weight: 700; }
.sf-library-head { margin-bottom: 30px; }.sf-library-head h1 { margin: 0; font-size: clamp(40px, 6vw, 62px); letter-spacing: -.05em; }.sf-library-head p:last-child { max-width: 60ch; color: var(--sf-muted); font-size: 18px; }.sf-empty { padding: 40px; text-align: center; }.sf-empty h2 { margin-top: 0; }.sf-glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }.sf-glossary a { padding: 18px; border: 1px solid var(--sf-line); border-radius: 14px; background: #fff; }.sf-glossary strong, .sf-glossary span { display: block; }.sf-glossary span { margin-top: 5px; color: var(--sf-muted); font-size: 14px; }.sf-footer { border-top: 1px solid var(--sf-line); background: #fff; padding: 42px 0; }.sf-footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 25px; }.sf-footer p { margin: 9px 0; color: var(--sf-muted); font-size: 14px; }.sf-footer-grid > div:not(:first-child) a { display: block; margin: 8px 0; color: var(--sf-muted); font-size: 14px; }.sf-footer-grid a:hover { color: var(--sf-teal); }.sf-footer-label { color: var(--sf-ink) !important; font-weight: 800; }
@media (max-width: 850px) { .sf-header-inner { flex-wrap: wrap; gap: 10px; padding: 12px 0; }.sf-nav { order: 3; width: 100%; overflow-x: auto; margin-left: 0; }.sf-header-cta { margin-left: auto; }.sf-hero-grid { grid-template-columns: 1fr; }.sf-instrument { max-width: 520px; }.sf-check-grid, .sf-post-grid, .sf-scenario-grid { grid-template-columns: 1fr; }.sf-team-grid { grid-template-columns: 1fr; }.sf-footer-grid { grid-template-columns: repeat(2, 1fr); }.sf-footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 540px) { .sf-shell { width: min(100% - 28px, 1180px); }.sf-hero, .sf-section { padding: 46px 0; }.sf-hero h1 { font-size: 43px; }.sf-header-cta { font-size: 12px; }.sf-nav a { font-size: 13px; padding: 7px 8px; }.sf-scan-form, .sf-waitlist { flex-direction: column; }.sf-prose { width: min(100% - 28px, 720px); }.sf-footer-grid { grid-template-columns: 1fr; }.sf-footer-grid > div:first-child { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* Technical portal components */
.sf-portal-hero h1 { max-width: 13ch; }
.sf-hero-status { margin-top: 16px !important; font-size: 13px !important; }
.sf-observation-panel { border-color: #b9ddd7; }
.sf-readiness-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 0 16px; }
.sf-readiness-row div { display: grid; gap: 3px; }
.sf-readiness-row span { color: var(--sf-muted); font-size: 13px; }
.sf-readiness-row strong { font: 800 35px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.06em; }
.sf-observation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding-top: 15px; border-top: 1px solid var(--sf-line); }
.sf-observation-grid div { min-width: 0; padding: 12px; border: 1px solid var(--sf-line); border-radius: 13px; background: #f8fbff; }
.sf-observation-grid strong, .sf-observation-grid span { display: block; }
.sf-observation-grid strong { font: 800 22px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.sf-observation-grid span { margin-top: 7px; color: var(--sf-muted); font-size: 11px; line-height: 1.35; }
.sf-evidence-line { margin: 16px 0 0; color: var(--sf-muted); font-size: 13px; line-height: 1.55; }
.sf-status { display: inline-flex; width: fit-content; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.sf-status-pass { background: #dff3ef; color: #0b675f; }
.sf-status-warn { background: #fff1ce; color: #8a570c; }
.sf-status-fail { background: #fde8e9; color: #a23945; }
.sf-status-case { background: #e8eef9; color: #41566f; }

.sf-comments {
  margin-top: clamp(2.5rem, 7vw, 5rem);
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid rgba(31, 53, 65, 0.14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(36, 55, 63, 0.07);
}

.sf-comments-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(16rem, 1.1fr);
  gap: 1.5rem;
  align-items: end;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(31, 53, 65, 0.12);
}

.sf-comments-head h2,
.sf-comments-head p {
  margin-bottom: 0;
}

.sf-comments-rules {
  display: grid;
  gap: 0.25rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid #4285f4;
  background: #f5f8fc;
  color: #41566f;
  font-size: 0.92rem;
}

.sf-comments .commentbox {
  min-height: 11rem;
}

@media (max-width: 720px) {
  .sf-comments {
    padding: 1.1rem;
    border-radius: 18px;
  }

  .sf-comments-head {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
.sf-route-grid { counter-reset: route; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sf-route-grid li { position: relative; padding: 18px; border: 1px solid var(--sf-line); border-radius: 16px; background: #fff; }
.sf-route-grid li:not(:last-child)::after { content: ''; position: absolute; z-index: 2; top: 34px; right: -13px; width: 13px; border-top: 1px solid #aebdd0; }
.sf-route-grid span { color: var(--sf-teal); font: 800 12px ui-monospace, monospace; }
.sf-route-grid strong { display: block; margin-top: 18px; }
.sf-route-grid p { margin: 6px 0 0; color: var(--sf-muted); font-size: 13px; line-height: 1.55; }
.sf-task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sf-task-card { display: block; min-height: 185px; box-shadow: none; }
.sf-task-card:hover { border-color: #9bcfc6; transform: translateY(-2px); }
.sf-task-card h3 { margin-top: 24px; }
.sf-trust-band { background: #102e39; color: #fff; }
.sf-trust-band .sf-kicker { color: #82d4c6; }
.sf-trust-band .sf-section-head p:last-child { color: #bed0d6; }
.sf-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sf-trust-grid p { margin: 0; padding: 18px; border: 1px solid #31505b; border-radius: 15px; }
.sf-trust-grid strong, .sf-trust-grid span { display: block; }
.sf-trust-grid span { margin-top: 7px; color: #bed0d6; font-size: 13px; line-height: 1.55; }
.sf-guide-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 24px 0 14px; }
.sf-guide-facts div { padding: 12px; border: 1px solid var(--sf-line); border-radius: 12px; background: #fff; }
.sf-guide-facts dt { color: var(--sf-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.sf-guide-facts dd { margin: 4px 0 0; font-size: 13px; font-weight: 800; line-height: 1.35; }
.sf-path { display: flex; gap: 12px; align-items: start; margin-bottom: 24px; padding: 13px 15px; border-left: 3px solid var(--sf-teal); background: #edf8f6; font-size: 13px; }
.sf-path strong { white-space: nowrap; }
.sf-path span { color: var(--sf-muted); }
.sf-article-body pre { overflow-x: auto; margin: 20px 0; padding: 17px; border: 1px solid #27374a; border-radius: 14px; background: #0f172a; color: #e7eef8; font-size: 13px; line-height: 1.65; }
.sf-article-body code {
  border: 1px solid #b9ddd7;
  background: var(--sf-teal-soft);
  color: var(--sf-teal-dark);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.sf-article-body pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  overflow-wrap: normal;
  word-break: normal;
}
.sf-article-body :where(p, li, dd, td, th, blockquote, a) {
  overflow-wrap: anywhere;
}
.sf-article-body table { width: 100%; margin: 22px 0; border-collapse: collapse; font-size: 14px; }
.sf-article-body th, .sf-article-body td { padding: 10px; border: 1px solid var(--sf-line); text-align: left; vertical-align: top; }
.sf-article-body th { background: #edf4f7; }
.sf-manual-app { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin-top: 52px; border: 1px solid #b9ddd7; border-radius: 18px; background: #b9ddd7; }
.sf-manual-app section { padding: 23px; background: #fff; }
.sf-manual-app section:last-child { background: #effbf8; }
.sf-manual-app h2 { margin: 0 0 9px; font-size: 24px; }
.sf-manual-app p:not(.sf-kicker) { color: var(--sf-muted); }
.sf-filter-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sf-filter-links a { padding: 7px 11px; border: 1px solid var(--sf-line); border-radius: 999px; background: #fff; color: var(--sf-teal); font-size: 13px; font-weight: 750; }
.sf-reference-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.sf-reference-grid a { padding: 20px; border: 1px solid var(--sf-line); border-radius: 16px; background: #fff; }
.sf-reference-grid strong { display: block; margin-top: 18px; font-size: 19px; }
.sf-reference-grid p { margin: 7px 0 0; color: var(--sf-muted); font-size: 14px; }
.sf-platform-grid { display: grid; gap: 14px; }
.sf-platform-card { display: flex; gap: 17px; align-items: flex-start; box-shadow: none; }
.sf-platform-card h2 { margin: 2px 0 7px; font-size: 24px; }
.sf-platform-card small { color: var(--sf-muted); }
.sf-platform-dot { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; box-shadow: 0 0 0 5px #eef3f8; }
.sf-platform-green, .sf-platform-teal { background: #179b83; }
.sf-platform-yellow { background: #f5b923; }
.sf-platform-blue { background: #4285f4; }
.sf-report-shell { overflow: hidden; border: 1px solid var(--sf-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 42px rgb(66 84 149 / .12); }
.sf-report-head { display: flex; justify-content: space-between; gap: 20px; padding: 24px; border-bottom: 1px solid var(--sf-line); }
.sf-report-head h2 { margin: 0; font-size: 28px; }
.sf-report-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--sf-line); }
.sf-report-metrics div { padding: 22px 24px; }
.sf-report-metrics div + div { border-left: 1px solid var(--sf-line); }
.sf-report-metrics span, .sf-report-metrics strong, .sf-report-metrics small { display: block; }
.sf-report-metrics span, .sf-report-metrics small { color: var(--sf-muted); font-size: 12px; }
.sf-report-metrics strong { margin: 9px 0; font: 800 32px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.06em; }
.sf-report-section { padding: 24px; border-bottom: 1px solid var(--sf-line); }
.sf-report-section blockquote { margin: 0; padding: 16px 18px; border-left: 3px solid var(--sf-teal); background: #f1f8f7; font-size: 17px; font-weight: 700; }
.sf-report-section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.sf-report-section-head h3 { margin: 0; }
.sf-engine-list { display: grid; gap: 10px; margin-top: 18px; }
.sf-engine-list article { display: grid; grid-template-columns: 1fr auto; gap: 7px 15px; padding: 16px; border: 1px solid var(--sf-line); border-radius: 14px; }
.sf-engine-list article div span { display: block; margin-top: 3px; color: var(--sf-muted); font-size: 12px; overflow-wrap: anywhere; }
.sf-engine-list article p { grid-column: 1 / -1; margin: 3px 0 0; color: var(--sf-muted); font-size: 13px; }
.sf-finding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.sf-finding-grid article { padding: 18px; border: 1px solid var(--sf-line); border-radius: 15px; }
.sf-finding-grid h3 { margin: 12px 0; }
.sf-finding-grid dl { margin: 0; }
.sf-finding-grid dl div { padding: 9px 0; border-top: 1px solid var(--sf-line); }
.sf-finding-grid dt { color: var(--sf-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.sf-finding-grid dd { margin: 3px 0 0; font-size: 13px; }
.sf-report-note { padding: 21px 24px; background: #f1f8f7; }
.sf-report-note p { margin: 5px 0 0; color: var(--sf-muted); font-size: 13px; }
.sf-center-actions { justify-content: center; }

@media (max-width: 1000px) {
  .sf-route-grid { grid-template-columns: repeat(2, 1fr); }
  .sf-route-grid li:not(:last-child)::after { display: none; }
  .sf-task-grid { grid-template-columns: repeat(2, 1fr); }
  .sf-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .sf-observation-grid, .sf-guide-facts, .sf-report-metrics, .sf-finding-grid, .sf-manual-app, .sf-reference-grid { grid-template-columns: 1fr; }
  .sf-route-grid, .sf-task-grid, .sf-trust-grid { grid-template-columns: 1fr; }
  .sf-report-metrics div + div { border-left: 0; border-top: 1px solid var(--sf-line); }
  .sf-report-section-head { align-items: flex-start; flex-direction: column; }
  .sf-guide-facts { grid-template-columns: repeat(2, 1fr); }
  .sf-path { flex-direction: column; gap: 3px; }
  .sf-article-body { overflow-wrap: anywhere; }
  .sf-article-body table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* Homepage agent-loop visualization */
.sf-loop-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, .72fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  margin-top: 34px;
}

.sf-loop-diagram {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid #cbd6e4;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 48%, rgb(18 181 203 / .12), transparent 28%),
    radial-gradient(circle at 15% 12%, rgb(66 133 244 / .10), transparent 28%),
    radial-gradient(circle at 87% 84%, rgb(52 168 83 / .08), transparent 27%),
    linear-gradient(145deg, #f9fcff 0%, #f4f8fc 48%, #fff 100%);
  box-shadow: 0 24px 70px rgb(34 55 82 / .12), inset 0 1px 0 #fff;
  isolation: isolate;
}

.sf-loop-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .42;
  background-image:
    linear-gradient(rgb(91 111 137 / .09) 1px, transparent 1px),
    linear-gradient(90deg, rgb(91 111 137 / .09) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000, transparent 78%);
}

.sf-loop-track {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    from -25deg,
    #4285f4 0 16%, transparent 16% 20%,
    #12b5cb 20% 36%, transparent 36% 40%,
    #34a853 40% 56%, transparent 56% 60%,
    #fbbc04 60% 76%, transparent 76% 80%,
    #ea4335 80% 96%, transparent 96% 100%
  );
  transform: translate(-50%, -50%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  filter: drop-shadow(0 0 8px rgb(18 181 203 / .22));
}

.sf-loop-track::before,
.sf-loop-track::after {
  content: '';
  position: absolute;
  inset: 11%;
  border: 1px solid rgb(117 139 166 / .24);
  border-radius: 50%;
}

.sf-loop-track::after {
  inset: -11%;
  border-style: dashed;
  opacity: .55;
}

.sf-loop-sweep {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 71%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: sf-loop-rotate 15s linear infinite;
}

.sf-loop-sweep::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #12b5cb;
  box-shadow: 0 0 0 6px rgb(18 181 203 / .12), 0 0 22px #12b5cb;
}

.sf-loop-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  width: clamp(170px, 25%, 210px);
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(18 181 203 / .42);
  border-radius: 50%;
  background: linear-gradient(145deg, rgb(255 255 255 / .96), rgb(238 249 251 / .95));
  box-shadow: 0 20px 45px rgb(28 67 91 / .18), inset 0 0 0 8px rgb(255 255 255 / .65);
  text-align: center;
  transform: translate(-50%, -50%);
}

.sf-loop-core::before {
  content: '';
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from 90deg, #4285f4, #12b5cb, #34a853, #fbbc04, #ea4335, #4285f4);
  opacity: .22;
  filter: blur(9px);
}

.sf-loop-core span {
  color: #087b8c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

.sf-loop-core strong {
  margin: 8px 0 7px;
  color: #13263d;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: .96;
  letter-spacing: -.045em;
}

.sf-loop-core small {
  color: #65778d;
  font-size: 11px;
  font-weight: 700;
}

.sf-loop-core i {
  position: absolute;
  right: 18%;
  bottom: 16%;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #34a853;
  box-shadow: 0 0 0 4px rgb(52 168 83 / .14);
}

.sf-loop-node {
  position: absolute;
  z-index: 5;
  display: grid;
  width: clamp(150px, 24%, 190px);
  min-height: 98px;
  grid-template-columns: 34px 1fr;
  gap: 2px 10px;
  align-content: center;
  padding: 15px 16px;
  border: 1px solid #c8d5e4;
  border-left: 4px solid var(--node-color);
  border-radius: 17px;
  background: rgb(255 255 255 / .94);
  color: #172b43;
  box-shadow: 0 12px 28px rgb(30 55 82 / .12);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sf-loop-node:hover {
  border-color: var(--node-color);
  box-shadow: 0 18px 38px rgb(30 55 82 / .18);
  transform: translateY(-3px);
}

.sf-loop-node span {
  grid-row: 1 / 3;
  color: var(--node-color);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.sf-loop-node strong {
  font-size: 17px;
  letter-spacing: -.02em;
}

.sf-loop-node small {
  color: #6b7c91;
  font-size: 11px;
  line-height: 1.3;
}

.sf-loop-node-1 { --node-color: #4285f4; top: 4%; left: 50%; transform: translateX(-50%); }
.sf-loop-node-2 { --node-color: #12b5cb; top: 25%; right: 3%; }
.sf-loop-node-3 { --node-color: #34a853; right: 8%; bottom: 8%; }
.sf-loop-node-4 { --node-color: #f1a900; bottom: 8%; left: 8%; }
.sf-loop-node-5 { --node-color: #ea4335; top: 25%; left: 3%; }
.sf-loop-node-1:hover { transform: translate(-50%, -3px); }

.sf-loop-source {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 7px;
  align-items: center;
  color: #73849a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sf-loop-source span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12b5cb;
  box-shadow: 0 0 0 4px rgb(18 181 203 / .12);
}

.sf-loop-source-shopify { top: 52%; left: 4%; transform: rotate(-90deg) translateX(-50%); transform-origin: left center; }
.sf-loop-source-agents { top: 52%; right: 4%; transform: rotate(90deg) translateX(50%); transform-origin: right center; }

.sf-loop-console {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid #cbd6e4;
  border-radius: 30px;
  background: linear-gradient(165deg, #16283e 0%, #0f2134 62%, #122c3d 100%);
  color: #f6fbff;
  box-shadow: 0 24px 70px rgb(20 39 59 / .18);
}

.sf-loop-console-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid rgb(255 255 255 / .12);
}

.sf-loop-console-head div { display: grid; gap: 10px; }
.sf-loop-console-head strong { font-size: 20px; letter-spacing: -.025em; }
.sf-loop-console-head > small { color: #7e93aa; font-size: 9px; font-weight: 900; letter-spacing: .16em; }

.sf-loop-signal {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr 8px;
  gap: 10px;
  align-items: center;
  padding: 21px 0;
  border-bottom: 1px solid rgb(255 255 255 / .10);
}

.sf-loop-signal > span { color: #6fcddd; font-size: 10px; font-weight: 900; }
.sf-loop-signal div { display: grid; gap: 4px; }
.sf-loop-signal strong { font-size: 14px; }
.sf-loop-signal small { color: #91a2b6; font-size: 10px; line-height: 1.45; }
.sf-loop-signal i { width: 7px; height: 7px; border-radius: 50%; background: #34a853; box-shadow: 0 0 0 4px rgb(52 168 83 / .12); }
.sf-loop-console > p { margin: auto 0 18px; color: #aab8c7; font-size: 12px; line-height: 1.65; }
.sf-loop-console .sf-text-link { color: #7bdbeb; }

@keyframes sf-loop-rotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 980px) {
  .sf-loop-showcase { grid-template-columns: 1fr; }
  .sf-loop-console { min-height: 0; }
}

@media (max-width: 720px) {
  .sf-loop-diagram {
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 20px;
  }
  .sf-loop-grid,
  .sf-loop-track,
  .sf-loop-sweep,
  .sf-loop-source { display: none; }
  .sf-loop-core {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 180px;
    aspect-ratio: auto;
    grid-column: 1 / -1;
    border-radius: 22px;
    transform: none;
  }
  .sf-loop-node {
    position: static;
    width: auto;
    min-height: 96px;
    transform: none;
  }
  .sf-loop-node:hover,
  .sf-loop-node-1:hover { transform: translateY(-2px); }
  .sf-loop-node-5 { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .sf-loop-diagram { grid-template-columns: 1fr; border-radius: 22px; }
  .sf-loop-node-5 { grid-column: auto; }
  .sf-loop-console { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .sf-loop-sweep { animation: none; }
  .sf-loop-node { transition: none; }
}


/* First-screen SkuWatch AI Visibility loop */
.sf-loop-hero {
  padding: clamp(70px, 8vw, 112px) 0 clamp(58px, 7vw, 96px);
  background:
    radial-gradient(circle at 12% 8%, rgb(66 133 244 / .13), transparent 28%),
    radial-gradient(circle at 88% 18%, rgb(52 168 83 / .10), transparent 26%),
    linear-gradient(180deg, #f7fbff 0%, #eef6fb 62%, #f8fbfd 100%);
  border-bottom: 1px solid var(--sf-line);
}
.sf-loop-hero-head {
  display: grid;
  max-width: 980px;
  justify-items: center;
  margin: 0 auto;
  text-align: center;
}
.sf-loop-hero-head h1 {
  max-width: 17ch;
  margin: 12px 0 22px;
  color: #10263d;
  font-size: clamp(44px, 7vw, 88px);
  line-height: .93;
  letter-spacing: -.065em;
}
.sf-loop-hero-head > p:not(.sf-kicker):not(.sf-hero-status) {
  max-width: 780px;
  margin: 0;
  color: #52677e;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}
.sf-loop-hero-head .sf-actions { justify-content: center; margin-top: 28px; }
.sf-loop-hero-head .sf-hero-status { margin: 18px 0 0; }
.sf-loop-hero .sf-loop-showcase { margin-top: clamp(38px, 6vw, 70px); }

/* Homepage commerce product shelf */
.sf-product-shelf {
  padding: clamp(58px, 7vw, 88px) 0;
  background:
    linear-gradient(90deg, rgb(66 133 244 / .06) 1px, transparent 1px),
    linear-gradient(#fff, #fff);
  background-size: min(9vw, 112px) 100%, auto;
  border-bottom: 1px solid var(--sf-line);
}
.sf-product-shelf-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .65fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 28px;
}
.sf-product-shelf-head h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--sf-ink);
  font-size: clamp(31px, 4.5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.sf-product-shelf-head > p {
  margin: 0;
  color: var(--sf-muted);
  font-size: 16px;
  line-height: 1.65;
}
.sf-commerce-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(210px, 1fr));
  gap: 14px;
}
.sf-commerce-product {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid #d4dce7;
  border-radius: 22px;
  background: #e9eef3;
  box-shadow: 0 16px 38px rgb(36 57 82 / .11);
  isolation: isolate;
}
.sf-commerce-product-featured { grid-row: 1 / 3; }
.sf-commerce-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}
.sf-commerce-product::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 38%, rgb(8 22 35 / .82) 100%);
  pointer-events: none;
}
.sf-commerce-product:hover img { transform: scale(1.035); }
.sf-commerce-product figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  gap: 5px;
  padding: 20px;
  color: #fff;
}
.sf-commerce-product figcaption span {
  color: #85e5da;
  font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .13em;
}
.sf-commerce-product:nth-child(2) figcaption span { color: #9fc3ff; }
.sf-commerce-product:nth-child(3) figcaption span { color: #ffd66f; }
.sf-commerce-product:nth-child(4) figcaption span { color: #ffaaa2; }
.sf-commerce-product figcaption strong { font-size: clamp(15px, 1.8vw, 20px); letter-spacing: -.02em; }
.sf-commerce-product figcaption small { max-width: 28ch; color: rgb(255 255 255 / .74); line-height: 1.45; }
.sf-photo-credit { margin: 13px 2px 0; color: #718196; font-size: 11px; }
.sf-photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ChatGPT shopping recommendation anatomy */
.sf-chat-shopping { padding: clamp(62px, 8vw, 96px) 0; background: #edf2f6; border-bottom: 1px solid var(--sf-line); }
.sf-chat-shopping-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .62fr); gap: 18px; align-items: stretch; }
.sf-chat-window, .sf-chat-evidence { border: 1px solid #cfd8e2; border-radius: 25px; background: #fff; box-shadow: 0 18px 46px rgb(26 43 62 / .10); }
.sf-chat-window { overflow: hidden; }
.sf-chat-window-bar { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; border-bottom: 1px solid #e2e7ec; color: #687684; font-size: 12px; }
.sf-chat-window-bar div { display: flex; align-items: center; gap: 9px; color: #18232d; font-size: 14px; }
.sf-chat-mark { display: inline-grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #0d0d0d; color: #fff; font-size: 17px; }
.sf-chat-thread { padding: clamp(20px, 3vw, 34px); }
.sf-chat-prompt { width: fit-content; max-width: 78%; margin: 0 0 26px auto; padding: 13px 17px; border-radius: 18px 18px 4px 18px; background: #f0f1f2; color: #28333d; font-size: 14px; }
.sf-chat-answer-head { display: grid; grid-template-columns: 30px 1fr; gap: 11px; align-items: start; margin-bottom: 18px; }
.sf-chat-answer-head p { max-width: 68ch; margin: 3px 0 0; color: #3c4853; font-size: 14px; line-height: 1.55; }
.sf-chat-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.sf-chat-top-pick { display: grid; grid-template-columns: minmax(150px, .62fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 30px); align-items: center; margin: 0 0 24px 41px; padding: 18px; border: 1px solid #dce2e8; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgb(29 44 57 / .08); }
.sf-chat-top-pick > a { display: grid; min-height: 250px; place-items: center; overflow: hidden; border-radius: 13px; background: #f1f3f4; }
.sf-chat-top-pick img { width: 100%; height: 250px; object-fit: contain; mix-blend-mode: multiply; }
.sf-chat-top-pick > div > span { color: #087d68; font-size: 9px; font-weight: 900; letter-spacing: .11em; }
.sf-chat-top-pick h3 { margin: 8px 0 7px; color: #17232e; font-size: clamp(21px, 2.5vw, 29px); letter-spacing: -.04em; }
.sf-chat-top-pick > div > p:last-child { margin: 14px 0 0; color: #596774; font-size: 13px; line-height: 1.55; }
.sf-chat-other-title { margin: 0 0 12px 41px; color: #25323d; font-size: 17px; }
.sf-chat-product { overflow: hidden; border: 1px solid #dce2e8; border-radius: 16px; background: #fff; }
.sf-chat-product > a { display: grid; place-items: center; background: #f1f3f4; }
.sf-chat-product img { width: 100%; aspect-ratio: 1.16; object-fit: contain; background: #f1f3f4; mix-blend-mode: multiply; }
.sf-chat-product > div { padding: 13px; }
.sf-chat-product span { color: #087d68; font-size: 8px; font-weight: 900; letter-spacing: .09em; }
.sf-chat-product h3 { min-height: 2.5em; margin: 7px 0 8px; color: #17232e; font-size: 15px; line-height: 1.23; letter-spacing: -.02em; }
.sf-chat-product p { margin: 0 0 14px; color: #6d7984; font-size: 10px; line-height: 1.45; }
.sf-chat-product strong { color: #26333d; font-size: 11px; }
.sf-chat-snowboards { margin-left: 41px; }
.sf-chat-snowboards .sf-chat-product img { height: 132px; aspect-ratio: auto; padding: 8px; }
.sf-chat-snowboards .sf-chat-product > div { padding: 11px 12px 13px; }
.sf-chat-snowboards .sf-chat-product h3 { min-height: 0; margin-top: 0; }
.sf-chat-snowboards .sf-chat-product > div > p:last-child { min-height: 0; margin: 9px 0 0; font-size: 10px; line-height: 1.4; }
.sf-chat-price { display: block; margin-top: 4px; color: #17232e !important; font-size: 17px !important; }
.sf-chat-merchant { margin: 3px 0 0 !important; color: #65727e !important; font-size: 10px !important; }
.sf-chat-rating { margin: 7px 0 0 !important; color: #68747e !important; font-size: 11px !important; }
.sf-chat-rating b { color: #a05e00; }

/* Core portal visual system */
.sf-entity-graph { margin: 28px 0 0; overflow: hidden; border: 1px solid #ccd8e3; border-radius: 26px; background: #f8fbfd; box-shadow: 0 20px 50px rgb(30 53 76 / .10); }
.sf-entity-graph > figcaption { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding: 23px 26px; border-bottom: 1px solid #d9e2ea; background: #fff; }
.sf-entity-graph > figcaption div { display: grid; gap: 6px; }
.sf-entity-graph > figcaption span { color: var(--sf-teal); font: 800 10px ui-monospace, monospace; letter-spacing: .12em; }
.sf-entity-graph > figcaption strong { color: var(--sf-ink); font-size: clamp(19px, 2.6vw, 28px); letter-spacing: -.03em; }
.sf-entity-graph > figcaption small { max-width: 27ch; color: var(--sf-muted); line-height: 1.5; }
.sf-entity-graph-canvas { position: relative; min-height: 520px; background: radial-gradient(circle at center, rgb(15 118 110 / .11), transparent 26%), linear-gradient(rgb(93 113 134 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(93 113 134 / .06) 1px, transparent 1px); background-size: auto, 40px 40px, 40px 40px; }
.sf-entity-graph-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sf-entity-graph-canvas line { stroke: #9fb0bf; stroke-width: 1.5; stroke-dasharray: 6 7; vector-effect: non-scaling-stroke; }
.sf-graph-core, .sf-graph-node { position: absolute; z-index: 1; display: grid; align-content: center; border: 1px solid #cbd7e1; background: rgb(255 255 255 / .96); box-shadow: 0 11px 28px rgb(28 53 75 / .10); }
.sf-graph-core { top: 50%; left: 50%; width: 190px; min-height: 150px; justify-items: center; border-color: #86c7bd; border-radius: 50%; transform: translate(-50%, -50%); text-align: center; }
.sf-graph-core span, .sf-graph-node span { color: var(--sf-teal); font: 800 9px ui-monospace, monospace; letter-spacing: .1em; }
.sf-graph-core strong { margin: 7px 0 4px; color: var(--sf-ink); font-size: 28px; letter-spacing: -.04em; }
.sf-graph-core small, .sf-graph-node small { color: var(--sf-muted); font-size: 10px; }
.sf-graph-node { width: 160px; min-height: 82px; gap: 3px; padding: 13px 15px; border-radius: 15px; }
.sf-graph-node strong { color: #23394c; font-size: 14px; }
.sf-graph-node-1 { top: 8%; left: 6%; }.sf-graph-node-2 { top: 4%; left: 50%; transform: translateX(-50%); }.sf-graph-node-3 { top: 8%; right: 6%; }.sf-graph-node-4 { top: 55%; right: 2%; }.sf-graph-node-5 { right: 18%; bottom: 5%; }.sf-graph-node-6 { bottom: 5%; left: 18%; }.sf-graph-node-7 { top: 55%; left: 2%; }
.sf-graph-ledger { display: flex; gap: 16px; align-items: center; padding: 16px 25px; border-top: 1px solid #d9e2ea; background: #132b3e; color: #fff; }
.sf-graph-ledger span { color: #79ddd0; font: 800 10px ui-monospace, monospace; letter-spacing: .1em; white-space: nowrap; }
.sf-graph-ledger p { margin: 0; color: #b9c7d3; font-size: 12px; }
.sf-part-evidence { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; margin: 0; border-bottom: 1px solid var(--sf-line); background: #f8fbfd; }
.sf-part-drawing { display: grid; justify-items: center; padding: 18px 24px 14px; border-right: 1px solid var(--sf-line); background: linear-gradient(rgb(77 105 128 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(77 105 128 / .05) 1px, transparent 1px), #f8fbfd; background-size: 28px 28px; }
.sf-part-drawing svg { width: 100%; max-width: 520px; height: 260px; }
.sf-part-drawing text { fill: #0f766e; font: 800 11px ui-monospace, monospace; letter-spacing: .08em; }
.sf-part-drawing > span { color: #6e7f8f; font: 700 9px ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.sf-part-evidence figcaption { padding: 28px; align-self: center; }
.sf-part-evidence figcaption h3 { margin: 0 0 18px; color: var(--sf-ink); font-size: 25px; letter-spacing: -.03em; }
.sf-part-evidence dl { margin: 0; }
.sf-part-evidence dl div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--sf-line); }
.sf-part-evidence dt { color: #778696; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.sf-part-evidence dd { margin: 0; color: #2c4255; font-size: 12px; }
.sf-discovery-map { margin: 0 0 34px; padding: clamp(22px, 4vw, 36px); border: 1px solid #ccd8e3; border-radius: 24px; background: #fff; box-shadow: 0 18px 44px rgb(34 57 81 / .09); }
.sf-discovery-map figcaption { display: grid; gap: 7px; margin-bottom: 24px; }
.sf-discovery-map figcaption span { color: var(--sf-teal); font: 800 10px ui-monospace, monospace; letter-spacing: .12em; }
.sf-discovery-map figcaption strong { max-width: 24ch; color: var(--sf-ink); font-size: clamp(24px, 3.6vw, 38px); line-height: 1.06; letter-spacing: -.04em; }
.sf-discovery-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.sf-discovery-stages article { position: relative; min-height: 205px; padding: 18px; border: 1px solid #d9e1e8; border-top: 4px solid var(--stage-color); border-radius: 15px; background: #f9fbfc; }
.sf-discovery-stages article:nth-child(1) { --stage-color: #4285f4; }.sf-discovery-stages article:nth-child(2) { --stage-color: #12a9bd; }.sf-discovery-stages article:nth-child(3) { --stage-color: #34a853; }.sf-discovery-stages article:nth-child(4) { --stage-color: #e9a500; }
.sf-discovery-stages article:not(:last-child)::after { content: '→'; position: absolute; z-index: 2; top: 50%; right: -18px; color: #8091a1; font-size: 18px; }
.sf-discovery-stages span { color: var(--stage-color); font: 800 9px ui-monospace, monospace; letter-spacing: .08em; }
.sf-discovery-stages strong { display: block; margin: 15px 0 9px; color: #263b4d; font-size: 16px; line-height: 1.25; }
.sf-discovery-stages p { margin: 0; color: var(--sf-muted); font-size: 12px; line-height: 1.5; }
.sf-discovery-stages small { position: absolute; bottom: 16px; left: 18px; color: #788897; font: 800 9px ui-monospace, monospace; letter-spacing: .09em; }
.sf-discovery-map > p { margin: 18px 0 0; padding-left: 13px; border-left: 3px solid var(--sf-teal); color: var(--sf-muted); font-size: 12px; }
.sf-use-case-card { overflow: hidden; padding: 0; }
.sf-use-case-image { position: relative; height: 170px; overflow: hidden; border-bottom: 1px solid #d8e1e8; background: #edf2f5; }
.sf-use-case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.sf-use-case-image-contain img { padding: 10px; object-fit: contain; mix-blend-mode: multiply; }
.sf-use-case-image span { position: absolute; bottom: 10px; left: 11px; padding: 5px 8px; border-radius: 6px; background: rgb(13 28 41 / .78); color: #fff; font: 800 8px ui-monospace, monospace; letter-spacing: .1em; backdrop-filter: blur(8px); }
.sf-use-case-card:hover .sf-use-case-image img { transform: scale(1.025); }
.sf-use-case-body { display: flex; min-height: 295px; flex-direction: column; align-items: flex-start; padding: 21px 22px 23px; }
.sf-use-case-body h2 { margin: 13px 0 9px; font-size: 20px; line-height: 1.15; letter-spacing: -.025em; }
.sf-use-case-body p { margin: 0; color: var(--sf-muted); }
.sf-use-case-body a { margin-top: auto; padding-top: 20px; color: var(--sf-teal); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.sf-case-visual { position: relative; left: 50%; display: grid; width: min(1040px, calc(100vw - 40px)); grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); margin: 34px 0 46px; overflow: hidden; border: 1px solid #cdd8e2; border-radius: 25px; background: #fff; box-shadow: 0 22px 58px rgb(29 51 73 / .12); transform: translateX(-50%); }
.sf-case-product-image { display: grid; min-height: 470px; place-items: center; padding: clamp(18px, 4vw, 40px); border-right: 1px solid #d9e1e8; background: radial-gradient(circle at 50% 45%, #fff, #eef3f6 76%); }
.sf-case-product-image img { width: 100%; height: 390px; object-fit: contain; mix-blend-mode: multiply; }
.sf-case-visual figcaption { padding: clamp(24px, 4vw, 40px); }
.sf-case-visual figcaption h2 { margin: 0 0 8px; color: var(--sf-ink); font-size: clamp(28px, 4vw, 42px); line-height: 1; letter-spacing: -.05em; }
.sf-case-date { margin: 0 0 24px !important; color: #6b7b89 !important; font: 700 11px ui-monospace, monospace; }
.sf-case-signals { display: grid; border-top: 1px solid #dfe5ea; }
.sf-case-signals > div { display: grid; grid-template-columns: 76px 1fr; gap: 11px; align-items: start; padding: 14px 0; border-bottom: 1px solid #dfe5ea; }
.sf-case-signals p { margin: 0 !important; }
.sf-case-signals strong, .sf-case-signals small { display: block; }
.sf-case-signals strong { color: #2a4052; font-size: 13px; }
.sf-case-signals small { margin-top: 3px; color: #71808d; font-size: 10px; line-height: 1.45; }
.sf-case-state { display: inline-flex; width: fit-content; padding: 4px 6px; border-radius: 5px; font: 800 8px ui-monospace, monospace; letter-spacing: .06em; }
.sf-case-state.is-strong { background: #dcf2ec; color: #0b6a5e; }
.sf-case-state.is-watch { background: #fff0c7; color: #80550c; }
.sf-case-state.is-gap { background: #fce2e0; color: #a13c38; }
.sf-case-source { display: inline-block; margin-top: 19px; color: var(--sf-teal) !important; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .sf-case-visual { width: min(100vw - 28px, 620px); grid-template-columns: 1fr; }
  .sf-case-product-image { min-height: 320px; border-right: 0; border-bottom: 1px solid #d9e1e8; }
  .sf-case-product-image img { height: 280px; }
}
@media (max-width: 800px) {
  .sf-entity-graph > figcaption { align-items: start; flex-direction: column; }
  .sf-entity-graph-canvas { display: grid; min-height: 0; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 18px; }
  .sf-entity-graph-canvas svg { display: none; }
  .sf-graph-core, .sf-graph-node { position: static; width: auto; min-height: 90px; border-radius: 15px; transform: none; }
  .sf-graph-core { grid-column: 1 / -1; aspect-ratio: auto; }
  .sf-graph-ledger { align-items: flex-start; flex-direction: column; }
  .sf-part-evidence { grid-template-columns: 1fr; }
  .sf-part-drawing { border-right: 0; border-bottom: 1px solid var(--sf-line); }
  .sf-discovery-stages { grid-template-columns: repeat(2, 1fr); }
  .sf-discovery-stages article:not(:last-child)::after { display: none; }
}
@media (max-width: 520px) {
  .sf-entity-graph-canvas, .sf-discovery-stages { grid-template-columns: 1fr; }
  .sf-graph-core { grid-column: auto; }
  .sf-part-drawing svg { height: 210px; }
  .sf-discovery-stages article { min-height: 175px; }
  .sf-use-case-image { height: 190px; }
  .sf-use-case-body { min-height: 0; }
}
.sf-chat-window-note { display: flex; gap: 12px; align-items: center; padding: 14px 20px; border-top: 1px solid #e2e7ec; background: #f8fafb; }
.sf-chat-window-note span { flex: 0 0 auto; color: #6f7b86; font: 800 9px ui-monospace, monospace; letter-spacing: .1em; }
.sf-chat-window-note p { margin: 0; color: #71808d; font-size: 10px; line-height: 1.45; }
.sf-chat-evidence { padding: clamp(23px, 3vw, 32px); }
.sf-chat-evidence h3 { margin: 0; color: var(--sf-ink); font-size: clamp(24px, 2.7vw, 33px); line-height: 1.06; letter-spacing: -.04em; }
.sf-chat-evidence ol { list-style: none; display: grid; gap: 0; margin: 25px 0 24px; padding: 0; border-top: 1px solid #e0e6eb; }
.sf-chat-evidence li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid #e0e6eb; }
.sf-chat-evidence li > span { color: #0c8a75; font: 800 10px ui-monospace, monospace; }
.sf-chat-evidence strong { color: #26343f; font-size: 14px; }
.sf-chat-evidence li p { margin: 4px 0 0; color: #6a7986; font-size: 12px; line-height: 1.5; }
@media (max-width: 720px) {
  .sf-loop-hero { padding-top: 54px; }
  .sf-loop-hero-head { justify-items: start; text-align: left; }
  .sf-loop-hero-head h1 { max-width: none; font-size: clamp(39px, 12vw, 62px); }
  .sf-loop-hero-head .sf-actions { justify-content: flex-start; }
  .sf-product-shelf-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .sf-commerce-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 330px 220px 220px; }
  .sf-commerce-product-featured { grid-column: 1 / -1; grid-row: auto; }
  .sf-chat-shopping-layout { grid-template-columns: 1fr; }
  .sf-chat-products { overflow-x: auto; grid-template-columns: repeat(3, minmax(190px, 1fr)); padding-bottom: 5px; }
  .sf-chat-top-pick { grid-template-columns: 1fr; margin-left: 0; }
  .sf-chat-top-pick > a, .sf-chat-top-pick img { min-height: 0; height: 280px; }
  .sf-chat-other-title, .sf-chat-snowboards { margin-left: 0; }
}
@media (max-width: 500px) {
  .sf-commerce-gallery { grid-template-columns: 1fr; grid-template-rows: 340px repeat(3, 220px); }
  .sf-commerce-product-featured { grid-column: auto; }
}

/* How SkuWatch AI Visibility works */
.sf-agent-architecture {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid #c9d6e4;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgb(66 133 244 / .11), transparent 33%),
    linear-gradient(160deg, #f9fcff, #eef5fa 55%, #f9fcff);
  box-shadow: 0 25px 70px rgb(31 57 83 / .12);
}

.sf-agent-architecture::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 98px;
  bottom: 72px;
  left: 50%;
  border-left: 1px dashed rgb(72 113 151 / .34);
}

.sf-agent-orchestrator,
.sf-agent-memory,
.sf-agent-layer {
  position: relative;
  z-index: 1;
}

.sf-agent-orchestrator {
  display: grid;
  max-width: 680px;
  justify-self: center;
  justify-items: center;
  padding: 22px 30px;
  border: 1px solid rgb(18 181 203 / .42);
  border-radius: 20px;
  background: linear-gradient(135deg, #10283e, #163b50);
  color: #fff;
  text-align: center;
  box-shadow: 0 17px 38px rgb(16 40 62 / .2), 0 0 0 7px rgb(18 181 203 / .08);
}

.sf-agent-orchestrator span,
.sf-agent-memory span,
.sf-agent-layer article > span {
  color: #6fd4e4;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.sf-agent-orchestrator strong { margin: 6px 0; font-size: clamp(19px, 2.6vw, 27px); letter-spacing: -.03em; }
.sf-agent-orchestrator small { color: #9cb0c2; font-size: 11px; }

.sf-agent-layer {
  padding: 22px;
  border: 1px solid #ccd8e5;
  border-radius: 23px;
  background: rgb(255 255 255 / .88);
  box-shadow: 0 12px 30px rgb(31 57 83 / .08);
  backdrop-filter: blur(10px);
}

.sf-agent-layer > header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.sf-agent-layer > header > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #e9f5f7;
  color: #087b8c;
  font-size: 10px;
  font-weight: 900;
}

.sf-agent-layer > header div { display: grid; gap: 2px; }
.sf-agent-layer > header strong { color: #172c43; font-size: 18px; }
.sf-agent-layer > header small { color: #718399; font-size: 11px; }

.sf-agent-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.sf-agent-layer article {
  min-height: 146px;
  padding: 17px;
  border: 1px solid #d8e1eb;
  border-radius: 15px;
  background: #fff;
}

.sf-agent-layer article strong { display: block; margin: 8px 0; color: #1a3048; font-size: 14px; }
.sf-agent-layer article p { margin: 0; color: #677a90; font-size: 11px; line-height: 1.55; }
.sf-agent-layer-reason article > span { color: #b57f00; }
.sf-agent-layer-act article > span { color: #268a47; }

.sf-agent-memory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 4px clamp(10px, 5vw, 70px);
}

.sf-agent-memory > div {
  display: grid;
  min-height: 112px;
  align-content: center;
  padding: 20px;
  border: 1px solid rgb(66 133 244 / .28);
  border-radius: 18px;
  background: linear-gradient(140deg, #f7fbff, #eef7ff);
  box-shadow: 0 10px 25px rgb(66 133 244 / .08);
}

.sf-agent-memory span { color: #3275d5; }
.sf-agent-memory strong { margin: 7px 0 4px; color: #183451; font-size: 17px; }
.sf-agent-memory small { color: #718399; font-size: 10px; line-height: 1.5; }

.sf-signal-library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sf-signal-stack {
  overflow: hidden;
  border: 1px solid #ccd8e5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(31 57 83 / .07);
}

.sf-signal-stack > header {
  min-height: 164px;
  padding: 23px 24px 20px;
  border-bottom: 1px solid #e0e7ef;
  background: linear-gradient(150deg, #f9fbfd, #f2f7fa);
}

.sf-signal-stack > header span { color: #087b8c; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.sf-signal-stack > header h3 { margin: 10px 0 8px; color: #172c43; font-size: 20px; line-height: 1.15; letter-spacing: -.035em; }
.sf-signal-stack > header p { margin: 0; color: #697c91; font-size: 12px; line-height: 1.55; }
.sf-signal-stack > div { display: grid; padding: 8px 22px 17px; }

.sf-signal-stack > div a {
  position: relative;
  padding: 13px 22px 13px 0;
  border-bottom: 1px solid #e5ebf1;
  color: #21425e;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.sf-signal-stack > div a::after { content: '->'; position: absolute; right: 0; color: #16a3b7; font-weight: 900; }
.sf-signal-stack > div a:last-child { border-bottom: 0; }
.sf-signal-stack > div a:hover { color: #087b8c; }

.sf-signal-stack-featured {
  border-color: rgb(18 181 203 / .45);
  box-shadow: 0 16px 38px rgb(18 181 203 / .11);
}

.sf-signal-stack-featured > header {
  background:
    radial-gradient(circle at 100% 0%, rgb(66 133 244 / .14), transparent 35%),
    linear-gradient(150deg, #f7fcff, #eef9fa);
}

@media (max-width: 820px) {
  .sf-agent-role-grid,
  .sf-agent-memory,
  .sf-signal-library { grid-template-columns: 1fr; }
  .sf-agent-architecture::before { display: none; }
  .sf-agent-memory { padding: 0; }
}

@media (max-width: 520px) {
  .sf-agent-architecture { padding: 14px; border-radius: 22px; }
  .sf-agent-layer { padding: 16px; }
  .sf-agent-orchestrator { padding: 20px 16px; }
  .sf-signal-stack > header { min-height: 0; }
}
