/* SectionHeading — 48px .com_2027 section headline (Headline 48 text style). */

.sh {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding-bottom: 48px; /* space to the section content below */
  box-sizing: border-box;
  font-family: inter-variable, Inter, system-ui, sans-serif;
  font-variation-settings: "opsz" 32; /* Figma renders Inter Variable at Display optical size */
  -webkit-font-smoothing: antialiased;
}
.sh--center {
  align-items: center;
  text-align: center;
}
.sh--left {
  align-items: flex-start;
  text-align: left;
}

.sh__title {
  margin: 0;
  font-size: clamp(34px, calc(3.34vw + 6px), 48px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.03em;
  font-feature-settings: "ss07" 1, "ss08" 1;
  color: #0e0d0c;
}
.sh--dark .sh__title {
  color: #fff;
}

.sh__title + .sh__sub {
  margin-top: -8px; /* 12px from the headline (flex gap is 20) */
}
.sh__sub {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.36px;
  font-feature-settings: "ss07" 1;
  color: #7a7977;
}
.sh--dark .sh__sub {
  color: #dddcda;
}

.sh__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  font-feature-settings: "salt" 1;
  text-transform: uppercase;
  color: #3f3e3c;
}
.sh--dark .sh__eyebrow {
  color: #dddcda;
}
.sh__marker {
  display: block;
  width: 8px;
  height: 8px;
  background: #6b4fff;
}

/* Figma mobile (204:14193): section headings are 36px and left-aligned */
@media (max-width: 480px) {
  .sh,
  .sh--center {
    align-items: flex-start;
    text-align: left;
  }
  .sh {
    padding-bottom: 32px;
  }
  .sh__title {
    font-size: 36px;
    letter-spacing: -1.08px;
    max-width: none !important;
  }
  .sh__sub {
    font-size: 16px;
  }
}

/* Gen2 shared primitives: chips, phone frame, NEW tag, button. */

/* ── Chips (handoff 02-hero) ─────────────────────────────── */
.g2-chipwrap {
  display: inline-flex;
  position: relative;
}
.g2-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 6px;
  border-radius: 3px;
  box-sizing: border-box;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  font-feature-settings: "salt" 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.g2-chip--sm {
  height: 18px;
  font-size: 10px;
  padding: 0 5px;
}
.g2-chip--blue { background: #f4faff; color: #1475e8; }
.g2-chip--green { background: #eefdf8; color: #00b080; }
.g2-chip--neutral { background: #f6f4f2; color: #0e0d0c; }
.g2-chip--pink { background: #fef0fa; color: #d42aaf; }
.g2-chip--sky { background: #e5f2ff; color: #1475e8; }
.g2-chip--purple { background: #f2f0ff; color: #6b4fff; }
.g2-chip--orange { background: #fff3eb; color: #e0561a; }

.g2-spin {
  flex: none;
  animation: g2-spin 0.9s linear infinite;
}
@keyframes g2-spin {
  to { transform: rotate(360deg); }
}

/* ── Phone frame ─────────────────────────────────────────── */
.g2-phone-box {
  position: relative;
  flex: none;
}
.g2-phone {
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  transform-origin: 0 0;
  box-sizing: border-box;
  padding: 8px;
  border-radius: 52px;
  background: #1c1b1a;
  box-shadow: 0 30px 60px -20px rgba(14, 13, 12, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.g2-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 44px;
  background: #fff;
}
.g2-phone__notch {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 50%;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  border-radius: 20px;
  background: #0e0d0c;
}

/* ── NEW tag with travelling border beam ─────────────────── */
@property --g2-beam {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.g2-new {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 8px;
  border-radius: 3px;
  box-sizing: border-box;
  border: 1px solid #dddcda;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  font-feature-settings: "salt" 1;
  color: #6b4fff;
  vertical-align: middle;
}
.g2-new__beam {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--g2-beam),
    transparent 0deg,
    #c1bafe 30deg,
    #c1bafe 60deg,
    #99ceff 90deg,
    transparent 91deg 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: g2-beam 2.8s linear infinite;
  pointer-events: none;
}
@keyframes g2-beam {
  to { --g2-beam: 360deg; }
}

/* ── Primary button ──────────────────────────────────────── */
.g2-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 4px;
  background: #6b4fff;
  color: #fff;
  font-family: inter-variable, Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.32px;
  font-feature-settings: "ss07" 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.15s;
}
.g2-btn:hover { background: #5a3ff0; }
.g2-btn:active { transform: scale(0.98); }

@media (prefers-reduced-motion: reduce) {
  .g2-spin,
  .g2-new__beam {
    animation: none;
  }
}

/* Gen2Stats — handoff 07 (Figma 590:46214, mobile 667:141163). Full-bleed dark section. */

.g2s {
  width: 100%;
  box-sizing: border-box;
  padding: 0 40px; /* vertical spacing comes from the Webflow section */
  color: #fff;
  font-family: inter-variable, Inter, system-ui, sans-serif;
  font-variation-settings: "opsz" 32;
  -webkit-font-smoothing: antialiased;
}
.g2s-inner {
  max-width: 1160px;
  margin: 0 auto;
}

/* Boxed row (prototype .st2): each box has its own 1px #3F3E3C border, overlapped by 1px */
.g2s-row {
  display: flex;
}
.g2s-box {
  flex: 1;
  min-width: 0;
  margin-right: -1px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border: 1px solid #3f3e3c;
  box-sizing: border-box;
}
.g2s-box:last-child {
  margin-right: 0;
}

.g2s-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.g2s-num {
  display: inline-grid;
  justify-self: start;
  font-size: 72px; /* newer Final source: 72 (64 mobile), proportional figures like Figma */
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.03em;
  font-feature-settings: "ss07" 1;
  font-variant-numeric: normal;
  color: #fff;
}
.g2s-num__ghost,
.g2s-num__live {
  grid-area: 1 / 1;
}
.g2s-num__ghost {
  visibility: hidden;
}
.g2s-label {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.36px;
  font-feature-settings: "ss07" 1;
  color: #dddcda;
}

/* Logo slot (Figma: 48 tall, logo centred vertically, left-aligned).
   Opacity on the <img> only, never on a parent (would break the optional blend). */
.g2s-logo {
  display: flex;
  align-items: center;
  height: 48px;
  max-width: 100%;
  overflow: hidden;
}
.g2s-logo__img,
.g2s-logo__word {
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.g2s-logo__img {
  display: block;
  flex: none;
  max-width: 100%;
}
/* Raster logos with a baked-in grey box: screen the white mark onto the dark bg. */
.g2s-logo__img--blend {
  mix-blend-mode: screen;
  filter: grayscale(1) contrast(2.3);
}
.g2s-logo__word {
  font-family: inter-variable, Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 767px) {
  .g2s {
    padding: 0 24px;
  }
  .g2s .sh,
  .g2s .sh--center {
    align-items: center;
    text-align: center;
    gap: 6px;
    padding-bottom: 32px;
  }
  .g2s .sh__title + .sh__sub {
    margin-top: 0;
  }
  .g2s .sh__sub {
    max-width: 288px;
    font-size: 18px;
  }
  .g2s-row {
    flex-direction: column;
  }
  .g2s-box {
    margin-right: 0;
    margin-bottom: -1px;
    padding: 24px;
  }
  .g2s-box:last-child {
    margin-bottom: 0;
  }
  .g2s-num {
    font-size: 64px;
  }
  .g2s-label {
    font-size: 16px;
    letter-spacing: -0.32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .g2s-logo__img,
  .g2s-logo__word {
    transition: none;
  }
}

