:root {
  --bg: #f6f1e7;
  --bg-soft: #fbf7ef;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #fffdf8;
  --text: #15120f;
  --text-soft: #5b544c;
  --line: rgba(21, 18, 15, 0.09);
  --line-strong: rgba(21, 18, 15, 0.16);
  --shadow: 0 22px 54px rgba(21, 18, 15, 0.08);
  --cyan: #56e2f3;
  --cyan-strong: #11bfd6;
  --cyan-soft: rgba(86, 226, 243, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(86, 226, 243, 0.1), transparent 28%),
    radial-gradient(circle at bottom right, rgba(17, 191, 214, 0.08), transparent 18%),
    var(--bg);
  color: var(--text);
  font-family: "Instrument Sans", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 4.8rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 241, 231, 0.82);
  border-bottom: 1px solid rgba(21, 18, 15, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(86, 226, 243, 0.18);
}

.brand span {
  display: grid;
  gap: 0.15rem;
}

.brand strong,
h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.72;
  cursor: progress;
  transform: none;
}

.button--primary {
  background: var(--cyan);
  color: #081117;
  box-shadow: 0 18px 36px rgba(86, 226, 243, 0.28);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #78ebf8;
}

.button--secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-strong);
  color: var(--text);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.96);
}

.button--small {
  min-height: 42px;
  padding: 0.78rem 1rem;
}

.hero {
  padding-top: 4.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.72fr);
  gap: 1.4rem 2rem;
  align-items: start;
}

.hero-copy,
.hero-side,
.spotlight-card,
.bento-card,
.engineering-points article {
  display: grid;
}

.hero-copy {
  gap: 1.4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--cyan-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow--compact {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.7rem);
  max-width: 10.5ch;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  max-width: 13ch;
}

