/* ==========================================================================
   TEHRANTO.IO — Google × Tehranto.Plus Minimalist Engineering Design System
   Mother Brand: Tehranto.Plus (https://tehranto.ca)
   Typography: Google Sans + Roboto (EN) | Shabnam (FA) | font-synthesis: none
   ========================================================================== */

:root {
  --tp-navy: #0f2c6b;
  --tp-navy-deep: #091d49;
  --tp-ink: #0b1930;
  --tp-ink-body: #3c4a63;
  --tp-muted: #64748b;
  --tp-gblue: #0b57d0;
  --tp-gblue-hover: #0842a0;
  --tp-gblue-soft: #e8f0fe;
  --tp-gblue-border: #d3e3fd;
  --tp-cyan: #14839e;
  --tp-cyan-bright: #2bb8d4;
  --tp-cyan-soft: #e8f7fb;
  --tp-gold: #d19a35;
  --tp-gold-soft: #fdf4da;
  --tp-red-was: #c81e3a;
  --tp-red-bg: #fff1f3;
  --tp-green: #137333;
  --tp-green-soft: #e6f4ea;
  --tp-bg: #ffffff;
  --tp-surface: #f8fafd;
  --tp-surface-warm: #faf9f5;
  --tp-line: rgba(15, 44, 107, 0.1);
  --tp-line-strong: rgba(15, 44, 107, 0.16);
  --tp-radius-xl: 28px;
  --tp-radius-lg: 22px;
  --tp-radius-md: 16px;
  --tp-shadow-sm: 0 6px 18px -6px rgba(11, 25, 48, 0.06);
  --tp-shadow-md: 0 18px 44px -14px rgba(11, 25, 48, 0.09);
  --tp-shadow-lg: 0 28px 68px -18px rgba(11, 25, 48, 0.13);
}

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

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

body {
  margin: 0;
  background: var(--tp-bg);
  color: var(--tp-ink);
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.fa,
html[lang="fa"] body {
  font-family: "Shabnam", Tahoma, Arial, sans-serif;
  direction: rtl;
  text-align: right;
  line-height: 1.8;
}

h1, h2, h3, h4, .tp-display, .tp-btn, .tp-pill-tag {
  font-family: "Google Sans", "Roboto", -apple-system, sans-serif;
  font-synthesis: none;
}

body.fa h1,
body.fa h2,
body.fa h3,
body.fa h4,
body.fa .tp-display,
body.fa .tp-btn,
body.fa .tp-pill-tag {
  font-family: "Shabnam", Tahoma, sans-serif;
  letter-spacing: 0 !important;
}

/* Bilingual visibility helpers (work seamlessly before & after build-locales.mjs) */
.lang-fa { display: none !important; }
body.fa .lang-en { display: none !important; }
body.fa .lang-fa { display: inline !important; }
div.lang-fa, p.lang-fa, ul.lang-fa, section.lang-fa { display: none !important; }
body.fa div.lang-en, body.fa p.lang-en, body.fa ul.lang-en, body.fa section.lang-en { display: none !important; }
body.fa div.lang-fa, body.fa p.lang-fa, body.fa ul.lang-fa { display: block !important; }

bdi, [dir="ltr"] {
  unicode-bidi: isolate;
}

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

a {
  color: inherit;
}

.io-container {
  width: min(100%, 1220px);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 3.5vw, 2.2rem);
}

.io-container--narrow {
  width: min(100%, 960px);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 3.5vw, 2.2rem);
}

/* ==========================================================================
   1. ARCHITECTURAL HERO & GOOGLE BLUEPRINT SURFACE
   ========================================================================== */

.io-hero {
  position: relative;
  padding: clamp(6.9rem, 10.5vw, 8.6rem) 0 clamp(2.8rem, 4.8vw, 4rem);
  background:
    radial-gradient(860px 460px at 80% 24%, rgba(11, 87, 208, 0.065), transparent 68%),
    radial-gradient(640px 380px at 14% 12%, rgba(43, 184, 212, 0.06), transparent 65%),
    linear-gradient(180deg, #f8fafd 0%, #ffffff 100%);
  border-bottom: 1px solid var(--tp-line);
  overflow: hidden;
}

.io-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 44, 107, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 44, 107, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, #000 35%, transparent 100%);
  pointer-events: none;
}

.io-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4.4vw, 4rem);
  align-items: center;
}

.io-eyebrow-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.io-eyebrow-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f5efe0;
  border: 1px solid rgba(15, 44, 107, 0.1);
  color: var(--tp-navy);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.io-eyebrow-icon svg {
  width: 19px;
  height: 19px;
}

.io-eyebrow-label {
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tp-navy);
}

