/* IT GUY IO - design tokens aligned with it-guy.io brand colors */
/* DM Sans: load via <link> in HTML (preconnect + stylesheet) for better performance than @import */

:root {
  --color-text: #2f2e2e;
  --color-muted: #a0a09f;
  --color-sub: #60605e;
  --color-accent: #44dbbd;
  --color-accent-dark: #2d927e;
  --color-header-bg: #2f2e2e;
  --color-header-text: #ffffff;
  --color-page: #ffffff;
  --color-soft: #f7f8f8;
  --font-sans: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --max: 980px;
  --header-h: 68px;
  --nav-drawer-breakpoint: 900px;
  --touch-target-min: 44px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Screen-reader-only heading (single h1 pattern on landing, etc.) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(68, 219, 189, 0.15);
}

body.site-nav-open {
  overflow: hidden;
}

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

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

/* --- Landing (split) --- */
.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-header-bg);
}

.landing__bar {
  flex-shrink: 0;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

.landing__brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.landing__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-h));
}

@media (max-width: 768px) {
  .landing__grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: auto;
  }

  .landing__panel {
    min-height: min(48vh, 28rem);
  }
}

.landing__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  padding-bottom: max(clamp(2rem, 5vw, 4rem), env(safe-area-inset-bottom, 0px));
  text-align: center;
  transition: background 0.35s ease, transform 0.35s ease;
  overflow: hidden;
  touch-action: manipulation;
}

.landing__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.landing__panel--scp {
  background: var(--color-page);
  color: var(--color-text);
  border-right: 1px solid rgba(47, 46, 46, 0.08);
}

.landing__panel--scp::before {
  background: radial-gradient(
    circle at 30% 40%,
    rgba(68, 219, 189, 0.12) 0%,
    transparent 55%
  );
}

.landing__panel--katnet {
  background: linear-gradient(160deg, #1a1a1a 0%, #2f2e2e 50%, #243d38 100%);
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .landing__panel--scp {
    border-right: none;
    border-bottom: 1px solid rgba(47, 46, 46, 0.08);
  }
  .landing__panel--katnet {
    border-left: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .landing__panel:hover::before {
    opacity: 1;
  }

  .landing__panel:hover {
    transform: scale(1.01);
  }
}

.landing__panel-inner {
  position: relative;
  z-index: 1;
  max-width: 400px;
}

.landing__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.landing__panel--katnet .landing__label {
  color: var(--color-accent);
}

.landing__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.landing__desc {
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 1.75rem;
  opacity: 0.88;
}

.landing__panel--scp .landing__desc {
  color: var(--color-sub);
}

.landing__panel--katnet .landing__desc {
  color: rgba(255, 255, 255, 0.75);
}

.landing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(180px, 100%);
  min-height: 48px;
  padding: 0.85rem 1.75rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid var(--color-accent);
  background: var(--color-accent);
  color: #fff;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.landing__panel--scp .landing__cta:hover {
  background: transparent;
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
}

.landing__panel--katnet .landing__cta {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.landing__panel--katnet .landing__cta:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* --- Product pages: sticky header + mobile drawer nav (WCAG touch targets) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-header-bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: max(0.55rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px))
    0.55rem max(1rem, env(safe-area-inset-left, 0px));
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}

.site-header__bar {
  display: contents;
}

@media (min-width: 901px) {
  .site-header {
    padding: max(0, env(safe-area-inset-top, 0px)) max(clamp(1rem, 4vw, 2.5rem), env(safe-area-inset-right, 0px)) 0.65rem
      max(1rem, env(safe-area-inset-left, 0px));
  }

  .site-header__bar {
    display: contents;
  }
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-header-text);
  flex-shrink: 0;
  min-height: var(--touch-target-min);
}

.site-header__logo span:nth-child(1) {
  opacity: 0.9;
}
.site-header__logo span:nth-child(2) {
  opacity: 0.75;
  font-weight: 500;
}
.site-header__logo span:nth-child(3) {
  opacity: 0.9;
}

