/* style.css — Pandee marketing landing page */

/* ---------- Fonts ---------- */
/* Source Sans Pro is bundled locally to satisfy the application's CSP. */

/* ---------- Design tokens ---------- */
:root {
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  --font-display: 'Source Sans Pro', 'Segoe UI', sans-serif;
  --font-body: 'Source Sans Pro', 'Segoe UI', sans-serif;

  /* Default: dark theme */
  --color-bg: #0a0d12;
  --color-surface: #10141b;
  --color-surface-2: #141922;
  --color-surface-offset: #191f29;
  --color-surface-offset-2: #1e2530;
  --color-surface-dynamic: #232b37;
  --color-divider: #1a212b;
  --color-border: #252d39;

  --color-text: #e8edf3;
  --color-text-muted: #97a3b2;
  --color-text-faint: #5b6674;
  --color-text-inverse: #06120e;

  --color-primary: #29e3ab;
  --color-primary-hover: #58ecc0;
  --color-primary-active: #1fc492;
  --color-primary-highlight: #133129;

  --color-accent: #9ad14f;
  --color-accent-highlight: #202b16;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 8px 24px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 24px 56px oklch(0 0 0 / 0.5);

  color-scheme: dark;
}

[data-theme='light'] {
  --color-bg: #f6f9f8;
  --color-surface: #ffffff;
  --color-surface-2: #f2f6f5;
  --color-surface-offset: #e9f1ef;
  --color-surface-offset-2: #dfe9e6;
  --color-surface-dynamic: #d3e2dd;
  --color-divider: #dde6e3;
  --color-border: #cfdbd7;

  --color-text: #0e1a17;
  --color-text-muted: #566864;
  --color-text-faint: #93a29d;
  --color-text-inverse: #f7fbfa;

  --color-primary: #0a9d73;
  --color-primary-hover: #087f5c;
  --color-primary-active: #066548;
  --color-primary-highlight: #d3ede3;

  --color-accent: #6ba82f;
  --color-accent-highlight: #e4efd4;

  --shadow-sm: 0 1px 2px oklch(0.2 0.03 175 / 0.06);
  --shadow-md: 0 8px 24px oklch(0.2 0.03 175 / 0.08);
  --shadow-lg: 0 20px 48px oklch(0.2 0.03 175 / 0.14);

  color-scheme: light;
}

/* ---------- Type scale ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.25vw, 1rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.02rem + 0.55vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.15rem + 1.1vw, 2rem);
  --text-2xl: clamp(1.875rem, 1.3rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.25rem, 1rem + 4vw, 4.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-10));
}

.container--narrow {
  max-width: var(--content-default);
}

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  margin-top: var(--space-4);
  letter-spacing: 0;
}

.section-head p {
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  font-size: var(--text-base);
  max-width: 60ch;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center p {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  white-space: nowrap;
  line-height: 1;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn--primary:active {
  background: var(--color-primary-active);
  transform: translateY(0);
}

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

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--hidden {
  transform: translateY(-100%);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-text);
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
}
.nav a:hover,
.nav a.is-active {
  color: var(--color-text);
}
.nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(var(--space-10), 5vw, var(--space-16));
  padding-bottom: var(--space-8);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 78% 8%, color-mix(in oklab, var(--color-primary) 20%, transparent), transparent 70%),
    radial-gradient(45% 40% at 10% 30%, color-mix(in oklab, var(--color-accent) 12%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  max-width: 1360px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  align-items: center;
  width: 100%;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.75rem, 1.2rem + 2.1vw, 3rem);
  letter-spacing: 0;
  margin-top: var(--space-3);
  max-width: 22ch;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--color-primary);
}

.hero-copy > p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: none;
  margin-top: var(--space-5);
}

.hero-punch {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-top: var(--space-4) !important;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
}

.hero-stat {
  min-width: 0;
}

.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 0.85rem + 0.45vw, var(--text-xl));
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
  white-space: nowrap;
}
.hero-stat span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.3;
  margin-top: 0.15rem;
}

/* Hero visual — original radial map, enlarged */
.hero-visual {
  position: relative;
  width: min(100%, 32rem);
  max-width: 512px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  justify-self: center;
}
.hero-visual-glow {
  position: absolute;
  inset: 14%;
  background: radial-gradient(circle, color-mix(in oklab, var(--color-primary) 34%, transparent), transparent 72%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
}
.hero-visual svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.node-pulse {
  animation: pulse 2.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.node-pulse.delay-1 {
  animation-delay: 0.5s;
}
.node-pulse.delay-2 {
  animation-delay: 1s;
}
.node-pulse.delay-3 {
  animation-delay: 1.5s;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.flow-line {
  stroke-dasharray: 8 12;
  animation: dash 3.4s linear infinite;
}
.flow-stop {
  stop-color: var(--color-primary);
}
.flow-line.delay-1 {
  animation-delay: 0.6s;
}
.flow-line.delay-2 {
  animation-delay: 1.2s;
}
.flow-line.delay-3 {
  animation-delay: 1.8s;
}
@keyframes dash {
  to {
    stroke-dashoffset: -180;
  }
}

.flow-dot {
  fill: var(--color-primary);
}

.orbit {
  fill: none;
  stroke: color-mix(in oklab, var(--color-primary) 28%, var(--color-border));
  stroke-width: 1;
}
.orbit--faint {
  opacity: 0.35;
}
.orbit--dashed {
  stroke-dasharray: 3 10;
  opacity: 0.55;
}
.orbit-spin {
  transform-origin: 280px 280px;
  animation: spin 28s linear infinite;
}
.orbit-spin--slow {
  animation-duration: 42s;
  animation-direction: reverse;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.node-halo {
  fill: color-mix(in oklab, var(--color-primary) 10%, transparent);
}
.node-circle {
  fill: var(--color-surface);
  stroke: color-mix(in oklab, var(--color-primary) 35%, var(--color-border));
  stroke-width: 1.6;
  filter: drop-shadow(0 8px 18px oklch(0.2 0.03 175 / 0.12));
}
.node-label {
  fill: var(--color-text);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}
.node-sub {
  fill: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
}
.center-circle {
  fill: var(--color-surface);
  stroke: var(--color-primary);
  stroke-width: 1.8;
}
.center-ring {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.2;
  opacity: 0.4;
}
.center-ring--dashed {
  stroke-dasharray: 4 8;
  opacity: 0.7;
}
.badge-bg {
  fill: var(--color-surface);
  stroke: color-mix(in oklab, var(--color-primary) 40%, var(--color-border));
  stroke-width: 1.5;
}
.badge-text {
  fill: var(--color-primary);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .node-pulse,
  .flow-line,
  .orbit-spin {
    animation: none !important;
  }
  .flow-dot {
    display: none;
  }
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- Ecosystem ---------- */
.products-section {
  background: var(--color-surface-2);
}

.product-tag {
  font-size: var(--text-xs);
  font-weight: 650;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}
.eco-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.eco-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.85;
}
.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--color-primary) 32%, var(--color-border));
}
.eco-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.eco-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}
.eco-card > p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.eco-points {
  list-style: none;
  display: grid;
  gap: 0.15rem;
  margin-top: var(--space-1);
  flex: 1 1 auto;
  align-content: start;
}
.eco-points li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.35;
}
.eco-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.eco-card .btn {
  margin-top: auto;
  align-self: stretch;
  width: 100%;
  min-height: 2.75rem;
  justify-content: center;
  text-align: center;
}