body.fa .io-eyebrow-label {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.io-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: var(--tp-gblue-soft);
  border: 1px solid var(--tp-gblue-border);
  color: var(--tp-gblue);
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

body.fa .io-eyebrow-pill {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.io-hero-title {
  margin: 0 0 1.15rem;
  font-size: clamp(2.45rem, 4.6vw, 4.05rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.036em;
  color: var(--tp-ink);
  text-wrap: balance;
}

body.fa .io-hero-title {
  font-size: clamp(2.05rem, 3.8vw, 3.25rem);
  line-height: 1.26;
}

.io-hero-title .io-accent {
  color: var(--tp-gblue);
}

.io-hero-title .io-dot {
  color: var(--tp-gblue);
}

.io-hero-lead {
  margin: 0 0 1.65rem;
  max-width: 52ch;
  color: var(--tp-ink-body);
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  font-weight: 400;
  line-height: 1.68;
}

body.fa .io-hero-lead {
  line-height: 1.85;
}

.io-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.72rem;
}

.tp-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-height: 48px;
  padding: 0 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.tp-btn:focus-visible {
  outline: 2px solid var(--tp-cyan-bright);
  outline-offset: 3px;
}

.tp-btn--gblue {
  background: var(--tp-gblue);
  border-color: var(--tp-gblue);
  color: #ffffff;
  box-shadow: 0 10px 24px -8px rgba(11, 87, 208, 0.42);
}

.tp-btn--gblue:hover {
  background: var(--tp-gblue-hover);
  border-color: var(--tp-gblue-hover);
  transform: translateY(-1px);
}

.tp-btn--navy {
  background: var(--tp-navy);
  border-color: var(--tp-navy);
  color: #ffffff;
  box-shadow: 0 10px 24px -8px rgba(15, 44, 107, 0.34);
}

.tp-btn--navy:hover {
  background: var(--tp-navy-deep);
  border-color: var(--tp-navy-deep);
  transform: translateY(-1px);
}

.tp-btn--ghost {
  background: #ffffff;
  border-color: var(--tp-gblue-border);
  color: var(--tp-gblue);
  box-shadow: var(--tp-shadow-sm);
}

.tp-btn--ghost:hover {
  background: #f4f8fe;
  border-color: var(--tp-gblue);
  transform: translateY(-1px);
}

.tp-btn--soft {
  background: #ffffff;
  border-color: var(--tp-line-strong);
  color: var(--tp-navy);
}

.tp-btn--soft:hover {
  border-color: var(--tp-navy);
  background: var(--tp-surface);
  transform: translateY(-1px);
}

/* ==========================================================================
   2. GOOGLE VERTICAL ARCHITECTURE TABS (.io-vtabs)
   ========================================================================== */

.io-vtabs {
  margin-top: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-inline-start: 2px solid rgba(15, 44, 107, 0.1);
  padding-inline-start: 0;
}

.io-vtab {
  appearance: none;
  position: relative;
  width: 100%;
  text-align: start;
  background: transparent;
  border: 0;
  border-radius: 0 16px 16px 0;
  padding: 0.78rem 1rem 0.78rem 1.15rem;
  cursor: pointer;
  transition: background 0.18s ease;
  font-family: inherit;
  color: var(--tp-ink);
}

body.fa .io-vtab {
  border-radius: 16px 0 0 16px;
  padding: 0.78rem 1.15rem 0.78rem 1rem;
}

.io-vtab::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: -2px;
  width: 3px;
  border-radius: 3px;
  background: transparent;
  transition: background 0.18s ease;
}

.io-vtab:hover {
  background: rgba(11, 87, 208, 0.04);
}

.io-vtab.is-active {
  background: #eaf1fb;
}

.io-vtab.is-active::before {
  background: var(--tp-gblue);
}

.io-vtab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.io-vtab-title {
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--tp-ink);
}

body.fa .io-vtab-title {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.io-vtab.is-active .io-vtab-title {
  color: var(--tp-gblue);
}

.io-vtab-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.58rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.11);
  color: var(--tp-ink-body);
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}

.io-vtab.is-active .io-vtab-chip {
  color: var(--tp-gblue);
  border-color: var(--tp-gblue-border);
}

.io-vtab-desc {
  display: none;
  margin: 0.36rem 0 0;
  font-size: 0.82rem;
  line-height: 1.52;
  color: var(--tp-ink-body);
}

.io-vtab.is-active .io-vtab-desc {
  display: block;
}

/* ==========================================================================
   3. DIAGRAM 1 — ORBITAL ARCHITECTURE WHEEL (.io-orbit-stage)
      (Exact Google × Tehranto Orbital Aesthetic from Iman's Reference)
   ========================================================================== */

.io-orbit-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.io-orbit-wheel {
  position: relative;
  width: min(100%, 456px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  direction: ltr;
  unicode-bidi: isolate;
}

.io-orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.io-orbit-ring-outer {
  fill: none;
  stroke: rgba(11, 87, 208, 0.2);
  stroke-width: 1.25;
  stroke-dasharray: 4 5;
}

.io-orbit-ring-inner {
  fill: rgba(232, 240, 254, 0.28);
  stroke: rgba(11, 87, 208, 0.16);
  stroke-width: 1.15;
}

.io-orbit-spoke {
  stroke: rgba(11, 87, 208, 0.12);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  transition: stroke 0.22s ease, stroke-width 0.22s ease;
}

.io-orbit-spoke.is-active {
  stroke: var(--tp-gblue);
  stroke-width: 1.8;
  stroke-dasharray: none;
}

.io-orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(11, 87, 208, 0.16);
  box-shadow:
    0 20px 44px -10px rgba(11, 44, 107, 0.16),
    0 0 0 10px rgba(232, 240, 254, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  text-align: center;
  padding: 0.6rem;
  z-index: 2;
}

.io-orbit-core-icon {
  width: 30px;
  height: 30px;
  color: var(--tp-gblue);
  display: grid;
  place-items: center;
}

.io-orbit-core-kicker {
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tp-navy);
}

.io-orbit-core-sub {
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--tp-cyan);
}

/* 6 Orbital Node Positions around Circle */
.io-orbit-node {
  appearance: none;
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.52rem 0.85rem 0.52rem 0.58rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1.5px solid rgba(15, 44, 107, 0.11);
  box-shadow: 0 12px 28px -8px rgba(11, 25, 48, 0.12);
  color: var(--tp-ink);
  cursor: pointer;
  z-index: 3;
  text-align: left;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.io-orbit-node[data-pos="0"] { top: 10%; left: 50%; }
.io-orbit-node[data-pos="1"] { top: 28%; left: 86%; }
.io-orbit-node[data-pos="2"] { top: 72%; left: 86%; }
.io-orbit-node[data-pos="3"] { top: 90%; left: 50%; }
.io-orbit-node[data-pos="4"] { top: 72%; left: 14%; }
.io-orbit-node[data-pos="5"] { top: 28%; left: 14%; }

.io-orbit-node:hover {
  transform: translate(-50%, -52%);
  border-color: rgba(11, 87, 208, 0.45);
  box-shadow: 0 16px 34px -8px rgba(11, 87, 208, 0.2);
}

.io-orbit-node.is-active {
  border-color: var(--tp-gblue);
  background: #ffffff;
  box-shadow:
    0 16px 36px -8px rgba(11, 87, 208, 0.24),
    0 0 0 3px rgba(11, 87, 208, 0.1);
}

.io-orbit-node-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #ffffff;
  background: var(--tp-gblue);
}

