:root {
  --bg: #f7f7f5;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --ink: #17354b;
  --muted: #537083;
  --line: rgba(23, 53, 75, 0.12);
  --brand: #ff7b24;
  --brand-strong: #0aa8d8;
  --brand-warm: #ffb224;
  --brand-cool: #10c6e8;
  --accent: #f7d83b;
  --shadow: 0 18px 50px rgba(26, 63, 88, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1120px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 123, 36, 0.18), transparent 28%),
    radial-gradient(circle at 30% 0%, rgba(247, 216, 59, 0.14), transparent 22%),
    radial-gradient(circle at top right, rgba(16, 198, 232, 0.18), transparent 30%),
    linear-gradient(180deg, #fcfcfb 0%, #eef6fb 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(252, 252, 251, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.5rem;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand__mark-link {
  line-height: 0;
  flex: 0 0 auto;
}

.brand__meta {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.site-header__switch {
  justify-self: end;
}

.brand__mark {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 16px rgba(34, 98, 139, 0.16));
}

.brand strong,
.site-nav a,
.button,
.eyebrow {
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.brand__powered {
  display: inline-flex;
  gap: 0.28rem;
  align-items: baseline;
  color: var(--muted);
  white-space: nowrap;
}

.brand__powered a {
  color: var(--brand-strong);
  text-decoration: none;
  font-weight: 700;
}

.brand__powered a:hover {
  text-decoration: underline;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-self: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.lang-switch,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.lang-switch {
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.button {
  gap: 0.55rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  font-weight: 700;
}

.button:hover,
.lang-switch:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: white;
  box-shadow: 0 16px 30px rgba(22, 114, 167, 0.22);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  padding: 5rem 0 3rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 123, 36, 0.12), rgba(16, 198, 232, 0.12));
  color: #0f6f98;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  line-height: 1.05;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero__copy p {
  font-size: 1.1rem;
  max-width: 60ch;
}

.hero__bullets,
.faq-list,
.article__content ul {
  padding-left: 1.15rem;
  color: var(--ink);
}

.hero__bullets {
  padding-left: 0;
  list-style: none;
  margin: 1.5rem 0 0;
}

.hero__bullets li {
  position: relative;
  padding-left: 1.7rem;
  font: inherit;
  color: var(--ink);
  line-height: 1.5;
}

.hero__bullets li + li {
  margin-top: 0.45rem;
}

.hero__bullets li::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 0.12rem;
  background: var(--bullet-color, var(--brand));
  position: absolute;
  left: 0;
  top: 0.74rem;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42), 0 8px 18px rgba(26, 63, 88, 0.12);
}

.hero__bullets li:nth-child(1)::before {
  --bullet-color: var(--brand);
}

.hero__bullets li:nth-child(2)::before {
  --bullet-color: var(--brand-strong);
}

.hero__bullets li:nth-child(3)::before {
  --bullet-color: var(--brand-warm);
}

.hero__actions,
.cta__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero__panel,
.content-card,
.article-card,
.stats,
.cta,
.article__content,
.blog-hero,
.article-hero {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__panel {
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.screen-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.screen-copy p {
  max-width: 58ch;
}

.demo-form {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 36px rgba(26, 63, 88, 0.08);
  backdrop-filter: blur(10px);
}

.demo-form h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.demo-form p {
  margin-top: 0;
}

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

.demo-form__actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.25rem;
}

.screen-steps {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1.5rem 0 0;
}

.screen-steps li {
  list-style: none;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.screen-steps strong {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.35rem;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42), 0 8px 18px rgba(26, 63, 88, 0.12);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.95rem;
}

.screen-steps li:nth-child(2) strong {
  background: var(--brand-strong);
}

.screen-steps li:nth-child(3) strong {
  background: var(--brand-warm);
}

.screen-stage {
  position: relative;
  min-height: 39rem;
}

.screen-glow {
  position: absolute;
  inset: 6% 10% auto;
  height: 18rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(16, 198, 232, 0.18), transparent 65%);
  filter: blur(18px);
}

.screen-card {
  position: absolute;
  inset: 0;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(26, 63, 88, 0.16);
  backdrop-filter: blur(14px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  animation: screen-cycle 15s ease-in-out infinite;
}

.screen-card:nth-child(2) {
  animation-delay: 0s;
}

.screen-card:nth-child(3) {
  animation-delay: 5s;
}

.screen-card:nth-child(4) {
  animation-delay: 10s;
}

.screen-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.screen-card__dots {
  display: flex;
  gap: 0.35rem;
}

.screen-card__dots span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
}

.screen-card__dots span:nth-child(1) {
  background: #ff8d4a;
}

.screen-card__dots span:nth-child(2) {
  background: #ffd65e;
}

.screen-card__dots span:nth-child(3) {
  background: #4bc4e5;
}

.screen-card__label {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.95rem;
  color: #0f6f98;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.screen-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(23, 53, 75, 0.08);
}

@keyframes screen-cycle {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
  7%,
  27% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  33%,
  100% {
    opacity: 0;
    transform: translateY(-18px) scale(1.02);
  }
}

