:root {
  /*--sky: rgb(124, 188, 238);*/
  /*--sky-deep: #4189cc;*/
  /*--sky-light: rgb(155, 208, 245);*/
  /*!*--white: #ffffff;*!*/
  /*--dark: #1a2332;*/
  /*--glass: rgba(255,255,255,0.12);*/
  /*--glass-border: rgba(255,255,255,0.25);*/
  /*--glass-hover: rgba(255,255,255,0.18);*/
  /*--bubblegum-pink: #EF798A;*/
  /*--powder-blush: #F7A9A8;*/
  /*--carbon-black: #262626;*/
  /*--beige: #E2E8CE;*/

/* CLAUDE THIS IS OUR NEW PALLETE*/
  --sky-blue: #7CBCED;
  --carbon-black: #262626;
  --beige: #E2E8CE;
  --white: #FFFFFF;
  --punch-red: #EF233C;
  --border-thickness: 2px;

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tilt Neon", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-variation-settings:
          "XROT" 0,
          "YROT" 0;}
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  /*background: linear-gradient(180deg,*/
  /*rgb(124, 188, 238) 0%,*/
  /*rgb(124, 188, 238) 12%,*/
  /*#3b8ad0 30%,*/
  /*#2d6faa 48%,*/
  /*#1f3f6e 68%,*/
  /*#1a2332 88%*/
  /*);*/

  background: var(--white);
  /*background-color: #1a2332;*/
  min-height: 100vh;
  color: var(--carbon-black);
  overflow-x: hidden;
}

/* ═══════════════════════════════════
   TOPBAR
   ═══════════════════════════════════ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 60px);
  height: 60px;
  background: var(--white);
  border-color: var(--carbon-black);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid black;
}

.topbar-logo {
  font-family: "Bagel Fat One", system-ui;
  font-weight: 200;
  font-size: 1.4rem;
  color: var(--carbon-black);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.topbar-nav {
  list-style: none;
  display: flex;
  gap: 32px;
}

.topbar-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--carbon-black);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.topbar-nav a:hover { opacity: 1; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--carbon-black);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* Mobile overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--beige);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav li { margin-bottom: 28px; }
.mobile-nav a {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--carbon-black);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.mobile-nav a:hover { opacity: 1; }
body.nav-open { overflow: hidden; }

/* ═══════════════════════════════════
   SECTION BOX FRAMES
   ═══════════════════════════════════ */
.hero,
.how-it-works,
/*.features {*/
/*  margin-top: calc(-1 * var(--border-thickness));*/
/*}*/
  .features,
.install-section,
.always-free,
.community,
.footer-cta,
.site-footer {
  border-left:   var(--border-thickness) solid var(--carbon-black);
  border-right:  var(--border-thickness) solid var(--carbon-black);
  border-bottom: var(--border-thickness) solid var(--carbon-black);
}
.hero {
  border-top: var(--border-thickness) solid var(--carbon-black);
}

/* ═══════════════════════════════════
   HERO
   ═══════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px clamp(20px, 3vw, 60px);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  max-width: min(1600px, 80vw);
  gap: 40px;
  width: 100%;
}

.hero-text { position: relative; z-index: 2; }

.hero-text h1 {
  font-family: 'Bagel Fat One', sans-serif;
  font-weight: 100;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--carbon-black);
  text-shadow: 2px 2px 2px var(--sky-blue);
  margin-bottom: 28px;
}

.hero-text p {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  opacity: 0.92;
  max-width: 480px;
  margin-bottom: 36px;
  /*font-weight: 900;*/
  font-family: "Tilt Neon", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-variation-settings:
          "XROT" 0,
          "YROT" 0;
  /*text-shadow: 0 0px 2px #0f1e42;*/
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--carbon-black);

}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 7px 17px;
  border: var(--border-thickness) solid var(--carbon-black);
  border-radius: 8px;
  box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.25);
  color: var(--punch-red);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  /*background: rgba(155, 208, 245, 0.35);*/
  background: var(--white);
}
.cta-btn:hover {
  background: var(--carbon-black);
  /*color: var(--sky-deep);*/
  border-color: var(--punch-red);
  color: var(--beige);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.cta-btn-ghost {
  /*background: transparent;*/
  background: var(--white);
  border-color: var(--beige);
  color: var(--sky-blue);
}
.cta-btn-ghost:hover {
  /*background: rgba(255,255,255,0.15);*/
  background: var(--beige);
  color: var(--carbon-black);
  border-color: var(--sky-blue);
}

/* Hero image */
.hero-visuals { position: relative; z-index: 2; }
.hero-img-wrap { position: relative; }
.hero-visuals img {
  display: block;
  width: 100%;
  height: auto;
  margin-left: auto;
  border-radius: 12px;
}
.hero-img-glow {
  position: absolute;
  inset: -20%;
  /*background: radial-gradient(ellipse at center, rgba(124, 188, 238, 0.25) 0%, transparent 70%);*/
  z-index: -1;
  pointer-events: none;
}

/* ═══════════════════════════════════
   SOCIAL PROOF BAR
   ═══════════════════════════════════ */
.social-proof {
  padding: 50px clamp(20px, 3vw, 60px);
  /*background-color: var(--punch-red);*/
}
.proof-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.proof-stat { text-align: center; }
.proof-num {
  display: block;
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 6px;
  background-color: var(--beige);
}
.proof-label {
  font-size: 0.85rem;
  opacity: 0.6;
  font-weight: 500;
}
.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--punch-red);
}