.eco-partner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  flex-wrap: wrap;
  font-size: 0.7rem;
  line-height: 1.3;
}
.eco-partner-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
.eco-partner-copy small {
  font-size: 0.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  font-weight: 650;
}
.eco-partner svg,
.eco-partner img {
  width: 64px;
  height: auto;
  flex-shrink: 0;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--color-primary) 16%, var(--color-surface)), var(--color-surface-offset-2));
  border: 1px solid color-mix(in oklab, var(--color-primary) 28%, var(--color-border));
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-10);
  align-items: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0;
}
.cta-banner p {
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 48ch;
}
.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: var(--space-3);
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0 var(--space-6);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  padding-block: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  transition: transform var(--transition-interactive);
}
.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 6px;
}
.faq-item p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  padding-bottom: var(--space-5);
  max-width: 62ch;
}

/* ---------- Contacts ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.contact-card .feature-icon {
  margin-bottom: 0;
}
.contact-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
}
.contact-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.contact-card a.btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-16) var(--space-10);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-10);
  padding-bottom: var(--space-10);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
}
.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
}
.footer-col p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 32ch;
  margin-top: var(--space-3);
}
.footer-col h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-col a:hover {
  color: var(--color-text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  flex-wrap: wrap;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Mobile nav ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--color-bg);
  padding: calc(var(--space-24) + var(--space-8)) var(--space-6) var(--space-10);
  flex-direction: column;
  gap: var(--space-6);
}
.mobile-nav.is-open {
  display: flex;
}
body.nav-open {
  overflow: hidden;
}
.nav-toggle[aria-expanded='true'] {
  background: var(--color-surface-offset);
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
}
.mobile-nav .hero-cta {
  margin-top: var(--space-4);
  flex-direction: column;
  align-items: stretch;
}
.mobile-nav .btn {
  width: 100%;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav {
    gap: var(--space-5);
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-inner {
    gap: var(--space-3);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    width: min(72vw, 26rem);
    max-width: 416px;
    justify-self: center;
  }
  .cta-banner {
    grid-template-columns: 1fr;
  }
  .cta-banner-actions {
    align-items: stretch;
  }
  .cta-banner-actions .btn {
    width: 100%;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 720px) {
  .hero-visual {
    width: min(88vw, 24rem);
    max-width: 384px;
  }
  .node-label {
    font-size: 16px;
  }
  .node-sub {
    font-size: 12px;
  }
  .badge-text {
    font-size: 16px;
  }
  .hero-cta .btn--lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
  }
}

@media (max-width: 640px) {
  .header-actions .btn {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .eco-card {
    padding: var(--space-6);
  }
  .section-head {
    margin-bottom: var(--space-8);
  }
  .faq-item {
    padding-inline: var(--space-4);
  }
  .footer .container {
    padding-left: calc(var(--space-6) + env(safe-area-inset-left, 0px));
    padding-right: calc(var(--space-6) + env(safe-area-inset-right, 0px));
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
}

@media (max-width: 560px) {
  .hero-stats {
    gap: var(--space-2);
  }
  .hero-stat span {
    font-size: 0.68rem;
  }
}

@media (max-width: 400px) {
  .btn {
    white-space: normal;
  }
  .eco-partner svg,
  .eco-partner img {
    width: 56px;
  }
  .header-inner {
    padding-block: var(--space-3);
  }
}
