/* Custom styles to complement Tailwind CSS */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  line-height: 1.6;
}
/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
/* Hide scrollbar for clean horizontal scroll */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
/* Custom base touches aligned with Origin Strategy palette */
body {
  font-family: "Inter", sans-serif;
}
.font-mono {
  font-family: "JetBrains Mono", monospace;
}
/* Subtle grid background */
.bg-grid-pattern {
  background-size: 36px 36px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}
.brand {
  font-family: "Sora", "Space Grotesk", ui-sans-serif, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-50%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(300%) translateY(-50%);
    opacity: 0;
  }
}
/* Tag Styling */
.tag {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Skill Card Styling */
.skill-card {
  background-color: #1f2937;
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #374151;
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: #60a5fa;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

/* Project Card Styling */
.project-card {
  background-color: #1f2937;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #374151;
  transition: all 0.3s ease;
  position: relative;
}

.project-card:hover {
  border-color: #60a5fa;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.project-type-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

.project-tag {
  display: inline-block;
  background-color: #374151;
  color: #9ca3af;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

/* Animation for Hero Section */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.8s ease-out;
}
/* Custom */

.intro {
  max-width: 800px;
  margin: 0 auto;
}

/* linkedin CTA*/
.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;

  /* Modern "Ghost" Style */
  background-color: transparent;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 9999px;

  /* Text Style */
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;

  /* Smooth Animation */
  transition: all 0.3s ease;
}

/* --- The Icon (From your SVG) --- */
.icon-linkedin-logo {
  display: block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  /* Encoded SVG (White Stroke) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z'/%3E%3Crect width='4' height='12' x='2' y='9'/%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3C/svg%3E");
}

/* --- Hover State (The "Pop") --- */
.btn-linkedin:hover {
  background-color: rgba(0, 119, 181, 0.1);
  border-color: #0077b5;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 119, 181, 0.4);
  transform: translateY(-2px);
}

/* Tech Pill / Hashtag Style */
.tech-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  /* The "Signal vs Noise" Look */
  background-color: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(168, 85, 247, 0.7);
  color: #cbd5e1;

  /* Smooth Animation */
  transition: all 0.3s ease;
  cursor: default;
}

/* Hover State */
.tech-pill:hover {
  background-color: #1e293b;
  border-color: #c084fc;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.25);
  transform: translateY(-1px);
}
.min-m-screen {
  min-height: 50vh;
}
.text-purple {
  color: #98a6f2;
}
.tag-spacing {
  margin-top: 3rem;
}

/* --- Base Icon Style --- */
.card-icon {
  display: block;
  width: 25px;
  height: 25px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-strategy {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FACC15' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/%3E%3C/svg%3E");
}
.icon-ai {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A855F7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z'/%3E%3Cpath d='M5 3v4'/%3E%3Cpath d='M9 3v4'/%3E%3Cpath d='M3 5h4'/%3E%3Cpath d='M3 9h4'/%3E%3C/svg%3E");
}
.icon-leadership {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F43F5E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
}
.icon-platform {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322D3EE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3Cpath d='M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16'/%3E%3Cpath d='M16 21h5v-5'/%3E%3C/svg%3E");
}
.icon-ops {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/%3E%3Cpath d='m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0'/%3E%3Cpath d='M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/svg%3E");
}

/* --- Base Lab Icon Style --- */
.lab-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-radar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322D3EE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12c0-4.4 3.6-8 8-8 4.4 0 8 3.6 8 8'/%3E%3Cpath d='M12 2v2'/%3E%3Cpath d='M12 20v2'/%3E%3Cpath d='M4.93 19.07 3.5 20.5'/%3E%3Cpath d='M19.07 4.93 20.5 3.5'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.icon-vibe {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A855F7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 16 4-4-4-4'/%3E%3Cpath d='m6 8-4 4 4 4'/%3E%3Cpath d='m14.5 4-5 16'/%3E%3C/svg%3E");
}
.icon-drift {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F43F5E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3C/svg%3E");
}
.icon-paypulse {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='5' rx='2'/%3E%3Cline x1='2' x2='22' y1='10' y2='10'/%3E%3Cpath d='M12 15h.01'/%3E%3C/svg%3E");
}

/* LAB*/
.lab-link {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem; /* Space between icon and text */
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem; /* text-xs */
  font-weight: 500;
  color: #ffffff; /* Slate-400 */
  border-radius: 0.375rem; /* rounded-md */
  text-decoration: none;
  transition: all 0.2s ease;
}

.lab-link:hover {
  color: #ffffff;
  border-color: #64748b; /* Slate-500 */
  background-color: #1e293b; /* Slate-800 */
}

/* Icons for the Links (using ::before to save HTML space) */
.link-github::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4'/%3E%3Cpath d='M9 18c-4.51 2-5-2-7-2'/%3E%3C/svg%3E");
  background-size: contain;
  background-size: contain;
  background-repeat: no-repeat;
}

.link-blog::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.status-badge {
  display: flex;
  width: fit-content;
  margin: 1rem auto 0 auto;

  align-items: center;
  gap: 0.35rem;
  justify-content: center;

  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  cursor: default;

  /* Amber / Warning Theme */
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.1);
  background-color: rgba(251, 191, 36, 0.1);
}
.status-inner {
  /* Amber / Warning Theme */
  color: #ea8c20;
  border: 1px solid rgba(251, 191, 36, 0.3);
  background-color: rgba(251, 191, 36, 0.3);
}

