/* ================================================================
   De-Feedback Test – Modern Single-Column Layout
   Standalone stylesheet (does not depend on alphalabs.css)
   ================================================================ */

:root {
  --blue: #1188ff;
  --blue-light: #3b9dff;
  --blue-glow: rgba(17, 136, 255, 0.15);

  --dark-900: #070a12;
  --dark-800: #0b0f19;
  --dark-700: #111827;
  --dark-600: #1e293b;

  --light-50: #f5f6f8;
  --light-100: #eef0f4;
  --light-200: #dfe3ea;
  --surface: #f0f1f5;

  --text-on-dark: #f1f5f9;
  --text-on-dark-muted: #94a3b8;
  --text-on-light: #0f172a;
  --text-on-light-muted: #64748b;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.08), 0 16px 40px rgba(0,0,0,0.06);
  --shadow-video: 0 20px 60px rgba(0,0,0,0.5);

  --nav-height: 64px;
  --section-pad: 100px;
  --content-max: 1080px;
  --scroll-cue-clearance: 96px;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

/* ── Reset / Base ──────────────────────────────────────── */

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-light);
  background: var(--light-50);
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--blue-light); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ── Navigation ────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 200;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff;
  border-bottom: 1px solid var(--light-200);
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--light-200);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav-inner {
  width: 100%;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-on-light);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15em;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.nav-logo:hover { color: var(--text-on-light); text-decoration: none; }

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-on-light-muted);
  font-family: var(--font-display);
  font-size: 0.9em;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s ease;
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--text-on-light);
}

.nav-links .nav-cta {
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-pill);
  padding: 4px 18px;
}
.nav-links .nav-cta:hover {
  background: var(--blue);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-on-light);
  border-radius: 2px;
  margin: 5px 0;
  transition: 0.2s;
}

/* ── Hero Section ──────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 48px) 24px var(--scroll-cue-clearance);
  background: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 35%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(17,136,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  margin-left: 0;
}

.hero-left {
  flex: 1 1 58%;
  min-width: 0;
}

.hero-right {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 {
  font-size: clamp(2em, 4.5vw, 3.6em);
  color: var(--text-on-light);
  margin-bottom: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: clamp(0.95em, 1.8vw, 1.15em);
  color: var(--text-on-light-muted);
  font-weight: 300;
  margin-bottom: 28px;
  line-height: 1.5;
}

.hero-video {
  position: relative;
  width: 100%;
}

.hero-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-video);
  background: #000;
}

.hero-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 14px 40px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(17, 136, 255, 0.3);
}
.btn-buy:hover {
  background: var(--blue-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(17, 136, 255, 0.4);
  text-decoration: none;
}

.buy-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: center;
}

.qty-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.qty-label {
  color: var(--text-on-light-muted);
  font-size: 0.82em;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.qty-input {
  width: 56px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--light-200);
  background: var(--light-50);
  color: var(--text-on-light);
  font-size: 0.95em;
  font-family: var(--font-body);
  text-align: center;
  transition: border-color 0.15s ease;
  -moz-appearance: textfield;
}
.qty-input:focus {
  outline: none;
  border-color: var(--blue);
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  opacity: 0.4;
}

.btn-buy-sub {
  display: block;
  color: var(--text-on-light-muted);
  font-family: var(--font-body);
  font-size: 0.85em;
  font-weight: 300;
  margin-top: -4px;
}

.btn-buy img {
  width: 18px;
  height: 18px;
  filter: invert(100%);
  display: inline;
}

.download-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-light-muted);
  border: 1.5px solid var(--light-200);
  border-radius: var(--radius-pill);
  padding: 8px 22px;
  font-size: 0.88em;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
  text-decoration: none;
}
.dl-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(17,136,255,0.06);
  text-decoration: none;
}
.dl-btn img {
  width: 16px;
  height: 16px;
  opacity: 0.5;
  display: inline;
}

.hero-support-btn {
  margin-top: 8px;
}
.hero .hero-support-btn .open-modal-btn {
  background: none !important;
  color: var(--text-on-light-muted) !important;
  border: 1.5px solid var(--light-200) !important;
  border-radius: var(--radius-pill) !important;
  padding: 8px 22px !important;
  font-size: 0.88em;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: none !important;
  font-family: var(--font-body);
}
.hero .hero-support-btn .open-modal-btn:hover {
  border-color: var(--blue) !important;
  color: var(--blue) !important;
  background: rgba(17,136,255,0.06) !important;
  box-shadow: none !important;
}

.hero-hidden-btns {
  display: none !important;
}

.product-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-on-light-muted);
  font-family: var(--font-display);
  font-size: 0.75em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 2;
}

.product-scroll-cue:hover {
  color: var(--blue);
  text-decoration: none;
}

.product-scroll-dot {
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--light-200);
  border-radius: var(--radius-pill);
  position: relative;
}

.product-scroll-dot::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateX(-50%);
  animation: product-scroll-dot 1.6s ease-in-out infinite;
}

@keyframes product-scroll-dot {
  0%, 100% { opacity: 0.35; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 10px); }
}

@media (max-height: 720px) {
  .hero {
    padding-bottom: calc(var(--scroll-cue-clearance) + 24px);
  }

  .product-scroll-cue {
    position: fixed;
    bottom: 12px;
    z-index: 20;
    gap: 5px;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .product-scroll-dot {
    width: 18px;
    height: 28px;
  }

  .product-scroll-dot::after {
    top: 6px;
  }
}

/* ── Generic Section ───────────────────────────────────── */

