/* ==========================================================================
   1klyQ — styles.css
   --------------------------------------------------------------------------
     1.  TOKENS               — colors, type, radius, shadow, motion, layout
     2.  RESET & BASE         — normalization, body, selection, focus
     3.  LAYOUT PRIMITIVES    — .wrap, section, .section-label, .section-head
     4.  UTILITIES            — .reveal
     5.  SITE CHROME          — buttons, wordmark, header+nav, footer, toast
     6.  HOMEPAGE SECTIONS    — hero-intro, hero, terminal, trust, coverage,
                                process, plans scroller, why, final CTA
     7.  INNER PAGE PARTS     — page-hero, compare table, plan-detail,
                                policy block, services, contact cards,
                                info-strip, prose, FAQ, 404, backdrop icons
     8.  THEME (DARK MODE)    — token inversion + logo tap animation
     9.  KEYFRAMES & MOTION   — keyframes + reduced-motion fallback

   Spacing rhythm (vertical):
     - section                88 → 160 top,   70 → 128 bottom
     - .hero                  88 → 160 top,   70 → 128 bottom
     - .page-hero             72 → 128 top,   38 →  77 bottom
     - .final-cta             96 → 176 top,   77 → 141 bottom
     - .error-wrap            88 → 160 top & bottom
     - footer                 72 top, 28 bottom

   Conventions:
     - Interactive states include both :hover AND :active (touch-friendly)
     - GPU-accelerated transitions use transform/opacity only
     - Global tap-highlight removed — all press feedback is explicit
     - Plan accents follow the WhatsApp tag system (lite/solo/assist/home)
     - Terminal is hardcoded dark (intentional console island on a light page)
   ========================================================================== */




/* ==========================================================================
   FONTS  (loaded locally)
   ========================================================================== */
@font-face {
  font-family: "Oxanium";
  src: url("../assets/fonts/Oxanium-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Oxanium";
  src: url("../assets/fonts/Oxanium-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Oxanium";
  src: url("../assets/fonts/Oxanium-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Oxanium";
  src: url("../assets/fonts/Oxanium-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Unica One";
  src: url("../assets/fonts/UnicaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Kode Mono";
  src: url("../assets/fonts/KodeMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Kode Mono";
  src: url("../assets/fonts/KodeMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Kode Mono";
  src: url("../assets/fonts/KodeMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}




/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* Surfaces — warm off-white base */
  --charcoal:   #FAFAF7;
  --elevated:   #FFFFFF;
  --elevated-2: #F3F3EF;

  /* Text — dark-on-light */
  --white:      #1A1D21;
  --dim:        rgba(26, 29, 33, 0.60);
  --dim-2:      rgba(26, 29, 33, 0.40);
  --hairline:   rgba(26, 29, 33, 0.08);
  --hairline-2: rgba(26, 29, 33, 0.14);

  /* Logo-derived primary accents */
  --lime:       #C1FF72;
  --lime-deep:  #6BA823;
  --cyan:       #5CE1E6;
  --cyan-deep:  #1A9BA0;

  /* Supporting accent */
  --red:        #E11D48;

  /* Plan accent colors — WhatsApp tag system */
  --lite:   #4CAF50;
  --solo:   #3B82F6;
  --assist: #A855F7;
  --home:   #B8752F;

  /* Typography */
  --ui:      "Oxanium", system-ui, -apple-system, sans-serif;
  --display: "Unica One", "Oxanium", Georgia, serif;
  --mono:    "Kode Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Motion */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --max: 1280px;
  --pad: clamp(24px, 5vw, 64px);

  /* Radius scale */
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-md: 0 12px 36px -8px rgba(26, 29, 33, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(26, 29, 33, 0.22);
}




/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; }

body {
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--lime); color: #000000; }

img, svg { display: block; max-width: 100%; }

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus { outline: none; }

:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 2px; }




/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section {
  position: relative;
  padding-top: clamp(88px, 11vw, 160px);
  padding-bottom: clamp(70px, 8.8vw, 128px);
}

section + section { border-top: 1px solid var(--hairline); }

/* Section eyebrow label ("· Coverage") */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-deep);
  margin-bottom: 36px;
}

.section-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--lime-deep);
}

/* Two-column section head (h2 left, supporting paragraph right) */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 72px;
}

.section-head h2 {
  font-family: var(--ui);
  font-weight: 600;
  font-size: clamp(26px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--dim);
  font-size: 16px;
  line-height: 1.65;
  max-width: 440px;
}

@media (max-width: 780px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 52px; }
}




/* ==========================================================================
   4. UTILITIES
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity   0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.reveal.in { opacity: 1; transform: translateY(0); }




/* ==========================================================================
   5. SITE CHROME
   ========================================================================== */


/* ---- 5.1  Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition:
    transform    0.2s var(--ease-out),
    background   0.2s ease,
    border-color 0.2s ease;
}

.btn:hover,
.btn:active { transform: translateY(-1px); }

.btn .btn-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Primary (lime CTA) — always dark text, theme-independent */
.btn-primary {
  background: var(--lime);
  color: #1A1D21;
  font-weight: 500;
}

.btn-primary:hover,
.btn-primary:active { background: #B0F258; }

.btn-primary .btn-icon,
.btn-primary svg {
  color: inherit;
  fill: currentColor;
  stroke: none;
}

/* Ghost — theme-aware outlined button */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--hairline-2);
}

.btn-ghost:hover,
.btn-ghost:active { border-color: var(--white); }


/* ---- 5.2  Wordmark (header / hero / footer) ------------------------------ */
.wordmark {
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--white);
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}

.wordmark .prompt { color: var(--lime-deep); margin-right: 0.2em; }
.wordmark .one    { color: var(--lime-deep); }
.wordmark .que    { color: var(--red); }

.wordmark .cursor {
  display: inline-block;
  margin-left: 0.1em;
  color: var(--red);
  font-weight: 700;
  animation: blink 1.1s steps(2) infinite;
}

.wordmark .cursor::before { content: "_"; }


/* ---- 5.3  Site Header + Nav ---------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--hairline);
}

/* Blur on pseudo so child backdrop-filters (mobile drawer) still work */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--charcoal) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

/* Brand lockup (logo + optional divider + wordmark) */
.brand { display: flex; align-items: center; gap: 14px; }

.brand .divider { width: 1px; height: 22px; background: var(--hairline-2); }

.brand .logo-svg {
  display: block;
  width: auto;
  height: 26px;
}

/* Desktop nav */
nav.primary {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
}

nav.primary a {
  color: var(--dim);
  white-space: nowrap;
  transition: color 0.2s ease;
}

nav.primary a:hover,
nav.primary a:active,
nav.primary a[aria-current="page"] { color: var(--white); }

/* Nav divider — splits primary nav from secondary services */
.primary .nav-divider {
  background: var(--hairline);
  flex-shrink: 0;
  align-self: center;
  pointer-events: none;
  width: 1px;
  height: 18px;
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline-2);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: background 0.15s ease;
}

.nav-toggle:active { background: var(--elevated-2); }

.nav-toggle svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  pointer-events: none;
}

/* Mobile drawer: nav + divider behavior */
@media (max-width: 1100px) {
  .site-header .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }

  nav.primary {
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--charcoal);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 0;
    gap: 4px;
    display: none;
  }

  nav.primary.open { display: flex; }
  nav.primary a { padding: 10px var(--pad); }

  .primary .nav-divider {
    width: 100%;
    height: 1px;
    margin: 8px 0;
    align-self: stretch;
  }
}


/* ---- 5.4  Footer --------------------------------------------------------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 72px 0 28px;
  font-size: 13px;
}

footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

footer .col h6 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--lime-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 400;
}

footer .col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

footer .col a {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin-bottom: 10px;
  color: var(--dim);
  transition: color 0.2s ease;
}

footer .col p {
  display: block;
  margin-bottom: 10px;
  color: var(--dim);
}

footer .col a:hover,
footer .col a:active { color: var(--white); }

footer .brand-col p { font-size: 12.5px; line-height: 1.65; max-width: 260px; }

/* Brand column — stacked: logo on top, wordmark below */
footer .brand-col .brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: nowrap;
  margin-bottom: 24px;
}

