:root {
  color-scheme: dark;
  --bg: #000000;
  --text: #f4f4f4;
  --muted: #b8b8b8;
  --brand-blue: #078dfb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.panel {
  padding: 0;
  margin-bottom: 22px;
  border: 0;
  background: transparent;
}

h1, h2 {
  margin: 0 0 10px;
}

p, li {
  color: var(--muted);
}

a {
  color: var(--text);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #2d2d2d;
  background: #0b0b0b;
  color: var(--text);
  padding: 10px 12px;
  font-size: 14px;
}

.tiny {
  font-size: 12px;
  color: var(--muted);
}

.latest {
  color: var(--brand-blue);
  font-weight: 700;
}

.steps {
  margin: 8px 0 0 18px;
}

.home-hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
}

.home-logo {
  width: min(390px, 80vw);
  max-height: 280px;
  object-fit: contain;
}

.home-actions {
  width: 100%;
  max-width: 340px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid #ffffff;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  background: #1f1f1f;
  color: #ffffff;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.action-btn-primary,
.action-btn-secondary {
  background: #1f1f1f;
  color: #ffffff;
}

.action-btn:hover {
  background: #2b2b2b;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.action-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.update-hero {
  text-align: center;
  margin-bottom: 18px;
}

.update-logo {
  width: min(260px, 62vw);
  max-height: 160px;
  object-fit: contain;
  margin-bottom: 10px;
}

.update-logo-link {
  display: inline-block;
}

.update-flow {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.instruction-card,
.action-card {
  padding: 16px;
  border: 1px solid #1f1f1f;
  border-radius: 10px;
  background: #060606;
}

.action-card {
  border-color: #123252;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 168px;
}

.step-label {
  margin: 0;
  color: var(--brand-blue);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.port-token {
  display: inline-block;
  padding: 0.14em 0.5em;
  border-radius: 999px;
  border: 1px solid rgba(7, 141, 251, 0.7);
  background: rgba(7, 141, 251, 0.16);
  color: #d9efff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.instruction-card h2,
.action-card h2 {
  font-size: 18px;
  margin: 0;
}

.instruction-card p,
.action-card p {
  margin: 0;
}

.install-wrap {
  margin-top: 4px;
}

.action-card esp-web-install-button {
  width: 100%;
}

/* Hide esp-web-tools generic no-port dialog; app.js shows device-specific guidance. */
ewt-no-port-picked-dialog {
  display: none !important;
}

.serial-example {
  margin: 2px 0 4px;
}

.serial-example img {
  display: block;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
}

.serial-example figcaption {
  margin-top: 6px;
}

.troubleshooting-card {
  margin-top: 14px;
}

.troubleshooting-card details {
  width: 100%;
}

.troubleshooting-card summary {
  font-size: 18px;
}

/* Single-page product site */
body.single-page {
  background: #030303;
  overflow-x: hidden;
}

body.single-page .container {
  max-width: 1100px;
  padding: 30px 20px;
}

body.single-page .hero-content.container {
  padding: 30px 20px 36px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #171717;
}

.nav-logo-link {
  display: inline-flex;
  width: auto;
  text-decoration: none;
}

.nav-logo {
  width: 100%;
  max-height: 26px;
  height: auto;
  object-fit: contain;
}

.nav-wordmark {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
}

.header-actions {
  width: 148px;
}

.header-actions .action-btn {
  min-height: 34px;
  font-size: 13px;
  border-radius: 9px;
}

.hero-section {
  --hero-anchor-y: 46%;
  --hero-bg-offset-y: 9%;
  --hero-bg-shift-y: 32%;
  --hero-bg-scale: 1.3;
  --hero-bg-max-width: 1360px;
  --hero-overlay-mid-stop: 12%;
  --hero-overlay-dark-stop: 48%;
  --hero-logo-offset-y: 27%;
  --hero-logo-size: clamp(180px, 24vw, 320px);
  --hero-content-lift: 34px;
  --hero-content-bottom: clamp(96px, 14svh, 180px);
  --hero-content-nudge: 73px;
  position: relative;
  min-height: clamp(620px, 88svh, 900px);
  display: block;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg-image {
  display: block;
  width: 100%;
  max-width: var(--hero-bg-max-width);
  margin-inline: auto;
  height: 100%;
  object-fit: cover;
  object-position: center calc(var(--hero-anchor-y) - var(--hero-bg-offset-y));
  transform: translateY(calc(-1 * var(--hero-bg-shift-y))) scale(var(--hero-bg-scale));
  transform-origin: center center;
  opacity: 0.86;
}

.hero-logo-anchored {
  position: absolute;
  left: 50%;
  top: calc(var(--hero-anchor-y) - var(--hero-logo-offset-y));
  width: var(--hero-logo-size);
  max-width: 82vw;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
  z-index: 1;
  opacity: 1;
  pointer-events: none;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) var(--hero-overlay-mid-stop), rgba(0, 0, 0, 0.92) var(--hero-overlay-dark-stop)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(3, 3, 3, 1) 100%);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--hero-content-bottom);
  z-index: 2;
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 36px;
  padding-left: 20px;
  padding-right: 20px;
  transform: translateY(var(--hero-content-nudge));
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "product lead"
    "product body";
  gap: clamp(24px, 5vw, 52px);
  row-gap: clamp(18px, 3vw, 28px);
  width: 100%;
  align-items: center;
}

.hero-product-wrap {
  grid-area: product;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.hero-product-img {
  width: 100%;
  max-width: min(400px, 38vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.55);
}

.hero-lead {
  grid-area: lead;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.hero-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.hero-content.reveal.is-visible {
  transform: translateY(calc(var(--hero-content-nudge) - var(--hero-content-lift)));
}

.hero-kicker,
.section-kicker {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--brand-blue);
}

.hero-lead h1 {
  margin: calc(6px * 0.8) 0 0;
  padding-top: calc(4px * 0.8);
  font-size: clamp(32px, 5.1vw, 56px);
  line-height: 1.04;
  max-width: 18ch;
  color: #ffffff;
}

.hero-body .hero-copy {
  margin: 0;
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.55;
}

.hero-benefits {
  margin: 18px auto 0;
  padding: 0;
  list-style: none;
  max-width: 44ch;
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.45;
  color: #c8c8c8;
  text-align: left;
}

.hero-benefits li {
  position: relative;
  padding-left: 1.15em;
}

.hero-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.hero-price {
  margin: 16px 0 0;
}

.hero-price-value {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta .action-btn {
  width: auto;
  min-width: 220px;
  padding: 0 20px;
}

.text-link {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid #4a4a4a;
  padding-bottom: 2px;
  font-size: 14px;
}

.text-link-inline {
  display: inline;
  font-size: inherit;
  line-height: inherit;
}

.faq-section .section-heading {
  margin-bottom: 24px;
}

.faq-section .section-heading h1 {
  margin-top: 8px;
  font-size: clamp(24px, 3.2vw, 32px);
  color: #ffffff;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.faq-item {
  margin: 0;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 14px 16px 16px;
  background: #0a0a0a;
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #d8d8d8;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #9a9a9a;
}

.buy-strip-section .buy-strip {
  border: 1px solid #262626;
  border-radius: 16px;
  padding: 28px 26px;
  background: linear-gradient(180deg, #101010 0%, #070707 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.buy-strip-copy h2 {
  margin: 8px 0 6px;
  font-size: clamp(26px, 3.2vw, 36px);
  color: #ffffff;
}

.buy-strip-sub {
  margin: 0 0 14px;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.5;
  color: #b0b0b0;
}

.buy-strip-price {
  margin: 0 0 8px;
}

.buy-strip-price-value {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.buy-strip-note {
  margin: 0;
  font-size: 13px;
  color: #9a9a9a;
}

.buy-strip-btn {
  min-width: 220px;
  padding: 0 24px;
}

.content-section {
  padding: 120px 0 52px;
}

.section-tight {
  padding-top: 84px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(28px, 3.8vw, 42px);
  color: #ffffff;
}

.section-bridge {
  margin: 10px 0 0;
  max-width: 64ch;
}

.caps-heading {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.product-spec-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #212121;
  border-radius: 14px;
  padding: 14px 16px;
  background: #080808;
}

.product-spec-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8e8e8e;
}

.product-spec-icon svg {
  display: block;
}

.product-spec-label {
  font-size: 15px;
  line-height: 1.35;
  color: #d4d4d4;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1100px) {
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.why-exists-heading {
  margin: 8px 0 0;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  max-width: 46ch;
}

.why-exists-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  max-width: 62ch;
}

.why-exists-card p + p {
  margin-top: 14px;
}

.workflow-step {
  border: 1px solid #212121;
  border-radius: 14px;
  padding: 18px 18px 20px;
  background: #080808;
}

.workflow-step-index {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand-blue);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.workflow-step h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 20px;
}

.workflow-step p {
  margin: 0;
}

.feature-card {
  border: 1px solid #212121;
  border-radius: 14px;
  padding: 22px;
  background: linear-gradient(180deg, #0f0f0f 0%, #090909 100%);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #ffffff;
}

.feature-card p {
  margin: 0;
}

.feature-card p + p {
  margin-top: 12px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
}

.feature-list-card {
  background: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
}

.feature-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.combined-feature-card h3 {
  margin-top: 18px;
}

.combined-feature-card .feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}

.split-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 3.2vw, 38px);
  color: #ffffff;
}

.split-copy p {
  margin: 0 0 12px;
}

.split-copy p:last-of-type {
  margin-bottom: 0;
}

.compact-btn {
  width: auto;
  padding: 0 20px;
  margin-top: 8px;
}

.split-media img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid #2a2a2a;
}

.media-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.media-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #232323;
  background: #090909;
}

