/* GetHug compact scientific landing override — 2026-08-08
   Keeps the current visual identity while reducing marketing-style spacing and motion.
*/

:root {
  --radius: 18px;
  --radius-small: 12px;
  --shell: 1200px;
}

body {
  background: radial-gradient(circle at 50% -15%, rgba(119, 135, 255, 0.08), transparent 30%), #090b10;
}

.ambient {
  display: none !important;
}

.page-grid {
  opacity: 0.055;
  background-size: 64px 64px;
}

/* Compact navigation */
.topbar {
  background: rgba(9, 11, 16, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topbar-inner {
  min-height: 64px;
}

.brand-mark span {
  animation: none !important;
}

.topnav {
  gap: 3px;
}

.topnav a {
  padding: 7px 9px;
  font-size: 0.82rem;
}

/* Make the free model explicit on every signup CTA. */
.free-cta-note {
  display: inline-block;
  margin-left: 2px;
  padding-left: 8px;
  border-left: 1px solid currentColor;
  opacity: 0.68;
  font-size: 0.68em;
  font-weight: 720;
  line-height: 1.1;
  white-space: nowrap;
}

.nav-cta .free-cta-note,
.mobile-cta .free-cta-note {
  opacity: 0.72;
}

/* Hero: still premium, but much less billboard-like. */
.hero {
  min-height: 610px;
  padding-top: 112px;
  padding-bottom: 48px;
  grid-template-columns: minmax(0, 0.88fr) minmax(490px, 1.12fr);
  gap: 42px;
}

.eyebrow {
  margin-bottom: 15px;
  padding: 5px 8px;
  font-size: 0.7rem;
}

.eyebrow-dot {
  box-shadow: none;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-text {
  margin-top: 20px;
  max-width: 590px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 24px;
  gap: 9px;
}

.hero-notes {
  margin-top: 15px;
  gap: 14px;
}

.button {
  min-height: 43px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 0.86rem;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}

.button:hover {
  transform: none;
}

.button-primary {
  box-shadow: none;
}

.hero-visual::before {
  display: none;
}

.visual-window {
  border-radius: 17px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  transform: none;
  animation: none !important;
}

.graph-workspace {
  min-height: 370px;
  grid-template-columns: 64px 1fr;
}

.graph-toolbar {
  padding: 14px 11px;
  gap: 9px;
}

.tool {
  height: 29px;
}

.tool.wide {
  height: 36px;
}

.graph-canvas {
  padding: 18px 18px 12px;
}

.chart-legend {
  animation: none !important;
}

.dataset-strip {
  min-height: 55px;
  padding: 8px 12px;
}

/* Immediate capability summary */
.signal-bar {
  padding: 14px 0;
}

.signal-bar div {
  padding-inline: 18px;
}

.signal-bar strong {
  font-size: 0.82rem;
}

.signal-bar span {
  font-size: 0.69rem;
}

/* Much less vertical storytelling. */
.feature-section {
  padding-top: 82px;
  padding-bottom: 28px;
}

.section-heading h2,
.python-copy h2,
.final-cta h2 {
  margin-top: 9px;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  line-height: 1.03;
}

.section-heading p,
.python-copy > p {
  margin-top: 13px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.bento-grid {
  margin-top: 30px;
  grid-template-rows: repeat(2, minmax(175px, auto));
  gap: 12px;
}

.bento-card {
  padding: 21px;
  border-radius: 15px;
  box-shadow: none;
}

.bento-card::before {
  display: none;
}

.bento-large {
  min-height: 390px;
  padding: 24px;
}

.bento-card h3 {
  margin-top: 8px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.bento-card p {
  margin-top: 9px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.card-icon {
  display: none !important;
}

/* Compact all major feature modules without changing their content. */
.plot-capabilities,
.design-control-grid,
.python-layout,
.anywhere-layout,
.creator-layout,
.trust-proof {
  margin-top: 30px !important;
}

.plot-capabilities,
.design-control-card,
.plot-type-card,
.trust-proof__experience,
.trust-proof__facts,
.profile-card,
.terminal-window {
  box-shadow: none !important;
}

.plot-type-grid {
  gap: 10px !important;
}

.plot-type-card,
.design-control-card {
  padding: 18px !important;
  border-radius: 14px !important;
}

.section-signup-cta {
  margin-top: 28px !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

/* Browser-anywhere is a supporting benefit, not a full-screen product mode. */
#anywhere {
  padding-top: 70px;
}

#anywhere .workspace-orbit {
  display: none !important;
}

#anywhere .anywhere-layout {
  display: block !important;
}

#anywhere .anywhere-copy {
  max-width: 850px;
}

.anywhere-points {
  margin-top: 22px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
}

.anywhere-points > div {
  padding: 14px !important;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.018);
}

/* Reduce repeated marketing motion. */
.reveal {
  transform: translateY(10px);
  transition-duration: 360ms;
}

.animated-chart .chart-line,
.animated-chart .chart-points circle,
.animated-chart .chart-fill {
  animation-duration: 1.15s;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 105px;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-visual {
    max-width: 760px;
  }

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

  .bento-large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 330px;
  }
}

@media (max-width: 760px) {
  .shell,
  .topbar-inner {
    width: min(calc(100% - 24px), var(--shell));
  }

  .hero {
    padding-top: 92px;
    padding-bottom: 34px;
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.65rem);
  }

  .graph-workspace {
    min-height: 300px;
    grid-template-columns: 48px 1fr;
  }

  .dataset-cells {
    display: none;
  }

  .dataset-strip {
    grid-template-columns: 1fr auto;
  }

  .signal-bar {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 12px;
  }

  .signal-bar div:nth-child(2) {
    border-right: 0;
  }

  .bento-grid,
  .anywhere-points {
    grid-template-columns: 1fr !important;
  }

  .bento-large {
    grid-column: auto;
  }

  .feature-section {
    padding-top: 62px;
  }

  .free-cta-note {
    padding-left: 6px;
  }
}

/* Final refinement: compact two-line free-account CTA in the desktop header. */
.topnav .nav-cta {
  min-height: 44px;
  padding: 5px 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  line-height: 1.05;
}

.nav-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 780;
  white-space: nowrap;
}

.nav-cta-main > span[aria-hidden=\"true\"] {
  font-size: 0.9em;
  line-height: 1;
}

.topnav .free-cta-note--nav {
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0.62;
  font-size: 0.56rem;
  font-weight: 720;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}
