:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #61716d;
  --panel: #ffffff;
  --line: #dce7e3;
  --paper: #f4f8f6;
  --dark: #101816;
  --dark-2: #172621;
  --green: #0e8f6e;
  --green-2: #075f4e;
  --mint: #dff6ee;
  --amber: #d59128;
  --copper: #b86434;
  --blue: #2d6cdf;
  --shadow: 0 18px 50px rgba(23, 33, 31, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(100% - 32px, 1240px);
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(16, 24, 22, 0.72);
  color: #ffffff;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-color: rgba(23, 33, 31, 0.08);
  box-shadow: 0 12px 34px rgba(23, 33, 31, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #1ba77f;
  color: #fff;
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.15;
}

.brand small {
  display: block;
  color: currentColor;
  opacity: 0.72;
  font-size: 11px;
  line-height: 1.2;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
}

.main-nav a {
  opacity: 0.82;
}

.main-nav a:hover {
  opacity: 1;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .language-switch {
  border-color: rgba(23, 33, 31, 0.12);
  background: rgba(23, 33, 31, 0.04);
}

.language-switch button {
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  color: currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.language-switch button.is-active {
  background: #ffffff;
  color: var(--green-2);
}

.site-header.is-scrolled .language-switch button.is-active {
  background: var(--green);
  color: #ffffff;
}

.quote-link,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.quote-link {
  padding: 0 16px;
  background: var(--amber);
  color: #16100a;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.site-header.is-scrolled .menu-toggle {
  border-color: rgba(23, 33, 31, 0.14);
  background: rgba(23, 33, 31, 0.04);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 132px 0 88px;
  background:
    radial-gradient(circle at 66% 38%, rgba(25, 167, 127, 0.22), transparent 31%),
    linear-gradient(135deg, #0f1715 0%, #15241f 52%, #243324 100%);
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.22));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding-top: 32px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7be5c8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 86px;
  line-height: 1.02;
  letter-spacing: 0;
}

html[lang="en"] h1 {
  max-width: 610px;
  font-size: 72px;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

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

.primary-button {
  min-width: 158px;
  padding: 0 20px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(14, 143, 110, 0.26);
}

.primary-button:hover {
  background: #0b7d60;
}

.secondary-button {
  min-width: 158px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 140px));
  gap: 18px;
  max-width: 520px;
  margin: 58px 0 0;
}

.hero-metrics div {
  padding: 0 0 0 16px;
  border-left: 2px solid rgba(123, 229, 200, 0.5);
}

.hero-metrics dt {
  font-size: 28px;
  font-weight: 850;
  line-height: 1;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.hero-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.board {
  position: absolute;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(135deg, #0f8d68, #065944 70%);
  background-size: 22px 22px, 22px 22px, auto;
  border: 2px solid rgba(183, 255, 232, 0.35);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.board-main {
  width: min(46vw, 580px);
  aspect-ratio: 1.45;
  right: max(3vw, 24px);
  top: 19%;
  transform: rotate(-9deg);
  opacity: 0.95;
}

.board-mini {
  width: min(22vw, 270px);
  aspect-ratio: 1.5;
  right: 31vw;
  bottom: 8%;
  transform: rotate(13deg);
  opacity: 0.56;
}

.mcu,
.usb,
.button-dot,
.crystal,
.port,
.trace,
.pins {
  position: absolute;
  display: block;
}

.mcu {
  left: 37%;
  top: 31%;
  display: grid;
  place-items: center;
  width: 26%;
  height: 28%;
  border-radius: 5px;
  background: #111917;
  color: #d6fff2;
  font-size: 30px;
  font-weight: 800;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.board-mini .mcu {
  font-size: 16px;
}

.usb {
  left: 7%;
  top: 38%;
  width: 14%;
  height: 22%;
  border-radius: 5px;
  background: #d3d9d6;
  box-shadow: inset 0 -10px 0 rgba(23, 33, 31, 0.22);
}

.button-dot {
  right: 13%;
  top: 17%;
  width: 8%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #cf3d2e;
  border: 4px solid rgba(0, 0, 0, 0.24);
}

.crystal {
  right: 18%;
  bottom: 19%;
  width: 17%;
  height: 9%;
  border-radius: 4px;
  background: #d7caa6;
}

.port {
  bottom: 9%;
  width: 13%;
  height: 11%;
  border-radius: 4px;
  background: #1e2b28;
}

.port-a {
  left: 23%;
}

.port-b {
  right: 8%;
}

.trace {
  height: 2px;
  background: rgba(241, 214, 103, 0.75);
  transform-origin: left center;
}

.t1 {
  left: 21%;
  top: 48%;
  width: 18%;
  transform: rotate(-13deg);
}

.t2 {
  right: 26%;
  top: 44%;
  width: 18%;
  transform: rotate(21deg);
}

.t3 {
  left: 49%;
  bottom: 24%;
  width: 24%;
  transform: rotate(6deg);
}

.pins {
  top: 9%;
  bottom: 9%;
  width: 6%;
  background:
    repeating-linear-gradient(
      to bottom,
      #202b29 0,
      #202b29 8px,
      transparent 8px,
      transparent 16px
    );
  border-radius: 3px;
}

.pins-left {
  left: 3%;
}

.pins-right {
  right: 3%;
}

.signal {
  position: absolute;
  border: 1px solid rgba(123, 229, 200, 0.22);
  border-radius: 8px;
}

.signal-a {
  width: 320px;
  height: 190px;
  right: 11%;
  top: 21%;
  transform: rotate(-9deg);
}

.signal-b {
  width: 230px;
  height: 130px;
  right: 40%;
  bottom: 11%;
  transform: rotate(12deg);
}

.section {
  padding: 88px 0;
}

.section-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.strip {
  padding: 22px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.logo-row span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  background: #fbfdfc;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 500px;
  margin-bottom: 0;
}

.section-heading h2,
.support-copy h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.support-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(23, 33, 31, 0.07);
}

.product-card.featured {
  border-color: rgba(14, 143, 110, 0.34);
  box-shadow: var(--shadow);
}

.product-visual {
  position: relative;
  height: 214px;
  margin: 16px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    #0c7a60;
  background-size: 18px 18px, 18px 18px, auto;
}

.visual-f407 {
  background-color: #0b8f6d;
}

.visual-h743 {
  background-color: #233f78;
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 4px;
  background: rgba(19, 27, 25, 0.9);
}

.product-visual::before {
  width: 88px;
  height: 72px;
  left: calc(50% - 44px);
  top: calc(50% - 36px);
}

.product-visual::after {
  width: 46px;
  height: 32px;
  left: 24px;
  top: calc(50% - 16px);
  background: #d1d6d3;
}

.product-visual .chip {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #d6fff2;
  font-size: 16px;
  font-weight: 800;
}

.product-visual .connector {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 72px;
  height: 26px;
  border-radius: 4px;
  background: #16231f;
}

.product-visual .leds {
  position: absolute;
  right: 28px;
  top: 28px;
  display: block;
  width: 72px;
  height: 12px;
  background:
    radial-gradient(circle, #f3c04f 0 5px, transparent 6px) 0 0 / 24px 12px repeat-x;
}

.product-body {
  padding: 0 22px 24px;
}

.series {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-body h3,
.service-list h3,
.industry-grid h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.product-body p:not(.series),
.service-list p,
.industry-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-body ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.product-body li {
  position: relative;
  padding-left: 17px;
  color: #32413e;
  font-size: 14px;
}

.product-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--amber);
}

.spec-section {
  background: #ffffff;
  border-block: 1px solid var(--line);
}

.spec-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 54px;
  align-items: start;
}

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.spec-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  background: #eef7f3;
  color: #23413a;
  font-size: 13px;
  text-transform: uppercase;
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

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

.engineering-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 62px;
  align-items: start;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.service-list article:first-child {
  padding-top: 0;
}

.service-list p {
  color: rgba(255, 255, 255, 0.68);
}

.service-index {
  color: #7be5c8;
  font-weight: 850;
}

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

.industry-grid article {
  min-height: 236px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.industry-grid span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 6px;
  background: var(--mint);
  color: var(--green-2);
  font-size: 12px;
  font-weight: 850;
}

.support {
  padding: 72px 0;
  background:
    linear-gradient(90deg, rgba(14, 143, 110, 0.08), transparent 44%),
    #ffffff;
}

.support-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.support-copy p:not(.eyebrow) {
  max-width: 640px;
}

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

.support-checks p {
  position: relative;
  margin: 0;
  min-height: 72px;
  padding: 18px 18px 18px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  font-weight: 750;
}

.support-checks p::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--green);
}

.contact {
  background: #edf5f2;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 58px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(23, 33, 31, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #31413e;
  font-size: 13px;
  font-weight: 780;
}

.contact-form label:nth-child(4),
.form-button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfddd8;
  border-radius: 6px;
  background: #fbfdfc;
  color: var(--ink);
  outline: none;
}