/* Hamburger: visible only on small viewports */
.site-header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--touch-target-min);
  height: var(--touch-target-min);
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--color-header-text);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  order: 2;
}

.site-header__menu-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.site-header__menu-bars {
  display: block;
  width: 22px;
  height: 2px;
  position: relative;
  background: currentColor;
  border-radius: 1px;
  transition: background 0.2s ease;
}

.site-header__menu-bars::before,
.site-header__menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, top 0.2s ease;
}

.site-header__menu-bars::before {
  top: -7px;
}

.site-header__menu-bars::after {
  top: 7px;
}

.site-header--nav-open .site-header__menu-bars {
  background: transparent;
}

.site-header--nav-open .site-header__menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header--nav-open .site-header__menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .site-header__menu-bars,
  .site-header__menu-bars::before,
  .site-header__menu-bars::after {
    transition: none;
  }
}

.site-header__scrim {
  display: none;
}

.site-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1rem;
}

@media (min-width: 901px) {
  .site-header__logo {
    order: 0;
  }
  .site-header__menu-toggle {
    display: none !important;
  }
  .site-header__nav {
    order: 1;
    flex: 1;
    flex-wrap: nowrap;
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    min-height: 0;
    padding-top: max(0.65rem, env(safe-area-inset-top, 0px));
    padding-bottom: 0.65rem;
  }

  .site-header__bar {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: relative;
    z-index: 260;
    background: var(--color-header-bg);
  }

  .site-header__menu-toggle {
    display: inline-flex;
    order: 0;
    margin-left: auto;
  }

  .site-header__logo {
    order: 0;
    margin-right: auto;
  }

  .site-header__scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 240;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-header--nav-open .site-header__scrim {
    opacity: 1;
    visibility: visible;
  }

  .site-header__nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 250;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(4.25rem + env(safe-area-inset-top, 0px)) max(1.25rem, env(safe-area-inset-right, 0px))
      max(2rem, env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-left, 0px));
    background: #252524;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35);
  }

  .site-header--nav-open .site-header__nav {
    transform: translateX(0);
  }

  @media (prefers-reduced-motion: reduce) {
    .site-header__nav,
    .site-header__scrim {
      transition: none;
    }
  }

  .site-header__nav > a,
  .site-header__nav > .site-header__dropdown {
    width: 100%;
  }

  .site-header__nav > a:not(.site-header__cta) {
    display: flex;
    align-items: center;
    min-height: var(--touch-target-min);
    padding: 0.65rem 0.25rem;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header__nav > .site-header__cta {
    margin-top: 1rem;
    width: 100%;
    min-height: 48px;
    font-size: 13px;
    justify-content: center;
  }
}

.site-header__nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s;
}

@media (min-width: 900px) {
  .site-header__nav a {
    font-size: 12px;
  }
}

.site-header__nav a:hover {
  color: var(--color-accent);
}

.site-header__nav a[aria-current="page"] {
  color: var(--color-accent);
  font-weight: 600;
}

/* Products / Downloads dropdowns (no landing-page hop) */
.site-header__dropdown {
  position: relative;
  display: inline-block;
}

.site-header__dropdown > summary.site-header__dropdown-trigger {
  list-style: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  padding: 0.35rem 0.15rem;
  transition: color 0.2s;
}

.site-header__dropdown > summary.site-header__dropdown-trigger::-webkit-details-marker {
  display: none;
}

.site-header__dropdown > summary.site-header__dropdown-trigger::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.55);
}

.site-header__dropdown[open] > summary.site-header__dropdown-trigger {
  color: var(--color-accent);
}

.site-header__dropdown > summary.site-header__dropdown-trigger:hover {
  color: var(--color-accent);
}

.site-header__dropdown > summary.site-header__dropdown-trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-header__dropdown-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 13rem;
  padding: 0.35rem 0;
  background: #252524;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 300;
}

