:root {
  --ink: #0d1f24;
  --ink-2: #162f36;
  --muted: #5f7278;
  --paper: #f6f7f3;
  --panel: #ffffff;
  --line: #dce6e3;
  --teal: #007f7b;
  --teal-2: #e4f5f1;
  --blue: #3e6ae8;
  --blue-2: #e8efff;
  --coral: #e95d4f;
  --coral-2: #fff0ed;
  --yellow: #f5c338;
  --yellow-2: #fff7d8;
  --shadow: 0 18px 45px rgba(13, 31, 36, 0.12);
  --soft-shadow: 0 22px 70px rgba(13, 31, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 20, 24, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 188px;
  height: 38px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.header-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 900;
}

.header-action:hover,
.header-action:focus-visible {
  background: var(--yellow);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
}

.menu-toggle span:not(.sr-only) {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 5vw, 5rem);
  line-height: 1;
  font-weight: 950;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  font-weight: 930;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
  font-weight: 900;
}

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

.eyebrow {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.rev-slider {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  background: var(--ink);
  border-bottom-left-radius: 56px;
  border-bottom-right-radius: 56px;
}

.rev-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.rev-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

.rev-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 5s ease;
}

.rev-slide.is-active .rev-slide-image {
  transform: scale(1);
}

.rev-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 37, 42, 0.95), rgba(4, 37, 42, 0.76) 46%, rgba(4, 37, 42, 0.2)),
    radial-gradient(circle at 86% 14%, rgba(245, 195, 56, 0.16), transparent 34%);
}

.slider-shape {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  pointer-events: none;
}

.shape-one {
  width: 460px;
  height: 460px;
  right: -150px;
  top: -180px;
  background: rgba(255, 255, 255, 0.08);
}

.shape-two {
  width: 240px;
  height: 240px;
  left: -80px;
  bottom: 70px;
  background: rgba(245, 195, 56, 0.1);
}

.rev-slide-content {
  position: relative;
  z-index: 4;
  max-width: 760px;
  padding: 98px 0 128px;
  color: #ffffff;
}

.rev-slide-content p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.rev-slide-content .eyebrow {
  color: var(--yellow);
}

.rev-slide-heading {
  max-width: 820px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(2.55rem, 5vw, 5rem);
  line-height: 1;
  font-weight: 950;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.hero-pills span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 850;
}

.rev-slider-controls {
  position: absolute;
  inset: 0;
  z-index: 8;
  width: 100%;
  pointer-events: none;
}

.slider-arrow,
.slider-dots button {
  border: 0;
  cursor: pointer;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}

.slider-arrow[data-rev-prev] {
  left: max(24px, calc((100vw - 1160px) / 2));
}

.slider-arrow[data-rev-next] {
  right: max(24px, calc((100vw - 1160px) / 2));
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: var(--yellow);
  color: var(--ink);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 34px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.slider-dots button.is-active {
  width: 54px;
  background: var(--yellow);
}

.hero,
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76svh;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  border-bottom-left-radius: 46px;
  border-bottom-right-radius: 46px;
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 38, 43, 0.92), rgba(5, 38, 43, 0.74) 48%, rgba(5, 38, 43, 0.18));
  content: "";
}

.home-hero {
  background-image: url("assets/micro/graphic-programming.png");
}

.catalog-hero {
  background-image: url("assets/micro/student-project.png");
}

.micro-hero {
  background-image: url("assets/micro/graphic-programming.png");
}

.arduino-hero {
  background-image: url("assets/arduino/key-features.png");
}

.raspberry-hero {
  background-image: url("assets/raspberry/key-features.png");
}

.compare-hero {
  background-image: url("assets/raspberry/smart-soil.png");
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding: 96px 0 82px;
  color: #ffffff;
}