/* Optional: Clock Icon inside the badge */
.status-badge::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* home Arrow*/
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.chevron {
  position: absolute;
  width: 2.1rem;
  height: 0.5rem;
  opacity: 0;
  transform: scale(0.3);
  animation: move-chevron 3s ease-out infinite;
}

.chevron:first-child {
  animation: move-chevron 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  animation: move-chevron 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: #764ba2;
}

.chevron:before {
  left: 0;
  transform: skewY(30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  transform: skewY(-30deg);
}

@keyframes move-chevron {
  25% {
    opacity: 1;
  }
  33.3% {
    opacity: 1;
    transform: translateY(2.28rem);
  }
  66.6% {
    opacity: 1;
    transform: translateY(3.12rem);
  }
  100% {
    opacity: 0;
    transform: translateY(4.8rem) scale(0.5);
  }
}
/* home Arrow ends*/

/* Custom utilities for the CSS graphics */
:root {
  --bg-color: #f8fafc;
  --card-bg: #eff3f7;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --accent: #2265c1;
  --accent-glow: rgba(47, 129, 247, 0.15);
  --border: #cdd2d6;
  --success: #2ea043;
  --gradient-start: #238636;
  --gradient-end: #2f81f7;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}
.code-syntax {
  color: #e2e8f0;
}
.code-key {
  color: #f472b6;
} /* Pink */
.code-str {
  color: #a5b4fc;
} /* Indigo */
.code-cmd {
  color: #34d399;
} /* Emerald */
/* Custom Graphics - CSS Only */
.graphic-container {
  background-color: rgb(226 232 240 / 0.6);
  border: 1px solid var(--border);
  border-color: rgb(226 232 240 / 0.6);
  border-radius: 12px;
  padding: 40px 30px 20px;
  margin: 40px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.graphic-caption {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 15px;
  font-family: var(--font-mono);
}

/* Graphic 1: The Bridge */
.bridge-viz {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 400px;
  position: relative;
}

.cliff {
  width: 80px;
  height: 12px;
  border-radius: 4px;
  position: relative;
}

.cliff::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, var(--border), transparent);
  opacity: 0.4;
}

.cliff-label {
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: var(--text-secondary);
}

.bridge-span {
  flex-grow: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--border) 0%, var(--accent) 50%, var(--success) 100%);
  margin: 0 10px;
  position: relative;
  border-radius: 2px;
  box-shadow: 0 0 15px var(--accent-glow);
}

.bridge-span::before {
  content: "VIBE CODING";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0 8px;
}
/* Code Block Styling */
.code-block {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 25px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  position: relative;
}

