/* ============================================================
   WattSwap Design System — The Energy Network
   Source of truth: WattSwap Design System.dc.html (Sep 2026)
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- Tokens ---- */
:root {
  --ws-brand-green:   #00C853;
  --ws-green-deep:    #00963B;
  --ws-green-hover:   #00A344;
  --ws-green-wash:    #ECFDF3;
  --ws-green-border:  #A7F3C8;
  --ws-green-text:    #06693A;
  --ws-ink:           #1A1A2E;
  --ws-ink-muted:     #6B7280;
  --ws-ink-light:     #4B5563;
  --ws-ink-deep:      #0F1419;
  --ws-canvas:        #FFFFFF;
  --ws-surface:       #F9FAFB;
  --ws-hairline:      #E5E7EB;
  --ws-hairline-dark: #23292F;
  --ws-warning:       #F59E0B;
  --ws-error:         #EF4444;
  --ws-radius-card:   12px;
  --ws-radius-btn:    8px;
  --ws-radius-pill:   999px;
  --ws-border:        1px solid #E5E7EB;
  --ws-font-body:     'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ws-font-mono:     'JetBrains Mono', 'Courier New', monospace;
  --ws-max-width:     1200px;
  --ws-pad-desktop:   clamp(40px, 8vw, 120px);
  --ws-pad-mobile:    20px;
  --ws-section-desk:  80px;
  --ws-section-mob:   48px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ws-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ws-ink);
  background: var(--ws-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--ws-green-deep); text-decoration: none; }
a:hover { color: #007A2F; text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font-family: var(--ws-font-body); cursor: pointer; }
input, select, textarea { font-family: var(--ws-font-body); }

/* ---- Typography ---- */
.ws-display {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.02;
}
.ws-h1 {
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.ws-h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.ws-h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
}
.ws-body-lg {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ws-ink-light);
}
.ws-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ws-ink-light);
}
.ws-eyebrow {
  font-family: var(--ws-font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ws-green-deep);
}
.ws-mono {
  font-family: var(--ws-font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ws-ink);
}
.ws-spec {
  font-family: var(--ws-font-mono);
  font-size: 12px;
  color: var(--ws-ink-muted);
  line-height: 1.6;
}
.ws-caption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ws-ink-muted);
}
.ws-disclaimer {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ws-ink-muted);
}
.ws-giant-stat {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* ---- Layout ---- */
.ws-container {
  max-width: var(--ws-max-width);
  margin: 0 auto;
  padding: 0 var(--ws-pad-desktop);
}
.ws-section {
  padding: var(--ws-section-desk) var(--ws-pad-desktop);
}
.ws-section-surface {
  padding: var(--ws-section-desk) var(--ws-pad-desktop);
  background: var(--ws-surface);
  border-top: var(--ws-border);
  border-bottom: var(--ws-border);
}
.ws-section-dark {
  padding: var(--ws-section-desk) var(--ws-pad-desktop);
  background: var(--ws-ink-deep);
  color: #FFFFFF;
}
.ws-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ws-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ws-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ws-flex { display: flex; }
.ws-flex-between { display: flex; justify-content: space-between; align-items: center; }

/* ============================================================
   GLOBAL NAVIGATION
   - Desktop: 72px, sticky, 1px hairline bottom
   - Mobile: 56px, same lockup, WhatsApp dot + hamburger
   - Bottom tab bar: 64px fixed at bottom on mobile
   ============================================================ */

#ws-global-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: var(--ws-canvas);
  border-bottom: 1px solid var(--ws-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--ws-pad-desktop);
}

.ws-nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
}

.ws-nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}
.ws-nav-logo-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ws-ink);
}
.ws-nav-logo-tag {
  font-family: var(--ws-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ws-ink-muted);
}

.ws-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--ws-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ws-ink-light);
}
.ws-nav-links a {
  font-family: var(--ws-font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ws-ink-light);
  text-decoration: none;
  padding-bottom: 2px;
  transition: color 0.15s;
  white-space: nowrap;
}
.ws-nav-links a:hover { color: var(--ws-ink); text-decoration: none; }
.ws-nav-links a.active {
  color: var(--ws-ink);
  border-bottom: 2px solid var(--ws-brand-green);
  padding-bottom: 4px;
}