/* ═══════════════════════════════════
   SECTION TITLES
   ═══════════════════════════════════ */
.section-title {
  font-family: "Bagel Fat One", system-ui;
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 3rem);
  text-shadow: 2px 2px 2px var(--sky-blue);
  text-align: center;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════
   FEATURES
   ═══════════════════════════════════ */

/* Cloud accent knobs — tweak these to reposition/resize/rotate */
.features {
  --cloud-width:    600px;   /* size of each cloud image */
  --cloud-opacity:  0.5;    /* 0–1, how visible */

  --cloud-left-x:   -200px;   /* negative = further left, off-section edge */
  --cloud-left-y:   -40px;   /* negative = above title */
  --cloud-left-rot: 90deg;  /* positive = clockwise */

  --cloud-right-x:  -200px;   /* negative = further right (mirrored, so this offsets from right edge) */
  --cloud-right-y:  -20px;
  --cloud-right-rot: 90deg;

  padding: 70px clamp(40px, 5vw, 100px);
  position: relative;
}

.cloud-accent {
  position: absolute;
  width: var(--cloud-width);
  height: auto;
  opacity: var(--cloud-opacity);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.cloud-accent--left {
  top: var(--cloud-left-y);
  left: var(--cloud-left-x);
  transform: rotate(var(--cloud-left-rot));
  transform-origin: center center;
}

.cloud-accent--right {
  top: var(--cloud-right-y);
  right: var(--cloud-right-x);
  transform: scaleX(-1) rotate(var(--cloud-right-rot));  /* flip horizontally so clouds face inward */
  transform-origin: center center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: var(--punch-red);
  color: var(--white);
  border: var(--border-thickness) solid var(--carbon-black);
  border-radius: 120px;
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  box-shadow: 3px 3px 2px var(--sky-blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-align: center;
  /*align-items: center;*/
  /*justify-content: center;*/
  justify-items: center;
}
.feature-card:hover {
  transform: translateY(-4px);
  border: var(--border-thickness) solid var(--carbon-black);
  color: var(--carbon-black);
  background-color: var(--sky-blue);
  box-shadow: 3px 3px 2px var(--beige);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  border: var(--border-thickness) solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  opacity: 0.8;
}
.feature-card p em {
  opacity: 0.95;
  font-style: italic;
}

/* ═══════════════════════════════════
   USE CASES
   ═══════════════════════════════════ */
.use-cases {
  padding: 80px clamp(40px, 5vw, 100px) 100px;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.usecase-card {
  background: var(--beige);
  border: var(--border-thickness) solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 32px 26px;
  transition: transform 0.3s ease, background 0.3s ease;
  position: relative;
}
.usecase-card:hover {
  transform: translateY(-3px);
  /*background: rgba(255,255,255,0.1);*/
}

.usecase-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 12px;
}

.usecase-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.usecase-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 0.75;
}

/* ═══════════════════════════════════
   HOW IT WORKS (scroll-driven)
   ═══════════════════════════════════ */
.how-it-works {
  padding-top: 70px;
  position: relative;
}

.hiw-title-wrap {
  text-align: center;
  padding: 0 clamp(40px, 5vw, 100px) 60px;
}

.hiw-scroll-track {
  position: relative;
  height: 400vh;
}

.hiw-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow-x: hidden;
  border: var(--border-thickness) solid var(--carbon-black);
}