.site-header__dropdown-panel a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none;
}

.site-header__dropdown-panel a:hover {
  background: rgba(68, 219, 189, 0.12);
  color: var(--color-accent) !important;
}

.site-header__dropdown-panel a[aria-current="page"] {
  color: var(--color-accent) !important;
  font-weight: 600;
  background: rgba(68, 219, 189, 0.08);
}

@media (min-width: 900px) {
  .site-header__dropdown > summary.site-header__dropdown-trigger {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .site-header__dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-header__dropdown > summary.site-header__dropdown-trigger {
    width: 100%;
    text-align: left;
    min-height: var(--touch-target-min);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.65rem 0.25rem;
    list-style: none;
  }
  .site-header__dropdown-panel {
    position: static;
    margin: 0 0 0.5rem;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
  }
  .site-header__dropdown-panel a {
    min-height: var(--touch-target-min);
    display: flex;
    align-items: center;
    font-size: 15px;
    padding: 0.65rem 1rem;
  }
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  min-height: var(--touch-target-min);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: 2px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.site-header__cta:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.site-header__cta--muted,
span.site-header__cta.site-header__cta--muted {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75) !important;
  cursor: default;
  pointer-events: none;
}

.hero {
  background: var(--color-page);
  padding: clamp(2rem, 6vw, 4rem) 1.5rem 3rem;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero__inner > * {
  min-width: 0;
}

@media (max-width: 880px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__actions,
  .hero__stores {
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.hero__kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.hero__tagline {
  font-size: 1.15rem;
  color: var(--color-sub);
  margin: 0 0 0.35rem;
  max-width: 32ch;
}

@media (max-width: 880px) {
  .hero__tagline {
    max-width: none;
  }
}

.hero__sub {
  font-size: 1rem;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
}

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

.hero__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  min-width: var(--touch-target-min);
  min-height: var(--touch-target-min);
  padding: 0.35rem;
  transition: opacity 0.2s, transform 0.2s;
  touch-action: manipulation;
}

.btn-store:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-store:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.btn-store img {
  height: 40px;
  width: auto;
  display: block;
}

.btn-store--play img {
  height: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  min-height: var(--touch-target-min);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid var(--color-accent);
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  transition: filter 0.2s, background 0.2s, color 0.2s;
  touch-action: manipulation;
}

.btn:hover {
  filter: brightness(1.06);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn--ghost:hover {
  background: var(--color-text);
  color: #fff;
  filter: none;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__gadget {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  max-width: 100%;
}

.hero__device {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-sub);
}

.hero__device-body {
  width: 52px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(145deg, #3a3a3a 0%, #2f2e2e 100%);
  border: 2px solid var(--color-accent);
  box-shadow: 0 6px 16px rgba(47, 46, 46, 0.15);
}

.hero__device-port {
  font-size: 8px;
  color: var(--color-muted);
  max-width: 4.5rem;
  line-height: 1.2;
  text-align: center;
}

.hero__device-port--usb {
  text-align: right;
}

.hero__device-port--eth {
  text-align: left;
}

.hero__phone {
  width: min(100%, 320px);
  aspect-ratio: 9 / 18;
  border-radius: 36px;
  border: 3px solid var(--color-text);
  background: linear-gradient(165deg, #1e1e1e 0%, #2f2e2e 40%, #1a3d36 100%);
  box-shadow: 0 24px 48px rgba(47, 46, 46, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  position: relative;
  overflow: hidden;
}

.hero__phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 22px;
  background: #000;
  border-radius: 12px;
}

.hero__phone-screen {
  position: absolute;
  inset: 48px 14px 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(68, 219, 189, 0.15) 0%, rgba(47, 46, 46, 0.9) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__phone-screen strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  color: var(--color-accent);
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.section--soft {
  background: var(--color-soft);
}

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

.section__intro {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section__intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--color-muted);
}

.section__intro h2 strong {
  display: block;
  color: var(--color-text);
  font-weight: 600;
}

.section__intro p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-sub);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  text-align: center;
}

.step__num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-dark);
}

.step h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.step p {
  margin: 0;
  font-size: 15px;
  color: var(--color-sub);
  line-height: 1.5;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 1.5rem;
}

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

.feature {
  text-align: center;
}

.feature__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
}

.feature h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--color-sub);
  line-height: 1.5;
}