.section {
  padding: var(--section-pad) 24px;
}

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.5em, 3vw, 2em);
  text-align: center;
  margin-bottom: 8px;
  color: var(--text-on-light);
}

.section-subtitle {
  text-align: center;
  color: var(--text-on-light-muted);
  font-size: 1.05em;
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ── Platforms Section ─────────────────────────────────── */

.platforms {
  background: var(--surface);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.platform-card {
  background: var(--light-50);
  border: 1px solid var(--light-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-card:only-child {
  grid-column: 1 / -1;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.platform-card-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.platform-card h3 {
  font-size: 1.15em;
  margin-bottom: 12px;
  color: var(--text-on-light);
}

.platform-card p {
  font-size: 0.92em;
  color: var(--text-on-light-muted);
  line-height: 1.65;
}

.platform-card a {
  font-weight: 600;
}

/* ── Hardware Section ──────────────────────────────────── */

.hardware {
  background: var(--light-50);
}

.hardware-intro {
  text-align: center;
  font-weight: 600;
  color: var(--text-on-light);
  margin-bottom: 32px;
  font-size: 0.95em;
}

.hw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.hw-card {
  background: var(--light-50);
  border: 1px solid var(--light-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hw-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.hw-card-img-wrap {
  position: relative;
  overflow: hidden;
}

.hw-card-img-wrap img {
  width: 100%;
  display: block;
}

.hw-card-img-wrap .hw-expand {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}
.hw-card:hover .hw-expand {
  opacity: 0.9;
}

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

.hw-card-body h3 {
  font-size: 1.1em;
  margin-bottom: 12px;
}

.hw-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hw-card-body li {
  font-size: 0.92em;
  color: var(--text-on-light-muted);
  padding: 4px 0;
  line-height: 1.5;
}

.hw-card-body li a {
  font-weight: 600;
}

/* ── Hardware Notice (inline) ──────────────────────────── */

.hw-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--light-50);
  border: 1px solid var(--light-200);
  border-left: 3px solid #f59e0b;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin-bottom: 32px;
  font-size: 0.9em;
  color: var(--text-on-light-muted);
  line-height: 1.5;
}

.hw-notice-icon {
  font-size: 1.3em;
  color: #f59e0b;
  flex-shrink: 0;
}

.hw-notice a {
  font-weight: 600;
}

/* ── Community Section ─────────────────────────────────── */

.community {
  background: var(--surface);
}

.community-content {
  text-align: center;
}

.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--light-200);
  transition: all 0.15s ease;
}
.social-row a:hover {
  border-color: var(--blue);
  background: rgba(17,136,255,0.06);
  transform: translateY(-2px);
}
.social-row a img {
  width: 20px;
  height: 20px;
  display: block;
}

.rentals-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-on-light);
  border: 1.5px solid var(--light-200);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  transition: all 0.15s ease;
  text-decoration: none;
}
.rentals-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  text-decoration: none;
}
.rentals-link img {
  width: 18px;
  height: 18px;
  display: inline;
}

.community-label {
  color: var(--text-on-light-muted);
  font-size: 0.92em;
  margin-bottom: 16px;
}

/* ── Footer ────────────────────────────────────────────── */

.site-footer {
  background: var(--dark-800);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 24px;
  text-align: center;
}