.ws-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ws-nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ws-green-text);
  text-decoration: none;
}
.ws-nav-whatsapp:hover { text-decoration: none; color: var(--ws-green-text); }
.ws-nav-whatsapp-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ws-brand-green);
  display: inline-block;
  flex-shrink: 0;
}

.ws-nav-cta {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--ws-radius-btn);
  border: none;
  background: var(--ws-brand-green);
  color: #062A14;
  font-family: var(--ws-font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s;
}
.ws-nav-cta:hover { background: var(--ws-green-hover); color: #062A14; text-decoration: none; }

/* Mobile hamburger toggle (hidden on desktop) */
.ws-nav-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.ws-nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ws-ink);
}

/* Mobile nav dropdown */
.ws-nav-mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--ws-canvas);
  border-bottom: 1px solid var(--ws-hairline);
  z-index: 99;
  padding: 20px var(--ws-pad-mobile);
  flex-direction: column;
  gap: 0;
}
.ws-nav-mobile-menu.open { display: flex; }
.ws-nav-mobile-menu a {
  display: block;
  padding: 12px 0;
  font-family: var(--ws-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ws-ink);
  border-bottom: 1px solid var(--ws-hairline);
  text-decoration: none;
}
.ws-nav-mobile-menu a:last-child { border-bottom: none; }
.ws-nav-mobile-menu a.active { color: var(--ws-green-deep); }

/* Bottom mobile tab bar */
#ws-mobile-tabs {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--ws-canvas);
  border-top: 1px solid var(--ws-hairline);
  grid-template-columns: repeat(5, 1fr);
  z-index: 98;
}
.ws-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  color: var(--ws-ink-muted);
  font-size: 9px;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}
.ws-tab-item.active { color: var(--ws-ink); }
.ws-tab-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--ws-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ws-tab-icon svg {
  width: 12px;
  height: 12px;
  display: block;
}
.ws-tab-item.active .ws-tab-icon { background: var(--ws-brand-green); }
.ws-tab-item.active .ws-tab-label { color: var(--ws-ink); font-weight: 700; }

/* ============================================================
   BUTTONS
   ============================================================ */