footer .brand-col .logo-svg {
  height: 84px;
  width: auto;
  flex-shrink: 0;
}

footer .brand-col .wordmark { white-space: nowrap; }

/* Group divider for footer columns — 50% width hairline */
footer .col .col-divider {
  display: block;
  width: 50%;
  height: 1px;
  background: var(--hairline-2);
  margin: 6px 0 14px;
  border: none;
}

/* Legal links row (FAQs · Privacy · Terms) */
footer .footer-legal {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

footer .footer-legal a {
  display: inline-flex;
  margin: 0;
  color: var(--dim);
  transition: color 0.2s ease;
}

footer .footer-legal a:hover,
footer .footer-legal a:active { color: var(--white); }

footer .footer-legal .sep { color: var(--dim-2); user-select: none; }

footer .footer-legal + .footer-base { margin-top: 24px; }

/* Bottom row — copyright + GST disclaimer */
.footer-base {
  position: relative;
  padding-top: 20px;
  padding-left: var(--pad);
  padding-right: var(--pad);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim-2);
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-top: none;
}

.footer-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--pad);
  right: var(--pad);
  height: 1px;
  background: var(--hairline-2);
}

@media (min-width: 768px) {
  .footer-base {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-right { text-align: right; }
}

@media (max-width: 820px) { footer .wrap { grid-template-columns: 1fr 1fr; } }

@media (max-width: 500px) { footer .wrap { grid-template-columns: 1fr; } }


/* ---- 5.5  Toast (first-visit hint) --------------------------------------- */
.toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 380px;
  padding: 0;
  background: #0C0C0C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(26, 29, 33, 0.04);
  overflow: hidden;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity   0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

.toast.in {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Title bar — mimics terminal bar */
.toast::before {
  content: "1klyQ — tip";
  display: block;
  padding: 8px 14px;
  background: #1F1F1F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
}

/* Body — terminal-style content */
.toast p {
  padding: 0 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: #CCCCCC;
}

.toast p:first-of-type { padding-top: 14px; }
.toast p:last-of-type  { padding-bottom: 14px; }
.toast p + p           { margin-top: 6px; }

/* PS-prompt prefix on each line — like your terminal */
.toast p::before {
  content: "PS> ";
  color: #FFFF00;
}

.toast strong {
  color: var(--lime);
  font-weight: 500;
}

/* Close button — Windows-control style */
.toast .toast-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-family: var(--ui);
  line-height: 1;
  border-radius: 0;
  transition: background 0.12s ease;
}

.toast .toast-close:hover,
.toast .toast-close:active {
  background: #C42B1C;
  color: #fff;
}




/* ==========================================================================
   6. HOMEPAGE SECTIONS
   ========================================================================== */


/* ---- 6.1  Hero Intro (fullscreen wordmark splash) ------------------------ */
.hero-intro {
  position: relative;
  height: 100vh;
  height: 100dvh;
  border-top: none !important;
}

.hero-intro .hero-brand {
  max-width: var(--max);
  margin: 0 auto;
  /* dvh fallback chain: vh first for older browsers, dvh for modern */
  padding-top: 21.33vh;
  padding-top: 21.33dvh;
  padding-left: var(--pad);
  padding-right: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-intro .brand-line {
  font-family: var(--mono);
  font-size: clamp(56px, 10vw, 102px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-intro .brand-sub {
  font-family: var(--mono);
  font-size: clamp(28px, 5vw, 51px);
  line-height: 1;
  margin-top: 12px;
  color: var(--white);
}

.hero-intro .brand-tagline {
  font-size: clamp(14px, 2vw, 20px);
  margin-top: 16px;
  color: var(--white);
  opacity: 0.7;
}

.hero-intro .prompt { color: var(--lime-deep); margin-right: 0.2em; }
.hero-intro .one    { color: var(--lime-deep); }
.hero-intro .que    { color: var(--red); }

.hero-intro .cursor {
  display: inline-block;
  margin-left: 0.1em;
  color: var(--red);
  font-weight: 700;
  animation: blink 1.1s steps(2) infinite;
  vertical-align: baseline;
}

.hero-intro .cursor::before { content: "_"; }

/* Scroll cue — bouncing arrow, bottom-right
   Sized via clamp(); the 8vw middle term only kicks in on very wide
   viewports — below that it stays locked at the 88px minimum for hit-target */
.hero-intro .scroll-cue {
  position: absolute;
  bottom: clamp(80px, 9vw, 90px);
  right: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
  width: clamp(88px, 8vw, 140px);
  height: clamp(88px, 8vw, 140px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-deep);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: transform 0.2s var(--ease-out), color 0.2s ease;
  z-index: 2;
}

.hero-intro .scroll-cue:hover,
.hero-intro .scroll-cue:active {
  color: var(--cyan);
  transform: translateY(4px);
}

.hero-intro .scroll-cue svg {
  width: clamp(56px, 5vw, 90px);
  height: clamp(56px, 5vw, 90px);
}


/* ---- 6.2  Hero (main pitch + terminal) ----------------------------------- */
.hero {
  padding-top: clamp(44px, 6vw, 80px);
  padding-bottom: clamp(70px, 9.6vw, 128px);
  overflow: hidden;
  border-top: none !important;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 64px; } }

/* When terminal is displaced (closed or minimized), collapse hero to a
   single column. The left-side copy then fills the width naturally, like
   .page-hero on inner pages. Maximized state is excluded — terminal covers
   the whole viewport so what's underneath doesn't matter. */
.hero .wrap:has(.terminal.is-closed),
.hero .wrap:has(.terminal.is-minimized) {
  grid-template-columns: 1fr;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 36px;
}

.hero-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6);
  animation: live 2s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--dim);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 52px;
}

.hero-sub strong { color: var(--white); font-weight: 500; }

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-ctas .btn { padding: 16px 26px; font-size: 14px; }

.hero-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim-2);
  line-height: 1.8;
}

.hero-meta span { color: var(--dim); }


/* ---- 6.3  Terminal Mockup (Windows 11 aesthetic) ------------------------- */
.terminal {
  background: #0C0C0C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(26, 29, 33, 0.04);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  position: relative;
}

/* Title bar */
.terminal-bar {
  display: flex;
  align-items: stretch;
  height: 32px;
  background: #1F1F1F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-left: 8px;
  gap: 4px;
}