.media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: min(220px, 72vw);
  object-fit: cover;
  object-position: center;
}

.media-card figcaption {
  padding: 10px 12px 12px;
  color: #d3d3d3;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.media-card-copy {
  margin: 0;
  padding: 0 12px 14px;
  color: #a8a8a8;
  font-size: 12px;
  line-height: 1.45;
}

.inline-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  color: #d0d8e0;
  background: #141414;
  padding: 0.12em 0.38em;
  border-radius: 4px;
  border: 1px solid #2a2a2a;
}

.dial-demo-placeholder-wrap {
  margin: 28px 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #232323;
  background: #050505;
}

.dial-tactile-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(420px, 51vw));
  gap: clamp(20px, 3.5vw, 48px);
  align-items: start;
  margin-top: 28px;
}

.dial-tactile-split .dial-feature-bullets {
  margin-top: 0;
  grid-template-columns: 1fr;
}

.dial-tactile-split .workflow-grid {
  margin: 0;
  grid-template-columns: 1fr;
  gap: 14px;
  align-self: start;
}

.dial-tactile-split .dial-demo-placeholder-wrap {
  margin: 0;
  justify-self: center;
  max-width: min(420px, 51vw);
  width: 100%;
}

.dial-tactile-split .dial-demo-placeholder-img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
}