.ws-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--ws-radius-btn);
  border: none;
  background: var(--ws-brand-green);
  color: #062A14;
  font-family: var(--ws-font-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.ws-btn-primary:hover { background: var(--ws-green-hover); color: #062A14; text-decoration: none; }
.ws-btn-primary.lg {
  height: 56px;
  font-size: 17px;
  padding: 0 28px;
}

.ws-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--ws-radius-btn);
  background: var(--ws-canvas);
  color: var(--ws-ink);
  border: 1px solid #D1D5DB;
  font-family: var(--ws-font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s;
}
.ws-btn-secondary:hover { border-color: var(--ws-ink); color: var(--ws-ink); text-decoration: none; }
.ws-btn-secondary.lg { height: 56px; font-size: 17px; }

.ws-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--ws-radius-btn);
  background: var(--ws-ink);
  color: #FFFFFF;
  border: none;
  font-family: var(--ws-font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.ws-btn-dark:hover { background: var(--ws-ink-deep); color: #FFFFFF; text-decoration: none; }
.ws-btn-dark.lg { height: 56px; font-size: 17px; }

.ws-btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 24px;
  border-radius: var(--ws-radius-btn);
  background: transparent;
  color: #FFFFFF;
  border: 1px solid var(--ws-hairline-dark);
  font-family: var(--ws-font-body);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

.ws-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border-radius: var(--ws-radius-btn);
  background: var(--ws-green-wash);
  border: 1px solid var(--ws-green-border);
  color: var(--ws-green-text);
  font-family: var(--ws-font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

/* ============================================================
   CARDS
   ============================================================ */

.ws-card {
  background: var(--ws-canvas);
  border: 1px solid var(--ws-hairline);
  border-radius: var(--ws-radius-card);
  overflow: hidden;
}
.ws-card-body { padding: 24px; }
.ws-card-surface {
  background: var(--ws-surface);
  border: 1px solid var(--ws-hairline);
  border-radius: var(--ws-radius-card);
  overflow: hidden;
}

/* Product card */
.ws-product-card {
  background: var(--ws-canvas);
  border: 1px solid var(--ws-hairline);
  border-radius: var(--ws-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ws-product-img {
  position: relative;
  height: 200px;
  background: #F3F4F6;
  border-bottom: 1px solid var(--ws-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ws-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  background: #F3F4F6;
}
.ws-badge-role {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ws-green-wash);
  border: 1px solid var(--ws-green-border);
  font-family: var(--ws-font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ws-green-text);
}
.ws-badge-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ws-ink);
  font-family: var(--ws-font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #FFFFFF;
}
.ws-product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.ws-product-name { font-size: 20px; font-weight: 700; }
.ws-product-spec { font-family: var(--ws-font-mono); font-size: 12px; color: var(--ws-ink-muted); margin-top: 4px; }
.ws-price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.ws-price-sale { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ws-price-mrp { font-size: 16px; color: #9CA3AF; text-decoration: line-through; }
.ws-product-note { font-size: 13px; color: var(--ws-ink-muted); margin-top: 4px; line-height: 1.5; }
.ws-product-includes { margin-top: 14px; padding: 12px; background: var(--ws-surface); border-radius: 8px; font-size: 13px; line-height: 1.6; color: var(--ws-ink-light); }

/* ============================================================
   TRUST STRIP
   ============================================================ */

.ws-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.ws-chip {
  height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ws-surface);
  border: 1px solid var(--ws-hairline);
  font-size: 14px;
  font-weight: 600;
  color: var(--ws-ink);
  white-space: nowrap;
}
.ws-chip-green {
  height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ws-green-wash);
  border: 1px solid var(--ws-green-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--ws-green-text);
  white-space: nowrap;
}

/* ============================================================
   NETWORK COUNTER
   ============================================================ */

.ws-network-counter {
  background: var(--ws-ink-deep);
  padding: 64px var(--ws-pad-desktop);
}
.ws-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ws-counter-item { border-top: 1px solid var(--ws-hairline-dark); padding-top: 24px; }
.ws-counter-item.highlight { border-top-color: var(--ws-brand-green); }
.ws-counter-value {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ws-counter-item.highlight .ws-counter-value { color: var(--ws-brand-green); }
.ws-counter-label {
  font-family: var(--ws-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ws-ink-muted);
  margin-top: 10px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.ws-faq { border: 1px solid var(--ws-hairline); border-radius: var(--ws-radius-card); overflow: hidden; }
.ws-faq-item {
  padding: 24px;
  border-bottom: 1px solid var(--ws-hairline);
  cursor: pointer;
}
.ws-faq-item:last-child { border-bottom: none; }
.ws-faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.ws-faq-q { font-weight: 700; font-size: 17px; line-height: 1.4; }
.ws-faq-toggle { font-size: 22px; color: var(--ws-ink-muted); flex-shrink: 0; transition: transform 0.2s; }
.ws-faq-item.open .ws-faq-toggle { transform: rotate(45deg); }
.ws-faq-answer {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ws-ink-light);
  margin-top: 12px;
  display: none;
}
.ws-faq-item.open .ws-faq-answer { display: block; }

/* ============================================================
   DEDUCTION LINES (earnings calculator output)
   ============================================================ */

.ws-deduction-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  padding: 14px 0;
  border-bottom: 1px solid #F3F4F6;
  font-variant-numeric: tabular-nums;
}
.ws-deduction-row.total {
  border-bottom: none;
  border-top: 1px solid var(--ws-hairline);
  padding-top: 16px;
}
.ws-deduction-label { color: var(--ws-ink-light); }
.ws-deduction-value { font-weight: 600; }
.ws-deduction-total { font-size: 19px; font-weight: 700; }
.ws-deduction-total-value { font-size: 34px; font-weight: 800; color: var(--ws-green-deep); letter-spacing: -0.02em; }

/* ============================================================
   FOOTER
   ============================================================ */

.ws-footer {
  background: var(--ws-ink-deep);
  padding: 64px var(--ws-pad-desktop) 40px;
  color: #FFFFFF;
}
.ws-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.ws-footer-brand-name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.ws-footer-brand-tag { font-family: var(--ws-font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ws-ink-muted); margin-top: 4px; }
.ws-footer-tagline { font-size: 17px; color: #D1D5DB; margin-top: 20px; line-height: 1.6; max-width: 300px; }
.ws-footer-col-head { font-family: var(--ws-font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ws-ink-muted); margin-bottom: 16px; }
.ws-footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: #D1D5DB; }
.ws-footer-links a { color: #D1D5DB; text-decoration: none; }
.ws-footer-links a:hover { color: #FFFFFF; text-decoration: none; }
.ws-footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ws-hairline-dark);
  display: flex;
  justify-content: space-between;
  gap: 40px;
  font-size: 14px;
  color: var(--ws-ink-muted);
  line-height: 1.7;
}

/* ============================================================
   RANGE SLIDER (earnings calculator)
   ============================================================ */

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--ws-hairline);
  outline: none;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--ws-brand-green);
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px var(--ws-green-deep);
  cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--ws-brand-green);
  border: 2px solid #FFFFFF;
  cursor: pointer;
}

/* ============================================================
   STICKY CTA BAR (mobile, appears after hero scrolls)
   ============================================================ */

#ws-sticky-cta {
  display: none;
  position: fixed;
  bottom: 64px;
  left: 0;
  right: 0;
  background: var(--ws-canvas);
  border-top: 1px solid var(--ws-hairline);
  padding: 12px var(--ws-pad-mobile);
  z-index: 97;
}

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