/* Tabs (real <button> elements) */
.terminal-bar .tab {
  flex: 1 1 0;
  min-width: 0;
  max-width: 220px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 14px;
  margin-top: 4px;
  border: none;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  background: #2A2A2A;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-family: "Segoe UI", var(--ui), sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.terminal-bar .tab:hover,
.terminal-bar .tab:active {
  color: rgba(255, 255, 255, 0.85);
  background: #232323;
}

/* Active tab — matches body color */
.terminal-bar .tab-active {
  background: #0C0C0C;
  color: rgba(255, 255, 255, 0.95);
}

.terminal-bar .tab-active:hover {
  background: #0C0C0C;
  color: rgba(255, 255, 255, 0.95);
}

/* Get-Support tab — INACTIVE state: dim lime hint, like PowerShell when inactive */
.terminal-bar .tab[data-tab="support"] {
  background: #2A2A2A;
  color: var(--lime-deep);
}

.terminal-bar .tab[data-tab="support"] .tab-icon-wa {
  color: var(--red);
}

.terminal-bar .tab[data-tab="support"]:hover,
.terminal-bar .tab[data-tab="support"]:active {
  background: #232323;
  color: var(--lime-deep);
}

.terminal-bar .tab[data-tab="support"]:hover .tab-icon-wa,
.terminal-bar .tab[data-tab="support"]:active .tab-icon-wa {
  color: var(--red);
}

/* Get-Support tab — ACTIVE state: full lime */
.terminal-bar .tab-active[data-tab="support"] {
  background: var(--lime);
  color: #000000;
}

.terminal-bar .tab-active[data-tab="support"] .tab-icon-wa {
  color: var(--red);
}

.terminal-bar .tab-active[data-tab="support"]:hover {
  background: var(--lime);
  color: #000000;
}

.terminal-bar .tab-icon { width: 14px; height: 14px; color: #4EC9B0; }
.terminal-bar .tab-icon-wa { color: #25D366; }

.terminal-bar .tab-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* Window controls */
.window-controls {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}

.win-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 32px;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 0;
  transition: background 0.12s ease;
}

.win-btn svg { width: 10px; height: 10px; }
.win-btn:hover { background: rgba(255, 255, 255, 0.08); }
.win-btn.win-close { background: #C42B1C; color: #fff; }

.win-btn.win-close:hover,
.win-btn.win-close:active { background: #E81123; }

/* Terminal body (PowerShell view) */
.terminal-body {
  padding: 20px 22px 26px;
  color: #CCCCCC;
  font-size: 12.5px;
  height: clamp(420px, 56vh, 430px);
  overflow-y: auto;
}

.terminal-body[hidden] { display: none; }

.terminal-body::-webkit-scrollbar { width: 8px; }
.terminal-body::-webkit-scrollbar-track { background: transparent; }

.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.terminal-body::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.16); }

.terminal-line {
  opacity: 0;
  transform: translateY(4px);
  animation: termLine 0.3s var(--ease-out) forwards;
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal-line.header { color: #FFFFFF; }
.terminal-line.prompt::before { content: "PS C:\\1klyQ> "; color: #FFFF00; }
.terminal-line.sys { color: #AAAAAA; }
.terminal-line.ok::before { content: "✓ "; color: #16C60C; }
.terminal-line.ok { color: #CCCCCC; }

.terminal-line.final {
  color: #16C60C;
  padding-top: 6px;
  margin-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.terminal-caret {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #CCCCCC;
  vertical-align: middle;
  margin-left: 2px;
  animation: blink 1.1s steps(2) infinite;
}

/* Get-Support view (chat preview + contact buttons) */
.terminal-support {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
}

.chat-line.them { justify-content: flex-end; margin-right: auto; }
.chat-line.you  { justify-content: flex-end; margin-left: auto; }
.chat-line .chat-name { font-weight: 500; }
.chat-line.them .chat-name { color: #16C60C; }
.chat-line.you  .chat-name { color: #AAAAAA; }
.chat-line .chat-time { color: rgba(255, 255, 255, 0.3); font-size: 10px; }

.chat-bubble {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.5;
  font-family: "Segoe UI", var(--ui), sans-serif;
}

.chat-bubble.them {
  background: rgba(22, 198, 12, 0.08);
  border-left: 2px solid #16C60C;
  color: #E5E5E5;
  align-self: flex-start;
}

.chat-bubble.you {
  background: rgba(255, 255, 255, 0.06);
  border-right: 2px solid #888;
  color: #CCCCCC;
  align-self: flex-end;
  text-align: left;
}

.chat-divider {
  margin: 28px 0 12px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  letter-spacing: 0.08em;
}

.chat-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: #E5E5E5;
  font-family: var(--mono);
  font-size: 12.5px;
  text-decoration: none;
  transition:
    background   0.15s ease,
    border-color 0.15s ease,
    transform    0.15s var(--ease-out);
}

.chat-btn:hover,
.chat-btn:active {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.chat-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.chat-btn-meta { color: rgba(255, 255, 255, 0.4); font-size: 11px; margin-left: auto; }

/* WhatsApp button — primary tone */
.chat-btn-wa {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.25);
  color: #FFFFFF;
}

.chat-btn-wa svg { color: #25D366; }

.chat-btn-wa:hover,
.chat-btn-wa:active {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.4);
}

/* WhatsApp pulse — applied via JS after auto-tab-switch */
.chat-btn-wa.is-pulsing {
  animation: waPulse 1.6s ease-in-out infinite;
}

/* Terminal — closed / minimized / maximized states */
.terminal.is-closed {
  opacity: 0;
  transform: scale(0.96);
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
  pointer-events: none;
  position: absolute !important;
}

.terminal.is-minimized {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 320px;
  height: 42px;
  border-radius: var(--radius-md);
  z-index: 999;
  overflow: hidden;
}

.terminal.is-minimized .terminal-body { display: none; }

.terminal.is-minimized .terminal-bar {
  height: 100%;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Minimized: hide PowerShell tab; only show Get-Support tab with lime bg */
.terminal.is-minimized .tab[data-tab="powershell"] { display: none; }

.terminal.is-minimized .tab[data-tab="support"] {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-family: "Segoe UI", var(--ui), sans-serif;
  margin-top: 0;
  height: 28px;
  border-radius: var(--radius-sm);
  flex: 0 1 auto;
  max-width: 180px;

  /* Inherit active-state look (matches .tab-active[data-tab="support"]) */
  background: var(--lime);
  color: #000000;
}

.terminal.is-minimized .tab[data-tab="support"]:hover,
.terminal.is-minimized .tab[data-tab="support"]:active {
  background: var(--lime);
  color: #000000;
}

.terminal.is-minimized .tab[data-tab="support"] .tab-icon-wa {
  color: var(--red);
}

.terminal.is-minimized .window-controls { display: flex; }
.terminal.is-minimized .win-min { opacity: 0.35; pointer-events: none; }

.terminal.is-minimized .win-max,
.terminal.is-minimized .win-close { display: inline-flex; opacity: 1; }

.terminal.is-maximized {
  position: fixed;
  inset: 0;
  z-index: 999;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.terminal.is-maximized .terminal-body {
  flex: 1 1 auto;
  height: auto;
  max-height: none;
}


/* ---- 6.4  Trust Strip ---------------------------------------------------- */
.trust {
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.trust .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
}

.trust .item { display: inline-flex; align-items: center; gap: 8px; }
.trust .item .chevron { color: var(--lime-deep); }
.trust .item strong { color: var(--white); font-weight: 400; }


/* ---- 6.5  Coverage Grid + Scope Callout ---------------------------------- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--elevated);
}

.coverage-item {
  padding: 40px 32px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  transition: background 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.coverage-item:hover,
.coverage-item:active { background: var(--elevated-2); }

/* Desktop 4-col: kill right border on last column, bottom border on last row */
.coverage-item:nth-child(4n) { border-right: none; }
.coverage-item:nth-last-child(-n+4) { border-bottom: none; }

.coverage-item .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--lime-deep);
  margin-bottom: 20px;
}

.coverage-item h3 {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.coverage-item p {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.55;
}

.coverage-item a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.coverage-item a:hover { border-bottom-color: var(--lime-deep); }

/* Tablet 2-col */
@media (max-width: 900px) {
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }

  .coverage-item {
    border-right: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
  }

  .coverage-item:nth-child(2n) { border-right: none; }
  .coverage-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* Mobile 1-col */
@media (max-width: 500px) {
  .coverage-grid { grid-template-columns: 1fr; }

  .coverage-item {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }

  .coverage-item:nth-last-child(-n+4) { border-bottom: 1px solid var(--hairline); }
  .coverage-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  .coverage-item:last-child { border-bottom: none; }
}

/* Out-of-scope callout (sits below coverage) */
.scope-callout {
  margin-top: 40px;
  padding: 28px 36px;
  background: var(--elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.scope-callout .left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
}

.scope-callout .left strong { color: var(--red); font-weight: 400; }

.scope-callout .right {
  font-size: 13px;
  color: var(--dim);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.scope-callout .right span { color: var(--red); margin: 0 4px; }


/* ---- 6.6  Process Flow --------------------------------------------------- */
.process-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.process-flow.four-step {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .process-flow.four-step { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .process-flow,
  .process-flow.four-step { grid-template-columns: 1fr; gap: 24px; }
}

.step {
  position: relative;
  padding: 44px 36px 40px;
  background: var(--elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--lime-deep);
}

.step .step-n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--lime-deep);
  letter-spacing: 0.14em;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.step .step-n::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--hairline-2);
}

.step h4 {
  font-family: var(--ui);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.step p { color: var(--dim); font-size: 14px; line-height: 1.65; }

.step .cmd {
  margin-top: 28px;
  padding: 12px 16px;
  background: #0C0C0C;
  border: 1px solid rgba(26, 29, 33, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 12px;
  color: #CCCCCC;
  letter-spacing: -0.01em;
}

.step .cmd .prompt { color: #FFFF00; margin-right: 8px; font-weight: 500; }


/* ---- 6.7  Plan Cards (homepage horizontal scroller) ---------------------- */

/* Scroller container */
.plans-scroller {
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.plans-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;

  /* one card per swipe, locked snap */
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  scroll-behavior: smooth;

  padding: 60px calc(50vw - 150px);

  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;

  scrollbar-width: none;
}

.plans-grid::-webkit-scrollbar { display: none; }

/* Base card */
.plan {
  flex: 0 0 300px;
  scroll-snap-align: center;
  scroll-snap-stop: always;

  --tone: var(--lite);

  background: var(--elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);

  padding: 36px 28px 32px;

  display: flex;
  flex-direction: column;
  gap: 24px;

  position: relative;

  transform: scale(0.94);
  opacity: 0.55;

  transition:
    transform    0.25s var(--ease-out),
    opacity      0.25s var(--ease-out),
    border-color 0.25s ease;
}

/* Tone variants */
.plan.lite   { --tone: var(--lite); }
.plan.solo   { --tone: var(--solo); }
.plan.assist { --tone: var(--assist); }
.plan.home   { --tone: var(--home); }

/* Active card — scaled up, full opacity, tone border */
.plan.active {
  transform: scale(1.06);
  opacity: 1;
  z-index: 2;
  border-color: var(--tone);
}

/* Inactive cards — extra dim, Details link disabled (tap card to focus) */
.plan:not(.active) {
  opacity: 0.3;
}

.plan:not(.active) .plan-foot .link {
  pointer-events: none;
}

/* Desktop sizing */
@media (min-width: 800px) {
  .plans-grid {
    padding: 60px calc(50vw - 160px);
    gap: 32px;
  }

  .plan { flex: 0 0 420px; }
}

/* Plan serial number — corner watermark in tone color */
.plan-num {
  position: absolute;
  top: 36px;
  right: 28px;
  font-family: var(--mono);
  font-size: 54px;
  font-weight: 700;
  color: var(--tone);
  opacity: 0.50;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Card head — tone dot + plan name */
.plan-head { display: flex; align-items: center; gap: 10px; }

.plan-head .tone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 20%, transparent);
}

.plan-head .plan-name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--white);
  text-transform: uppercase;
}

/* Price */
.plan-price {
  font-family: var(--ui);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.plan-price .period {
  font-size: 14px;
  font-family: var(--ui);
  color: var(--dim);
  margin-left: 6px;
  font-weight: 400;
}

/* Tagline */
.plan-tagline {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  line-height: 1.55;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--hairline-2);
}

/* Features list */
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.plan-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.plan-features li .mark {
  flex-shrink: 0;
  font-family: var(--mono);
  width: 12px;
  color: var(--tone);
}

.plan-features li.off { color: var(--dim-2); }
.plan-features li.off .mark { color: var(--dim-2); }

/* Card foot — tier label + details link */
.plan-foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px dashed var(--hairline-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
}

.plan-foot .tier { color: var(--white); }
.plan-foot .link { color: var(--tone); transition: gap 0.2s ease; }

.plan-foot .link:hover,
.plan-foot .link:active { color: var(--white); }

/* Bottom row — fair-use note + compare link */
.plans-more {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--dim);
}

.plans-more strong { color: var(--white); font-weight: 400; }

.plans-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-deep);
  transition: gap 0.25s var(--ease-out);
}

.plans-more a:hover,
.plans-more a:active {
  gap: 14px;
  color: var(--white);
}


/* ---- 6.8  Why Grid ------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
}

.why-item { padding: 44px 32px; border-right: 1px solid var(--hairline); }
.why-item:last-child { border-right: none; }

.why-item .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--lime-deep);
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}

.why-item h5 {
  font-family: var(--ui);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.why-item p { color: var(--dim); font-size: 13.5px; line-height: 1.65; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(2n) { border-right: none; }
  .why-item { border-bottom: 1px solid var(--hairline); }
}

@media (max-width: 500px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none; }
}


/* ---- 6.9  Final CTA ------------------------------------------------------ */
.final-cta {
  text-align: center;
  padding-top: clamp(96px, 12vw, 176px);
  padding-bottom: clamp(77px, 9.6vw, 141px);
}

.final-cta h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.final-cta p {
  color: var(--dim);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-cta .ctas .btn { padding: 18px 32px; font-size: 14px; }




/* ==========================================================================
   7. INNER PAGE COMPONENTS  (plans, services, about, contact, legal, 404)
   ========================================================================== */


/* ---- 7.1  Page Hero ------------------------------------------------------ */
.page-hero {
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: clamp(38px, 5.6vw, 77px);
  border-top: none !important;
}

.page-hero .wrap { max-width: 900px; }

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-deep);
  margin-bottom: 28px;
}

.page-hero .eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--lime-deep);
}

.page-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.page-hero p {
  color: var(--dim);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  max-width: 640px;
}


/* ---- 7.2  Plan Comparison Table ------------------------------------------ */
.compare-wrap {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--elevated);
}

.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.compare {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13px;
}

.compare thead th {
  background: var(--elevated-2);
  padding: 20px 18px;
  text-align: left;
  vertical-align: bottom;
  border-bottom: 1px solid var(--hairline);
}

.compare thead th:first-child {
  width: 38%;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}

.compare thead th + th { text-align: center; min-width: 120px; }

.compare thead .plan-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.compare thead .plan-col .dot { width: 10px; height: 10px; border-radius: 50%; }

.compare thead .plan-col .name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--white);
  text-transform: uppercase;
  font-weight: 500;
}

.compare thead .plan-col .price {
  font-family: var(--ui);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.compare thead .plan-col .period {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
}

.compare tbody th {
  text-align: left;
  padding: 16px 18px;
  font-weight: 400;
  color: var(--white);
  font-size: 13px;
  border-bottom: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  background: var(--elevated-2);
}

.compare tbody td {
  text-align: center;
  padding: 16px 12px;
  border-bottom: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  color: var(--white);
  font-size: 13px;
  font-family: var(--mono);
  line-height: 1.4;
}

.compare tbody td:last-child,
.compare tbody th:last-child { border-right: none; }

.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: none; }

.compare tbody td.yes  { color: var(--lime-deep); font-size: 16px; font-weight: 500; }
.compare tbody td.no   { color: var(--dim-2);     font-size: 16px; }
.compare tbody td.mini { font-size: 11px; color: var(--dim); }

.compare tbody tr:hover th,
.compare tbody tr:hover td { background: rgba(107, 168, 35, 0.04); }

.compare tbody tr.cat th,
.compare tbody tr.cat td {
  background: var(--charcoal);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 10px 18px;
}

.compare-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--dim);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.compare-note strong { color: var(--white); font-weight: 400; }

.policies-more { margin-top: 40px; }


/* ---- 7.3  Plan Detail (Annual Plans page) -------------------------------- */
/* Full tone border + hero identity panel. Each card mirrors the homepage
   active-card treatment — confident wrap, no top strip, identity becomes
   a richer tone-tinted panel that earns its column. */

.plan-detail {
  --tone: var(--lite);
  position: relative;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  padding: 44px 40px;
  background: var(--elevated);
  border: 2px solid var(--tone);
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 60px -24px color-mix(in srgb, var(--tone) 40%, transparent),
    0 0 0 1px color-mix(in srgb, var(--tone) 20%, transparent);
  scroll-margin-top: 100px;
  transition:
    transform  0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.plan-detail:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 80px -24px color-mix(in srgb, var(--tone) 55%, transparent),
    0 0 0 1px color-mix(in srgb, var(--tone) 30%, transparent);
}

.plan-detail + .plan-detail { margin-top: 52px; }

.plan-detail.lite   { --tone: var(--lite); }
.plan-detail.solo   { --tone: var(--solo); }
.plan-detail.assist { --tone: var(--assist); }
.plan-detail.home   { --tone: var(--home); }

/* Identity panel — tone-tinted, sits as a hero block in the left column */
.plan-detail .identity {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 28px 32px;
  background: color-mix(in srgb, var(--tone) 14%, transparent);
  border-radius: var(--radius-md);
}

/* Name row — tone dot + plan name inline (replaces old badge) */
.plan-detail .identity .name-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-detail .identity .tone-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 20%, transparent);
}