.dial-tactile-split .dial-demo-placeholder-caption {
  font-size: 12px;
  line-height: 1.45;
  padding: 12px 12px 14px;
  text-align: center;
}

.dial-demo-placeholder-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.dial-demo-placeholder-caption {
  margin: 0;
  padding: 14px 16px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #9a9a9a;
}

.dial-feature-bullets {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dial-feature-bullet-block {
  border: 1px solid #212121;
  border-radius: 14px;
  padding: 18px 18px 16px;
  background: #080808;
}

.dial-feature-bullet-block h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.dial-feature-bullet-block .dial-feature-summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #b8b8b8;
}

body.single-page main {
  position: relative;
  z-index: 0;
}

/* Full-bleed band: "What the dial shows" only — strong blue/navy gradient */
.feature-gallery-section {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding: 72px 0 92px;
  background-color: #061018;
  background-image:
    radial-gradient(ellipse 140% 95% at 50% -18%, rgba(7, 141, 251, 0.38) 0%, rgba(7, 141, 251, 0.08) 40%, transparent 65%),
    radial-gradient(ellipse 65% 55% at 100% 35%, rgba(7, 141, 251, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(7, 141, 251, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #050d18 0%, #102a52 32%, #0e2748 50%, #0a1a30 72%, #060d16 100%);
  border-top: 1px solid rgba(7, 141, 251, 0.5);
  border-bottom: 1px solid rgba(7, 141, 251, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 24px 80px rgba(0, 0, 0, 0.45);
}

.feature-gallery-shell {
  width: 100%;
}

.feature-gallery-intro {
  padding-top: 6px;
  margin-top: 0;
  border-top: none;
}

.feature-gallery-intro .section-kicker {
  color: var(--brand-blue);
}

.feature-gallery-intro .section-heading h2 {
  color: #f5f8fc;
}

.feature-gallery-bridge {
  max-width: 62ch;
}

.feature-gallery-shell .media-row--feature-gallery {
  max-width: 1480px;
  margin: 28px auto 0;
  padding: 0 min(4vw, 48px);
  gap: clamp(14px, 2vw, 24px);
}

.feature-gallery-section .feature-gallery-card {
  border-radius: 18px;
  border: 1px solid rgba(7, 141, 251, 0.24);
  background: linear-gradient(168deg, #101722 0%, #080b10 52%, #040405 100%);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-gallery-section .feature-gallery-card figcaption {
  font-weight: 600;
  font-size: 13px;
  color: #f4f4f4;
}

.feature-gallery-section .feature-card-label {
  color: var(--brand-blue);
}

.feature-gallery-section .feature-card-rest {
  color: #f4f4f4;
}

.feature-gallery-section .feature-gallery-card .media-card-copy {
  color: #8fa3b8;
}

.feature-gallery-section .media-row--feature-gallery .feature-gallery-card img {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  object-fit: cover;
  object-position: center;
  background: #000000;
}

.media-row--feature-gallery .media-card figcaption {
  font-size: 12px;
  line-height: 1.35;
}

.feature-gallery-section .media-row--feature-gallery .media-card figcaption {
  font-size: 13px;
}

.final-cta {
  border: 1px solid #262626;
  border-radius: 16px;
  padding: 28px;
  background: linear-gradient(180deg, #101010 0%, #070707 100%);
}

.solver-display-visual {
  position: relative;
  margin: 18px 0 22px;
  border-radius: 12px;
  overflow: hidden;
  background: #070707;
}

.solver-display-visual--details {
  margin: 18px 0 18px;
}

.solver-details-image {
  display: block;
  width: 100%;
  max-height: min(400px, 52vh);
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.field-use-photo-frame {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #070707;
  border: 1px solid #212121;
}

.field-use-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.solver-display-visual:not(.solver-display-visual--details) {
  width: 100%;
  aspect-ratio: 1870 / 2103;
  max-height: min(468px, 63vh);
}

.solver-display-visual:not(.solver-display-visual--details) .solver-display-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  object-fit: cover;
  object-position: top center;
  max-height: none;
}

.solver-display-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 72% 66% at 50% 42%,
    rgba(7, 7, 7, 0) 0%,
    rgba(7, 7, 7, 0) 42%,
    rgba(7, 7, 7, 0.28) 68%,
    rgba(7, 7, 7, 0.82) 91%,
    #070707 98%
  );
}

.solver-display-image {
  display: block;
  width: 100%;
  max-height: min(520px, 70vh);
  margin: 0;
  object-fit: contain;
  object-position: center top;
}

.solver-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.final-cta h2 {
  margin: 10px 0 14px;
  max-width: min(100%, 38ch);
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.08;
  color: #ffffff;
}

.final-cta p {
  margin: 0;
  max-width: 60ch;
}

.final-cta p + p {
  margin-top: 14px;
}

.final-cta-line {
  margin-top: 14px !important;
  color: #ffffff;
  font-weight: 600;
}

.final-cta-accent {
  color: var(--brand-blue);
}

.update-cta {
  padding-bottom: 138px;
}

.update-panel {
  border: 1px solid #262626;
  border-radius: 16px;
  padding: 24px;
  background: linear-gradient(180deg, #0d0d0d 0%, #070707 100%);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.update-panel-copy p {
  margin: 0;
  max-width: 58ch;
}

.update-panel-points {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.update-panel-points li {
  color: #d3d3d3;
  border-left: 2px solid #555;
  padding-left: 10px;
  font-size: 14px;
}

.update-cta-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.update-cta-actions .action-btn {
  width: auto;
  min-width: 200px;
  padding: 0 20px;
}

.update-panel-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
}

.update-chip {
  min-width: 72px;
  text-align: center;
  border: 1px solid #4d4d4d;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #fff;
  background: #101010;
}

.update-arrow {
  width: 16px;
  height: 1px;
  background: #6f6f6f;
}

.update-caption {
  margin-top: 12px;
}

.update-caption span {
  display: inline-block;
  color: #a9a9a9;
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid #1a1a1a;
  padding: 24px 0 34px;
  background: #040404;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.footer-brand {
  margin: 0;
  color: #f2f2f2;
  font-weight: 700;
}

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

.footer-links a {
  text-decoration: none;
  color: #cecece;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Basic policy/support pages */
body.policy-page {
  background: #030303;
}

.policy-container {
  max-width: 840px;
  margin: 0 auto;
  padding: 34px 20px 56px;
}

.policy-container h1 {
  margin: 18px 0 10px;
  font-size: clamp(32px, 4.2vw, 46px);
  color: #ffffff;
}

.policy-container h2 {
  margin: 0 0 8px;
  font-size: 21px;
  color: #ffffff;
}

.policy-container section {
  margin-top: 22px;
  border: 1px solid #1c1c1c;
  border-radius: 12px;
  padding: 18px;
  background: #0a0a0a;
}

.policy-container p {
  margin: 0;
}

@media (max-width: 800px) {
  .update-flow {
    grid-template-columns: 1fr;
  }

  .feature-gallery-section {
    padding: 52px 0 60px;
  }

  .feature-gallery-shell .media-row--feature-gallery {
    margin-top: 22px;
    padding: 0 14px;
  }

  .feature-gallery-intro {
    padding-top: 0;
    margin-top: 0;
  }

  .feature-grid,
  .workflow-grid,
  .media-row,
  .product-specs-grid,
  .dial-tactile-split,
  .dial-feature-bullets,
  .story-grid,
  .solver-why-grid,
  .split-section,
  .update-panel,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .dial-tactile-split .dial-demo-placeholder-wrap {
    order: -1;
    justify-self: center;
    max-width: min(420px, 92vw);
  }

  .dial-tactile-split .dial-demo-placeholder-img {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .buy-strip-section .buy-strip {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .buy-strip-btn {
    width: 100%;
    max-width: 320px;
  }

  .site-header {
    padding: 7px 14px;
  }

  .header-actions {
    width: 132px;
  }

  .hero-section {
    --hero-anchor-y: 45%;
    --hero-bg-offset-y: 8%;
    --hero-bg-shift-y: 24%;
    --hero-bg-scale: 1.24;
    --hero-bg-max-width: 100%;
    --hero-overlay-mid-stop: 10%;
    --hero-overlay-dark-stop: 44%;
    --hero-logo-offset-y: 25%;
    --hero-logo-size: clamp(160px, 50vw, 260px);
    --hero-content-lift: 14px;
    --hero-content-bottom: auto;
    --hero-content-nudge: 0px;
    --hero-content-top: clamp(208px, 46svh, 360px);
    /* Absolute hero-content does not grow section height; add extra length so stacked CTA clears before the next section (border-box min-height). */
    min-height: calc(clamp(720px, 118svh, 980px) + clamp(120px, 22svh, 200px));
  }

  body.single-page .hero-content.container {
    padding: 0 16px 36px;
  }

  .hero-content {
    top: var(--hero-content-top);
    bottom: auto;
    transform: translateY(var(--hero-content-nudge));
  }

  .hero-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "lead"
      "product"
      "body";
    gap: 22px;
    row-gap: 20px;
  }

  .hero-product-img {
    max-width: min(280px, 76vw);
  }

  .hero-copy {
    font-size: 16px;
  }

  .content-section {
    padding: 84px 0 34px;
  }

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

  body.single-page .how-it-works {
    margin-top: 10px;
    padding-top: 132px;
  }

  .update-cta-actions .action-btn,
  .hero-cta .action-btn {
    width: 100%;
  }

  .update-panel {
    padding: 20px;
  }

  .update-panel-visual {
    justify-content: flex-start;
  }

  .policy-container {
    padding-top: 24px;
  }

  .final-cta {
    padding: 22px;
  }

  .final-cta h2 {
    font-size: clamp(28px, 8vw, 36px);
    max-width: 100%;
  }

  .combined-feature-card .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 801px) and (max-height: 880px) {
  .hero-section {
    --hero-content-bottom: clamp(72px, 11svh, 150px);
    --hero-content-lift: 20px;
    --hero-content-nudge: 61px;
  }
}

@media (min-width: 801px) and (max-height: 700px) {
  .hero-section {
    --hero-content-bottom: clamp(48px, 8svh, 110px);
    --hero-content-lift: 0px;
    --hero-content-nudge: 48px;
  }

  .hero-lead h1 {
    font-size: clamp(22px, 4.8vw, 40px);
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-cta {
    margin-top: 18px;
  }
}

@media (max-width: 800px) and (max-height: 640px) {
  .hero-section {
    --hero-content-top: clamp(180px, 38svh, 280px);
    min-height: calc(clamp(640px, 132svh, 860px) + clamp(140px, 26svh, 240px));
  }

  .hero-lead h1 {
    font-size: clamp(22px, 5.5vw, 40px);
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-cta {
    margin-top: 18px;
  }
}