.site-footer a {
  color: var(--text-on-dark-muted);
  font-size: 0.88em;
  transition: color 0.15s ease;
  text-decoration: none;
}
.site-footer a:hover { color: #fff; }

.site-footer > div a {
  margin: 0 16px;
}

.site-footer p a {
  margin: 0;
}

.site-footer p {
  color: rgba(255,255,255,0.25);
  font-size: 0.82em;
  margin-top: 8px;
}

/* ── FAQ Accordion ─────────────────────────────────────── */

.inner-content h1 {
  font-size: 1.4em;
  margin-bottom: 20px;
  color: var(--text-on-light);
}

.faq-section {
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  border-bottom: 1px solid var(--light-200);
  padding-bottom: 8px;
  margin: 32px 0 12px;
}
.faq-section:first-of-type { margin-top: 8px; }

.faq-item {
  border-bottom: 1px solid var(--light-200);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 4px;
  font-size: 0.92em;
  font-weight: 600;
  color: var(--text-on-light);
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
  user-select: none;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3em;
  font-weight: 300;
  color: var(--text-on-light-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.15s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--blue);
}
.faq-item summary:hover { color: var(--blue); }

.faq-item > p,
.faq-item > div > p,
.faq-item p {
  font-size: 0.9em;
  color: var(--text-on-light-muted);
  line-height: 1.7;
  padding: 4px 4px 16px;
  margin: 0 !important;
}
.faq-item p + p { padding-top: 0; }

.faq-item code {
  background: var(--light-100);
  border: 1px solid var(--light-200);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.88em;
  font-family: monospace;
  color: var(--text-on-light);
}

/* ── Changelog list ────────────────────────────────────── */

.faq-changelog {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.faq-changelog li {
  padding: 16px 0;
  border-bottom: 1px solid var(--light-200);
}
.faq-changelog li:last-child { border-bottom: none; }

.faq-changelog .changelog-version {
  display: inline-block;
  font-weight: 700;
  font-size: 0.88em;
  color: var(--text-on-light);
  background: var(--light-100);
  border: 1px solid var(--light-200);
  border-radius: 4px;
  padding: 2px 8px;
  margin-right: 8px;
  font-family: monospace;
}

.faq-changelog .changelog-date {
  font-size: 0.82em;
  color: var(--text-on-light-muted);
}

.faq-changelog p {
  font-size: 0.9em;
  color: var(--text-on-light-muted);
  line-height: 1.65;
  margin: 8px 0 0 !important;
}

/* ── Overlays (needed for FAQ, disclaimer, forms, etc.) ── */

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.overlay.active { display: flex; }

.overlay-content {
  background: var(--light-50);
  padding: 32px;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  position: relative;
  display: flex;
  flex-direction: column;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-on-light-muted);
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.close-btn:hover { background: rgba(0,0,0,0.06); color: #000; }

.overlay h1 {
  font-size: 1.6em;
  margin: 0 0 24px 0 !important;
  color: var(--text-on-light);
}

.overlay p {
  margin: 12px 0 !important;
  font-size: 0.92em;
  line-height: 1.65;
  color: var(--text-on-light-muted);
}

.inner-content {
  overflow-y: auto;
  padding-right: 12px;
  flex-grow: 1;
}

.inner-content::-webkit-scrollbar { width: 6px; }
.inner-content::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 3px;
}

.inner-content img {
  width: 75%;
  display: block;
  margin: 0 auto;
}

.inner-content button {
  width: fit-content;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  border-radius: var(--radius-pill);
  padding: 8px 24px;
  font-weight: 400;
  text-transform: none;
  background: none;
  cursor: pointer;
  transition: 0.15s ease;
  font-size: 0.9em;
}
.inner-content button:hover {
  background: var(--blue);
  color: #fff;
}

.inner-content button:disabled,
.inner-content button:disabled:hover {
  border-color: var(--light-200);
  background: var(--light-100);
  color: var(--text-on-light-muted);
  cursor: not-allowed;
  opacity: 0.65;
}

.disclaimer-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 4px 0 24px;
}

.disclaimer-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--text-on-light-muted);
  font-family: var(--font-body);
  font-size: 0.92em;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.disclaimer-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
}

.disclaimer-check a {
  font-weight: 600;
}

/* ── Forms (overlay forms) ─────────────────────────────── */

form label {
  font-weight: 400;
  margin-right: 12px;
  font-size: 0.9em;
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.form-group {
  flex: 1;
  margin-bottom: 12px;
}

.form-group input,
.form-group select {
  width: 100%;
  border-radius: var(--radius-pill);
  border: 1px solid var(--light-200);
  padding: 10px 18px;
  font-size: 0.9em;
  font-family: var(--font-body);
  transition: border-color 0.15s ease;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group select {
  height: inherit;
  padding: 8px 18px;
}

.form-group textarea {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-200);
  padding: 10px 18px;
  font-size: 0.9em;
  font-family: var(--font-body);
}

.textarea-with-counter { position: relative; }
.textarea-with-counter textarea { padding-bottom: 28px; }
.textarea-counter {
  position: absolute;
  right: 16px;
  bottom: 10px;
  font-size: 0.72em;
  color: rgba(0,0,0,0.35);
  pointer-events: none;
}

#id_billing_different { width: auto; }
#id_quantity { width: 100%; }
#id_checkbox, #id_conditional {
  width: fit-content;
  vertical-align: bottom;
  margin-bottom: 7px;
}