@media (max-width: 1023px) {
  #ws-global-nav {
    height: 56px;
    padding: 0 var(--ws-pad-mobile);
  }
  .ws-nav-links { display: none; }
  .ws-nav-cta { display: none; }
  .ws-nav-hamburger { display: flex; }
  .ws-nav-logo-name { font-size: 17px; }
  .ws-nav-logo-tag { font-size: 8px; }

  #ws-mobile-tabs { display: grid; }
  #ws-sticky-cta { display: block; }

  .ws-section {
    padding: var(--ws-section-mob) var(--ws-pad-mobile);
  }
  .ws-section-surface {
    padding: var(--ws-section-mob) var(--ws-pad-mobile);
  }
  .ws-section-dark {
    padding: var(--ws-section-mob) var(--ws-pad-mobile);
  }
  .ws-network-counter {
    padding: 40px var(--ws-pad-mobile);
  }
  .ws-counter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .ws-footer {
    padding: 40px var(--ws-pad-mobile) 80px;
  }
  .ws-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .ws-footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
  .ws-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .ws-grid-3 {
    grid-template-columns: 1fr;
  }
  .ws-grid-2 {
    grid-template-columns: 1fr;
  }
  body { padding-bottom: 64px; }
}

.ws-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1023px) {
  .ws-product-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 767px) {
  .ws-grid-4 { grid-template-columns: 1fr; }
  .ws-footer-grid { grid-template-columns: 1fr; }
  #franchise-enquiry form { grid-template-columns: 1fr !important; }
  .ws-product-grid { grid-template-columns: 1fr; gap: 16px; }
  .ws-product-card { max-width: 100%; }
  .ws-product-img { height: 180px; }
  .ws-product-name { font-size: 18px; }
  .ws-price-sale { font-size: 24px; }
  .ws-split-2,
  .ws-inline-grid-2,
  .ws-inline-grid-3,
  .ws-inline-grid-4 { grid-template-columns: 1fr !important; }
  .app-phone-preview { width: 160px !important; height: 320px !important; margin-top: 0 !important; }
}