.io-orbit-node-badge svg {
  width: 16px;
  height: 16px;
}

.io-orbit-node[data-tone="cyan"] .io-orbit-node-badge { background: #0f7694; }
.io-orbit-node[data-tone="slate"] .io-orbit-node-badge { background: #3f4a3c; }
.io-orbit-node[data-tone="gold"] .io-orbit-node-badge { background: #a8741a; }
.io-orbit-node[data-tone="navy"] .io-orbit-node-badge { background: #0f2c6b; }
.io-orbit-node[data-tone="teal"] .io-orbit-node-badge { background: #0ea5c6; }

.io-orbit-node-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.io-orbit-node-title {
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--tp-ink);
}

body.fa .io-orbit-node-title {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.io-orbit-node-sub {
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--tp-gblue);
}

/* Active Architecture Layer Card Below Orbit */
.io-orbit-status {
  width: min(100%, 440px);
  padding: 1rem 1.2rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--tp-line);
  box-shadow: var(--tp-shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.io-orbit-status-kicker {
  display: block;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tp-gblue);
  margin-bottom: 0.2rem;
}

body.fa .io-orbit-status-kicker {
  font-family: "Shabnam", Tahoma, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.io-orbit-status-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--tp-ink);
  line-height: 1.25;
}

.io-orbit-status-sub {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--tp-muted);
  line-height: 1.4;
}

.io-orbit-status-pill {
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  background: var(--tp-gblue-soft);
  color: var(--tp-gblue);
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

/* Floating Sub-Nav Anchor Bar (Bottom of Hero) */
.io-subnav-wrap {
  position: relative;
  z-index: 2;
  margin-top: clamp(2rem, 3.6vw, 2.9rem);
  display: flex;
  justify-content: center;
}

.io-subnav {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.38rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--tp-line);
  box-shadow: 0 12px 32px -10px rgba(15, 44, 107, 0.09);
}

.io-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tp-ink-body);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}

body.fa .io-subnav a {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.io-subnav a:hover {
  background: var(--tp-surface);
  color: var(--tp-navy);
}

.io-subnav a.is-pill {
  background: var(--tp-gblue-soft);
  color: var(--tp-gblue);
}

/* ==========================================================================
   4. DIAGRAM 2 — INTERACTIVE WEBSITES BROWSER / SEO / GEO / BIDI STUDIO
   ========================================================================== */

.io-studio-window {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--tp-line-strong);
  box-shadow: var(--tp-shadow-lg);
  overflow: hidden;
}

.io-studio-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f4f7fc;
  border-bottom: 1px solid var(--tp-line);
  direction: ltr;
}

.io-studio-dots {
  display: inline-flex;
  gap: 6px;
}

.io-studio-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.io-studio-dots span:nth-child(1) { background: #f87171; }
.io-studio-dots span:nth-child(2) { background: #fbbf24; }
.io-studio-dots span:nth-child(3) { background: #34d399; }

.io-studio-url {
  flex: 1;
  max-width: 280px;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--tp-line);
  font-family: "Google Sans", "Roboto", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--tp-navy);
  text-align: center;
}

.io-studio-score-pill {
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: var(--tp-green-soft);
  color: var(--tp-green);
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
}

.io-studio-body {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.io-studio-pane {
  display: none;
  animation: ioFadeSlide 0.24s ease both;
}

.io-studio-pane.is-active {
  display: block;
}

@keyframes ioFadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.io-cwv-grid {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.io-cwv-ring {
  width: 132px;
  height: 132px;
  margin-inline: auto;
  position: relative;
  display: grid;
  place-items: center;
}

.io-cwv-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.io-cwv-ring-num {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  direction: ltr;
}

.io-cwv-ring-num strong {
  font-family: "Google Sans", sans-serif;
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--tp-green);
}

.io-cwv-ring-num span {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--tp-muted);
  margin-top: 3px;
}

.io-metric-bars {
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
}

.io-metric-row {
  padding: 0.62rem 0.85rem;
  border-radius: 12px;
  background: var(--tp-surface);
  border: 1px solid var(--tp-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.io-metric-row strong {
  font-family: "Google Sans", sans-serif;
  font-size: 0.82rem;
  color: var(--tp-navy);
}

.io-metric-val {
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: var(--tp-green-soft);
  color: var(--tp-green);
  font-family: "Google Sans", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  direction: ltr;
}

.io-serp-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.io-serp-card {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--tp-surface);
  border: 1px solid var(--tp-line);
}

.io-serp-card--ai {
  background: linear-gradient(135deg, #eef4ff 0%, #f3fbfd 100%);
  border-color: var(--tp-gblue-border);
}

.io-serp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Google Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tp-gblue);
  margin-bottom: 0.3rem;
}

body.fa .io-serp-kicker {
  font-family: "Shabnam", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.io-serp-title {
  font-family: "Google Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a0dab;
  margin: 0 0 0.22rem;
}

.io-serp-snippet {
  margin: 0;
  font-size: 0.8rem;
  color: var(--tp-ink-body);
  line-height: 1.5;
}

.io-bidi-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.io-bidi-card {
  padding: 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--tp-line);
  background: var(--tp-surface);
}

.io-bidi-card[dir="rtl"] {
  background: #f3f7fd;
  border-color: var(--tp-gblue-border);
  font-family: "Shabnam", Tahoma, sans-serif;
}

.io-bidi-tag {
  display: inline-block;
  padding: 0.16rem 0.52rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--tp-line);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--tp-navy);
  margin-bottom: 0.45rem;
}

/* ==========================================================================
   5. MINIMALIST SECTIONS, HEADINGS & MOTHER-BRAND CONSTELLATION STRIP
   ========================================================================== */