.hero-content p,
.page-hero-content p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.hero-content .eyebrow,
.page-hero-content .eyebrow {
  color: var(--yellow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 950;
}

.button-primary {
  background: var(--yellow);
  color: #172225;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
}

.button-dark {
  background: var(--ink);
  color: #ffffff;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.22s ease;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 34px 0 0;
}

.hero-metrics div {
  min-height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-metrics dt {
  margin-bottom: 4px;
  font-size: 1.45rem;
  font-weight: 950;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section {
  padding: 86px 0;
}

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

.section-heading p,
.split-intro p,
.product-layout p,
.media-copy p,
.showcase-copy p {
  font-size: 1.04rem;
}

.split-intro,
.process-layout,
.showcase-grid,
.product-layout,
.media-layout,
.two-column,
.decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}

.intro-section {
  background: #ffffff;
}

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

.kit-card,
.catalog-item,
.project-grid article,
.recommend-grid article,
.next-card,
.decision-card,
.spec-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(13, 31, 36, 0.08);
}

.kit-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.kit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--soft-shadow);
}

.kit-card a {
  display: block;
  height: 100%;
}

.kit-card img {
  width: 100%;
  height: 246px;
  object-fit: cover;
  background: #edf3f2;
}

.kit-card-body {
  padding: 24px;
}

.kit-card p {
  margin-bottom: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 0.78rem;
  font-weight: 950;
}

.tag-teal {
  background: var(--teal-2);
  color: #006a68;
}

.tag-blue {
  background: var(--blue-2);
  color: #254ed0;
}

.tag-coral {
  background: var(--coral-2);
  color: #c63c32;
}

.text-link {
  color: var(--teal);
  font-weight: 950;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--coral);
}

.process-section,
.decision-section {
  background: #ffffff;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  min-height: 182px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
}

.step-list span {
  display: block;
  margin-bottom: 26px;
  color: var(--teal);
  font-weight: 950;
}

.step-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.08rem;
}

.showcase-section {
  background: var(--ink);
  color: #ffffff;
}

.showcase-section p {
  color: rgba(255, 255, 255, 0.74);
}

.showcase-section .eyebrow {
  color: var(--yellow);
}

.showcase-image {
  overflow: hidden;
  border-radius: 32px;
}

.showcase-image img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.mini-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mini-grid div {
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-grid strong,
.mini-grid span {
  display: block;
}

.mini-grid span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.catalog-list {
  display: grid;
  gap: 28px;
}

.catalog-item {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  padding: 24px;
  align-items: center;
}

.catalog-item img {
  width: 100%;
  height: 285px;
  border-radius: 20px;
  object-fit: cover;
  background: #edf3f2;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #354b51;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.check-list.large {
  margin-bottom: 0;
}

.check-list.large li {
  font-size: 1.02rem;
}

.decision-card {
  display: grid;
  min-height: 190px;
  align-content: center;
  padding: 28px;
  background: var(--ink);
  color: #ffffff;
}

.decision-card span {
  color: var(--yellow);
  font-weight: 950;
  text-transform: uppercase;
}

.decision-card strong {
  margin-top: 8px;
  font-size: 1.55rem;
  line-height: 1.12;
}

.product-overview {
  background: #ffffff;
}

.product-layout img,
.media-layout img {
  width: 100%;
  min-height: 420px;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.feature-strip div {
  min-height: 152px;
  border-top: 4px solid var(--teal);
  border-radius: 20px;
  padding: 18px;
  background: var(--paper);
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip span {
  margin-top: 8px;
  color: var(--muted);
}

.media-section {
  background: var(--paper);
}

.section-nav {
  position: sticky;
  top: 74px;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.section-nav .container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 12px;
  padding-bottom: 12px;
}

.section-nav a {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 900;
}

.section-nav a:hover,
.section-nav a:focus-visible {
  background: var(--teal);
  color: #ffffff;
}

.kit-story-section {
  position: relative;
  scroll-margin-top: 136px;
}

.story-teal {
  background: var(--teal-2);
}

.story-blue {
  background: var(--blue-2);
}

.story-coral {
  background: var(--coral-2);
}

.story-yellow {
  background: var(--yellow-2);
}

.story-white {
  background: #ffffff;
}

.story-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(13, 31, 36, 0.07);
  border-radius: 34px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
}

.story-layout::before {
  position: absolute;
  right: -120px;
  top: -140px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(0, 127, 123, 0.08);
  content: "";
}

.story-layout.reverse .story-copy {
  order: 2;
}

.story-copy,
.story-media {
  position: relative;
  z-index: 1;
}

.story-copy p {
  font-size: 1.04rem;
}

.story-media {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(13, 31, 36, 0.12);
}

.story-media img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
}

.story-media figcaption {
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 950;
}

.content-section {
  background: var(--paper);
}

.two-column {
  align-items: start;
}

.spec-panel {
  padding: 28px;
}

.spec-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.spec-list dt {
  color: var(--ink);
  font-weight: 950;
}

.spec-list dd {
  margin: 0;
  color: var(--muted);
}

.project-grid,
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.project-grid article,
.recommend-grid article {
  min-height: 236px;
  padding: 24px;
}

.project-mark {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
}

.mark-teal {
  background: var(--teal);
}

.mark-blue {
  background: var(--blue);
}

.mark-coral {
  background: var(--coral);
}

.mark-yellow {
  background: var(--yellow);
}

.next-section {
  background: #ffffff;
}

.next-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}