.plan-detail .identity .name {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
}

/* Price — bigger, gets room to breathe */
.plan-detail .identity .price-big {
  font-family: var(--ui);
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.plan-detail .identity .price-big .period {
  font-size: 15px;
  font-family: var(--ui);
  color: var(--dim);
  letter-spacing: 0;
  margin-left: 6px;
  font-weight: 400;
}

.plan-detail .identity .tagline {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  line-height: 1.55;
  font-style: italic;
}

.plan-detail .identity .tier-info {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--tone) 30%, transparent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dim);
  text-transform: uppercase;
  line-height: 1.8;
}

.plan-detail .identity .tier-info strong { color: var(--white); font-weight: 400; }

/* Features column — unchanged structure */
.plan-detail .features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.plan-detail .features h6 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--lime-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-detail .features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
}

.plan-detail .features ul li { display: flex; gap: 12px; align-items: flex-start; }

.plan-detail .features ul li .mark {
  flex-shrink: 0;
  font-family: var(--mono);
  color: var(--tone);
  font-weight: 500;
  width: 14px;
}

.plan-detail .features ul li.off { color: var(--dim-2); }
.plan-detail .features ul li.off .mark { color: var(--dim-2); }
.plan-detail .features strong { color: var(--white); font-weight: 500; }

@media (max-width: 820px) {
  .plan-detail {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px;
  }

  .plan-detail .identity {
    padding: 22px 22px 24px;
  }

  .plan-detail .identity .price-big {
    font-size: 54px;
  }
}