/* ── Left: stage labels ── */
.hiw-stages {
  flex: 0 0 38%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 0 clamp(40px, 5vw, 100px) 0 clamp(40px, 5vw, 100px);
  border-right: var(--border-thickness) solid var(--carbon-black);
}

.hiw-stage {
  opacity: 0.22;
  transform: translateX(-8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hiw-stage.active {
  opacity: 1;
  transform: none;
}

.hiw-stage-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  /*opacity: 0.12;*/
  line-height: 1;
  margin-bottom: 10px;
  color: var(--punch-red);
}

.hiw-stage h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.hiw-stage p {
  font-size: 0.92rem;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 320px;
}

/* ── Right: chat window ── */
.hiw-chat-wrap {
  flex: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(24px, 3vw, 48px);
  background-color: var(--beige);
}

.hiw-window {
  width: min(520px, 100%);
  height: 460px;
  border-radius: 10px;
  box-shadow:
    0 0 0 0.5px rgba(0,0,0,0.35),
    0 24px 72px rgba(0,0,0,0.55),
    0 4px 16px rgba(0,0,0,0.3);
  background: #ececec;
  display: flex;
  flex-direction: column;
}

.hiw-titlebar {
  height: 38px;
  background: linear-gradient(to bottom, #f0f0f0, #e4e4e4);
  border-bottom: 1px solid #c8c8c8;
  border-radius: 10px 10px 0 0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  position: relative;
  flex-shrink: 0;
  user-select: none;
}

.hiw-traffic-lights { display: flex; gap: 8px; }

.hiw-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}
.hiw-dot-close { background: #ff5f57; border: 0.5px solid #e0433c; }
.hiw-dot-min   { background: #febc2e; border: 0.5px solid #d6a022; }
.hiw-dot-max   { background: #28c840; border: 0.5px solid #1faa33; }

.hiw-titlebar-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 500;
  color: #4a4a4a;
  font-family: 'DM Sans', sans-serif;
}

.hiw-chat-area {
  background: #fff;
  flex: 1;
  padding: 12px 14px;
  overflow-y: auto;
  overflow-x: hidden;
  border-bottom: 1px solid #c8c8c8;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.hiw-welcome {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  font-style: italic;
  margin: 4px 0 0;
  font-family: 'DM Sans', sans-serif;
}

.hiw-msg { display: flex; max-width: 86%; }
.hiw-msg.ai   { align-self: flex-start; }
.hiw-msg.user { align-self: flex-end; }

.hiw-bubble {
  border-radius: 6px;
  padding: 8px 11px;
  font-size: 13px;
  line-height: 1.5;
  font-family: 'DM Sans', sans-serif;
}
.hiw-msg.ai   .hiw-bubble { background: #fff; border: var(--border-thickness) solid #e0e0e0; box-shadow: 0 1px 3px rgba(0,0,0,0.06); color: #1a1a1a; }
.hiw-msg.user .hiw-bubble { background: #d6e8f7; color: #0a2a50; }

.hiw-sender {
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
}
.hiw-msg.ai   .hiw-sender { color: #1a1a1a; }
.hiw-msg.user .hiw-sender { color: #0a4080; }

.hiw-msg-text { white-space: pre-wrap; }

.hiw-script-wrapper {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hiw-script-label {
  text-align: center;
  font-size: 11px;
  color: #999;
  font-style: italic;
  letter-spacing: 0.04em;
  font-family: 'DM Sans', sans-serif;
}

.hiw-script-block {
  background: #f5f5f5;
  border-left: 3px solid #2eaa55;
  border-radius: 0 4px 4px 0;
  font-family: "SF Mono", Menlo, Monaco, monospace;
  font-size: 11px;
  line-height: 1.65;
  color: #1a1a1a;
  padding: 10px 13px;
  white-space: pre;
  overflow-x: auto;
  max-height: 180px;
  overflow-y: auto;
}

.hiw-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(to bottom, #e8e8e8, #dcdcdc);
  border-bottom: 1px solid #c0c0c0;
  flex-shrink: 0;
}

.hiw-toolbar-btn {
  height: 26px;
  padding: 0 12px;
  font-size: 12.5px;
  font-family: 'DM Sans', sans-serif;
  color: #2a2a2a;
  background: linear-gradient(to bottom, #fafafa, #e8e8e8);
  border: var(--border-thickness) solid #b0b0b0;
  border-radius: 5px;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.7);
  white-space: nowrap;
  opacity: 0.4;
  transition: opacity 0.35s ease;
}

.hiw-toolbar-btn.enabled { opacity: 1; }

.hiw-run-icon {
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #2a2a2a;
  margin-right: 1px;
}

.hiw-toolbar-spacer { flex: 1; }

.hiw-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: #e8e8e8;
  border-radius: 0 0 10px 10px;
  flex-shrink: 0;
}

.hiw-text-input {
  flex: 1;
  height: 26px;
  padding: 0 8px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  border: var(--border-thickness) solid #b0b0b0;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.12);
  outline: none;
  color: #aaa;
  pointer-events: none;
}

.hiw-send-btn {
  height: 26px;
  padding: 0 14px;
  font-size: 12.5px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: #2a2a2a;
  background: linear-gradient(to bottom, #fafafa, #e8e8e8);
  border: var(--border-thickness) solid #b0b0b0;
  border-radius: 5px;
  cursor: default;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.7);
  opacity: 0.45;
}

/* ═══════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════ */
.testimonials {
  padding: 80px clamp(40px, 5vw, 100px) 100px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: var(--border-thickness) solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}
.testimonial-text::before {
  content: '"';
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 2rem;
  opacity: 0.2;
  line-height: 0;
  position: relative;
  top: 10px;
  margin-right: 4px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(155, 208, 245, 0.3);
  border: var(--border-thickness) solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}
.testimonial-author span {
  font-size: 0.78rem;
  opacity: 0.55;
}

/* ═══════════════════════════════════
   DOCS TEASER
   ═══════════════════════════════════ */
.docs-teaser {
  padding: 60px clamp(40px, 5vw, 100px) 70px;
}

.docs-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.docs-text h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  margin-bottom: 16px;
}

.docs-text p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 28px;
}

.docs-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.docs-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}
.docs-link:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* Code window */
.code-window {
  background: rgba(0,0,0,0.35);
  border: var(--border-thickness) solid rgba(255,255,255,0.12);
  border-radius: 14px;
  overflow: hidden;
}

.code-dots {
  display: flex;
  gap: 7px;
  padding: 12px 16px 0;
}
.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.code-dots span:first-child { background: rgba(255,100,100,0.5); }
.code-dots span:nth-child(2) { background: rgba(255,200,50,0.5); }
.code-dots span:nth-child(3) { background: rgba(100,220,100,0.5); }

.code-window pre {
  padding: 16px 20px 20px;
  font-family: 'DM Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 0.78rem;
  line-height: 1.8;
  overflow-x: auto;
}
.code-window .comment { opacity: 0.4; }
.code-window .kw { color: #7ec8e3; }
.code-window .str { color: #a8d8a8; }

/* ═══════════════════════════════════
   FOOTER CTA
   ═══════════════════════════════════ */
.footer-cta {
  padding: 70px clamp(40px, 5vw, 100px) 60px;
  text-align: center;
}

.footer-cta h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 16px;
}

.footer-cta p {
  opacity: 0.65;
  margin-bottom: 36px;
  font-size: 1.05rem;
}

/* ═══════════════════════════════════
   SITE FOOTER
   ═══════════════════════════════════ */
.site-footer {
  padding: 60px clamp(40px, 5vw, 100px) 30px;
  background: var(--punch-red);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.5;
  line-height: 1.5;
  max-width: 260px;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem;
  opacity: 0.35;
}

/* ═══════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════ */
.anim-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.anim-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.anim-fade.visible,
.anim-slide-left.visible,
.anim-slide-right.visible {
  opacity: 1;
  transform: none;
}

/* Stagger feature cards */
.feature-card:nth-child(2) { transition-delay: 0.08s; }
.feature-card:nth-child(3) { transition-delay: 0.16s; }
.feature-card:nth-child(4) { transition-delay: 0.24s; }

.usecase-card:nth-child(2) { transition-delay: 0.08s; }
.usecase-card:nth-child(3) { transition-delay: 0.16s; }
.usecase-card:nth-child(4) { transition-delay: 0.24s; }

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */
/* ═══════════════════════════════════
   INSTALL SECTION
   ═══════════════════════════════════ */
.install-section {
  padding: 70px clamp(40px, 5vw, 100px);
}

.install-lead {
  text-align: center;
  font-size: 1.05rem;
  opacity: 0.65;
  margin-top: -40px;
  margin-bottom: 40px;
}

/* ── Interactive install demo container ── */
.idemo-wrap {
  position: relative;
  height: clamp(320px, 46vh, 460px);
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  border: var(--border-thickness) solid var(--punch-red);
  border-radius: 90px;
  overflow: hidden;
  user-select: none;
}

.idemo-jar {
  position: absolute;
  width: 90px;
  height: 108px;
  background: #fff;
  border: var(--border-thickness) solid #ddd;
  border-radius: 4px;
  box-shadow: rgba(0,0,0,0.55) 4px 4px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: grab;
  z-index: 8;
  transition: box-shadow 0.18s ease, opacity 0.35s ease, transform 0.2s ease;
}

.idemo-jar:hover {
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.45), rgba(0,0,0,0.35) 4px 4px 0;
  transform: translateY(-4px);
}

.idemo-jar.is-dragging {
  cursor: grabbing;
  box-shadow: rgba(0,0,0,0.55) 2px 2px 0;
}

.idemo-jar.dropped {
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

.idemo-jar-emoji {
  font-size: 2.8rem;
  pointer-events: none;
}

.idemo-jar-label {
  font-family: 'DM Mono', 'SF Mono', monospace;
  font-size: 0.65rem;
  color: #555;
  text-align: center;
  pointer-events: none;
  /*line-height: 1.3;*/
  /*padding: 0 4px;*/
}

.idemo-fiji {
  position: absolute;
  width: min(300rem, 24vw);
  min-width: 520px;
  height: auto;
  cursor: grab;
  z-index: 7;
  display: block;
  border-radius: 4px;
  transition: outline 0.1s ease;
}

.idemo-fiji.is-dragging { cursor: grabbing; }

.idemo-fiji.drop-target {
  outline: 2px solid var(--sky-blue);
}
.idemo-steps-row {
  display: flex;
  justify-content: center;
  /*gap: 0px;*/
  max-width: 960px;
  margin: 0 auto 36px;
  flex-wrap: wrap;
  background-color: var(--sky-blue);
  padding: 50px 10px;
  border-radius: 100px;
  border: var(--border-thickness) solid var(--carbon-black);
}

.idemo-text-step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  text-align: center;
  transition: opacity 0.4s ease;
  color: var(--carbon-black)
}

.idemo-text-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  /*opacity: 0.15;*/
  line-height: 1;
  margin-bottom: 10px;
  color: var(--beige);
  transition: opacity 0.4s ease, color 0.4s ease;
}

.idemo-text-step h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 6px;
  transition: opacity 0.4s ease, color 0.4s ease;
}

.idemo-text-step p {
  font-size: 0.88rem;
  line-height: 1.55;
  /*opacity: 0.65;*/
  transition: opacity 0.4s ease;
}

.idemo-dl-link {
  color: var(--punch-red);
  background-color: var(--white);
  border: var(--border-thickness) solid var(--carbon-black);
  padding: 0px 10px;
  text-decoration: none;
  box-shadow: 1px 1px 1px var(--beige);
  border-radius: 9px;
}
.idemo-dl-link:hover {
  color: var(--carbon-black);
  background-color: var(--beige);
  box-shadow: 2px 2px 2px var(--punch-red);
  /*translate: 10px 10px;*/
  /*transform: translate(0, -25px);*/
  transform: translateY(-4px);
}

/* Step 3 dimmed until jar is dropped */
.idemo-text-step--done { opacity: 0.35; }

.idemo-text-step--done.success              { opacity: 1; }
.idemo-text-step--done.success .idemo-text-num { color: rgb(130, 220, 130); }
.idemo-text-step--done.success h3             { color: rgb(130, 220, 130); }

/* Success banner */
.idemo-success {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 24px;
  white-space: nowrap;
  /*background: rgb(from var(--sky-blue) / 50%);*/
  border: var(--border-thickness) solid var(--sky-blue);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sky-blue);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.idemo-success.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.idemo-success-btn {
  display: inline-block;
  padding: 7px 16px;
  background: var(--carbon-black);
  border: var(--border-thickness) solid var(--beige);
  border-radius: 8px;
  color: var(--beige);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  /*transition: background 0.2s, color 0.2s;*/
}

.idemo-success-btn:hover {
  /*background: rgba(130, 220, 130, 0.45);*/
  background-color: var(--beige);
  color: var(--carbon-black);
  border: var(--border-thickness) solid var(--carbon-black);
  /*color: #fff;*/
  transform: translateY(-2px);
}

/* ═══════════════════════════════════
   ALWAYS FREE
   ═══════════════════════════════════ */
.always-free {
  padding: 60px clamp(40px, 5vw, 100px) 70px;
  background: var(--carbon-black);
  color: var(--white);
  border-top: var(--border-thickness) solid var(--sky-blue);
  border-bottom: var(--border-thickness) solid var(--sky-blue);
  margin-top: calc(-1 * var(--border-thickness));
  margin-bottom: calc(-1 * var(--border-thickness))
}

.always-free-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.always-free-left h2 {
  /*font-family: 'Outfit', sans-serif;*/
  font-family: "Bagel Fat One", system-ui;
  text-shadow: 2px 2px 2px var(--sky-blue);

  font-weight: 900;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.always-free-left p {
  font-size: 1rem;
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 28px;
}

.model-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.model-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.model-checklist svg {
  flex-shrink: 0;
  color: var(--sky-light);
}

.always-free-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  /*border: var(--border-thickness) dotted var(--sky-blue);*/
}

.value-card {
  background: var(--glass);
  border: var(--border-thickness) dotted var(--punch-red);
  border-radius: 20px;
  padding: 24px 28px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.value-card:hover {
  transform: translateY(-2px);
  /*background: var(--beige);*/
}

.value-card--cloud {
  /*background: rgba(124, 188, 238, 0.13);*/
  /*border-color: rgba(124, 188, 238, 0.3);*/
  background: var(--carbon-black);
  border-color: var(--sky-blue);
}

.value-card--cloud:hover {
  /*background: rgba(124, 188, 238, 0.2);*/
}

.value-card-info h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.value-card-price {
  color: var(--sky-light);
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  opacity: 1;
}

.value-card-info h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 6px;
}

.value-card-info p {
  font-size: 0.83rem;
  line-height: 1.5;
  opacity: 0.6;
  max-width: 340px;
}

.value-card .cta-btn {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 10px 18px;
}

/* ═══════════════════════════════════
   COMMUNITY SHOWCASE
   ═══════════════════════════════════ */

/* Yellow cloud accent knobs */
.community {
  --ycl-width:    900px;
  --ycl-opacity:  1.;

  --ycl-left-x:   -300px;
  --ycl-left-y:   -30px;
  --ycl-left-rot: 0deg;

  --ycl-right-x:  -300px;
  --ycl-right-y:  -10px;
  --ycl-right-rot: 0deg;

  padding: 60px clamp(40px, 5vw, 100px) 70px;
  position: relative;
}

.yellow-cloud-accent {
  position: absolute;
  width: var(--ycl-width);
  height: auto;
  opacity: var(--ycl-opacity);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.yellow-cloud-accent--left {
  top: var(--ycl-left-y);
  left: var(--ycl-left-x);
  transform: scaleX(-1) rotate(var(--ycl-left-rot));
  transform-origin: center center;
}

.yellow-cloud-accent--right {
  top: var(--ycl-right-y);
  right: var(--ycl-right-x);
  transform: rotate(var(--ycl-right-rot));
  transform-origin: center center;

}

.community-sub {
  text-align: center;
  font-size: 1rem;
  opacity: 0.6;
  margin-top: -10px;
  margin-bottom: 56px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.community-card {
  background: var(--beige);
  border: var(--border-thickness) solid var(--carbon-black);
  color: var(--carbon-black);
  border-radius: 70px;
  padding: 26px 40px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.community-card:hover {
  transform: translateY(-4px);
  /*background: rgba(255,255,255,0.1);*/
  /*border-color: rgba(124, 188, 238, 0.38);*/
  background-color: var(--beige);
  border-color: var(--punch-red);
}

.community-card-tag {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sky-blue);
  background-color: var(--carbon-black);
  padding: 1px 1px;
  border-radius: 5px;
  padding-left: 10px;
  /*text-shadow: 0.5px 0.5px 0.5px var(--carbon-black);*/
}

.community-card:hover .community-card-tag {
  color: var(--punch-red);
}

.community-card h3 {
  font-family: 'Outfit', sans-serif;
  /*color: var(--sky-blue);*/
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.3;
}

.community-card-prompt {
  font-size: 0.84rem;
  line-height: 1.55;
  opacity: 0.6;
  font-style: italic;
  flex: 1;
}

.community-card-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.74rem;
  opacity: 0.45;
  font-family: 'DM Mono', 'SF Mono', monospace;
  color: var(--carbon-black)
}

/* Modal */
.community-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--beige);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.community-modal.open {
  display: flex;
}

.community-modal-box {
  background-color: var(--carbon-black);
  border: var(--border-thickness) solid var(--punch-red);
  border-radius: 24px;
  color: var(--white);
  max-width: 660px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}

.community-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.4;
  line-height: 1;
  transition: opacity 0.2s;
}
.community-modal-close:hover { opacity: 1; }

.modal-tag {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sky-blue);
  margin-bottom: 6px;
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.modal-section-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.35;
  margin-bottom: 12px;
  margin-top: 24px;
}