.design-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

  .design-split__figure {
    order: -1;
  }
}

.design-split__copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: var(--color-muted);
}

.design-split__copy h2 span {
  display: block;
  color: var(--color-text);
}

.design-split__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.design-split__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  color: var(--color-sub);
}

.design-split__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 1px;
}

.design-split__art {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.design-card {
  aspect-ratio: 1;
  border-radius: 4px;
  background: linear-gradient(145deg, #e8e8e8 0%, #fff 100%);
  border: 1px solid rgba(47, 46, 46, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  text-align: center;
  padding: 1rem;
}

/* ServerConnect Pro (and similar) - real product photos */
.hero__photo {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(47, 46, 46, 0.12);
  object-fit: contain;
}

.design-split__figure {
  margin: 0;
  display: flex;
  justify-content: center;
}

.design-split__figure img {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.site-footer {
  background: rgba(204, 204, 204, 0.35);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.site-footer__links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--color-text);
  padding: 0.5rem 0.75rem;
  min-height: var(--touch-target-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@media (max-width: 560px) {
  .site-footer__links {
    flex-direction: column;
    gap: 0.65rem;
  }
  .site-footer__links a {
    letter-spacing: 0.12em;
  }
  .site-footer {
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom, 0px));
  }
}

.site-footer__legal {
  font-size: 14px;
  color: var(--color-sub);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}

.site-footer__tagline {
  font-size: 15px;
  color: var(--color-sub);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.site-footer__copyright {
  font-size: 12px;
  color: var(--color-sub);
  margin: 1.25rem 0 0.5rem;
  letter-spacing: 0.02em;
}

.site-footer__address {
  font-size: 12px;
  color: var(--color-sub);
  margin: 0;
  line-height: 1.55;
}

/* --- ServerConnect Pro: downloads page --- */
.scp-downloads__hero {
  padding-bottom: 1.5rem;
}

.scp-downloads__intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.scp-downloads__lead {
  max-width: 42rem;
  margin: 0 auto;
}

@media (max-width: 880px) {
  .scp-downloads__lead {
    max-width: none;
  }
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  width: 100%;
  align-items: start;
}

@media (max-width: 720px) {
  .downloads-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }
  .hero {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }
  .site-header {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }
  .scp-downloads__intro {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }
  .section__intro h2 {
    word-break: break-word;
    hyphens: auto;
  }
}

.downloads-card {
  text-align: center;
}

.downloads-card__title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 0.35rem;
}

.downloads-card__subtitle {
  margin: 0 0 1rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-sub);
}

.downloads-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(47, 46, 46, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: var(--touch-target-min);
  min-width: min(100%, 320px);
  padding: 0.5rem;
  box-sizing: border-box;
  touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
  .downloads-card__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(47, 46, 46, 0.16);
  }
}

.downloads-card__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.downloads-card__link img {
  display: block;
  max-width: min(100%, 320px);
  height: auto;
  margin: 0 auto;
}

.downloads-card__hint {
  margin: 1rem 0 0;
  font-size: 14px;
  color: var(--color-sub);
}

/* --- Coming soon: centered hero (no inline layout styles) --- */
.coming-soon-hero .hero__inner {
  grid-template-columns: 1fr;
}

.coming-soon-hero__content {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  width: 100%;
}

.coming-soon-hero__tagline {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon-hero__actions {
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 540px) {
  .coming-soon-hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
  .coming-soon-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Mobile polish: safe areas, motion, tap targets --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .landing__panel {
    transition: none;
  }
}