/* ---- 7.3b  Plan Detail · PC Build Page (Linux Terminal Variant) ---------- */
/* Overrides Variant 1 with a Linux-style terminal aesthetic. Each card
   becomes a terminal window — title bar with shell prompt on the left and
   GNOME-style circular minimize / maximize / close controls on the right,
   themed body with bash-style $ prompts and # comments for section headers.
   Reinforces the terminal motif from the hero.

   Theme behavior:
     - Dark mode  → GNOME-terminal dark theme (charcoal chrome, near-black body)
     - Light mode → GNOME-terminal "Tango" light theme (warm grey chrome,
                    soft off-white body) — equivalent visual contrast against
                    the page background, just inverted. */

.pc-build-plans .plan-detail {
  /* Strip Variant 1 styling */
  display: block;
  padding: 0;
  background: var(--elevated);
  border: 1px solid var(--hairline-2);
  box-shadow: 0 20px 50px -20px rgba(26, 29, 33, 0.18);
  overflow: hidden;
}

.pc-build-plans .plan-detail:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px -20px rgba(26, 29, 33, 0.24);
}

/* === Terminal title bar — LIGHT MODE default (Tango-ish) === */
.pc-build-plans .term-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 42px;
  padding: 0 8px 0 16px;
  background: #E8E6E1;
  border-bottom: 1px solid rgba(26, 29, 33, 0.08);
}

/* Shell prompt as window title */
.pc-build-plans .term-title {
  font-family: var(--mono);
  font-size: 12.5px;
  color: rgba(26, 29, 33, 0.75);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-build-plans .term-title .tone-text {
  color: var(--tone);
  font-weight: 500;
}

/* Window controls — circular buttons with optically-aligned glyphs */
.pc-build-plans .term-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pc-build-plans .term-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #D4D2CC;
  color: rgba(26, 29, 33, 0.78);
  font-family: var(--mono);
  line-height: 1;
  user-select: none;
  transition: background 0.12s ease, color 0.12s ease;
}

.pc-build-plans .term-ctrl::before {
  display: block;
  line-height: 1;
}

/* Per-control glyph + size — visually balanced */
.pc-build-plans .term-ctrl-min::before    { content: "−"; font-size: 16px; }
.pc-build-plans .term-ctrl-max::before    { content: "□"; font-size: 11px; }
.pc-build-plans .term-ctrl-close::before  { content: "×"; font-size: 16px; }

.pc-build-plans .term-ctrl:hover { background: #C5C3BD; }

.pc-build-plans .term-ctrl-close:hover {
  background: #C42B1C;
  color: #FFFFFF;
}

/* === Terminal body — LIGHT MODE: soft off-white "paper terminal" === */
.pc-build-plans .term-body {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  padding: 36px 36px 32px;
  background: #FDFCF8;
}

/* Identity — flattened, no tinted panel */
.pc-build-plans .plan-detail .identity {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: transparent;
  padding: 0;
  border: none;
  margin: 0;
}

/* Bash-style prompt prefix */
.pc-build-plans .ps-line {
  font-family: var(--mono);
  font-size: 12.5px;
  color: #2D2A26;
  line-height: 1.7;
}

.pc-build-plans .ps-line::before {
  content: "$ ";
  color: var(--tone);
  font-weight: 500;
}

.pc-build-plans .ps-line .tone-output { color: var(--tone); }

.pc-build-plans .plan-detail .identity .price-big {
  font-family: var(--ui);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1A1D21;
  margin-top: 8px;
}

.pc-build-plans .plan-detail .identity .price-big .period {
  font-size: 15px;
  font-weight: 400;
  color: #888581;
  margin-left: 6px;
}

.pc-build-plans .plan-detail .identity .tier-info {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px dashed rgba(26, 29, 33, 0.14);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #888581;
  text-transform: uppercase;
  line-height: 1.9;
}

.pc-build-plans .plan-detail .identity .tier-info strong {
  color: #1A1D21;
  font-weight: 500;
}

/* Features — light theme. Headers in tone, body in near-black, dim items
   in greyed-out brown. */
.pc-build-plans .plan-detail .features h6 {
  color: var(--tone);
  font-family: var(--mono);
}

.pc-build-plans .plan-detail .features ul { color: #3A3733; }

.pc-build-plans .plan-detail .features ul li .mark {
  color: var(--tone);
  font-weight: 500;
}

.pc-build-plans .plan-detail .features ul li.off { color: #B5B2AC; }
.pc-build-plans .plan-detail .features ul li.off .mark { color: #B5B2AC; }
.pc-build-plans .plan-detail .features strong { color: #1A1D21; }

/* Caveat — spans full card width, sits below the 2-column grid */
.pc-build-plans .term-body > .caveat {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px dashed rgba(26, 29, 33, 0.14);
  font-family: var(--mono);
  font-size: 12.5px;
  color: #888581;
  line-height: 1.65;
}

.pc-build-plans .term-body > .caveat strong {
  color: var(--red);
  font-weight: 500;
}

/* === DARK MODE overrides — GNOME terminal dark theme === */
html[data-theme="dark"] .pc-build-plans .plan-detail {
  border: 1px solid var(--hairline-2);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .pc-build-plans .plan-detail:hover {
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .pc-build-plans .term-bar {
  background: #2D2D2D;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .pc-build-plans .term-title {
  color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .pc-build-plans .term-ctrl {
  background: #3D3D3D;
  color: rgba(255, 255, 255, 0.85);
}

html[data-theme="dark"] .pc-build-plans .term-ctrl:hover {
  background: #4D4D4D;
}

html[data-theme="dark"] .pc-build-plans .term-ctrl-close:hover {
  background: #C42B1C;
  color: #FFFFFF;
}

html[data-theme="dark"] .pc-build-plans .term-body {
  background: #1E1E1E;
}

html[data-theme="dark"] .pc-build-plans .ps-line {
  color: #CCCCCC;
}

html[data-theme="dark"] .pc-build-plans .plan-detail .identity .price-big {
  color: #FFFFFF;
}

html[data-theme="dark"] .pc-build-plans .plan-detail .identity .price-big .period {
  color: #888;
}

html[data-theme="dark"] .pc-build-plans .plan-detail .identity .tier-info {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  color: #888;
}

html[data-theme="dark"] .pc-build-plans .plan-detail .identity .tier-info strong {
  color: #FFFFFF;
}

html[data-theme="dark"] .pc-build-plans .plan-detail .features ul {
  color: #CCCCCC;
}

html[data-theme="dark"] .pc-build-plans .plan-detail .features ul li.off {
  color: #555;
}

html[data-theme="dark"] .pc-build-plans .plan-detail .features ul li.off .mark {
  color: #555;
}

html[data-theme="dark"] .pc-build-plans .plan-detail .features strong {
  color: #FFFFFF;
}

html[data-theme="dark"] .pc-build-plans .term-body > .caveat {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  color: #888;
}

@media (max-width: 820px) {
  .pc-build-plans .term-body {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
  }

  .pc-build-plans .plan-detail .identity .price-big {
    font-size: 52px;
  }
}


/* ---- 7.4  Policy Block --------------------------------------------------- */
.policy-block {
  padding: 32px 36px;
  background: var(--elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}

.policy-block + .policy-block { margin-top: 16px; }

.policy-block h3 {
  font-family: var(--ui);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-block h3::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--lime-deep);
  border-radius: 50%;
  flex-shrink: 0;
}

.policy-block p {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.7;
}

.policy-block p strong { color: var(--white); font-weight: 500; }

.policy-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
}

.policy-block ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--dim);
}

.policy-block ul li::before {
  content: "›";
  color: var(--lime-deep);
  font-family: var(--mono);
  flex-shrink: 0;
}

/* Out-of-scope policy block uses red dots */
.scope-limits .policy-block h3::before { background: var(--red); }

/* Scope limits — closing footnote */
.scope-footnote {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--elevated-2);
  border: 1px dashed var(--hairline-2);
  border-radius: var(--radius-md);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--dim);
}

.scope-footnote strong { color: var(--white); font-weight: 500; }

/* Standalone CTA link inside policy-block — matches .plans-more a style */
.policy-block .cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-deep);
  transition: gap 0.25s var(--ease-out), color 0.2s ease;
}

.policy-block .cta-link:hover,
.policy-block .cta-link:active {
  gap: 14px;
  color: var(--white);
}


/* ---- 7.5  Service Groups + Caveats --------------------------------------- */
.services-group { margin-bottom: 40px; }
.services-group:last-child { margin-bottom: 0; }

.services-group-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lime-deep);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-left: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-group-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--lime-deep);
}