.hero__panel::before {
  content: "";
  position: absolute;
  inset: auto -15% -30% 40%;
  height: 18rem;
  background: radial-gradient(circle, rgba(255, 123, 36, 0.22), transparent 55%);
}

.hero__panel::after {
  content: "";
  position: absolute;
  inset: -10% 30% auto auto;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(16, 198, 232, 0.18), transparent 60%);
}

.hero-diagram {
  display: grid;
  gap: 0.85rem;
}

.hero-diagram__row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pill {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.95rem;
}

.pill--warm {
  background: linear-gradient(135deg, rgba(255, 123, 36, 0.14), rgba(255, 178, 36, 0.12));
}

.pill--cool {
  background: linear-gradient(135deg, rgba(16, 198, 232, 0.12), rgba(10, 168, 216, 0.12));
}

.hero-flow {
  position: relative;
  min-height: 21rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at 70% 24%, rgba(16, 198, 232, 0.1), transparent 28%),
    radial-gradient(circle at 32% 72%, rgba(255, 123, 36, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.74));
  border: 1px solid rgba(23, 53, 75, 0.08);
  overflow: hidden;
}

.hero-flow__sensor-card,
.hero-flow__value {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 53, 75, 0.08);
  box-shadow: 0 14px 28px rgba(26, 63, 88, 0.1);
}

.hero-flow__value strong {
  display: block;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.hero-flow__value span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-flow__sensor-card {
  position: absolute;
  left: 1.2rem;
  top: 5.2rem;
  width: 8.8rem;
  padding: 0.8rem;
  border-radius: 20px;
  display: grid;
  gap: 0.5rem;
  z-index: 2;
  animation: hero-device-float 6s ease-in-out infinite;
}

.hero-flow__sensor-card img {
  width: 100%;
  height: 4.8rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(26, 63, 88, 0.12));
}

.hero-flow__sensor-card strong {
  display: block;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.hero-flow__sensor-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-flow__value {
  width: 6.9rem;
  padding: 0.7rem 0.8rem;
  border-radius: 16px;
  opacity: 0;
  transform: translateY(10px);
  animation: hero-measure-reveal 6s ease-in-out infinite;
}

.hero-flow__value--temp {
  top: 2.7rem;
  right: 1.1rem;
  animation-delay: 0.8s;
}

.hero-flow__value--humidity {
  top: 8rem;
  right: 1.1rem;
  animation-delay: 1.5s;
}

.hero-flow__value--co2 {
  top: 13.3rem;
  right: 1.1rem;
  animation-delay: 2.2s;
}

.hero-flow__line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 123, 36, 0.24), rgba(10, 168, 216, 0.34));
  transform-origin: left center;
  opacity: 0;
  animation: hero-line-reveal 6s ease-in-out infinite;
}

.hero-flow__line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  transform: translateY(-50%);
  animation: telemetry-pulse 2.2s linear infinite;
}

.hero-flow__line--a {
  left: 9.8rem;
  top: 4.95rem;
  right: 8rem;
  animation-delay: 0.8s;
}

.hero-flow__line--b {
  left: 9.8rem;
  top: 10.2rem;
  right: 8rem;
  animation-delay: 1.5s;
}

.hero-flow__line--c {
  left: 9.8rem;
  top: 15.45rem;
  right: 8rem;
  animation-delay: 2.2s;
}