.io-section {
  padding: clamp(4rem, 6.8vw, 6rem) 0;
  border-bottom: 1px solid var(--tp-line);
}

.io-section--soft {
  background: var(--tp-surface);
}

.io-section--warm {
  background: var(--tp-surface-warm);
}

.io-sec-head {
  max-width: 680px;
  margin-bottom: clamp(2rem, 3.6vw, 2.9rem);
}

.io-sec-head--center {
  margin-inline: auto;
  text-align: center;
}

.io-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--tp-gblue-soft);
  color: var(--tp-gblue);
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.fa .io-kicker {
  font-family: "Shabnam", Tahoma, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.76rem;
}

.io-sec-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--tp-ink);
  text-wrap: balance;
}

body.fa .io-sec-title {
  line-height: 1.3;
}

.io-sec-title em {
  font-style: normal;
  color: var(--tp-gblue);
}

.io-sec-lead {
  margin: 0;
  color: var(--tp-ink-body);
  font-size: 1rem;
  line-height: 1.68;
}

/* Mother-Brand Constellation Strip (Diagram 5) */
.io-mother-strip {
  padding: clamp(1.5rem, 2.8vw, 2.1rem);
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fafd 0%, #eef4fc 100%);
  border: 1px solid var(--tp-gblue-border);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: center;
}

.io-mother-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--tp-line);
  direction: ltr;
}

.io-mother-node {
  flex: 1;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--tp-line);
  background: var(--tp-surface);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.io-mother-node:hover {
  border-color: var(--tp-gblue);
  transform: translateY(-2px);
}

.io-mother-node.is-focused {
  background: var(--tp-gblue-soft);
  border-color: var(--tp-gblue);
}

.io-mother-node strong {
  display: block;
  font-family: "Google Sans", sans-serif;
  font-size: 0.84rem;
  color: var(--tp-navy);
}

.io-mother-node span {
  display: block;
  font-size: 0.68rem;
  color: var(--tp-muted);
  margin-top: 2px;
}

.io-mother-bridge {
  font-family: "Google Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tp-gblue);
}

/* ==========================================================================
   6. TEHRANTO.PLUS FLAT TIER CARDS & TRANSPARENT PRICING
   ========================================================================== */

.io-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.io-tier-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.io-tier-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.45rem, 2.5vw, 1.9rem);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--tp-line-strong);
  box-shadow: var(--tp-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.io-tier-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tp-shadow-md);
}

.io-tier-card--gold {
  background: linear-gradient(180deg, #fffdf7 0%, #fbf6e8 100%);
  border-color: rgba(209, 154, 53, 0.45);
}

.io-tier-card--diamond {
  background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
  border-color: rgba(11, 87, 208, 0.32);
}

.io-tier-card--navy {
  background: linear-gradient(160deg, #0c2357 0%, #12357e 100%);
  border-color: rgba(125, 211, 230, 0.38);
  color: #ffffff;
}

.io-tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.io-tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.66rem;
  border-radius: 999px;
  background: var(--tp-surface);
  border: 1px solid var(--tp-line);
  font-family: "Google Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--tp-navy);
}

body.fa .io-tier-badge {
  font-family: "Shabnam", sans-serif;
}

.io-tier-card--gold .io-tier-badge {
  background: #fdf2d0;
  border-color: rgba(209, 154, 53, 0.45);
  color: #6e4e0a;
}

.io-tier-card--diamond .io-tier-badge {
  background: #e1edff;
  border-color: rgba(11, 87, 208, 0.28);
  color: var(--tp-gblue);
}

.io-tier-card--navy .io-tier-badge {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: #a5f3fc;
}

.io-off-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.56rem;
  border-radius: 999px;
  background: var(--tp-red-bg);
  border: 1px solid rgba(200, 30, 58, 0.24);
  color: var(--tp-red-was);
  font-family: "Google Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
}

body.fa .io-off-pill {
  font-family: "Shabnam", sans-serif;
}

.io-tier-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--tp-ink);
}

.io-tier-card--navy h3 {
  color: #ffffff;
}

.io-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.48rem;
  margin-bottom: 0.35rem;
  direction: ltr;
  unicode-bidi: isolate;
}

.io-price-main {
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: clamp(2.1rem, 2.8vw, 2.65rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--tp-navy);
}

.io-tier-card--navy .io-price-main {
  color: #ffffff;
}

.io-price-unit {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--tp-muted);
}

.io-tier-card--navy .io-price-unit {
  color: rgba(226, 238, 255, 0.82);
}

.io-price-was {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tp-red-was);
  text-decoration: line-through;
}

.io-tier-card--navy .io-price-was {
  color: #fda4af;
}

.io-tier-note {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  color: var(--tp-ink-body);
  line-height: 1.55;
}

.io-tier-card--navy .io-tier-note {
  color: rgba(226, 238, 255, 0.88);
}

.io-check-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
  flex: 1;
}

.io-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.52rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--tp-ink-body);
}

.io-tier-card--navy .io-check-list li {
  color: rgba(241, 245, 255, 0.92);
}

.io-check-list li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  margin-top: 0.12rem;
  border-radius: 50%;
  background: rgba(11, 87, 208, 0.11);
  color: var(--tp-gblue);
  display: inline-grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}

.io-tier-card--navy .io-check-list li::before {
  background: rgba(125, 211, 230, 0.2);
  color: #a5f3fc;
}

/* ==========================================================================
   7. DIAGRAM 3 — INTERACTIVE 4-PHASE ENGINEERING CIRCUIT ([data-io-pipeline])
   ========================================================================== */

.io-pipeline-box {
  padding: clamp(1.5rem, 3vw, 2.3rem);
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--tp-line-strong);
  box-shadow: var(--tp-shadow-md);
}