/* Caveat line inside policy blocks (warns of out-of-warranty etc.) */
.policy-block .caveat {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--hairline-2);
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.65;
}

.policy-block .caveat strong {
  color: var(--red);
  font-weight: 500;
}

/* License / disclaimer note inside plan-detail cards */
.plan-detail .features .caveat {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--hairline-2);
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.65;
}

.plan-detail .features .caveat strong {
  color: var(--red);
  font-weight: 500;
}


/* ---- 7.6  Contact Cards (alternatives — call + email) -------------------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 780px) {
  .contact-cards { grid-template-columns: 1fr; }
}

.contact-card {
  padding: 40px 36px 36px;
  background: var(--elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.contact-card-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lime-deep);
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* Icon + value row */
.contact-card-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--dim);
}

.contact-card-value {
  font-family: var(--ui);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-2);
  transition: border-color 0.2s ease, color 0.2s ease;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-card-value:hover,
.contact-card-value:active {
  border-bottom-color: var(--lime-deep);
}

.contact-card-sub {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.55;
  margin-top: auto;
  max-width: 340px;
}


/* ---- 7.7  Info Strip (3-up key-fact bar) --------------------------------- */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--elevated);
}

.info-strip .item {
  padding: 32px 28px;
  border-right: 1px solid var(--hairline);
}

.info-strip .item:last-child { border-right: none; }

.info-strip .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lime-deep);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.info-strip .value {
  font-family: var(--ui);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}

.info-strip .sub {
  font-size: 13px;
  color: var(--dim);
  margin-top: 20px;
  line-height: 1.55;
}

@media (max-width: 780px) {
  .info-strip { grid-template-columns: 1fr; }
  .info-strip .item { border-right: none; border-bottom: 1px solid var(--hairline); }
  .info-strip .item:last-child { border-bottom: none; }
}


/* ---- 7.8  Prose (long-form text for legal/policy pages) ------------------ */
.prose {
  max-width: 720px;
  margin: 0 auto;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.75;
}

.prose h2 {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 26px;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-top: 56px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 17px;
  color: var(--white);
  margin-top: 32px;
  margin-bottom: 10px;
}

.prose p { margin-bottom: 16px; }

.prose ul,
.prose ol {
  margin: 0 0 20px 22px;
  list-style: none;
  padding: 0;
}

.prose ul li,
.prose ol li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  line-height: 1.7;
}

.prose ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--lime-deep);
  font-family: var(--mono);
}

.prose ol { counter-reset: pr; }
.prose ol li { counter-increment: pr; }

.prose ol li::before {
  content: counter(pr) ".";
  position: absolute;
  left: 0;
  color: var(--lime-deep);
  font-family: var(--mono);
  font-size: 12px;
}

.prose strong { color: var(--white); font-weight: 500; }

.prose a {
  color: var(--lime-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover,
.prose a:active { color: var(--white); }


/* ---- 7.9  FAQ Accordion -------------------------------------------------- */
.faq {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  cursor: pointer;
}

.faq .q {
  font-weight: 600;
  position: relative;
  padding-right: 24px;
}

.faq .q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.faq.active .q::after { transform: rotate(45deg); }

.faq .a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.25s ease;
  margin-top: 0;
}

.faq.active .a {
  max-height: 200px;
  opacity: 0.8;
  margin-top: 10px;
}


/* ---- 7.10  404 Page (page-specific layout) ------------------------------- */
body.error-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.error-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(88px, 11vw, 160px) var(--pad);
}

.error-content {
  max-width: 1000px;
  width: 100%;
  text-align: center;
}

/* "Error 404" — Error white, 404 red */
.error-code {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 14vw, 180px);
  line-height: 1;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.error-code .error-label { color: var(--white); }
.error-code .error-num   { color: var(--red); }

.error-text {
  font-family: var(--ui);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 56px;
  letter-spacing: 0.09em;
}

/* Nav rows */
.error-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.error-nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-nav-row a {
  display: inline-flex;
  color: var(--dim);
  transition: color 0.2s ease;
}

.error-nav-row a:hover,
.error-nav-row a:active { color: var(--white); }

.error-nav-row .sep {
  color: var(--cyan-deep);
  user-select: none;
  font-size: 1.1em;
  line-height: 1;
}

.error-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-ctas .btn { padding: 16px 26px; font-size: 14px; }

body.error-page .footer-base {
  padding-bottom: 28px;
}


/* ---- 7.11  Page Backdrop Icons ------------------------------------------- */
/* Each page gets a fixed, off-center SVG watermark behind all content,
   anchored to the upper-right area of the viewport (the empty space
   alongside left-aligned hero copy). Uses CSS background-image with
   inline data-URI SVG — no HTTP requests, no flash on load, no JS,
   fully theme-aware via opacity. */

[class*="page-"] {
  position: relative;
}

[class*="page-"]::before {
  content: "";
  position: fixed;
  top: 8%;
  right: 0;
  width: 60vw;
  height: 75vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.06;
  filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}