/* ============================================================
   STANDARD ICON SIZES (App / About + legacy pages)
   Tailwind utilities were removed; without these, SVGs balloon.
   ============================================================ */
.material-icons {
  font-family: 'Material Icons' !important;
  font-weight: normal !important;
  font-style: normal !important;
  font-size: 20px !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  vertical-align: middle;
  width: 1em;
  height: 1em;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
.material-icons.ws-icon-sm { font-size: 16px !important; }
.material-icons.ws-icon-md { font-size: 20px !important; }
.material-icons.ws-icon-lg { font-size: 24px !important; }

/* Legacy Tailwind size stubs used as icon containers */
.w-8.h-8, svg.w-8 { width: 20px !important; height: 20px !important; max-width: 20px; max-height: 20px; }
.w-12.h-12, svg.w-12 { width: 22px !important; height: 22px !important; max-width: 22px; max-height: 22px; }
.w-16.h-16 { width: 40px !important; height: 40px !important; max-width: 40px; max-height: 40px; }
.w-20.h-20 { width: 44px !important; height: 44px !important; max-width: 44px; max-height: 44px; }
.w-16.h-16 svg,
.w-20.h-20 svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px;
  max-height: 22px;
}
.flex.items-center.justify-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.rounded-2xl { border-radius: 12px; }
.rounded-3xl { border-radius: 14px; }

/* Nav must never inherit Material Icons / Inter sizing quirks */
#ws-global-nav,
#ws-global-nav a,
#ws-global-nav button,
.ws-nav-mobile-menu,
.ws-nav-mobile-menu a {
  font-family: var(--ws-font-body) !important;
}
#ws-global-nav .material-icons,
.ws-nav-mobile-menu .material-icons {
  font-size: 18px !important;
}
#ws-mobile-tabs .ws-tab-label {
  font-family: var(--ws-font-body);
  font-size: 9px;
  line-height: 1.1;
}

/* ============================================================
   POLICY / LEGAL / CONTACT LAYOUT
   Makes leftover Tailwind-style classes render without Tailwind.
   ============================================================ */

.ws-policy-page,
.max-w-4xl.mx-auto.py-32 {
  max-width: 56rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}