.io-pipeline-nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.io-pipe-step {
  appearance: none;
  position: relative;
  padding: 1rem 1rem 0.95rem;
  border-radius: 18px;
  background: var(--tp-surface);
  border: 1.5px solid var(--tp-line);
  text-align: start;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.io-pipe-step:hover {
  border-color: rgba(11, 87, 208, 0.4);
  transform: translateY(-2px);
}

.io-pipe-step.is-active {
  background: #eef4ff;
  border-color: var(--tp-gblue);
  box-shadow: 0 12px 26px -10px rgba(11, 87, 208, 0.22);
}

.io-pipe-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid var(--tp-line-strong);
  font-family: "Google Sans", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--tp-navy);
  margin-bottom: 0.55rem;
  direction: ltr;
}

.io-pipe-step.is-active .io-pipe-num {
  background: var(--tp-gblue);
  border-color: var(--tp-gblue);
  color: #ffffff;
}

.io-pipe-step strong {
  display: block;
  font-family: "Google Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--tp-ink);
  line-height: 1.25;
}

body.fa .io-pipe-step strong {
  font-family: "Shabnam", sans-serif;
}

.io-pipe-step span {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.75rem;
  color: var(--tp-muted);
}

.io-pipeline-detail {
  padding: 1.25rem 1.4rem;
  border-radius: 18px;
  background: var(--tp-surface);
  border: 1px solid var(--tp-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.io-pipeline-detail h3 {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
  color: var(--tp-navy);
}

.io-pipeline-detail p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.88rem;
  color: var(--tp-ink-body);
}

.io-pipeline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.io-pipeline-chips span {
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--tp-gblue-border);
  color: var(--tp-gblue);
  font-family: "Google Sans", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
}

body.fa .io-pipeline-chips span {
  font-family: "Shabnam", sans-serif;
}

/* ==========================================================================
   8. DIAGRAM 4 — INTERACTIVE 3-YEAR OWNERSHIP VS. SAAS RENT ([data-io-tco])
   ========================================================================== */

.io-tco-card {
  padding: clamp(1.5rem, 3vw, 2.3rem);
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--tp-line-strong);
  box-shadow: var(--tp-shadow-md);
}

.io-tco-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.io-seat-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  padding: 0.32rem;
  border-radius: 999px;
  background: var(--tp-surface);
  border: 1px solid var(--tp-line);
}

.io-seat-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.44rem 0.9rem;
  border-radius: 999px;
  font-family: "Google Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tp-ink-body);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

body.fa .io-seat-btn {
  font-family: "Shabnam", sans-serif;
}

.io-seat-btn.is-active {
  background: var(--tp-navy);
  color: #ffffff;
}

.io-tco-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.io-tco-col {
  padding: 1.3rem;
  border-radius: 20px;
  border: 1px solid var(--tp-line);
  background: var(--tp-surface);
}

.io-tco-col--owned {
  background: linear-gradient(155deg, #eef5ff 0%, #f4fbfd 100%);
  border-color: var(--tp-gblue-border);
}

.io-tco-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tp-muted);
}

body.fa .io-tco-label {
  letter-spacing: 0;
  text-transform: none;
}

.io-tco-col--owned .io-tco-label {
  color: var(--tp-gblue);
}

.io-tco-amount {
  margin: 0.35rem 0 0.7rem;
  font-family: "Google Sans", sans-serif;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 700;
  color: var(--tp-red-was);
  direction: ltr;
  unicode-bidi: isolate;
}

.io-tco-col--owned .io-tco-amount {
  color: var(--tp-navy);
}

.io-tco-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(15, 44, 107, 0.08);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.io-tco-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f43f5e, #be123c);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.io-tco-col--owned .io-tco-fill {
  background: linear-gradient(90deg, var(--tp-gblue), var(--tp-cyan-bright));
}

.io-tco-note {
  margin: 0;
  font-size: 0.83rem;
  color: var(--tp-ink-body);
  line-height: 1.55;
}

/* ==========================================================================
   9. PORTFOLIO WEBSITE CARDS, PILLARS & VERBATIM REVIEWS
   ========================================================================== */

.io-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.io-site-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--tp-line-strong);
  overflow: hidden;
  box-shadow: var(--tp-shadow-sm);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.io-site-card:hover {
  transform: translateY(-4px);
  border-color: var(--tp-gblue);
  box-shadow: var(--tp-shadow-md);
}

.io-site-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #eef2f8;
  border-bottom: 1px solid var(--tp-line);
  overflow: hidden;
}

.io-site-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}

.io-site-card:hover .io-site-media img {
  transform: scale(1.03);
}

.io-site-body {
  padding: 1.15rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.io-site-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--tp-gblue);
}

.io-site-body h3 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--tp-ink);
}

.io-site-body p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--tp-ink-body);
  line-height: 1.52;
}

/* 6 Architecture Pillars Grid */
.io-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.io-pillar-card {
  padding: 1.35rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--tp-line);
  box-shadow: var(--tp-shadow-sm);
}

.io-pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--tp-gblue-soft);
  color: var(--tp-gblue);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.io-pillar-icon svg {
  width: 20px;
  height: 20px;
}

.io-pillar-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--tp-ink);
}

.io-pillar-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--tp-ink-body);
  line-height: 1.58;
}

/* Verbatim Google & LinkedIn Reviews */
.io-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.io-review-card {
  padding: 1.35rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--tp-line);
  box-shadow: var(--tp-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.io-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  direction: ltr;
}

.io-review-source {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--tp-surface);
  border: 1px solid var(--tp-line);
  font-family: "Google Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--tp-navy);
  text-decoration: none;
}

.io-review-stars {
  color: #f59e0b;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

.io-review-quote {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--tp-ink-body);
  direction: ltr;
  text-align: left;
}

.io-review-author {
  font-family: "Google Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--tp-navy);
  direction: ltr;
  text-align: left;
}

/* Clean Minimalist FAQ Accordion */
.io-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.io-faq-item {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--tp-line-strong);
  overflow: hidden;
}

.io-faq-item summary {
  list-style: none;
  padding: 1.05rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--tp-ink);
}