/* Ensure content sits above the backdrop. The site-header uses its own
   z-index (50) and keeps position: sticky from section 5.3 — do NOT
   override its positioning here, only bump z-index for sections. */
section,
footer,
.error-wrap {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 50;
}

/* Dark mode bumps opacity slightly for parity */
html[data-theme="dark"] [class*="page-"]::before {
  opacity: 0.08;
}

/* Mobile: pull the backdrop a bit further down and let it expand wider so
   it remains visible behind single-column content stacks. */
@media (max-width: 820px) {
  [class*="page-"]::before {
    top: 12%;
    right: 0;
    width: 85vw;
    height: 60vh;
  }
}

/* ---- Per-page icon definitions (light mode) ---- */

/* 01 · Home → uptaQ logomark (pill outline + circle fill + dot fill) */
.page-home::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 230 230' fill='none'><rect x='10' y='70' width='160' height='95' rx='47' fill='none' stroke='%23000' stroke-width='6'/><circle cx='148' cy='115' r='39' fill='%23000'/><circle cx='196' cy='150' r='9' fill='%23000'/></svg>");
}

/* 02 · Services Offered → Service grid */
.page-services::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23000' stroke-width='5' stroke-linejoin='round'><rect x='30' y='30' width='50' height='50' rx='6'/><rect x='120' y='30' width='50' height='50' rx='6'/><rect x='30' y='120' width='50' height='50' rx='6'/><rect x='120' y='120' width='50' height='50' rx='6'/><circle cx='55' cy='55' r='12'/><polyline points='135 45 145 65 160 45' stroke-linecap='round'/><line x1='55' y1='135' x2='55' y2='155' stroke-linecap='round'/><line x1='45' y1='145' x2='65' y2='145' stroke-linecap='round'/><polyline points='135 155 145 135 160 155' stroke-linecap='round'/></svg>");
}

/* 03 · Annual Plans → Calendar */
.page-plans::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23000' stroke-width='5' stroke-linejoin='round'><rect x='30' y='50' width='140' height='120' rx='6'/><line x1='30' y1='80' x2='170' y2='80'/><line x1='65' y1='35' x2='65' y2='65'/><line x1='135' y1='35' x2='135' y2='65'/><g fill='%23000' stroke='none'><rect x='55' y='95' width='10' height='10' rx='2'/><rect x='85' y='95' width='10' height='10' rx='2'/><rect x='115' y='95' width='10' height='10' rx='2'/><rect x='145' y='95' width='10' height='10' rx='2'/><rect x='55' y='120' width='10' height='10' rx='2'/><rect x='85' y='120' width='10' height='10' rx='2'/><rect x='115' y='120' width='10' height='10' rx='2'/><rect x='145' y='120' width='10' height='10' rx='2'/><rect x='55' y='145' width='10' height='10' rx='2'/><rect x='85' y='145' width='10' height='10' rx='2'/><rect x='115' y='145' width='10' height='10' rx='2'/></g></svg>");
}

/* 04 · About Us → ID card */
.page-about::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23000' stroke-width='5' stroke-linejoin='round'><rect x='35' y='50' width='130' height='100' rx='8'/><circle cx='70' cy='90' r='12' fill='%23000'/><path d='M 50 130 Q 50 110 70 110 Q 90 110 90 130' stroke-linecap='round'/><line x1='110' y1='80' x2='155' y2='80' stroke-width='4'/><line x1='110' y1='100' x2='155' y2='100' stroke-width='4'/><line x1='110' y1='120' x2='140' y2='120' stroke-width='4'/></svg>");
}

/* 05 · Contact Us → Chat back & forth */
.page-contact::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23000' stroke-width='5' stroke-linejoin='round'><path d='M 20 40 L 110 40 Q 120 40 120 50 L 120 90 Q 120 100 110 100 L 50 100 L 30 120 L 35 100 L 20 100 Q 10 100 10 90 L 10 50 Q 10 40 20 40 Z'/><path d='M 90 110 L 180 110 Q 190 110 190 120 L 190 160 Q 190 170 180 170 L 165 170 L 170 190 L 150 170 L 90 170 Q 80 170 80 160 L 80 120 Q 80 110 90 110 Z'/></svg>");
}

/* 06 · On-klyQ → Service bag */
.page-onklyq::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23000' stroke-width='5' stroke-linejoin='round'><path d='M 60 80 L 60 60 Q 60 40 80 40 L 120 40 Q 140 40 140 60 L 140 80'/><rect x='50' y='80' width='100' height='100' rx='14'/><line x1='50' y1='115' x2='150' y2='115'/><rect x='80' y='125' width='40' height='25' rx='3'/></svg>");
}

/* 07 · PC Build → GPU */
.page-pcbuild::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='round'><rect x='20' y='70' width='160' height='60' rx='4'/><circle cx='60' cy='100' r='18'/><circle cx='60' cy='100' r='8' fill='%23000'/><circle cx='120' cy='100' r='18'/><circle cx='120' cy='100' r='8' fill='%23000'/><rect x='155' y='80' width='20' height='40' fill='%23000'/><line x1='30' y1='130' x2='30' y2='145'/><line x1='50' y1='130' x2='50' y2='145'/><line x1='70' y1='130' x2='70' y2='145'/></svg>");
}

/* 08 · FAQs → Search FAQs */
.page-faqs::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'><line x1='40' y1='50' x2='110' y2='50' stroke-width='3'/><line x1='40' y1='70' x2='100' y2='70' stroke-width='3'/><line x1='40' y1='90' x2='115' y2='90' stroke-width='3'/><circle cx='120' cy='115' r='35'/><line x1='145' y1='140' x2='170' y2='165' stroke-width='6'/></svg>");
}

/* 09 · Privacy Policy → Encrypted (binary + padlock) */
.page-privacy::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' font-family='monospace' font-size='14' fill='%23000'><text x='35' y='45'>1 0 1 1 0 0 1 0 1 0</text><text x='35' y='65'>0 1 1 0 1 0 0 1 1 0</text><text x='35' y='170'>1 1 0 0 1 0 1 1 0 1</text><g fill='none' stroke='%23000' stroke-width='6' stroke-linejoin='round'><rect x='70' y='85' width='60' height='50' rx='6'/><path d='M 82 85 L 82 75 Q 82 60 100 60 Q 118 60 118 75 L 118 85'/></g></svg>");
}

/* 10 · Terms of Service → Certificate */
.page-terms::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23000' stroke-width='5' stroke-linejoin='round'><polygon points='50 30 130 30 160 60 160 170 50 170'/><polyline points='130 30 130 60 160 60'/><line x1='70' y1='90' x2='140' y2='90' stroke-width='3'/><line x1='70' y1='110' x2='140' y2='110' stroke-width='3'/><line x1='70' y1='130' x2='120' y2='130' stroke-width='3'/><circle cx='140' cy='148' r='14' fill='%23000' stroke='none'/></svg>");
}

/* 11 · 404 → Unplugged */
.page-404::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23000' stroke-width='5' stroke-linejoin='round' stroke-linecap='round'><rect x='40' y='80' width='50' height='40' rx='6'/><line x1='40' y1='95' x2='25' y2='95'/><line x1='40' y1='105' x2='25' y2='105'/><line x1='100' y1='100' x2='120' y2='100' stroke-width='3' stroke-dasharray='4 4'/><rect x='125' y='80' width='50' height='40' rx='6'/><line x1='175' y1='95' x2='185' y2='95'/><line x1='175' y1='105' x2='185' y2='105'/></svg>");
}

/* ---- Dark mode: use white SVGs instead of black for proper contrast ---- */

html[data-theme="dark"] .page-home::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 230 230' fill='none'><rect x='10' y='70' width='160' height='95' rx='47' fill='none' stroke='%23fff' stroke-width='6'/><circle cx='148' cy='115' r='39' fill='%23fff'/><circle cx='196' cy='150' r='9' fill='%23fff'/></svg>");
}