.contact-form input,
.contact-form select {
  min-height: 46px;
  padding: 0 13px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 112px;
  padding: 12px 13px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(14, 143, 110, 0.12);
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.universities {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.universities .section-heading {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

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

.university-logo {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  min-height: 136px;
  padding: 18px 12px;
  border: 1px solid #d8e6e1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 143, 110, 0.07), transparent 58%),
    #fbfdfc;
  text-align: center;
}

.university-logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: grayscale(1) saturate(0) contrast(0.95);
  opacity: 0.68;
  mix-blend-mode: multiply;
}

.university-logo strong {
  color: #31413e;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.site-footer {
  background: var(--dark);
  color: #ffffff;
}

.footer-inner {
  width: min(100% - 40px, var(--max));
  min-height: 132px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-inner a {
  color: #7be5c8;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .site-header.menu-open .main-nav,
  .site-header.menu-open .header-actions {
    display: flex;
  }

  .site-header.menu-open {
    grid-template-columns: auto auto;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
  }

  .site-header.menu-open .main-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 10px;
  }

  .site-header.menu-open .main-nav a {
    padding: 12px 4px;
    border-top: 1px solid rgba(23, 33, 31, 0.1);
  }

  .site-header.menu-open .header-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-top: 8px;
  }

  .site-header.menu-open .language-switch {
    border-color: rgba(23, 33, 31, 0.12);
    background: rgba(23, 33, 31, 0.04);
  }

  .site-header.menu-open .language-switch button.is-active {
    background: var(--green);
    color: #ffffff;
  }

  .board-main {
    width: 58vw;
    right: -8vw;
    top: 18%;
  }

  .board-mini {
    width: 32vw;
    right: 10vw;
    bottom: 4%;
  }

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

  .spec-layout,
  .engineering-layout,
  .support-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-heading.compact {
    max-width: 760px;
  }

  h1 {
    font-size: 64px;
  }

  html[lang="en"] h1 {
    font-size: 56px;
  }

  .section-heading h2,
  .support-copy h2 {
    font-size: 40px;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 20px, 1240px);
    margin-top: 10px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 116px 0 64px;
  }

  .hero::before {
    background-size: 42px 42px;
  }

  h1 {
    font-size: 42px;
    max-width: 520px;
  }

  html[lang="en"] h1 {
    font-size: 40px;
    max-width: 520px;
  }

  .section-heading h2,
  .support-copy h2 {
    font-size: 32px;
  }

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

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 40px;
  }

  .hero-metrics div {
    max-width: 260px;
  }

  .board-main {
    width: 82vw;
    right: -26vw;
    top: 17%;
    opacity: 0.72;
  }

  .board-mini {
    width: 44vw;
    right: -2vw;
    bottom: 6%;
  }

  .signal-a,
  .signal-b {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-inner {
    width: min(100% - 28px, var(--max));
  }

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

  .product-grid,
  .industry-grid,
  .university-grid,
  .support-checks,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .universities .section-heading {
    text-align: left;
  }

  .product-visual {
    height: 190px;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-form label:nth-child(4),
  .form-button,
  .form-note {
    grid-column: auto;
  }

  .footer-inner {
    min-height: 160px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 28px 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .board-main {
    animation: boardFloat 7s ease-in-out infinite;
  }

  .board-mini {
    animation: boardFloatMini 8s ease-in-out infinite;
  }
}

@keyframes boardFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-9deg);
  }
  50% {
    transform: translateY(-16px) rotate(-8deg);
  }
}

@keyframes boardFloatMini {
  0%,
  100% {
    transform: translateY(0) rotate(13deg);
  }
  50% {
    transform: translateY(12px) rotate(12deg);
  }
}