body.fa .io-faq-item summary {
  font-family: "Shabnam", Tahoma, sans-serif;
}

.io-faq-item summary::-webkit-details-marker {
  display: none;
}

.io-faq-item summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tp-surface);
  color: var(--tp-gblue);
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  flex-shrink: 0;
}

.io-faq-item[open] summary::after {
  content: "−";
  background: var(--tp-gblue-soft);
}

.io-faq-body {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.88rem;
  color: var(--tp-ink-body);
  line-height: 1.68;
}

/* ==========================================================================
   10. WEB-ONLY ONLINE ESTIMATOR, ONTARIO 13% HST & STRIPE CHECKOUT MODAL
   ========================================================================== */

.io-estimator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.io-est-options {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.io-est-card {
  position: relative;
  padding: 1.25rem 1.35rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid var(--tp-line-strong);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.io-est-card:hover {
  border-color: rgba(11, 87, 208, 0.45);
}

.io-est-card.is-selected {
  background: #f4f8ff;
  border-color: var(--tp-gblue);
  box-shadow: 0 12px 28px -12px rgba(11, 87, 208, 0.25);
}

.io-est-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.io-est-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  color: var(--tp-ink);
}

.io-est-card p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--tp-ink-body);
}

.io-est-price-tag {
  text-align: end;
  direction: ltr;
  unicode-bidi: isolate;
  flex-shrink: 0;
}

.io-est-price-tag strong {
  display: block;
  font-family: "Google Sans", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--tp-navy);
}

.io-est-price-tag s {
  font-size: 0.78rem;
  color: var(--tp-red-was);
}

.io-stepper-row {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--tp-line-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.io-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.24rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--tp-line-strong);
  direction: ltr;
}

.io-stepper button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--tp-surface);
  color: var(--tp-navy);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.io-stepper button:hover:not(:disabled) {
  background: var(--tp-gblue-soft);
  color: var(--tp-gblue);
}

.io-stepper button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.io-stepper output {
  min-width: 64px;
  text-align: center;
  font-family: "Google Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--tp-navy);
}

.io-summary-box {
  position: sticky;
  top: 88px;
  padding: 1.45rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--tp-line-strong);
  box-shadow: var(--tp-shadow-md);
}

.io-summary-title {
  margin: 0 0 0.9rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--tp-navy);
}

.io-sum-lines {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px dashed var(--tp-line-strong);
}

.io-sum-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--tp-ink-body);
}

.io-sum-row strong {
  font-family: "Google Sans", sans-serif;
  color: var(--tp-navy);
  direction: ltr;
  unicode-bidi: isolate;
}

.io-sum-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.65rem 0 0.85rem;
}

.io-sum-total-val {
  font-family: "Google Sans", sans-serif;
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--tp-navy);
  direction: ltr;
  unicode-bidi: isolate;
}

.io-payplan-radios {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.io-payplan-btn {
  appearance: none;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  width: 100%;
  padding: 0.68rem 0.82rem;
  border-radius: 14px;
  border: 1.5px solid var(--tp-line-strong);
  background: var(--tp-surface);
  color: var(--tp-ink-body);
  text-align: start;
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.io-payplan-btn.is-active {
  background: #ffffff;
  border-color: var(--tp-navy);
  color: var(--tp-navy);
  font-weight: 600;
}

.io-payplan-dot {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  flex-shrink: 0;
  position: relative;
}

.io-payplan-btn.is-active .io-payplan-dot {
  border-color: var(--tp-navy);
}

.io-payplan-btn.is-active .io-payplan-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--tp-navy);
}

/* Checkout Modal */
.io-checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.io-checkout-modal[data-open="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.io-checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 44, 0.62);
  backdrop-filter: blur(8px);
}

.io-checkout-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92dvh, 820px);
  overflow: auto;
  padding: clamp(1.35rem, 3vw, 1.95rem);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--tp-line-strong);
  box-shadow: 0 28px 80px rgba(4, 20, 54, 0.32);
}

.io-checkout-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--tp-line);
}

.io-checkout-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--tp-line-strong);
  background: #ffffff;
  color: var(--tp-navy);
  font-size: 1.3rem;
  cursor: pointer;
}

.io-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.io-field {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.io-field--wide {
  grid-column: 1 / -1;
}

.io-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tp-navy);
}

.io-field input,
.io-field textarea,
.io-field select {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--tp-line-strong);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--tp-ink);
  background: #ffffff;
}

.io-field textarea {
  min-height: 84px;
  resize: vertical;
}

.io-terms-box {
  grid-column: 1 / -1;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: var(--tp-surface);
  border: 1px solid var(--tp-line-strong);
  font-size: 0.82rem;
}

.io-terms-box label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--tp-ink-body);
}

.io-terms-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--tp-navy);
}

.io-sig-line {
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--tp-line-strong);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--tp-muted);
}

/* ==========================================================================
   11. LIVE 3-MONTH TORONTO CONSULTATION CALENDAR (#booking-calendar)
   ========================================================================== */

.io-cal-shell {
  padding: clamp(1.45rem, 2.8vw, 2.15rem);
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--tp-line-strong);
  box-shadow: var(--tp-shadow-md);
}

.io-cal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.io-cal-months {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.io-cal-month-btn {
  appearance: none;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--tp-line-strong);
  background: var(--tp-surface);
  color: var(--tp-navy);
  font-family: "Google Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

body.fa .io-cal-month-btn {
  font-family: "Shabnam", sans-serif;
}

.io-cal-month-btn.is-active {
  background: var(--tp-navy);
  border-color: var(--tp-navy);
  color: #ffffff;
}

.io-cal-dates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 0.48rem;
  max-height: 250px;
  overflow-y: auto;
  padding: 2px;
  margin-bottom: 1.1rem;
}

.io-cal-date {
  appearance: none;
  padding: 0.55rem 0.4rem;
  border-radius: 14px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: var(--tp-navy);
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-family: inherit;
}