.next-card p {
  margin-bottom: 0;
}

.comparison-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(245, 195, 56, 0.16), transparent 25%),
    radial-gradient(circle at 94% 22%, rgba(0, 127, 123, 0.11), transparent 26%),
    #ffffff;
}

.comparison-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.compare-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 28px;
}

.compare-selector button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: #ffffff;
  color: var(--ink-2);
  cursor: pointer;
  font-weight: 950;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.compare-selector button:hover,
.compare-selector button:focus-visible,
.compare-selector button.is-active {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(13, 31, 36, 0.16);
  transform: translateY(-2px);
}

.compare-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.compare-kit-card {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(13, 31, 36, 0.08);
  transition: transform 0.24s ease, opacity 0.24s ease, box-shadow 0.24s ease;
}

.compare-kit-card::after {
  position: absolute;
  right: -54px;
  top: -62px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  content: "";
}

.micro-card::after {
  background: rgba(59, 181, 255, 0.18);
}

.arduino-card::after {
  background: rgba(233, 93, 79, 0.16);
}

.raspberry-card::after {
  background: rgba(139, 92, 246, 0.15);
}

.compare-kit-card:hover,
.compare-kit-card.is-featured {
  transform: translateY(-6px);
  box-shadow: var(--soft-shadow);
}

.compare-kit-card.is-muted {
  opacity: 0.45;
}

.compare-kit-icon,
.recommend-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--paper);
  font-size: 1.6rem;
}

.compare-kit-card p {
  min-height: 54px;
}

.comparison-table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.comparison-table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.comparison-table {
  min-width: 920px;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--teal);
  color: #ffffff;
  font-size: 0.82rem;
  text-transform: uppercase;
}

tbody th {
  background: rgba(228, 245, 241, 0.58);
  color: var(--ink);
  font-size: 1.02rem;
}

tbody td {
  color: #405960;
  font-weight: 750;
}

.comparison-table tbody tr:nth-child(odd) {
  background: #fbfdfc;
}

.comparison-table tbody tr:hover {
  background: var(--yellow-2);
}

.ct-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 0.78rem;
  font-weight: 950;
}

.ct-badge.micro {
  background: #e8f7ff;
  color: #0070a8;
}

.ct-badge.arduino {
  background: var(--coral-2);
  color: #bf3d32;
}

.ct-badge.raspberry {
  background: #f3edff;
  color: #6742d3;
}

.comparison-table-shell[data-active-kit="micro"] [data-kit-column]:not([data-kit-column="micro"]),
.comparison-table-shell[data-active-kit="arduino"] [data-kit-column]:not([data-kit-column="arduino"]),
.comparison-table-shell[data-active-kit="raspberry"] [data-kit-column]:not([data-kit-column="raspberry"]) {
  opacity: 0.34;
}

