 :root {
      --white: #ffffff;
      --snow: #fbfcff;
      --ice: #f4f8fb;
      --mist: #eef4f7;
      --ink: #050608;
      --ink-soft: #1d2530;
      --muted: #607080;
      --line: #dfe8ee;
      --line-strong: #cbd8e0;
      --green: #11a36d;
      --green-dark: #087a50;
      --green-soft: #e7f8f1;
      --blue: #2563eb;
      --cyan: #14b8d8;
      --gold: #f4b740;
      --shadow-soft: 0 22px 70px rgba(18, 32, 48, 0.10);
      --shadow-card: 0 14px 40px rgba(18, 32, 48, 0.075);
      --radius-xl: 36px;
      --radius-lg: 26px;
      --radius-md: 18px;
      --max-main: 1380px;
      --max-inner: 1380px;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at 12% 8%, rgba(17, 163, 109, 0.16), transparent 34rem),
        radial-gradient(circle at 88% 16%, rgba(20, 184, 216, 0.16), transparent 30rem),
        radial-gradient(circle at 50% 100%, rgba(37, 99, 235, 0.08), transparent 32rem),
        linear-gradient(180deg, #ffffff 0%, #f6fafc 56%, #ffffff 100%);
      overflow-x: hidden;
    }

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

    img {
        display: block;
        width: 100%;
        height: auto;
    }

    .page-shell {
      position: relative;
      min-height: 100vh;
    }

    .grid-bg {
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: 0.45;
      background-image:
        linear-gradient(rgba(8, 122, 80, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 122, 80, 0.06) 1px, transparent 1px);
      background-size: 42px 42px;
      mask-image: linear-gradient(to bottom, black, transparent 76%);
      z-index: -1;
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 22px clamp(20px, 5vw, 64px);
      background: rgba(255, 255, 255, 0.78);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(223, 232, 238, 0.8);
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: #000;
      line-height: 1;
    }

    .logo img {
      display: block;
      height: 46px;
      width: auto;
      flex: 0 0 auto;
    }

    .logo span {
      color: #000;
      font-size: 22px;
      font-weight: 950;
      letter-spacing: 0.015em;
      line-height: 1;
      text-transform: uppercase;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 26px;
      color: var(--muted);
      font-size: 14px;
      font-weight: 750;
    }

    .nav-links a:hover { color: var(--ink); }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 46px;
      padding: 13px 20px;
      border-radius: 999px;
      border: 1px solid var(--line-strong);
      background: rgba(255, 255, 255, 0.9);
      color: var(--ink);
      font-weight: 850;
      box-shadow: 0 10px 26px rgba(18, 32, 48, 0.06);
      transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 42px rgba(18, 32, 48, 0.10);
      border-color: rgba(17, 163, 109, 0.5);
    }

    .btn.primary {
      background: #050608;
      color: #fff;
      border-color: #050608;
    }

    .btn.green {
      background: var(--green);
      color: #fff;
      border-color: var(--green);
    }

    .section {
      padding: clamp(72px, 8vw, 120px) clamp(20px, 5vw, 64px);
    }

    .inner {
      max-width: var(--max-inner);
      margin: 0 auto;
    }

    .hero {
      padding: clamp(62px, 8vw, 112px) clamp(20px, 5vw, 64px) 80px;
    }

    .hero-grid {
      max-width: var(--max-main);
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
      gap: clamp(38px, 6vw, 82px);
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 9px 13px;
      border-radius: 999px;
      background: rgba(231, 248, 241, 0.9);
      border: 1px solid rgba(17, 163, 109, 0.22);
      color: var(--green-dark);
      font-size: 12px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: 0.11em;
      margin-bottom: 24px;
    }

    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 0 6px rgba(17, 163, 109, 0.13);
    }

    h1 {
      margin: 0;
      max-width: 850px;
      font-size: clamp(52px, 7.3vw, 104px);
      line-height: 0.92;
      letter-spacing: -0.08em;
      color: var(--ink);
    }

    .gradient-text {
      background: linear-gradient(90deg, #050608 0%, #087a50 48%, #14b8d8 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-sub {
      margin: 28px 0 0;
      max-width: 750px;
      font-size: clamp(20px, 2.1vw, 28px);
      line-height: 1.35;
      color: var(--ink-soft);
      font-weight: 720;
      letter-spacing: -0.025em;
    }

    .hero-copy {
      margin: 18px 0 0;
      max-width: 720px;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.78;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 34px;
    }

    .proof-strip {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 34px;
      max-width: 760px;
    }

    .proof-chip {
      padding: 17px;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: rgba(255, 255, 255, 0.82);
      box-shadow: 0 10px 30px rgba(18, 32, 48, 0.045);
    }

    .proof-chip strong {
      display: block;
      font-size: 18px;
      letter-spacing: -0.03em;
      margin-bottom: 5px;
    }

    .proof-chip span {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .image-placeholder {
      position: relative;
      min-height: 520px;
      border-radius: var(--radius-xl);
      border: 1px solid rgba(203, 216, 224, 0.9);
      /* background:
        radial-gradient(circle at 15% 18%, rgba(17, 163, 109, 0.18), transparent 16rem),
        radial-gradient(circle at 85% 28%, rgba(20, 184, 216, 0.16), transparent 17rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 252, 0.92)); */
      box-shadow: var(--shadow-soft);
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    /* .image-placeholder::before {
      content: "";
      position: absolute;
      inset: 18px;
      border-radius: 28px;
      border: 1px dashed rgba(96, 112, 128, 0.28);
      background-image:
        linear-gradient(rgba(17, 163, 109, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 163, 109, 0.055) 1px, transparent 1px);
      background-size: 28px 28px;
    } */

    .image-placeholder img {
        position: relative;
        z-index: -1;
        width: 100%;
        height: auto;
        display: block;
    }

    .placeholder-content {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 440px;
    }

    .placeholder-icon {
      width: 74px;
      height: 74px;
      margin: 0 auto 18px;
      border-radius: 24px;
      background: #050608;
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 28px;
      font-weight: 950;
      box-shadow: 0 22px 42px rgba(5, 6, 8, 0.16);
    }

    .placeholder-content h3 {
      margin: 0;
      font-size: 24px;
      letter-spacing: -0.035em;
    }

    .placeholder-content p {
      margin: 10px 0 0;
      color: var(--muted);
      line-height: 1.65;
    }

    .floating-card {
      position: absolute;
      z-index: 3;
      padding: 14px 16px;
      border-radius: 18px;
      border: 1px solid rgba(203, 216, 224, 0.88);
      background: rgba(255, 255, 255, 0.88);
      backdrop-filter: blur(14px);
      box-shadow: 0 16px 40px rgba(18, 32, 48, 0.09);
      font-size: 13px;
      font-weight: 850;
    }

    .floating-card small {
      display: block;
      color: var(--muted);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 5px;
    }

    .float-1 { top: 44px; left: 42px; }
    .float-2 { right: 42px; top: 102px; }
    .float-3 { left: 52px; bottom: 54px; }
    .float-4 { right: 52px; bottom: 42px; }

    .section-head {
      max-width: 840px;
      margin-bottom: 36px;
    }

    .kicker {
      color: var(--green-dark);
      font-size: 12px;
      font-weight: 950;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      margin-bottom: 13px;
    }

    h2 {
      margin: 0;
      font-size: clamp(34px, 4.8vw, 66px);
      line-height: 1.02;
      letter-spacing: -0.06em;
      color: var(--ink);
    }

    .section-head p {
      margin: 18px 0 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.75;
    }

    .split {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
      gap: 30px;
      align-items: stretch;
    }

    .white-card {
      background: rgba(255, 255, 255, 0.86);
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-card);
      padding: clamp(26px, 4vw, 46px);
    }

    .white-card p {
      color: var(--muted);
      line-height: 1.75;
      font-size: 16px;
    }

    .repo-map {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .repo-group {
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: rgba(255, 255, 255, 0.78);
      box-shadow: 0 10px 28px rgba(18, 32, 48, 0.045);
    }

    .repo-group h3 {
      margin: 0 0 12px;
      font-size: 15px;
      letter-spacing: -0.015em;
    }

    .repo-group ul {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 8px;
    }

    .repo-group li {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      font-size: 12px;
      color: var(--ink-soft);
      background: var(--ice);
      border: 1px solid #e8eff3;
      border-radius: 10px;
      padding: 8px 9px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

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

    .feature {
      min-height: 260px;
      background: rgba(255, 255, 255, 0.88);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 26px;
      box-shadow: var(--shadow-card);
      position: relative;
      overflow: hidden;
    }

    .feature::after {
      content: "";
      position: absolute;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      background: rgba(17, 163, 109, 0.08);
      right: -72px;
      top: -72px;
    }

    .feature-num {
      width: 42px;
      height: 42px;
      border-radius: 15px;
      display: grid;
      place-items: center;
      background: #050608;
      color: #fff;
      font-weight: 950;
      margin-bottom: 18px;
    }

    .feature h3 {
      margin: 0 0 10px;
      font-size: 22px;
      line-height: 1.15;
      letter-spacing: -0.035em;
    }

    .feature p {
      margin: 0;
      color: var(--muted);
      line-height: 1.66;
    }

    .diagram-placeholder {
      min-height: 420px;
      border-radius: var(--radius-xl);
      border: 1px solid var(--line);
      background:
        linear-gradient(135deg, rgba(255,255,255,0.94), rgba(244,248,251,0.92)),
        radial-gradient(circle at 80% 20%, rgba(20, 184, 216, 0.18), transparent 18rem);
      box-shadow: var(--shadow-card);
      display: grid;
      place-items: center;
      overflow: hidden;
    }

    #solution .diagram-placeholder {
      border-radius: none;
      border: none;
      background: none;
      box-shadow: none;
    }


    .flow {
      display: grid;
      width: 100%;
      gap: 12px;
    }

    .flow-row {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 10px;
      align-items: center;
    }

    .flow-node {
      min-height: 92px;
      padding: 16px;
      border-radius: 20px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 12px 28px rgba(18, 32, 48, 0.055);
      display: grid;
      place-items: center;
      text-align: center;
      font-weight: 900;
      font-size: 14px;
      line-height: 1.25;
    }

    .flow-node.active {
      background: var(--green);
      color: #fff;
      border-color: var(--green);
    }

    .arrow {
      text-align: center;
      color: var(--green-dark);
      font-weight: 950;
      font-size: 20px;
    }

    .comparison {
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      background: #fff;
      box-shadow: var(--shadow-card);
    }

    .comparison-row {
      display: grid;
      grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr));
      border-bottom: 1px solid var(--line);
    }

    .comparison-row:last-child { border-bottom: 0; }

    .comparison-cell {
      padding: 18px;
      border-right: 1px solid var(--line);
      color: var(--muted);
      font-size: 14px;
      line-height: 1.4;
    }

    .comparison-cell:last-child { border-right: 0; }

    .comparison-cell.head {
      font-weight: 950;
      color: var(--ink);
      background: var(--ice);
    }

    .comparison-cell.botmad {
      background: var(--green-soft);
      color: var(--green-dark);
      font-weight: 900;
    }

    .timeline {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
    }

    .phase {
      position: relative;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: #fff;
      box-shadow: var(--shadow-card);
      min-height: 230px;
    }

    .phase:first-child {
      border-color: rgba(17, 163, 109, 0.35);
      background: linear-gradient(180deg, #ffffff, var(--green-soft));
    }

    .phase span {
      display: inline-flex;
      padding: 7px 10px;
      border-radius: 999px;
      background: var(--ice);
      color: var(--muted);
      font-size: 12px;
      font-weight: 950;
      margin-bottom: 16px;
    }

    .phase:first-child span {
      background: var(--green);
      color: #fff;
    }

    .phase h3 {
      margin: 0 0 9px;
      font-size: 22px;
      letter-spacing: -0.035em;
    }

    .phase p {
      margin: 0;
      color: var(--muted);
      line-height: 1.65;
    }

    .video-showcase {
      display: grid;
      grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1.28fr);
      gap: 24px;
      align-items: stretch;
      margin-bottom: 24px;
    }

    .video-copy {
      border-radius: var(--radius-xl);
      border: 1px solid var(--line);
      background:
        radial-gradient(circle at 20% 18%, rgba(17, 163, 109, 0.13), transparent 18rem),
        rgba(255, 255, 255, 0.88);
      box-shadow: var(--shadow-card);
      padding: clamp(24px, 4vw, 42px);
    }

    .video-copy h3 {
      margin: 0;
      font-size: clamp(26px, 3vw, 40px);
      line-height: 1.05;
      letter-spacing: -0.055em;
    }

    .video-copy p {
      margin: 16px 0 0;
      color: var(--muted);
      line-height: 1.72;
      font-size: 16px;
    }

    .video-notes {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 22px;
    }

    .video-notes span {
      display: inline-flex;
      align-items: center;
      padding: 8px 10px;
      border-radius: 999px;
      background: var(--green-soft);
      color: var(--green-dark);
      font-size: 12px;
      font-weight: 900;
    }

    .video-frame {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius-xl);
      border: 1px solid var(--line);
      background: #fff;
      box-shadow: var(--shadow-soft);
      min-height: 420px;
    }

    .video-frame::before {
      content: "";
      display: block;
      padding-top: 56.25%;
    }

    .youtube-player,
    .youtube-player iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }

    .console-image-placeholder {
      min-height: 520px;
    }

    .cta-box {
      position: relative;
      overflow: hidden;
      border-radius: 42px;
      padding: clamp(34px, 5vw, 70px);
      background:
        radial-gradient(circle at 15% 20%, rgba(17, 163, 109, 0.2), transparent 24rem),
        radial-gradient(circle at 92% 30%, rgba(20, 184, 216, 0.17), transparent 22rem),
        #ffffff;
      border: 1px solid var(--line);
      box-shadow: var(--shadow-soft);
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 28px;
      align-items: center;
    }

    .cta-box h2 { max-width: 780px; }

    .cta-box p {
      max-width: 760px;
      color: var(--muted);
      line-height: 1.75;
      font-size: 17px;
    }

    .footer {
      padding: 28px clamp(20px, 5vw, 64px) 44px;
      display: flex;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
      color: var(--muted);
      border-top: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.72);
      font-size: 14px;
    }

    @media (max-width: 1120px) {
      .hero-grid,
      .split,
      .cta-box {
        grid-template-columns: 1fr;
      }

      .image-placeholder {
        min-height: 460px;
      }

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

    @media (max-width: 760px) {
      .nav-links { display: none; }
      .proof-strip,
      .cards-3,
      .repo-map,
      .timeline {
        grid-template-columns: 1fr;
      }

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

      .arrow {
        transform: rotate(90deg);
      }

      .comparison {
        overflow-x: auto;
      }

      .comparison-row {
        min-width: 760px;
      }

      .floating-card { display: none; }
      .image-placeholder { min-height: 360px; }
      h1 { font-size: clamp(48px, 15vw, 76px); }
    }