input[type=submit] {
  width: auto;
  min-width: 140px;
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--blue);
  background: var(--light-50);
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 0.9em;
  cursor: pointer;
  transition: 0.15s ease;
  margin-top: 8px;
}
input[type=submit]:hover {
  background: var(--blue);
  color: var(--light-50);
}

/* ── Product image overlay overrides ───────────────────── */

#product-img-overlay .overlay-content {
  background: none;
  box-shadow: none;
  padding: 0;
  max-width: 95%;
  max-height: 95vh;
}
#product-img-overlay {
  background-color: rgba(0,0,0,0.85);
}
#product-img-overlay .inner-content {
  padding-right: 0;
}
#product-img-overlay .inner-content img {
  width: 100%;
}

/* ── Utility ───────────────────────────────────────────── */

button {
  font-family: var(--font-body);
}

a:focus { outline: none; }

/* Hide elements meant for the other layout */
#banner, .nav-menu-box { display: none !important; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1100px) {
  :root {
    --section-pad: 80px;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 40px) 24px var(--scroll-cue-clearance);
  }

  .hero-content {
    flex-direction: column;
    gap: 36px;
    max-width: 920px;
  }

  .hero-left {
    width: 100%;
    flex-basis: auto;
  }

  .hero-right {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-actions {
    align-items: center;
  }

  .hero h1 {
    white-space: normal;
  }

  .download-row {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad: 64px;
  }

  .platform-grid,
  .hw-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(248, 250, 252, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 24px 24px;
    gap: 12px;
    border-bottom: 1px solid var(--light-200);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }
  .nav-toggle { display: block; }

  .nav-inner {
    padding: 0 20px;
  }

  .hero {
    padding: calc(var(--nav-height) + 32px) 16px var(--scroll-cue-clearance);
  }

  .hero h1 {
    font-size: clamp(2em, 10vw, 2.7em);
  }

  .platform-card {
    padding: 20px;
  }

  .platform-card-img {
    border-radius: 0;
  }

  .hw-card-body {
    padding: 16px;
  }

  .download-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .dl-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  .overlay-content {
    width: 95%;
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .site-footer > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .site-footer > div a {
    margin: 0;
  }

  .product-scroll-cue {
    bottom: 18px;
  }
}

@media (max-width: 520px) {
  .buy-row {
    gap: 10px;
  }

  .btn-buy {
    flex: 0 1 auto;
    min-width: 0;
    padding-left: 22px;
    padding-right: 22px;
    white-space: nowrap;
  }

  .dl-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .platform-card,
  .hw-card-body {
    padding: 18px;
  }

  .social-row {
    gap: 10px;
  }

  .social-row a {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1100px) and (orientation: landscape) and (min-width: 760px) {
  .hero {
    min-height: 100vh;
    padding: calc(var(--nav-height) + 32px) 24px var(--scroll-cue-clearance);
  }

  .hero-content {
    flex-direction: row;
    max-width: 1120px;
    gap: 36px;
  }

  .hero-left {
    flex: 1 1 58%;
    width: auto;
  }

  .hero-right {
    flex: 0 1 320px;
    width: auto;
    align-items: flex-start;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(1.7em, 3vw, 2.35em);
    margin-bottom: 6px;
  }

  .hero-subtitle {
    font-size: 0.95em;
    margin-bottom: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 12px;
  }

  .buy-row {
    gap: 12px;
  }

  .btn-buy {
    font-size: 0.86em;
    padding: 10px 20px;
    gap: 8px;
  }

  .btn-buy-sub {
    font-size: 0.8em;
  }

  .qty-input {
    width: 50px;
    padding: 6px 8px;
    font-size: 0.9em;
  }

  .download-row {
    gap: 8px;
    margin-top: 4px;
  }

  .dl-btn {
    padding: 7px 16px;
    font-size: 0.82em;
  }

  .download-row {
    justify-content: flex-start;
  }

  .product-scroll-cue {
    bottom: 16px;
  }
}

@media (max-width: 900px) and (orientation: landscape) and (min-width: 760px) {
  .platform-grid,
  .hw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  :root {
    --section-pad: 80px;
  }
}