h3 {
  font-size: 1.24rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 60ch;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.hero-form,
.hero-actions,
.hero-side,
.engineering-points {
  gap: 1rem;
}

.hero-form {
  display: grid;
  max-width: 760px;
}

.hero-form__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.hero-form__controls {
  display: flex;
  gap: 0.85rem;
}

.hero-form input {
  flex: 1 1 auto;
  min-height: 56px;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-form input:focus {
  outline: 2px solid rgba(86, 226, 243, 0.28);
  outline-offset: 2px;
  border-color: rgba(17, 191, 214, 0.28);
}

.hero-form__hint {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-form__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(86, 226, 243, 0.1);
  color: #0b7f8f;
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-form__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(86, 226, 243, 0.12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
}

.hero-side {
  gap: 1rem;
}

.spotlight-card,
.bento-card,
.engineering-points article {
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.spotlight-card {
  gap: 0.55rem;
}

.spotlight-card--muted {
  background: rgba(255, 255, 255, 0.68);
}

.spotlight-card__label,
.store-preview__label {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spotlight-card__value {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.04em;
}

.spotlight-card__body,
.bento-card__body,
.analytics-note {
  color: var(--text-soft);
}

.spotlight-list {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--text-soft);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.bento-card {
  gap: 1.2rem;
  min-height: 100%;
}

.bento-card--analytics {
  grid-column: span 7;
}

.bento-card--algorithms,
.bento-card--store {
  grid-column: span 5;
}

.bento-card--install {
  grid-column: span 7;
}

.bento-card--engineering {
  grid-column: span 12;
}

.bento-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.bento-card__header--stack {
  display: grid;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: var(--cyan-soft);
  color: #0c8391;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.metric-block {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(86, 226, 243, 0.18);
}

.metric-block span {
  display: block;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.metric-block strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--cyan-strong);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
  letter-spacing: -0.05em;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 0.8rem;
  min-height: 164px;
  padding-top: 0.6rem;
}

.chart-grid span {
  height: var(--bar);
  border-radius: 999px 999px 22px 22px;
  background: linear-gradient(180deg, rgba(86, 226, 243, 0.92), rgba(86, 226, 243, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.algorithm-switch {
  display: grid;
  align-self: start;
  gap: 0.7rem;
  width: 100%;
  max-width: 100%;
}

.algorithm-switch__button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 56px;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(21, 18, 15, 0.04);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.algorithm-switch__button:hover,
.algorithm-switch__button:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.algorithm-switch__button.is-active {
  background: var(--cyan);
  border-color: rgba(86, 226, 243, 0.72);
  color: #081117;
  box-shadow: 0 14px 28px rgba(86, 226, 243, 0.24);
}

.rule-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.rule-list li + li {
  margin-top: 0.65rem;
}

.store-preview {
  display: grid;
  gap: 0.95rem;
}

.store-preview strong {
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
}

.opportunity-panel {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(10, 17, 22, 0.98), rgba(13, 25, 31, 0.95));
  color: #f4fbfd;
  border: 1px solid rgba(86, 226, 243, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 36px rgba(9, 19, 25, 0.18);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.opportunity-panel.is-primed,
.widget-preview.is-primed {
  border-color: rgba(86, 226, 243, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 44px rgba(86, 226, 243, 0.16);
}

.opportunity-panel__header,
.opportunity-panel__actions {
  display: grid;
  gap: 0.55rem;
}

.opportunity-panel__header .store-preview__label,
.opportunity-panel__grid .store-preview__label,
.opportunity-panel__hint {
  color: rgba(244, 251, 253, 0.68);
}

.opportunity-panel__header strong {
  font-family: "Sora", sans-serif;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.opportunity-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.opportunity-panel__grid div {
  padding: 0.92rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.opportunity-panel__grid strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--cyan);
  font-family: "Sora", sans-serif;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.opportunity-panel__actions {
  align-items: start;
}

.opportunity-panel__hint {
  font-size: 0.86rem;
  line-height: 1.5;
}

.install-cta {
  display: grid;
  gap: 1.2rem;
  min-height: 100%;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, rgba(86, 226, 243, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(10, 17, 22, 0.98), rgba(13, 25, 31, 0.95));
  color: #f4fbfd;
  border: 1px solid rgba(86, 226, 243, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 36px rgba(9, 19, 25, 0.18);
}

.install-cta__header,
.install-cta__footer {
  display: grid;
  gap: 0.65rem;
}

.install-cta__header h3 {
  max-width: 18ch;
  color: #f4fbfd;
}

.install-cta__copy,
.install-cta__note,
.install-cta__grid p {
  color: rgba(244, 251, 253, 0.72);
}

.install-cta .store-preview__label {
  color: rgba(244, 251, 253, 0.52);
}

.install-cta__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.install-cta__grid article {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.install-cta__grid strong {
  font-family: "Sora", sans-serif;
  font-size: 1.04rem;
  letter-spacing: -0.03em;
  color: var(--cyan);
}

.install-cta__grid p,
.install-cta__note {
  font-size: 0.92rem;
  line-height: 1.5;
}

.install-cta__footer .button {
  width: fit-content;
}

.engineering-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.engineering-points article {
  gap: 0.55rem;
  min-height: 100%;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.74);
}

.engineering-points strong {
  font-size: 1rem;
}

.dashboard-showcase {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(14, 19, 23, 0.96), rgba(10, 17, 22, 0.9));
  color: #f4fbfd;
  border: 1px solid rgba(86, 226, 243, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard-showcase__header {
  display: grid;
  gap: 0.55rem;
}

.dashboard-showcase__header strong {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  letter-spacing: -0.04em;
}

.dashboard-showcase__header p {
  color: rgba(244, 251, 253, 0.72);
  max-width: 64ch;
}

.dashboard-slider {
  display: grid;
  gap: 0.95rem;
}

.dashboard-slider__viewport {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  isolation: isolate;
}

.dashboard-slider__track {
  display: flex;
  align-items: stretch;
  transition: transform 320ms ease;
  will-change: transform;
}

.dashboard-slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  overflow: hidden;
}

.dashboard-slide img {
  width: 100%;
  max-height: 640px;
  display: block;
  margin-inline: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: 18px;
  background: #091319;
}

.dashboard-slide figcaption {
  color: rgba(244, 251, 253, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.dashboard-slider__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-slider__arrow {
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(86, 226, 243, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #f4fbfd;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.dashboard-slider__arrow:hover,
.dashboard-slider__arrow:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(86, 226, 243, 0.42);
}

.dashboard-slider__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.dashboard-slider__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.dashboard-slider__dot.is-active {
  background: var(--cyan);
  transform: scale(1.1);
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.spotlight-card--signal {
  background: linear-gradient(180deg, rgba(86, 226, 243, 0.12), rgba(255, 255, 255, 0.78));
}

.widget-preview {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(14, 19, 23, 0.96), rgba(10, 17, 22, 0.9));
  color: #f4fbfd;
  border: 1px solid rgba(86, 226, 243, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.widget-preview__header {
  display: grid;
  gap: 0.55rem;
}

.widget-preview__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  background: rgba(86, 226, 243, 0.14);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.widget-preview__header strong {
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.widget-preview__header p {
  color: rgba(244, 251, 253, 0.72);
}

.widget-preview__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.widget-item {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.widget-item__top {
  display: grid;
  gap: 0.65rem;
}

.widget-item__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(86, 226, 243, 0.1);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.widget-item__media {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(86, 226, 243, 0.14), rgba(86, 226, 243, 0.04)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.widget-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.widget-item__body {
  display: grid;
  gap: 0.32rem;
}

.widget-item__name {
  color: #f4fbfd;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.widget-item__name:hover,
.widget-item__name:focus-visible {
  color: var(--cyan);
}

.widget-item__body strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.widget-item__body span {
  color: rgba(244, 251, 253, 0.66);
  font-size: 0.86rem;
}

.widget-item__side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.widget-item__side strong {
  color: var(--cyan);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.widget-item__button {
  min-height: 38px;
  padding: 0.62rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: var(--cyan);
  color: #091319;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.widget-item__button:hover,
.widget-item__button:focus-visible {
  transform: translateY(-1px);
  background: #7eeefa;
  box-shadow: 0 14px 28px rgba(86, 226, 243, 0.24);
}

.widget-item__button.is-added {
  background: rgba(86, 226, 243, 0.18);
  color: #ebfcff;
}

@media (max-width: 1120px) {
  .hero-grid,
  .metric-row,
  .engineering-points,
  .opportunity-panel__grid,
  .install-cta__grid,
  .dashboard-slider__controls {
    grid-template-columns: 1fr;
  }

  .bento-card--analytics,
  .bento-card--algorithms,
  .bento-card--store,
  .bento-card--install,
  .bento-card--engineering {
    grid-column: span 12;
  }
}

@media (max-width: 860px) {
  .site-header__inner,
  .site-nav,
  .hero-form__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    gap: 0.8rem;
  }

  .site-header__inner {
    padding: 1rem 0;
  }

  .hero {
    padding-top: 3.6rem;
  }

  .bento-card__header {
    display: grid;
  }

  .chart-grid {
    min-height: 132px;
  }

  .widget-item {
    grid-template-columns: 1fr;
  }

  .widget-preview__items {
    grid-template-columns: 1fr;
  }

  .widget-item__side {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-slider__controls {
    display: grid;
    justify-items: stretch;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .section {
    padding: 3.8rem 0;
  }

  .button {
    width: 100%;
  }

  .chart-grid {
    gap: 0.55rem;
  }
}