.comparison-table-shell[data-active-kit="micro"] [data-kit-column="micro"],
.comparison-table-shell[data-active-kit="arduino"] [data-kit-column="arduino"],
.comparison-table-shell[data-active-kit="raspberry"] [data-kit-column="raspberry"] {
  background: rgba(245, 195, 56, 0.2);
  color: var(--ink);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 8%, rgba(245, 195, 56, 0.24), transparent 24%),
    radial-gradient(circle at 92% 16%, rgba(233, 93, 79, 0.13), transparent 22%),
    linear-gradient(135deg, #e8f5f2 0%, #ffffff 52%, #fff7d8 100%);
  border-top-left-radius: 54px;
  border-top-right-radius: 54px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 42px;
}

.contact-copy {
  max-width: 520px;
}

.contact-copy h2 {
  margin-bottom: 18px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contact-cards div {
  min-height: 168px;
  border: 1px solid rgba(0, 127, 123, 0.16);
  border-radius: 28px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(13, 31, 36, 0.08);
}

.contact-cards span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--yellow);
  font-size: 1.25rem;
}

.contact-cards strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 950;
}

.contact-cards p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.contact-form {
  border: 1px solid rgba(13, 31, 36, 0.08);
  border-radius: 34px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 900;
}

.contact-form label span {
  font-size: 0.88rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  background: #fdfefd;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contact-form select {
  cursor: pointer;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 127, 123, 0.12);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-weight: 900;
}

.form-status.is-success {
  color: var(--teal);
}

.form-status.is-error {
  color: #bf3d32;
}

.site-footer {
  padding: 34px 0;
  background: #071418;
  color: rgba(255, 255, 255, 0.72);
}

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

.footer-brand img {
  width: 170px;
  height: 34px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-email {
  font-weight: 950;
  color: #ffffff;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

@media (max-width: 1020px) {
  .header-action {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px;
    background: #071418;
    box-shadow: var(--shadow);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
  }

  .split-intro,
  .process-layout,
  .showcase-grid,
  .product-layout,
  .media-layout,
  .two-column,
  .decision-grid,
  .catalog-item,
  .story-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .story-layout.reverse .story-copy {
    order: 0;
  }

  .kit-grid,
  .recommend-grid,
  .compare-card-grid,
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 154px;
    height: 32px;
  }

  .nav-links {
    top: 68px;
    left: 14px;
    right: 14px;
  }

  .hero,
  .page-hero,
  .rev-slider {
    min-height: 68svh;
    border-bottom-left-radius: 34px;
    border-bottom-right-radius: 34px;
  }

  .hero-content,
  .page-hero-content,
  .rev-slide-content {
    padding: 50px 0 38px;
  }

  .hero-content p,
  .page-hero-content p,
  .rev-slide-content p {
    font-size: 1rem;
  }

  .rev-slide-heading {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .slider-arrow[data-rev-prev] {
    left: 14px;
  }

  .slider-arrow[data-rev-next] {
    right: 14px;
  }

  .slider-dots {
    bottom: 18px;
  }

  .slider-dots button {
    width: 24px;
  }

  .slider-dots button.is-active {
    width: 42px;
  }

  .hero-pills {
    gap: 8px;
  }

  .kit-grid,
  .step-list,
  .feature-strip,
  .project-grid,
  .recommend-grid,
  .compare-card-grid,
  .contact-cards,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-metrics div {
    min-height: 88px;
    padding: 12px;
  }

  .hero-metrics dt {
    font-size: 1.1rem;
  }

  .hero-metrics dd {
    font-size: 0.76rem;
  }

  .section {
    padding: 62px 0;
  }

  .section-nav {
    top: 68px;
  }

  .kit-card img,
  .catalog-item img {
    height: 225px;
  }

  .catalog-item,
  .next-card,
  .spec-panel,
  .contact-form {
    padding: 22px;
  }

  .product-layout img,
  .media-layout img,
  .showcase-image img,
  .story-media img {
    min-height: 280px;
  }

  .story-layout {
    gap: 28px;
    border-radius: 26px;
    padding: 20px;
  }

  .story-media {
    border-radius: 22px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .next-card,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    gap: 18px;
  }
}