.code-label {
  position: absolute;
  top: -10px;
  left: 10px;
  background: var(--accent);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: bold;
}
/*use it*/
.use-case-title {
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tag {
  background: rgba(47, 129, 247, 0.1);
  color: var(--accent);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/*checklist print*/
.audit-checkbox:checked + div {
  background-color: #4f46e5;
  border-color: #4f46e5;
}
.audit-checkbox:checked + div svg {
  display: block;
}
.audit-checkbox:checked ~ .audit-content {
  opacity: 0.5;
}
.audit-checkbox:checked ~ .audit-content h3 {
  text-decoration: line-through;
  color: #4338ca;
}

/* pgmp trophy*/
.trophy {
  z-index: 1;
}
.scroll-mt-24 {
  scroll-margin-top: 6rem;
}

/*AI Dependency*/
:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --panel: #f8fafc;
  --indigo: #4f46e5;
  --indigo2: #eef2ff;
  --red: #b91c1c;
  --redbg: #fef2f2;
  --green: #047857;
  --greenbg: #ecfdf5;
  --amber: #b45309;
  --amberbg: #fffbeb;
  --blue: #0369a1;
  --bluebg: #f0f9ff;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
.lead {
  font-size: clamp(20px, 3vw, 30px);
  max-width: 880px;
  line-height: 1.35;
  color: #334155;
}
.sublead {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}
.flow {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
}
.pill {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 11px 15px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}
.arrow {
  color: #94a3b8;
}
.honest {
  margin-top: 22px;
  max-width: 760px;
  border: 1px solid #c7d2fe;
  background: var(--indigo2);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: #3730a3;
}
.honest strong {
  color: #312e81;
}
.section {
  padding: 82px 0;
  border-top: 1px solid #f1f5f9;
}
.kicker {
  font-size: 12px;
  color: var(--indigo);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.wrap h2 {
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 10px 0 16px;
}
.sectionintro {
  font-size: 19px;
  color: #475569;
  /*max-width: 800px;*/
}
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.035);
}
.card .src {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: bold;
}
.card h3 {
  font-size: 16px;
  margin: 7px 0 4px;
}
.date {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: -0.03em;
}
.red {
  color: var(--red);
}
.green {
  color: var(--green);
}
.amber {
  color: var(--amber);
}
.scenario {
  margin-top: 38px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}
.scenariohead {
  padding: 22px 24px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.status {
  font-size: 11px;
  font-weight: 900;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--redbg);
  color: var(--red);
  border: 1px solid #fecaca;
}
.qbar {
  padding: 20px 24px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
button.q {
  font: inherit;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
button.q:hover,
button.q.active {
  border-color: #a5b4fc;
  background: var(--indigo2);
  color: #4338ca;
}
.answer {
  padding: 26px 24px;
  min-height: 210px;
}
.answer h3 {
  margin: 0 0 7px;
  font-size: 22px;
}
.answer p {
  color: #475569;
}
.impact {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.node {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
}
.callout {
  margin-top: 30px;
  border-left: 4px solid var(--indigo);
  background: var(--indigo2);
  padding: 18px 20px;
  border-radius: 0 12px 12px 0;
  font-weight: 750;
}
.bigidea {
  background: #0f172a;
  color: #fff;
}
.bigidea .kicker {
  color: #a5b4fc;
}
.bigidea h2 {
  max-width: 920px;
}
.bigidea p {
  color: #cbd5e1;
}
.unknown {
  display: inline-block;
  margin-top: 24px;
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #92400e;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.changegrid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
}
.changebox {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
}
.rows {
  display: grid;
  gap: 11px;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
  font-size: 14px;
}
.row:last-child {
  border: 0;
}
.row b {
  font-weight: 850;
}
.apply {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  background: var(--indigo);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 850;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.btn.secondary {
  background: #fff;
  color: #334155;
  border: 1px solid #cbd5e1;
}
.btn:disabled {
  cursor: default;
}
.timeline {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.track:before {
  content: "";
  position: absolute;
  top: 18px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: #cbd5e1;
}
.mile {
  position: relative;
  text-align: center;
}
.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin: 10px auto 12px;
  position: relative;
  z-index: 2;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #94a3b8;
  background: #94a3b8;
}
.mile.ok .dot {
  background: #10b981;
  box-shadow: 0 0 0 2px #10b981;
}
.mile.risk .dot {
  background: #ef4444;
  box-shadow: 0 0 0 2px #ef4444;
}
.mile h4 {
  margin: 0;
  font-size: 13px;
}
.mile small {
  color: var(--muted);
}
.mile .why {
  margin: 10px auto 0;
  max-width: 170px;
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--redbg);
  color: #991b1b;
  font-weight: 800;
}
.eventfeed {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}
.event {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 15px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.tag {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.active {
  color: var(--red);
}
.resolved {
  color: var(--green);
}
.superseded {
  color: var(--muted);
}
.architecture {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}
.arch {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}
.arch b {
  display: block;
  margin-bottom: 8px;
}
.arch span {
  font-size: 12px;
  color: var(--muted);
}
.arch.primary {
  background: var(--indigo2);
  border-color: #c7d2fe;
}
.challengegrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.challengegrid .card h3 {
  margin-top: 4px;
}
.agent {
  margin-top: 34px;
  border: 1px solid #c7d2fe;
  background: linear-gradient(135deg, #eef2ff, #fff);
  border-radius: 22px;
  padding: 28px;
}
.agentflow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 26px 0;
}
.agent .node {
  background: #fff;
}
.quote {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.035em;
  max-width: 900px;
}
.footer {
  padding: 55px 0;
  background: #0f172a;
  color: #cbd5e1;
}
.footer strong {
  color: #fff;
}
.note {
  font-size: 12px;
  color: #94a3b8;
}
.hidden {
  display: none;
}
.steps4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.steps4 .card {
  padding: 16px;
  box-shadow: none;
}
.steps4 .card .src {
  color: var(--indigo);
}
.steps4 .card p {
  font-size: 13px;
  color: #475569;
  margin: 4px 0 0;
}
button.q:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
}
.lead {
  font-size: 19px;
}
@media (max-width: 800px) {
  .navlinks {
    display: none;
  }
  .hero {
    padding-top: 70px;
  }
  .flow {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .arrow {
    display: none;
  }
  .grid4,
  .challengegrid,
  .steps4 {
    grid-template-columns: 1fr 1fr;
  }
  .changegrid {
    grid-template-columns: 1fr;
  }
  .changegrid > .arrow {
    display: block;
    text-align: center;
    transform: rotate(90deg);
  }
  .architecture {
    grid-template-columns: 1fr;
  }
  .architecture > .arrow {
    display: block;
    text-align: center;
    transform: rotate(90deg);
  }
  .event {
    grid-template-columns: 80px 1fr;
  }
  .event time {
    display: none;
  }
  /* timeline stacks vertically on small screens instead of scrolling sideways */
  .timeline {
    padding: 20px 18px;
  }
  .track {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .track:before {
    left: 8px;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 2px;
    height: auto;
  }
  .mile {
    text-align: left;
    padding: 0 0 18px 38px;
  }
  .mile:last-child {
    padding-bottom: 0;
  }
  .mile .dot {
    position: absolute;
    left: 0;
    top: 2px;
    margin: 0;
  }
  .mile small {
    display: block;
  }
  .mile .why {
    margin: 8px 0 0;
    max-width: none;
    display: inline-block;
  }
}
@media (max-width: 520px) {
  .wrap {
    padding: 0 18px;
  }
  .grid4,
  .challengegrid,
  .steps4 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 62px 0;
  }
  .scenariohead {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero h1 {
    font-size: 54px;
  }
  .lead {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.heroctas {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.heroctas .btn {
  text-decoration: none;
  padding: 14px 22px;
  font-size: 15px;
}
.heroctas .btn.secondary {
  border-color: #a5b4fc;
  color: #4338ca;
}
.herostatus {
  margin: 14px 0 0;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}
.flow {
  margin-top: 34px;
}
@media (max-width: 520px) {
  .heroctas .btn {
    width: 100%;
    text-align: center;
  }
}
