/* ------------------------------
   Base + layout
------------------------------ */

:root {
    --bg-body: #f5f5f7;
    --bg-page: #ffffff;
    --bg-card: #ffffff;
    --bg-chip-soft: #e5f3ff;
    --bg-pill: #0f172a;
    --bg-pill-soft: #e5e7eb;
  
    --text-main: #020617;
    --text-soft: #4b5563;
    --text-softer: #6b7280;
    --text-muted: #9ca3af;
    --text-inverse: #f9fafb;
  
    --brand-primary: #059669;
    --brand-primary-soft: #d1fae5;
    --brand-primary-dark: #047857;
    --brand-border: #e5e7eb;
  
    --btn-primary: #059669;
    --btn-primary-hover: #047857;
    --btn-ghost-border: #d1d5db;
    --btn-ghost-hover: #e5e7eb;
  
    --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.05);
    --radius-lg: 18px;
    --radius-xl: 22px;
    --radius-pill: 999px;
  
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
      "Segoe UI", sans-serif;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html,
  body {
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: var(--font-sans);
    background: var(--bg-body);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
  }
  
  .page {
    min-height: 100vh;
    background: var(--bg-page);
  }
  
  /* Utility */
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: none;
  }
  
  strong {
    font-weight: 600;
  }
  
  /* ------------------------------
     Header / Nav
  ------------------------------ */
  
  .header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--brand-border);
  }
  
  .nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .nav-left {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  
  .brand-text {
    display: flex;
    flex-direction: column;
  }
  
  .brand-name {
    letter-spacing: 0.16em;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #111827;
  }
  
  .brand-tagline {
    font-size: 11px;
    color: var(--text-muted);
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
  }
  
  .nav-links a {
    color: var(--text-soft);
    padding: 6px 4px;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
  }
  
  .nav-links a:hover {
    background: #f3f4f6;
    color: #111827;
  }
  
  .nav-cta {
    padding: 7px 14px !important;
    border-radius: var(--radius-pill);
    border: 1px solid #111827;
    font-weight: 500;
  }
  
  /* ------------------------------
     Hero
  ------------------------------ */
  
  .hero {
    max-width: 1120px;
    margin: 40px auto 24px;
    padding: 0 24px 32px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
  }
  
  .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }
  
  .hero-kicker {
    background: #0f172a;
    color: var(--text-inverse);
  }
  
  .pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
  }
  
  /* pulsing dot (kicker + status) */
  .pill-dot,
  .status-dot {
    animation: dotPulse 2.4s ease-out infinite;
  }
  
  .hero-title {
    margin: 22px 0 12px;
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
  }
  
  /* animated gradient on accent text */
  .hero-title .accent {
    display: block;
    margin-top: 4px;
    background: linear-gradient(90deg, #2563eb, #a855f7, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: accentShift 14s linear infinite;
  }
  
  .hero-subtitle {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-soft);
    max-width: 520px;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease,
      transform 0.08s ease;
  }
  
  .btn-primary {
    background: var(--btn-primary);
    color: #ecfdf5;
    border-color: transparent;
  }
  
  .btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-1px);
  }
  
  .btn-ghost {
    background: #ffffff;
    color: #111827;
    border-color: var(--btn-ghost-border);
  }
  
  .btn-ghost:hover {
    background: var(--btn-ghost-hover);
  }
  
  .btn-icon {
    margin-left: 6px;
    font-size: 13px;
  }
  
  .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
  }
  
  .meta-chip {
    font-size: 11px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--brand-border);
    color: var(--text-soft);
    background: #ffffff;
  }
  
  .meta-chip-soft {
    background: #f3f4f6;
  }
  
  /* ------------------------------
     Hero right panel
  ------------------------------ */
  
  .hero-right {
    display: flex;
    justify-content: flex-end;
  }
  
  .panel {
    width: 100%;
    max-width: 360px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--brand-border);
    box-shadow: var(--shadow-soft);
    padding: 18px 18px 16px;
  }
  
  .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
  }
  
  .panel-label {
    font-weight: 600;
  }
  
  .panel-tag {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--brand-border);
    font-size: 10px;
  }
  
  .panel-title {
    margin: 2px 0 8px;
    font-size: 16px;
    font-weight: 600;
  }
  
  .panel-text {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-soft);
  }
  
  .panel-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .panel-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-soft);
  }
  
  .bullet {
    flex-shrink: 0;
    margin-top: 4px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #0ea5e9;
  }
  
  .panel-footer {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--brand-border);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
  }
  
  .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
  }
  
  /* subtle float for TavroEdge panel on desktop */
  @media (min-width: 960px) {
    .hero-right .panel {
      animation: panelFloat 10s ease-in-out infinite;
    }
  }
  
  /* ------------------------------
     Sections (Vision / Product / Case study)
  ------------------------------ */
  
  .section,
  .section-alt {
    padding: 24px 24px 12px;
  }
  
  .section-inner {
    max-width: 1120px;
    margin: 0 auto;
  }
  
  .section-title {
    margin: 8px 0 8px;
    font-size: 18px;
    font-weight: 600;
  }
  
  .section-text {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-soft);
  }
  
  .section-alt {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
  }
  
  /* Cards / grid */
  
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 12px;
  }
  
  .card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--brand-border);
    padding: 16px 18px 18px;
    box-shadow: var(--shadow-soft);
  }
  
  .card-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
  }
  
  .card-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-soft);
  }
  
  /* Product layout */
  
  .section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  
  .section-tag {
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
  }
  
  .product-layout {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  
  .stack-column {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--brand-border);
    padding: 16px 18px 18px;
    box-shadow: var(--shadow-soft);
  }
  
  .stack-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
  }
  
  .stack-list {
    margin: 0;
    padding-left: 16px;
    font-size: 13px;
    color: var(--text-soft);
  }
  
  .stack-list li + li {
    margin-top: 6px;
  }
  
  /* Early access / contact */
  
  .ea-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 20px;
    align-items: flex-start;
  }
  
  .ea-list {
    margin: 12px 0 0;
    padding-left: 16px;
    font-size: 13px;
    color: var(--text-soft);
  }
  
  .ea-list li + li {
    margin-top: 6px;
  }
  
  .ea-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--brand-border);
    padding: 16px 18px 18px;
    box-shadow: var(--shadow-soft);
  }
  
  .ea-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
  }
  
  .ea-text {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-soft);
  }
  
  .ea-text a {
    color: #2563eb;
  }
  
  .ea-text a:hover {
    text-decoration: underline;
  }
  
  /* ------------------------------
     Reveal-on-scroll animation
  ------------------------------ */
  
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ------------------------------
     Footer
  ------------------------------ */
  
  .footer {
    border-top: 1px solid var(--brand-border);
    margin-top: 24px;
    background: #ffffff;
  }
  
  .footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 24px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
  }
  
  .footer-right {
    color: var(--text-softer);
  }
  
  /* ------------------------------
     Keyframes
  ------------------------------ */
  
  @keyframes accentShift {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  }
  
  @keyframes panelFloat {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-6px);
    }
  }
  
  @keyframes dotPulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }
    70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
  }
  
  /* ------------------------------
     Responsive
  ------------------------------ */
  
  @media (max-width: 960px) {
    .hero {
      grid-template-columns: minmax(0, 1fr);
      margin-top: 32px;
    }
  
    .hero-right {
      justify-content: flex-start;
    }
  
    .panel {
      max-width: none;
    }
  
    .product-layout,
    .ea-layout,
    .grid-3 {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .nav-links {
      gap: 14px;
      font-size: 12px;
    }
  }
  
  @media (max-width: 720px) {
    .nav {
      padding-inline: 16px;
    }
  
    .hero,
    .section,
    .section-alt {
      padding-inline: 16px;
    }
  
    .footer-inner {
      padding-inline: 16px;
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
    }
  
    .nav-links {
      display: none; /* simple: hide nav on very small screens for now */
    }
  }
  