.modal-convo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-bubble {
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 88%;
}

.modal-bubble.user {
  background: rgba(155, 208, 245, 0.18);
  border: var(--border-thickness) solid rgba(155, 208, 245, 0.28);
  align-self: flex-end;
  text-align: right;
}

.modal-bubble.ai {
  background: rgba(255,255,255,0.07);
  border: var(--border-thickness) solid rgba(255,255,255,0.1);
  align-self: flex-start;
}

.modal-code {
  background: rgba(0,0,0,0.35);
  border: var(--border-thickness) solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
}

.modal-code-dots {
  display: flex;
  gap: 6px;
  padding: 10px 14px 0;
}

.modal-code-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.modal-code-dots span:first-child { background: rgba(255,100,100,0.45); }
.modal-code-dots span:nth-child(2) { background: rgba(255,200,50,0.45); }
.modal-code-dots span:nth-child(3) { background: rgba(100,220,100,0.45); }

.modal-code pre {
  padding: 12px 16px 18px;
  font-family: 'DM Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 0.74rem;
  line-height: 1.75;
  overflow-x: auto;
  white-space: pre;
}

@media (max-width: 900px) {
  .topbar-nav { display: none; }
  .hamburger { display: block; }

  .hero { padding-top: 100px; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visuals img { margin: 0 auto; max-width: 520px; }

  .proof-inner { gap: 24px; }
  .proof-divider { display: none; }

  .idemo-steps-row {
    gap: 24px;
  }

  .idemo-text-step {
    min-width: 160px;
  }

  .idemo-wrap {
    height: clamp(260px, 40vh, 360px);
  }

  .idemo-fiji {
    width: min(14rem, 55%);
  }

  .always-free-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .value-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

  .community-modal-box {
    padding: 28px 20px;
  }

  .docs-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hiw-scroll-track { height: 250vh; }

  .hiw-sticky {
    flex-direction: column;
    height: 100vh;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
  }

  .hiw-stages {
    flex: none;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    padding: 16px clamp(20px, 4vw, 48px);
    border-right: none;
    border-bottom: var(--border-thickness) solid var(--carbon-black);
  }

  .hiw-stage p { display: none; }
  .hiw-stage.active p { display: block; font-size: 0.82rem; }

  .hiw-chat-wrap {
    flex: 1;
    width: 100%;
    padding: 16px clamp(20px, 4vw, 48px);
  }

  .hiw-window {
    width: 100%;
    height: clamp(280px, 48vh, 360px);
  }
}

@media (max-height: 720px) {
  .hiw-stage p      { display: none; }
  .hiw-stages       { gap: 12px; }
  .hiw-stage-num    { font-size: 1.8rem; }
  .hiw-stage h3     { font-size: 1rem; margin-bottom: 4px; }
}