.ws-policy-container { max-width: 56rem; margin: 0 auto; }
.ws-policy-content h2,
.prose h2,
.max-w-4xl h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--ws-ink);
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}
.ws-policy-content p,
.prose p,
.max-w-4xl p {
  margin: 0.75rem 0;
  line-height: 1.7;
  color: var(--ws-ink-light);
}
.ws-policy-content ul,
.prose ul,
.max-w-4xl ul {
  margin: 0.75rem 0 0.75rem 1.25rem;
  padding: 0;
  line-height: 1.7;
  color: var(--ws-ink-light);
}
.ws-policy-content li,
.prose li { margin: 0.35rem 0; }
.ws-policy-content table,
.max-w-4xl table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}
.ws-policy-content th,
.ws-policy-content td,
.max-w-4xl th,
.max-w-4xl td {
  border: 1px solid var(--ws-hairline);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-none { max-width: none; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 6rem; padding-bottom: 4rem; }
.p-8 { padding: 2rem; }
.md\:p-12 { padding: 2.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-8 { padding-top: 2rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.list-disc { list-style: disc; }
.pl-6 { padding-left: 1.5rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-sm { font-size: 0.875rem; line-height: 1.5; }
.text-xs { font-size: 0.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.4; }
.text-2xl { font-size: 1.5rem; line-height: 1.3; }
.text-4xl { font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.15; }
.text-5xl { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; }
.md\:text-5xl { font-size: clamp(2rem, 5vw, 3rem); }
.md\:text-6xl { font-size: clamp(2.25rem, 6vw, 3.5rem); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.leading-tight { line-height: 1.2; }
.leading-relaxed { line-height: 1.7; }
.text-neutral-900, .text-neutral-800 { color: var(--ws-ink); }
.text-neutral-700, .text-neutral-600 { color: var(--ws-ink-light); }
.text-neutral-500 { color: var(--ws-ink-muted); }
.text-gray-300 { color: #D1D5DB; }
.text-green-600, .text-green-500 { color: var(--ws-green-deep); }
.text-blue-600 { color: #2563eb; }
.text-purple-600 { color: #7c3aed; }
.text-teal-600 { color: #0d9488; }
.text-red-500 { color: var(--ws-error); }
.text-white { color: #fff; }
.bg-white { background: #fff; }
.bg-neutral-50 { background: var(--ws-surface); }
.bg-neutral-100 { background: #F3F4F6; }
.bg-neutral-900 { background: var(--ws-ink); }
.bg-green-100 { background: var(--ws-green-wash); }
.bg-blue-100 { background: #dbeafe; }
.bg-purple-100 { background: #ede9fe; }
.bg-teal-100 { background: #ccfbf1; }
.border-t { border-top: 1px solid var(--ws-hairline); }
.border-neutral-200 { border-color: var(--ws-hairline); }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.shadow-lg { box-shadow: 0 10px 30px rgba(15, 20, 25, 0.08); }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.hidden { display: none; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; }
.md\:grid-cols-2 { grid-template-columns: 1fr 1fr; }
.md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.md\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.md\:col-span-2 { grid-column: span 2; }
.md\:col-span-3 { grid-column: 1 / -1; }
.w-full { width: 100%; }
.w-5.h-5, svg.w-5 { width: 18px !important; height: 18px !important; }
.w-10.h-10 { width: 36px !important; height: 36px !important; max-width: 36px; max-height: 36px; }
.w-10.h-10 svg { width: 18px !important; height: 18px !important; }
.h-10 { height: 40px; }
.prose { max-width: none; }
.hover\:underline:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .py-32 { padding-top: 5rem; padding-bottom: 3rem; }
  .py-20 { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:grid-cols-2,
  .md\:grid-cols-3,
  .md\:grid-cols-5 { grid-template-columns: 1fr; }
  .md\:flex-row { flex-direction: column; }
  .md\:p-12 { padding: 1.5rem; }
  .p-8.md\:p-12, .rounded-3xl.p-8 { padding: 1.5rem; }
}

/* Contact page */
.contact-hero { padding: 96px var(--ws-pad-desktop) 64px !important; }
.contact-card { height: 100%; }
.ws-social-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.ws-social-row a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #F3F4F6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ws-ink);
}
.ws-social-row a svg { width: 18px; height: 18px; }

@media (max-width: 767px) {
  .contact-hero { padding: 72px var(--ws-pad-mobile) 40px !important; }
}

/* Survey location picker */
.ws-location-box {
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px solid var(--ws-hairline);
  border-radius: 10px;
  background: var(--ws-surface);
}
.ws-location-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ws-location-status { font-size: 13px; color: var(--ws-ink-muted); margin-top: 10px; line-height: 1.5; }
.ws-location-status.ok { color: var(--ws-green-deep); }
.ws-location-status.err { color: var(--ws-error); }

/* ============================================================
   Anatomy figures (interactive isometric explainers)
   Outer frame is the only chrome; iframe pages use --embed CSS
   so .iso-plate matches #f2f2ef with no nested box-shadow.
   ============================================================ */
.ws-anatomy {
  margin: 0;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--ws-hairline);
  border-radius: var(--ws-radius-card);
  background: #f2f2ef;
  overflow: hidden;
}
.ws-anatomy--hero,
.ws-anatomy--figure {
  /* Match authored canvases (640×400 / 720×450 = 16/10) — never crush to 4/3 */
  aspect-ratio: 16 / 10;
}
.ws-anatomy--figure {
  max-width: 720px;
}
.ws-anatomy--figure.ws-anatomy--wide {
  max-width: 100%;
}
.ws-anatomy-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f2f2ef;
}
.ws-anatomy-slot {
  margin-top: 32px;
}
.ws-anatomy-slot--flush {
  margin-top: 0;
}
