/* Second Brain: visual explainer. Shape only, no contents. */

.sb-hero {
  position: relative;
  min-height: min(92svh, 880px);
  margin-top: calc(-66px - env(safe-area-inset-top, 0px));
  padding-top: calc(66px + env(safe-area-inset-top, 0px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 80% at 62% 48%, #17507f, #0e3560 60%, #0b2a4c);
}
.sb-hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: pan-y;
}
.sb-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px clamp(32px, 6vh, 64px);
  pointer-events: none;
}
.sb-hero-copy > div {
  max-width: 520px;
  padding: 22px 26px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(11, 42, 76, 0.78), rgba(11, 42, 76, 0.4));
  backdrop-filter: blur(6px);
  pointer-events: auto;
}
.sb-hero h1 {
  margin-top: 10px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #fff;
}
.sb-hero p {
  margin-top: 14px;
  color: var(--text-body);
  line-height: 1.6;
}
.sb-hero .sb-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.sb-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-body);
}
.sb-legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 2px;
  background: var(--warm);
  transform: rotate(45deg);
}

.sb-block {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.sb-flip {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}
.sb-flip .sb-text {
  order: 2;
}
.sb-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--warm);
}
.sb-text h2 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
  text-wrap: balance;
}
.sb-text p {
  margin-top: 14px;
  max-width: 44ch;
  line-height: 1.6;
  color: var(--text-body);
}
.sb-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(98, 214, 255, 0.07), rgba(11, 42, 76, 0.7) 60%);
  box-shadow: var(--shadow-md), var(--inset-highlight);
  overflow: hidden;
}
.sb-frame canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sb-chips {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sb-chips button {
  font: inherit;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-body);
  cursor: default;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sb-chips button.is-on,
.sb-chips button:focus-visible {
  color: #fff;
  background: rgba(98, 214, 255, 0.18);
  border-color: var(--accent);
}

.sb-privacy {
  max-width: 1180px;
  margin: clamp(56px, 8vw, 104px) auto 0;
  padding: 0 24px;
}
.sb-privacy > div {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, rgba(255, 194, 102, 0.12), rgba(98, 214, 255, 0.08) 55%, rgba(16, 54, 92, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.sb-privacy h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  letter-spacing: -0.035em;
  color: #fff;
}
.sb-privacy p {
  margin-top: 10px;
  max-width: 62ch;
  line-height: 1.6;
  color: var(--text-body);
}
.sb-details-head {
  max-width: 1180px;
  margin: clamp(56px, 8vw, 104px) auto 0;
  padding: 0 24px;
}
.sb-details-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.035em;
  color: #fff;
}
.sb-details-head p {
  margin-top: 8px;
  max-width: 62ch;
  color: var(--text-body);
  line-height: 1.6;
}

@media (max-width: 820px) {
  .sb-hero {
    min-height: 0;
    display: block;
  }
  .sb-hero canvas {
    position: relative;
    display: block;
    height: 56svh;
    min-height: 340px;
  }
  .sb-hero-copy {
    padding-top: 8px;
  }
  .sb-hero-copy > div {
    background: none;
    backdrop-filter: none;
    padding: 0;
  }
  .sb-block,
  .sb-flip {
    grid-template-columns: 1fr;
  }
  .sb-flip .sb-text {
    order: 0;
  }
  .sb-frame {
    aspect-ratio: 4 / 3.4;
  }
}