@keyframes telemetry-pulse {
  from {
    left: 0;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  to {
    left: calc(100% - 0.7rem);
    opacity: 0;
  }
}

@keyframes hero-device-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes hero-line-reveal {
  0%,
  18% {
    opacity: 0;
  }
  26%,
  84% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes hero-measure-reveal {
  0%,
  18% {
    opacity: 0;
    transform: translateY(10px);
  }
  26%,
  84% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.section {
  padding: 2rem 0 4rem;
}

.section__intro {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card,
.article-card,
.stats,
.cta,
.blog-hero,
.article-hero,
.article__content {
  padding: 1.5rem;
}

.content-card,
.article-card,
.stats,
.cta,
.blog-hero,
.article-hero,
.article__content,
.hero__panel {
  backdrop-filter: blur(12px);
}

.content-card h3,
.article-card h3 {
  font-size: 1.35rem;
}

.content-card {
  position: relative;
}

.content-card__brands {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.content-card__brand-link {
  display: inline-flex;
}

.content-card__brand {
  display: block;
  width: auto;
  height: 3.8rem;
}

.card-meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.88rem;
}

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

.stat {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list li {
  list-style: none;
  padding: 1.2rem 1.3rem;
  margin-left: -1.15rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.faq-list strong {
  display: block;
  margin-bottom: 0.35rem;
}

.cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.pricing-hero,
.pricing-compare {
  margin: 3rem 0 2rem;
}

.pricing-hero__highlights {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.pricing-hero__highlights li {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: var(--ink);
}

.pricing-switch {
  margin: 0 0 1.25rem;
  display: flex;
  justify-content: center;
}

.pricing-switch__group {
  display: inline-flex;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(26, 63, 88, 0.08);
}

.pricing-switch__button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.98rem;
  cursor: pointer;
}

.pricing-switch__button.is-active {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: white;
  box-shadow: 0 10px 20px rgba(22, 114, 167, 0.18);
}

.pricing-offers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.pricing-offer,
.pricing-compare {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.pricing-offer {
  flex: 0 1 360px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
}

.pricing-offer--featured {
  background:
    linear-gradient(135deg, rgba(255, 123, 36, 0.1), rgba(16, 198, 232, 0.09)),
    var(--surface-strong);
}

.pricing-offer__subtitle {
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: #0f6f98;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.pricing-offer__price {
  display: flex;
  align-items: end;
  gap: 0.65rem;
  margin: 1rem 0 0.4rem;
  flex-wrap: wrap;
}

.pricing-offer__price strong {
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
}

.pricing-offer__price span {
  color: var(--muted);
  max-width: 16rem;
}

.pricing-offer__note {
  margin: 0 0 1rem;
}

.pricing-offer ul {
  padding-left: 1.1rem;
  margin-bottom: 1.5rem;
}

.pricing-offer .button {
  margin-top: auto;
  align-self: flex-start;
}

.pricing-compare__intro {
  margin-bottom: 1rem;
}

.pricing-compare__table-wrap {
  overflow-x: auto;
}

.pricing-compare__table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-compare__table th,
.pricing-compare__table td {
  padding: 1rem 0.85rem;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.pricing-compare__table thead th {
  border-top: 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.pricing-compare__table tbody th {
  width: 18%;
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: var(--ink);
}

.pricing-compare__source {
  margin-top: 1rem;
  font-size: 0.92rem;
}

.pricing-note {
  margin-top: 1.5rem;
}

.sales-dialog {
  width: min(32rem, calc(100vw - 2rem));
  border: 0;
  padding: 0;
  border-radius: 24px;
  background: transparent;
}

.sales-dialog::backdrop {
  background: rgba(16, 33, 46, 0.42);
  backdrop-filter: blur(6px);
}

.sales-dialog__form {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 60px rgba(26, 63, 88, 0.22);
  border-radius: 24px;
  padding: 1.5rem;
}

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

.sales-dialog__header h2 {
  margin-bottom: 0;
}

.sales-dialog__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.sales-dialog__field {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
}

.sales-dialog__field span {
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: var(--ink);
}

.sales-dialog__field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.sales-dialog__field input:invalid[data-touched="true"] {
  border-color: #d14b4b;
  box-shadow: 0 0 0 3px rgba(209, 75, 75, 0.12);
}

.sales-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55));
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-footer__mark {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-footer__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer__links a,
.site-footer__button {
  color: var(--muted);
  text-decoration: none;
  font: inherit;
}

.site-footer__button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.site-footer__links a:hover,
.site-footer__button:hover {
  color: var(--ink);
}

.blog-hero,
.article-hero {
  margin: 3rem 0 2rem;
}

.article-hero h1 {
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  max-width: 11ch;
}

.article-list {
  display: grid;
  gap: 1.25rem;
}

.article__content {
  margin-bottom: 2rem;
}

.article__content h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
}

.article__content p,
.article__content li {
  font-size: 1.05rem;
}

.article__content a {
  color: var(--brand-strong);
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-in 560ms ease forwards;
}

.fade-in[data-delay="2"] {
  animation-delay: 120ms;
}

.fade-in[data-delay="3"] {
  animation-delay: 240ms;
}

.fade-in[data-delay="4"] {
  animation-delay: 360ms;
}

@keyframes fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .hero__grid,
  .screen-showcase,
  .cta,
  .pricing-offers,
  .grid--3,
  .grid--2,
  .stats {
    grid-template-columns: 1fr;
  }

  .section__intro,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
  }

  .site-header__switch,
  .site-nav {
    justify-self: start;
  }

  h1 {
    max-width: 100%;
  }

  .screen-stage {
    min-height: 29rem;
  }

  .demo-form__grid {
    grid-template-columns: 1fr;
  }

  .hero-flow {
    min-height: 26rem;
  }

  .hero-flow__sensor-card {
    left: 1rem;
    top: 6.2rem;
    width: 7.5rem;
  }

  .hero-flow__sensor-card img {
    height: 4.2rem;
  }

  .hero-flow__line--a,
  .hero-flow__line--b,
  .hero-flow__line--c {
    left: 8.5rem;
    right: 7.3rem;
  }

  .hero-flow__line--a {
    top: 5.4rem;
  }

  .hero-flow__line--b {
    top: 10.6rem;
  }

  .hero-flow__line--c {
    top: 15.7rem;
  }

  .hero-flow__value {
    width: 6.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen-card,
  .fade-in,
  .button,
  .lang-switch {
    animation: none !important;
    transition: none !important;
  }

  .screen-card {
    opacity: 1;
    transform: none;
    position: relative;
    margin-bottom: 1rem;
  }

  .screen-stage {
    min-height: auto;
  }
}