html[data-theme="dark"] .page-services::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23fff' stroke-width='5' stroke-linejoin='round'><rect x='30' y='30' width='50' height='50' rx='6'/><rect x='120' y='30' width='50' height='50' rx='6'/><rect x='30' y='120' width='50' height='50' rx='6'/><rect x='120' y='120' width='50' height='50' rx='6'/><circle cx='55' cy='55' r='12'/><polyline points='135 45 145 65 160 45' stroke-linecap='round'/><line x1='55' y1='135' x2='55' y2='155' stroke-linecap='round'/><line x1='45' y1='145' x2='65' y2='145' stroke-linecap='round'/><polyline points='135 155 145 135 160 155' stroke-linecap='round'/></svg>");
}

html[data-theme="dark"] .page-plans::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23fff' stroke-width='5' stroke-linejoin='round'><rect x='30' y='50' width='140' height='120' rx='6'/><line x1='30' y1='80' x2='170' y2='80'/><line x1='65' y1='35' x2='65' y2='65'/><line x1='135' y1='35' x2='135' y2='65'/><g fill='%23fff' stroke='none'><rect x='55' y='95' width='10' height='10' rx='2'/><rect x='85' y='95' width='10' height='10' rx='2'/><rect x='115' y='95' width='10' height='10' rx='2'/><rect x='145' y='95' width='10' height='10' rx='2'/><rect x='55' y='120' width='10' height='10' rx='2'/><rect x='85' y='120' width='10' height='10' rx='2'/><rect x='115' y='120' width='10' height='10' rx='2'/><rect x='145' y='120' width='10' height='10' rx='2'/><rect x='55' y='145' width='10' height='10' rx='2'/><rect x='85' y='145' width='10' height='10' rx='2'/><rect x='115' y='145' width='10' height='10' rx='2'/></g></svg>");
}

html[data-theme="dark"] .page-about::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23fff' stroke-width='5' stroke-linejoin='round'><rect x='35' y='50' width='130' height='100' rx='8'/><circle cx='70' cy='90' r='12' fill='%23fff'/><path d='M 50 130 Q 50 110 70 110 Q 90 110 90 130' stroke-linecap='round'/><line x1='110' y1='80' x2='155' y2='80' stroke-width='4'/><line x1='110' y1='100' x2='155' y2='100' stroke-width='4'/><line x1='110' y1='120' x2='140' y2='120' stroke-width='4'/></svg>");
}

html[data-theme="dark"] .page-contact::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23fff' stroke-width='5' stroke-linejoin='round'><path d='M 20 40 L 110 40 Q 120 40 120 50 L 120 90 Q 120 100 110 100 L 50 100 L 30 120 L 35 100 L 20 100 Q 10 100 10 90 L 10 50 Q 10 40 20 40 Z'/><path d='M 90 110 L 180 110 Q 190 110 190 120 L 190 160 Q 190 170 180 170 L 165 170 L 170 190 L 150 170 L 90 170 Q 80 170 80 160 L 80 120 Q 80 110 90 110 Z'/></svg>");
}

html[data-theme="dark"] .page-onklyq::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23fff' stroke-width='5' stroke-linejoin='round'><path d='M 60 80 L 60 60 Q 60 40 80 40 L 120 40 Q 140 40 140 60 L 140 80'/><rect x='50' y='80' width='100' height='100' rx='14'/><line x1='50' y1='115' x2='150' y2='115'/><rect x='80' y='125' width='40' height='25' rx='3'/></svg>");
}

html[data-theme="dark"] .page-pcbuild::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23fff' stroke-width='4' stroke-linejoin='round'><rect x='20' y='70' width='160' height='60' rx='4'/><circle cx='60' cy='100' r='18'/><circle cx='60' cy='100' r='8' fill='%23fff'/><circle cx='120' cy='100' r='18'/><circle cx='120' cy='100' r='8' fill='%23fff'/><rect x='155' y='80' width='20' height='40' fill='%23fff'/><line x1='30' y1='130' x2='30' y2='145'/><line x1='50' y1='130' x2='50' y2='145'/><line x1='70' y1='130' x2='70' y2='145'/></svg>");
}

html[data-theme="dark"] .page-faqs::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23fff' stroke-width='5' stroke-linecap='round'><line x1='40' y1='50' x2='110' y2='50' stroke-width='3'/><line x1='40' y1='70' x2='100' y2='70' stroke-width='3'/><line x1='40' y1='90' x2='115' y2='90' stroke-width='3'/><circle cx='120' cy='115' r='35'/><line x1='145' y1='140' x2='170' y2='165' stroke-width='6'/></svg>");
}

html[data-theme="dark"] .page-privacy::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' font-family='monospace' font-size='14' fill='%23fff'><text x='35' y='45'>1 0 1 1 0 0 1 0 1 0</text><text x='35' y='65'>0 1 1 0 1 0 0 1 1 0</text><text x='35' y='170'>1 1 0 0 1 0 1 1 0 1</text><g fill='none' stroke='%23fff' stroke-width='6' stroke-linejoin='round'><rect x='70' y='85' width='60' height='50' rx='6'/><path d='M 82 85 L 82 75 Q 82 60 100 60 Q 118 60 118 75 L 118 85'/></g></svg>");
}

html[data-theme="dark"] .page-terms::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23fff' stroke-width='5' stroke-linejoin='round'><polygon points='50 30 130 30 160 60 160 170 50 170'/><polyline points='130 30 130 60 160 60'/><line x1='70' y1='90' x2='140' y2='90' stroke-width='3'/><line x1='70' y1='110' x2='140' y2='110' stroke-width='3'/><line x1='70' y1='130' x2='120' y2='130' stroke-width='3'/><circle cx='140' cy='148' r='14' fill='%23fff' stroke='none'/></svg>");
}

html[data-theme="dark"] .page-404::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23fff' stroke-width='5' stroke-linejoin='round' stroke-linecap='round'><rect x='40' y='80' width='50' height='40' rx='6'/><line x1='40' y1='95' x2='25' y2='95'/><line x1='40' y1='105' x2='25' y2='105'/><line x1='100' y1='100' x2='120' y2='100' stroke-width='3' stroke-dasharray='4 4'/><rect x='125' y='80' width='50' height='40' rx='6'/><line x1='175' y1='95' x2='185' y2='95'/><line x1='175' y1='105' x2='185' y2='105'/></svg>");
}




/* ==========================================================================
   8. THEME (DARK MODE) + LOGO TAP ANIMATION
   ========================================================================== */
html[data-theme="dark"] {
  --charcoal:   #0E0F11;
  --elevated:   #16181C;
  --elevated-2: #1F2227;

  --white: #F5F7FA;
  --dim:   rgba(245, 247, 250, 0.65);
  --dim-2: rgba(245, 247, 250, 0.40);

  --hairline:   rgba(255, 255, 255, 0.08);
  --hairline-2: rgba(255, 255, 255, 0.14);

  --lime: #C1FF72;
  --cyan: #5CE1E6;
  --red:  #E11D48;
}

/* Logo tap feedback (single-tap = WhatsApp, double-tap = theme toggle) */
.logo-svg {
  transition: transform 0.25s var(--ease-out);
}

.logo-svg.tap-single { transform: scale(0.92); }
.logo-svg.tap-double { transform: scale(0.85) rotate(-8deg); }




/* ==========================================================================
   9. KEYFRAMES + REDUCED MOTION
   ========================================================================== */
@keyframes blink { 50% { opacity: 0; } }

@keyframes live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
}

@keyframes termLine {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(12px); }
}

/* Subtle pulse on the Get-Support WhatsApp button after auto tab switch */
@keyframes waPulse {
  0%, 100% {
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(37, 211, 102, 0.25);
    transform: translateY(0);
  }
  50% {
    background: rgba(37, 211, 102, 0.18);
    border-color: rgba(37, 211, 102, 0.55);
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .hero-intro .scroll-cue { animation: none; }
  .chat-btn-wa.is-pulsing { animation: none; }
  .toast { transition: opacity 0.01ms; }
}