.io-cal-date:hover {
  border-color: var(--tp-navy);
  background: #eef4fc;
}

.io-cal-date.is-selected {
  background: var(--tp-navy);
  border-color: var(--tp-navy);
  color: #ffffff;
}

.io-cal-date small {
  font-size: 0.66rem;
  opacity: 0.8;
}

.io-cal-date strong {
  font-family: "Google Sans", sans-serif;
  font-size: 1rem;
}

.io-cal-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 0.48rem;
}

.io-cal-slot {
  appearance: none;
  min-height: 42px;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: var(--tp-navy);
  font-family: "Google Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  direction: ltr;
}

.io-cal-slot:hover {
  border-color: var(--tp-navy);
  background: #eef4fc;
}

.io-cal-slot.is-selected {
  background: var(--tp-gblue);
  border-color: var(--tp-gblue);
  color: #ffffff;
}

/* ==========================================================================
   12. SOLARI 3D SPLIT-FLAP BOARD & BOTTOM-LEFT FLOATING DOCK
       (Exact Tehranto.Plus Countdown + tehranto.ca Mother-Site Capsule)
   ========================================================================== */

.tp-flap-board {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

.tp-flap-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tp-flap-card {
  position: relative;
  width: 66px;
  height: 72px;
  border-radius: 13px;
  background: linear-gradient(180deg, #1b4294 0%, #0f2862 100%);
  border: 1px solid rgba(140, 230, 248, 0.34);
  box-shadow: 0 12px 24px rgba(3, 10, 28, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 1.9rem;
  font-weight: 700;
  perspective: 320px;
  overflow: hidden;
  user-select: none;
}

.tp-flap-half,
.tp-flap-leaf {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.tp-flap-half--top,
.tp-flap-leaf--top {
  top: 0;
  background: linear-gradient(180deg, #1d469c 0%, #112d6b 100%);
  transform-origin: 50% 100%;
}

.tp-flap-half--bottom,
.tp-flap-leaf--bottom {
  bottom: 0;
  background: linear-gradient(180deg, #0d2356 0%, #183d8a 100%);
  transform-origin: 50% 0%;
}

.tp-flap-glyph {
  position: absolute;
  left: 0;
  right: 0;
  height: 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.tp-flap-half--top .tp-flap-glyph,
.tp-flap-leaf--top .tp-flap-glyph { top: 0; }

.tp-flap-half--bottom .tp-flap-glyph,
.tp-flap-leaf--bottom .tp-flap-glyph { top: -100%; }

.tp-flap-seam {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(4, 12, 32, 0.55);
  z-index: 3;
}

.tp-flap-leaf {
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.tp-flap-card.is-flipping .tp-flap-leaf { opacity: 1; }
.tp-flap-card.is-flipping .tp-flap-leaf--top { animation: tpFlapFoldTop 0.22s ease-in forwards; }
.tp-flap-card.is-flipping .tp-flap-leaf--bottom {
  transform: rotateX(90deg);
  animation: tpFlapUnfoldBottom 0.22s 0.21s ease-out forwards;
}

@keyframes tpFlapFoldTop {
  0% { transform: rotateX(0deg); }
  100% { transform: rotateX(-90deg); }
}

@keyframes tpFlapUnfoldBottom {
  0% { transform: rotateX(90deg); }
  100% { transform: rotateX(0deg); }
}

.tp-flap-label {
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(219, 238, 255, 0.86);
}

body.fa .tp-flap-label {
  font-family: "Shabnam", Tahoma, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

/* Bottom-Left Floating Dock (.tp-offer-float) */
.tp-offer-float {
  position: fixed;
  z-index: 2147482000;
  left: clamp(1rem, 2.2vw, 2rem);
  right: auto;
  bottom: clamp(1rem, 2.2vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: calc(100vw - 2rem);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

body.fa .tp-offer-float {
  left: auto;
  right: clamp(1rem, 2.2vw, 2rem);
  align-items: flex-end;
}

.tp-offer-float.is-dismissed {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  pointer-events: none;
}

.tp-offer-float [hidden] {
  display: none !important;
}

.tp-offer-float-card {
  width: 216px;
  padding: 9px 10px 8px;
  display: none;
  flex-direction: column;
  gap: 7px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.14);
  box-shadow: 0 14px 34px rgba(15, 44, 107, 0.14), 0 2px 6px rgba(15, 44, 107, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tp-offer-float-card.is-active:not([hidden]) {
  display: flex;
}

.tp-offer-float-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 44, 107, 0.28);
}

.tp-offer-float-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.tp-offer-float-top-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.tp-offer-float-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 0.54rem;
  border-radius: 999px;
  background: #fff1f3;
  border: 1px solid rgba(190, 18, 60, 0.24);
  color: #be123c;
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  white-space: nowrap;
}

body.fa .tp-offer-float-badge {
  font-family: "Shabnam", Tahoma, sans-serif;
  font-size: 0.62rem;
}

.tp-offer-float-close,
.tp-club-float-close {
  appearance: none;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  border-radius: 50%;
  background: #f6f5f1;
  border: 1px solid #e2dfd7;
  color: #4b5d7e;
  font-size: 0.85rem;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.tp-offer-float-close:hover,
.tp-club-float-close:hover {
  background: #e9e5dc;
  color: var(--tp-navy);
}

.tp-offer-float-link {
  display: block;
  text-decoration: none;
}

.tp-flap-board--float {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 5px;
  width: 100%;
}

.tp-flap-board--float .tp-flap-col {
  gap: 3px;
}

.tp-flap-board--float .tp-flap-card {
  width: 100%;
  height: 34px;
  border-radius: 9px;
  font-size: 0.96rem;
  background: linear-gradient(180deg, #102a63 0%, #0b1e48 49%, #081739 51%, #133172 100%);
  border: 1px solid rgba(15, 44, 107, 0.38);
  box-shadow: 0 5px 12px rgba(11, 29, 69, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.tp-flap-board--float .tp-flap-label {
  font-size: 0.48rem;
  color: #526588;
}

/* Mother-Site Capsule (tehranto.ca ↗ — Exact Tehranto Club Pill Geometry) */
.tp-club-float-card {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 216px;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  padding: 0 6px 0 7px;
  gap: 5px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.13);
  box-shadow: 0 14px 34px rgba(8, 27, 67, 0.14), 0 2px 6px rgba(15, 44, 107, 0.05);
  direction: ltr;
  overflow: hidden;
}

body.fa .tp-club-float-card {
  direction: rtl;
  padding: 0 7px 0 6px;
}

.tp-club-float-card.is-active:not([hidden]) {
  display: inline-flex;
}

@media (min-width: 641px) {
  .tp-offer-float .tp-offer-float-card:not([hidden]) { display: flex; }
  .tp-offer-float .tp-club-float-card:not([hidden]) { display: inline-flex; }
}

.tp-club-float-link {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  gap: 6px;
  text-decoration: none;
  color: var(--tp-navy);
}

.tp-club-float-logo {
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(15, 44, 107, 0.12);
}

.tp-club-float-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  height: 36px;
  padding: 2px 7px;
  gap: 2px;
  border-radius: 999px;
  background: #f6f5f1;
  border: 1px solid #e2dfd7;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.tp-club-float-label {
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.53rem;
  font-weight: 700;
  color: #64748b;
  line-height: 1;
  white-space: nowrap;
}

body.fa .tp-club-float-label {
  font-family: "Shabnam", Tahoma, sans-serif;
  font-size: 0.55rem;
}

.tp-club-float-domain {
  font-family: "Google Sans", "Roboto", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--tp-navy);
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.tp-club-float-link:hover .tp-club-float-cta,
.tp-club-float-link:focus-visible .tp-club-float-cta {
  background: linear-gradient(135deg, #0f2c6b 0%, #153c8d 100%);
  border-color: #0f2c6b;
}

.tp-club-float-link:hover .tp-club-float-label,
.tp-club-float-link:focus-visible .tp-club-float-label {
  color: #f4dfab;
}

.tp-club-float-link:hover .tp-club-float-domain,
.tp-club-float-link:focus-visible .tp-club-float-domain {
  color: #ffffff;
}

/* ==========================================================================
   13. OFFERS HERO BOARD, LEGAL / TERMS PAGES & RESPONSIVE BREAKPOINTS
   ========================================================================== */

.io-offers-board {
  padding: clamp(1.4rem, 2.8vw, 2rem);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 12%, rgba(43, 184, 212, 0.28), transparent 48%),
    linear-gradient(155deg, #0b2154 0%, #0f2c6b 55%, #091a42 100%);
  border: 1px solid rgba(125, 211, 230, 0.34);
  box-shadow: 0 28px 64px rgba(8, 24, 62, 0.24);
  color: #ffffff;
  text-align: center;
}

.io-offers-board-inner {
  margin: 1rem 0;
  padding: 1.15rem 1rem;
  border-radius: 18px;
  background: rgba(5, 15, 39, 0.46);
  border: 1px solid rgba(140, 230, 248, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.io-legal-card {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--tp-line-strong);
  box-shadow: var(--tp-shadow-sm);
  margin-bottom: 1.25rem;
}

.io-legal-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--tp-navy);
}

.io-legal-card p,
.io-legal-card li {
  color: var(--tp-ink-body);
  font-size: 0.92rem;
  line-height: 1.72;
}

.io-legal-card ul {
  margin: 0.6rem 0 0;
  padding-inline-start: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

@media (max-width: 1024px) {
  .io-hero-grid,
  .io-mother-strip,
  .io-estimator-grid,
  .io-cal-grid {
    grid-template-columns: 1fr;
  }

  .io-tier-grid,
  .io-portfolio-grid,
  .io-pillars-grid,
  .io-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .io-pipeline-nodes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .io-summary-box {
    position: static;
  }
}

@media (max-width: 640px) {
  .io-hero {
    padding-top: 5.7rem;
  }

  .io-tier-grid,
  .io-tier-grid--two,
  .io-portfolio-grid,
  .io-pillars-grid,
  .io-reviews-grid,
  .io-pipeline-nodes,
  .io-tco-bars,
  .io-bidi-split,
  .io-cwv-grid,
  .io-form-grid {
    grid-template-columns: 1fr;
  }

  .io-mother-diagram {
    flex-direction: column;
  }

  .io-orbit-wheel {
    width: min(100%, 340px);
  }

  .io-orbit-core {
    width: 104px;
    height: 104px;
  }

  .io-orbit-node {
    padding: 0.4rem 0.62rem 0.4rem 0.45rem;
    gap: 0.4rem;
    border-radius: 13px;
  }

  .io-orbit-node-badge {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .io-orbit-node-title {
    font-size: 0.68rem;
  }

  .io-orbit-node-sub {
    font-size: 0.58rem;
  }

  .io-subnav {
    border-radius: 20px;
  }

  /* Mobile Bottom-Left Dock synced cleanly beside 56x56 Champagne-Gold Launcher */
  .tp-offer-float,
  body.fa .tp-offer-float {
    left: 1rem;
    right: auto;
    bottom: max(0.9rem, env(safe-area-inset-bottom));
    max-width: calc(100vw - 98px);
  }

  .tp-offer-float-card {
    width: min(214px, calc(100vw - 98px));
    padding: 8px 9px 7px;
    gap: 6px;
    border-radius: 16px;
  }

  .tp-flap-board--float .tp-flap-card {
    height: 31px;
    font-size: 0.86rem;
  }

  .tp-club-float-card {
    width: auto;
    max-width: calc(100vw - 98px);
    height: 56px;
    min-height: 56px;
    max-height: 56px;
    padding: 0 9px 0 10px;
  }

  .tp-club-float-logo {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }

  .tp-club-float-cta {
    height: 40px;
    padding: 3px 10px;
  }
}

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