html {
  --accent-color: #0d6efd;
  --positive-text: #198754;
  --positive-bg: #d8f0e2;
  --negative-text: #b3261e;
  --negative-bg: #fdebec;

  --bg-1: #e0e3e7;
  --bg-2: #edf0f3;
  --bg-3: #f7f9fa;
  --border-1: #c0c4c8;

  --text-strong: hsl(0, 0%, 0%);
  --text-normal: hsl(0, 0%, 15%);
  --text-muted: hsl(0, 0%, 35%);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --cookie-notice-offset: 0px;

  /* Bridge Bootstrap tokens to the design-system tokens. */
  --bs-body-color: var(--text-normal);
  --bs-body-bg: var(--bg-1);
  --bs-border-color: var(--border-1);
  --bs-secondary-color: var(--text-muted);
  --bs-tertiary-bg: var(--bg-2);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg-1:     hsl(210, 10%, 93%);
  --bg-2:     hsl(210, 14%, 95%);
  --bg-3:     hsl(200, 33%, 98%);
  --border-1: hsl(210, 6%, 78%);

  --text-strong: hsl(0, 0%, 0%);
  --text-normal: hsl(0, 0%, 15%);
  --text-muted: hsl(0, 0%, 35%);

  --positive-text: #198754;
  --positive-bg: #d8f0e2;
  --negative-text: #b3261e;
  --negative-bg: #fdebec;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg-1: hsl(0, 0%, 2%);
  --bg-2: hsl(0, 0%, 5%);
  --bg-3: hsl(0, 0%, 7%);
  --border-1: hsl(0, 0%, 20%);

  --text-strong: hsl(0, 0%, 100%);
  --text-normal: hsl(0, 0%, 85%);
  --text-muted: hsl(0, 0%, 65%);

  --positive-text: #2fbf66;
  --positive-bg: #173824;
  --negative-text: #ffb3b8;
  --negative-bg: #3a1518;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    color-scheme: dark;
    --bg-1: hsl(0, 0%, 2%);
    --bg-2: hsl(0, 0%, 5%);
    --bg-3: hsl(0, 0%, 7%);
    --border-1: hsl(0, 0%, 20%);

    --text-strong: hsl(0, 0%, 100%);
    --text-normal: hsl(0, 0%, 85%);
    --text-muted: hsl(0, 0%, 65%);

    --positive-text: #2fbf66;
    --positive-bg: #173824;
    --negative-text: #ffb3b8;
    --negative-bg: #3a1518;
  }
}

@media (prefers-color-scheme: light) {
  html[data-theme="auto"] {
    color-scheme: light;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-normal);
  background: radial-gradient(circle at 10% 10%, var(--bg-2) 0, var(--bg-1) 55%);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

body > * {
  width: 100%;
}

a {
  color: var(--accent-color);
}

a:hover {
  color: var(--accent-color);
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
  color: var(--text-strong);
  line-height: 1.25;
}

h1,
.h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

h3,
.h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.global-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 1px solid var(--border-1);
  background: color-mix(in hsl, var(--bg-3) 88%, transparent);
  backdrop-filter: blur(6px);
}

.brand-mark {
  letter-spacing: 0.08em;
}

.navbar-brand {
  color: var(--text-strong);
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--accent-color);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  gap: 12px;
}

.header-left-controls,
.header-right-controls {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
}

.header-left-controls {
  min-width: 0;
}

.header-right-controls {
  margin-left: auto;
  flex: 0 0 auto;
}

.header-nav-main {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.header-nav-main .nav-link {
  color: var(--text-normal);
  font-weight: 600;
  border: 0;
  border-radius: 0;
  min-height: auto;
  padding: 0;
  text-decoration: none;
}

.header-nav-main .nav-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px;
  margin-right: 10px;
  border: 1px solid var(--border-1);
  border-radius: 10px;
  background: var(--bg-3);
  color: var(--text-normal);
  text-decoration: none;
}

.header-home-link:hover {
  color: var(--accent-color);
}

.header-home-icon {
  width: 24px;
  height: 24px;
}

details > summary {
  list-style: none !important;
}

details > summary::marker {
  content: "" !important;
  font-size: 0 !important;
}

details > summary::-webkit-details-marker {
  display: none !important;
}

.mobile-menu {
  position: relative;
  z-index: 1030;
  display: none;
}

.mobile-menu-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border-1);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  background: var(--bg-3);
  color: var(--text-normal);
}

.mobile-menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.mobile-menu-panel {
  display: none;
  position: fixed;
  left: 12px;
  top: 68px;
  width: min(280px, calc(100vw - 24px));
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: var(--bg-3);
  box-shadow: 0 14px 32px color-mix(in srgb, #000 18%, transparent);
  padding: 12px;
  z-index: 1070;
  gap: 8px;
}

.mobile-menu[open] .mobile-menu-panel {
  display: grid;
}

.mobile-menu-panel a {
  color: var(--text-normal);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
}

.mobile-menu-panel a:hover {
  background: var(--bg-2);
  color: var(--accent-color);
}

.header-cta {
  min-width: 72px;
}

.header-popover {
  position: relative;
  z-index: 1030;
}

.header-popover-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border: 1px solid var(--border-1);
  border-radius: 10px;
  min-height: 40px;
  padding: 8px 12px;
  background: var(--bg-3);
  color: var(--text-normal);
  font-weight: 600;
}

.theme-runtime-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-normal);
}

.header-popover-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: max-content;
  min-width: max-content;
  max-width: min(280px, calc(100vw - 24px));
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: var(--bg-3);
  box-shadow: 0 14px 32px color-mix(in srgb, #000 18%, transparent);
  padding: 8px;
  z-index: 1070;
  gap: 4px;
}

.header-popover[open] .header-popover-panel {
  display: grid;
}

@media (hover: hover) and (pointer: fine) {
  .header-popover {
    position: relative;
  }

  .header-popover::after {
    content: "";
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    height: 10px;
  }

  .header-popover .header-popover-panel {
    display: grid;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
  }

  .header-popover:hover .header-popover-panel,
  .header-popover:focus-within .header-popover-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.header-popover-panel a {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  column-gap: 10px;
  width: 100%;
  color: var(--text-normal);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: 8px;
}

.header-popover-panel a:hover {
  background: var(--bg-2);
  color: var(--accent-color);
}

.flag-svg {
  width: 18px;
  height: 12px;
  border: 1px solid color-mix(in srgb, var(--border-1) 70%, transparent);
  border-radius: 2px;
  flex: 0 0 auto;
}

.theme-svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.global-footer {
  border-top: 1px solid var(--border-1);
}

.global-footer a {
  color: var(--text-normal);
  text-decoration: none;
}

.global-footer a:hover {
  color: var(--accent-color);
}

.hero-panel,
.panel,
.card,
.alert,
.table-wrap {
  border: 1px solid var(--border-1);
  background: var(--bg-3);
  border-radius: 12px;
}

.hero-panel {
  padding: var(--space-4);
}

.panel {
  padding: var(--space-3);
}

.card {
  overflow: hidden;
}

.card .card-body {
  padding: 16px 20px;
}

.btn {
  min-height: 40px;
  padding: 8px 16px;
}

.btn-accent {
  color: #fff;
  background: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.btn-accent:hover {
  background: color-mix(in srgb, var(--accent-color) 88%, #000);
  border-color: color-mix(in srgb, var(--accent-color) 88%, #000);
  color: #fff;
}

.btn-outline-ui {
  color: var(--text-normal);
  border: 1px solid var(--border-1);
  background: transparent;
}

.btn-outline-ui:hover,
.btn-outline-ui.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.text-muted {
  color: var(--text-muted) !important;
}

.lead {
  color: var(--text-normal);
}

.small,
small {
  color: var(--text-muted);
}

.kpi-note {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid var(--border-1);
  background: var(--bg-2);
  color: var(--text-normal);
  font-size: 0.75rem;
}

.positive {
  color: var(--positive-text);
  background: var(--positive-bg);
}

.negative {
  color: var(--negative-text);
  background: var(--negative-bg);
}

.alert-secondary {
  color: var(--text-normal);
  background: var(--bg-2);
  border-color: var(--border-1);
}

.legal-text {
  max-width: 900px;
}

.legal-text p {
  margin-bottom: 16px;
}

.legal-subtitle {
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-list {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-list li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.legal-list-columns {
  columns: 2;
  column-gap: 28px;
}

.legal-group-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.legal-group {
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: var(--bg-2);
  padding: 14px 16px;
}

.legal-group-plain {
  margin-bottom: 16px;
}

.legal-group .legal-subtitle {
  margin-top: 0;
}

.legal-group-intro {
  margin-bottom: 10px;
}

.legal-disclosure-list {
  display: grid;
  gap: 8px;
}

.legal-section-disclosure,
.legal-sub-disclosure {
  border: 1px solid var(--border-1);
  border-radius: 10px;
  background: var(--bg-3);
  overflow: hidden;
}

.legal-section-disclosure > summary,
.legal-sub-disclosure > summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-strong);
  padding: 10px 12px;
}

.legal-section-disclosure > summary {
  font-size: 1rem;
  background: var(--bg-2);
}

.legal-section-disclosure > summary:hover,
.legal-sub-disclosure > summary:hover {
  color: var(--accent-color);
}

.legal-section-disclosure[open] > summary,
.legal-sub-disclosure[open] > summary {
  border-bottom: 1px solid var(--border-1);
}

.legal-section-body {
  padding: 10px 12px;
}

.legal-sub-disclosure {
  background: var(--bg-3);
}

.legal-sub-disclosure > p {
  margin: 0;
  padding: 10px 12px;
}

.legal-detail-lines {
  padding: 10px 12px;
}

.legal-detail-lines p {
  margin: 0 0 8px;
}

.legal-detail-lines p:last-child {
  margin-bottom: 0;
}

.booking-frame-wrap {
  border: 1px solid var(--border-1);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-3);
}

.book-layout {
  max-width: 960px;
}

.app-shell.container {
  max-width: 960px;
  flex: 1 0 auto;
}

.global-footer {
  flex-shrink: 0;
}

.home-snap-page {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 104px;
}

html.home-snap-root {
  scroll-snap-type: y mandatory;
  scroll-padding-top: 104px;
}

.home-snap-stack {
  display: grid;
  gap: 24px;
}

.home-snap-section {
  min-height: max(calc(100svh - 112px), 420px);
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  padding-block: 12px;
}

.home-snap-section-last {
  min-height: max(calc(100svh - 280px), 280px);
}

.home-snap-section > * {
  width: 100%;
}

.home-snap-page .global-footer {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 104px;
}

.expertise-snap-page {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 104px;
}

html.expertise-snap-root {
  scroll-snap-type: y mandatory;
  scroll-padding-top: 104px;
}

.expertise-snap-stack {
  display: grid;
  gap: 24px;
}

.expertise-snap-section {
  min-height: max(calc(100svh - 112px), 360px);
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  padding-block: 12px;
}

.expertise-snap-section-last {
  min-height: max(calc(100svh - 280px), 280px);
}

.expertise-snap-section > * {
  width: 100%;
}

.expertise-snap-page .global-footer {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 104px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.hero-split-copy {
  min-width: 0;
}

.hero-split-photo-wrap {
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-1);
  background: var(--bg-2);
  min-height: 220px;
}

.hero-split-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tools-vertical-list {
  display: grid;
  gap: 16px;
}

.expertise-vertical-list {
  display: grid;
  gap: 16px;
}

.tool-case-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
}

.expertise-case-card {
  display: block;
}

.tool-case-body,
.expertise-case-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tool-case-copy,
.expertise-case-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.tool-case-action,
.expertise-case-action {
  flex: 0 0 auto;
  align-self: center;
}

.tool-case-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
}

.tool-case-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 120ms linear;
}

.tool-case-photo.is-active {
  opacity: 1;
}

.detail-case-carousel {
  max-width: 420px;
  margin-inline: auto;
}

.book-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-evenly;
  gap: 12px 20px;
}

.book-trust-list li {
  display: flex;
  flex: 1 1 150px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--positive-text);
  font-size: 0.875rem;
  text-align: center;
}

.book-trust-list svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--positive-text);
}

.form-label {
  color: var(--text-normal);
}

.form-control,
.form-select,
textarea.form-control {
  color: var(--text-normal);
  background-color: var(--bg-3);
  border-color: var(--border-1);
}

.form-control::placeholder,
.form-select::placeholder,
textarea.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  color: var(--text-normal);
  background-color: var(--bg-3);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color) 22%, transparent);
}

.tiona-field-invalid.form-control,
.tiona-field-invalid.form-select,
textarea.tiona-field-invalid.form-control {
  border-color: var(--negative-text);
  background-color: color-mix(in srgb, var(--negative-bg) 24%, var(--bg-3));
  box-shadow: 0 0 0 0.15rem color-mix(in srgb, var(--negative-text) 18%, transparent);
}

.tiona-field-invalid.form-control:focus,
.tiona-field-invalid.form-select:focus,
textarea.tiona-field-invalid.form-control:focus {
  border-color: var(--negative-text);
  box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--negative-text) 24%, transparent);
}

.consent-item.tiona-field-invalid .form-check-input {
  border-color: var(--negative-text);
  box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--negative-text) 18%, transparent);
}

.consent-item.tiona-field-invalid .form-check-label,
.consent-item.tiona-field-invalid .consent-link {
  color: var(--negative-text);
}

.phone-field-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

[data-phone-country] {
  max-width: 112px;
  flex: 0 0 112px;
  padding-right: 2rem;
}

[data-phone-local] {
  flex: 1 1 auto;
  min-width: 0;
}

.cookie-notice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1070;
  max-width: 380px;
  width: max-content;
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: var(--bg-3);
  box-shadow: 0 16px 36px color-mix(in srgb, #000 22%, transparent);
  padding: 12px 14px;
}

.grecaptcha-badge {
  z-index: 1070 !important;
  bottom: 16px !important;
  transition: bottom 0.18s ease-in-out;
}

body.cookie-notice-visible .grecaptcha-badge {
  bottom: calc(16px + var(--cookie-notice-offset)) !important;
}

.cookie-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-notice-icon {
  flex: 0 0 auto;
  width: 3rem;
  margin-right: 8px;
  text-align: center;
  font-size: clamp(2.2rem, 5vh, 3rem);
  line-height: 1;
  align-self: center;
}

.cookie-notice-content {
  flex: 1 1 auto;
  min-width: 0;
}

.cookie-notice[hidden] {
  display: none !important;
}

.cookie-notice-text {
  color: var(--text-normal);
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: left;
}

.cookie-notice-link {
  display: block;
  margin-top: 6px;
  color: var(--accent-color);
}

.cookie-notice-list {
  margin-top: 6px;
  padding-left: 18px;
  font-size: 0.8rem;
  color: var(--text-normal);
}

[data-cookie-ok] {
  flex: 0 0 auto;
}

[data-cookie-ok]:hover {
  color: #fff;
}

.consent-block {
  text-align: center;
}

.consent-item {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
}

.consent-item .form-check-input {
  float: none;
  margin: 0.2rem 0 0;
}

.consent-item .form-check-label {
  text-align: center;
}

.consent-item .consent-text {
  display: inline;
}

.consent-item .consent-link {
  display: inline;
  margin-left: 4px;
}

.app-shell {
  position: relative;
  z-index: 1000;
}

.side-panel {
  z-index: 1010;
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: var(--bg-3);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.page-header-shell {
  z-index: 1020;
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: var(--bg-3);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.page-controls-shell {
  z-index: 1030;
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: var(--bg-2);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.table-frame {
  border: 1px solid var(--border-1);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-3);
}

.table-frame-header,
.table thead th {
  background: var(--bg-3);
  padding: 12px 12px;
  border-bottom: 1px solid var(--border-1);
}

.table-frame-body {
  overflow: auto;
}

.table tbody td {
  padding: 8px 12px;
}

.table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--bg-2) 40%, transparent);
}

.table-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kpi-tile {
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 16px 20px;
  background: var(--bg-3);
}

.accordion-shell {
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: var(--bg-3);
}

.alert-banner {
  border: 1px solid var(--border-1);
  border-radius: 10px;
  padding: 8px 12px;
  background: var(--bg-2);
}

.alert-banner.info {
  color: var(--text-normal);
}

.alert-banner.success {
  color: var(--positive-text);
  background: var(--positive-bg);
}

.alert-banner.error {
  color: var(--negative-text);
  background: var(--negative-bg);
}

.overlay-blur {
  filter: blur(3px);
}

.modal-overlay-shell {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: color-mix(in srgb, #000 30%, transparent);
  display: none;
}

.modal-overlay-shell.is-open {
  display: block;
}

.modal-card-shell {
  margin: 6vh auto;
  max-width: 680px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid var(--border-1);
  background: var(--bg-3);
}

.tooltip-shell {
  position: absolute;
  z-index: 1070;
  border: 1px solid var(--border-1);
  border-radius: 8px;
  background: var(--bg-3);
  padding: 8px 12px;
}

.empty-state {
  border: 1px dashed var(--border-1);
  border-radius: 12px;
  background: var(--bg-2);
  padding: 16px 20px;
  color: var(--text-muted);
}

@media (max-width: 991.98px) {
  .cookie-notice {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    width: 100%;
    border-radius: 12px 12px 0 0;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }

  .cookie-notice-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    row-gap: 8px;
    align-items: stretch;
  }

  .cookie-notice-icon {
    margin-right: 0;
    align-self: center;
  }

  .grecaptcha-badge {
    bottom: 0 !important;
  }

  body.cookie-notice-visible .grecaptcha-badge {
    bottom: var(--cookie-notice-offset) !important;
  }

  [data-cookie-ok] {
    margin-top: 0;
    grid-column: 1 / -1;
    justify-self: end;
  }

  .book-layout {
    max-width: 100%;
  }

  .app-shell.container {
    max-width: 100%;
  }

  .legal-list-columns {
    columns: 1;
  }

  .tool-case-card {
    grid-template-columns: 1fr;
  }

  .tool-case-carousel {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-split-photo-wrap {
    min-height: 240px;
  }

  .home-snap-section {
    min-height: auto;
    scroll-snap-align: none;
    display: block;
    padding-block: 0;
  }

  .home-snap-section-last {
    min-height: auto;
  }

  html.home-snap-root {
    scroll-snap-type: none;
    scroll-padding-top: 0;
  }

  .home-snap-page {
    scroll-snap-type: none;
    scroll-padding-top: 0;
  }

  html.expertise-snap-root {
    scroll-snap-type: none;
    scroll-padding-top: 0;
  }

  .expertise-snap-page {
    scroll-snap-type: none;
    scroll-padding-top: 0;
  }

  .expertise-snap-section {
    min-height: auto;
    scroll-snap-align: none;
    display: block;
    padding-block: 0;
  }

  .expertise-snap-section-last {
    min-height: auto;
  }

  .tool-case-body,
  .expertise-case-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .tool-case-action,
  .expertise-case-action {
    align-self: flex-end;
  }

  .header-home-link {
    display: none;
  }

  .header-nav-main {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu-panel {
    left: 8px;
    width: auto;
    top: 64px;
  }

  .header-popover-panel {
    right: 0;
    left: auto;
  }

  .theme-runtime-badge {
    gap: 4px;
    margin-left: 2px;
    font-size: 0.75rem;
  }
}

/* Booking widget: trim residual white edge around iframe */
.booking-widget-panel {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.booking-widget-panel .meetergo-iframe {
  display: block !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: #09090b !important;
  line-height: 0 !important;
}

.booking-widget-panel .meetergo-iframe iframe {
  display: block !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  width: calc(100% + 2px) !important;
  max-width: none !important;
  margin: -1px !important;
}

.booking-widget-panel [class*="meetergo"] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 10% 10%, color-mix(in srgb, var(--bg-2) 88%, #eff6ff) 0, var(--bg-1) 55%);
}

.brand-mark {
  text-decoration: none;
  letter-spacing: 0.2em;
  margin-right: 0;
}

.header-left-controls {
  flex: 0 0 auto;
}

.header-right-controls {
  gap: 10px;
  margin-left: auto;
}

.header-cta {
  min-width: 118px;
}

.btn-positive {
  color: #fff;
  background: var(--positive-text);
  border: 1px solid var(--positive-text);
}

.btn-positive:hover {
  color: #fff;
  background: color-mix(in srgb, var(--positive-text) 88%, #000);
  border-color: color-mix(in srgb, var(--positive-text) 88%, #000);
}

.app-shell.container {
  max-width: 980px;
}

.home-snap-page {
  scroll-snap-type: y mandatory;
  scroll-padding-top: 96px;
}

html.home-snap-root {
  scroll-snap-type: y mandatory;
  scroll-padding-top: 96px;
}

.home-snap-section,
.home-snap-section-last {
  min-height: calc(100svh - 96px);
  display: flex;
  align-items: center;
  padding-block: 16px;
}

.home-snap-section > *,
.home-snap-section-last > * {
  width: 100%;
}

.tiona-hero-panel {
  overflow: hidden;
}

.tiona-hero-split-compact {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
}

.tiona-animation-stage {
  min-height: 220px;
  border: 1px dashed var(--border-1);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-2) 72%, white);
  width: 100%;
}

.tiona-benefit-card .card-body,
.tiona-advantage-card .card-body {
  display: flex;
  flex-direction: column;
}

.tiona-benefit-icon {
  width: 52px;
  height: 52px;
  display: block;
  margin-bottom: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--text-strong);
}

.tiona-trust-carousel {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-1);
  background: color-mix(in srgb, var(--bg-3) 92%, white);
  max-width: 420px;
  margin-inline: auto;
}

.tiona-trust-track {
  display: flex;
  justify-content: center;
}

.tiona-trust-carousel.is-animated .tiona-trust-track {
  width: max-content;
  animation: tionaTrustScroll 22s linear infinite;
}

.tiona-trust-card {
  width: min(420px, 100%);
  flex: 0 0 100%;
  align-items: center;
  text-align: center;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tiona-trust-card:hover,
.tiona-trust-card:focus-within {
  transform: translateY(-4px) scale(1.018);
  border-color: color-mix(in srgb, var(--accent-color) 45%, var(--border-1));
  box-shadow: 0 20px 48px color-mix(in srgb, #000 14%, transparent);
}

.tiona-trust-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto 14px;
}

.tiona-trust-name {
  color: var(--text-strong);
}

.tiona-trust-quote {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.tiona-bullet-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.tiona-bullet-list li {
  color: var(--text-normal);
}

.tiona-cta-pair {
  margin-top: 18px;
}

.tiona-cta-center .tiona-cta-pair {
  justify-content: center !important;
}

.tiona-form-panel {
  max-width: 760px;
  margin: 0 auto;
}

.tiona-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@keyframes tionaTrustScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

@media (max-width: 991.98px) {
  .header-right-controls {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .header-cta {
    min-width: 0;
  }

  .tiona-hero-split-compact {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
}

  .tiona-animation-stage {
  min-height: 220px;
  border: 1px dashed var(--border-1);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-2) 72%, white);
  width: 100%;
}
}

@media (max-width: 575.98px) {
  .brand-mark {
    font-size: 0.95rem;
  }

  .header-nav {
    gap: 8px;
    align-items: flex-start;
  }

  .header-right-controls {
    gap: 6px;
    max-width: none;
  }

  .header-popover-toggle,
  .header-cta {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}

.tiona-advantage-card h3 sup {
  font-size: 0.6em;
  line-height: 0;
  position: relative;
  top: -0.45em;
}

.tiona-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: stretch;
}

.tiona-about-copy {
  min-width: 0;
}

.tiona-about-photo {
  width: min(240px, 100%);
  aspect-ratio: 1 / 1;
  margin-left: auto;
  border: 1px solid var(--border-1);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-2) 84%, white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .tiona-about-layout {
    grid-template-columns: 1fr;
  }

  .tiona-about-photo {
    width: min(220px, 100%);
    margin-left: 0;
  }
}




.tiona-hero-brand {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-strong);
}

.tiona-benefit-emoji {
  display: block;
  margin-bottom: 14px;
  font-size: 2.5rem;
  line-height: 1;
}


@media (max-width: 767.98px) {
  .global-header {
    position: sticky;
  }

  .header-nav {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }

  .header-left-controls {
    width: 100%;
  }

  .header-right-controls {
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .header-cta {
    flex: 0 0 auto;
    min-width: auto;
    text-align: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
  }

  .header-popover {
    margin-left: auto;
  }

  .header-popover-toggle {
    min-width: 0;
    padding-inline: 10px;
  }

  .theme-runtime-badge {
    gap: 4px;
  }

  .app-shell.container {
    max-width: 100%;
    padding: 16px 12px 20px;
  }

  .hero-panel,
  .panel {
    padding: 20px 16px;
  }

  .tiona-hero-split-compact {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tiona-animation-stage {
    min-height: 160px;
  }

  .tag-pill {
    max-width: 100%;
    white-space: normal;
  }

  .tiona-trust-card {
    width: min(100%, 320px);
    padding: 20px 16px;
  }

  .tiona-trust-logo {
    max-width: 180px;
  }

  .tiona-about-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tiona-about-photo {
    width: min(200px, 100%);
    margin-left: 0;
  }
}
.tiona-hero-emphasis {
  font-weight: 800;
  color: #0a49b8;
}
.tiona-hero-copy-simple {
  max-width: 760px;
}

.tiona-hero-subcopy {
  display: grid;
  gap: 0.2rem;
}

.tiona-hero-line {
  margin-bottom: 0;
}

.tiona-copy-spacer {
  display: block;
  width: 100%;
}

.tiona-hero-subcopy .tiona-copy-spacer {
  height: 0.95rem;
}

.tiona-about-copy .tiona-copy-spacer {
  height: 0.55rem;
}

.tiona-simple-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.tiona-simple-list li {
  color: var(--text-normal);
}

.tiona-impact-accordion {
  display: grid;
  gap: 12px;
}

.tiona-impact-item {
  border: 1px solid var(--border-1);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-3) 94%, transparent);
  overflow: hidden;
}

.tiona-impact-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 18px 20px;
  color: var(--text-strong);
  font-weight: 700;
}

.tiona-impact-item summary:hover {
  color: var(--accent-color);
}

.tiona-impact-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.tiona-impact-toggle::before,
.tiona-impact-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.tiona-impact-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.tiona-impact-item[open] .tiona-impact-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

.tiona-impact-body {
  padding: 0 20px 18px;
  color: var(--text-normal);
}

.tiona-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.tiona-pricing-groups {
  display: grid;
  gap: 18px;
}

.tiona-pricing-group {
  margin: 0;
}
.tiona-pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: none;
  border: 1px solid var(--border-1);
  border-radius: 24px;
  background: color-mix(in srgb, var(--bg-3) 96%, transparent);
  padding: 24px 22px;
}

.tiona-pricing-value {
  color: var(--text-strong);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
}

.tiona-pricing-list {
  gap: 10px;
}



@media (max-width: 767.98px) {
  .header-right-controls {
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .header-cta {
    flex: 0 0 auto;
    width: auto;
    min-width: auto;
    min-height: 0;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
  }
}


@media (max-width: 991.98px) {
  .tiona-pricing-grid {
    grid-template-columns: 1fr;
  }
}

.tiona-flywheel-shell {
  position: relative;
}

.tiona-flywheel {
  --wheel-size: min(860px, 100%);
  --ring-size: 560px;
  --orbit-radius: 280px;
  --step-angle: 72deg;
  --card-width: 144px;
  --card-height: 92px;
  position: relative;
  width: min(var(--wheel-size), 100%);
  min-height: 680px;
  margin: 0 auto;
}

.tiona-flywheel-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  width: var(--ring-size);
  height: var(--ring-size);
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent-color) 28%, var(--border-1));
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at center, transparent 58%, color-mix(in srgb, var(--accent-color) 10%, transparent) 58.5%, transparent 60%),
    conic-gradient(from -90deg, color-mix(in srgb, var(--accent-color) 18%, transparent) 0deg 300deg, transparent 300deg 360deg);
  opacity: 0.9;
}

.tiona-flywheel-ring::after {
  content: "";
  position: absolute;
  right: 58px;
  top: 56px;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--accent-color);
  border-right: 2px solid var(--accent-color);
  transform: rotate(45deg);
}

.tiona-flywheel-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 176px;
  height: 176px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent-color) 22%, var(--bg-3)), var(--bg-3));
  border: 1px solid color-mix(in srgb, var(--accent-color) 30%, var(--border-1));
  box-shadow: 0 20px 60px color-mix(in srgb, #000 10%, transparent);
}

.tiona-flywheel-hub span {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: 0.08em;
}

.tiona-flywheel-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--card-width);
  height: var(--card-height);
  transform: translate(-50%, -50%) rotate(calc(var(--step-index) * var(--step-angle))) translateY(calc(var(--orbit-radius) * -1)) rotate(calc(var(--step-index) * var(--step-angle) * -1));
  z-index: 2;
}

.tiona-flywheel-card,
.tiona-flywheel-card-secondary,
.tiona-flywheel-mobile-card {
  border: 1px solid var(--border-1);
  border-radius: 20px;
  background: color-mix(in srgb, var(--bg-3) 96%, transparent);
  box-shadow: 0 16px 40px color-mix(in srgb, #000 10%, transparent);
}

.tiona-flywheel-card {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 14px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tiona-flywheel-card-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--text-strong);
}

.tiona-flywheel-card-secondary {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 18px);
  width: calc(var(--card-width) * 1.5);
  min-height: calc(var(--card-height) * 1.5);
  padding: 18px;
  transform: translateX(-50%) scale(0.92);
  transform-origin: bottom center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 5;
}

.tiona-flywheel-card-secondary p {
  color: var(--text-normal);
  margin-top: 10px;
}

.tiona-flywheel-node:hover .tiona-flywheel-card,
.tiona-flywheel-node:focus-within .tiona-flywheel-card {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-color) 45%, var(--border-1));
  box-shadow: 0 20px 48px color-mix(in srgb, #000 14%, transparent);
}

.tiona-flywheel-node:hover .tiona-flywheel-card-secondary,
.tiona-flywheel-node:focus-within .tiona-flywheel-card-secondary {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.tiona-flywheel-mobile-list {
  display: none;
}

.tiona-flywheel-mobile-card {
  padding: 18px;
}

.tiona-flywheel-mobile-card p {
  color: var(--text-normal);
  margin-top: 10px;
}

@media (max-width: 991.98px) {
  .tiona-flywheel {
    display: none;
  }

  .tiona-flywheel-mobile-list {
    display: grid;
    gap: 14px;
  }
}

/* Flywheel V2 overrides */
.tiona-flywheel {
  --wheel-size: min(596px, 100%);
  --orbit-radius: 188px;
  --step-angle: 72deg;
  --card-width: 136px;
  --card-height: 88px;
  width: min(var(--wheel-size), 100%);
  min-height: 496px;
}

.tiona-flywheel-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: color-mix(in srgb, var(--accent-color) 88%, #ffffff 12%);
}

.tiona-flywheel-arcs {
  filter: drop-shadow(0 8px 24px color-mix(in srgb, var(--accent-color) 12%, transparent));
}

.tiona-flywheel-arc {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  marker-end: url(#tiona-flywheel-arrow);
}

.tiona-flywheel-node {
  width: var(--card-width);
  height: var(--card-height);
  transform: translate(-50%, -50%) rotate(calc(var(--step-index) * var(--step-angle))) translateY(calc(var(--orbit-radius) * -1)) rotate(calc(var(--step-index) * var(--step-angle) * -1));
}

.tiona-flywheel-card {
  border-radius: 18px;
}

.tiona-flywheel-card-secondary {
  width: calc(var(--card-width) * 1.5);
  min-height: calc(var(--card-height) * 1.5);
}

.tiona-flywheel-node[data-step="0"] .tiona-flywheel-card-secondary {
  left: 50%;
  right: auto;
  top: auto;
  bottom: calc(100% + 14px);
  transform: translateX(-50%) scale(0.92);
  transform-origin: bottom center;
}

.tiona-flywheel-node[data-step="1"] .tiona-flywheel-card-secondary {
  left: calc(100% + 14px);
  right: auto;
  top: -8px;
  bottom: auto;
  transform: scale(0.92);
  transform-origin: left center;
}

.tiona-flywheel-node[data-step="2"] .tiona-flywheel-card-secondary {
  left: calc(100% - 8px);
  right: auto;
  top: calc(100% - 6px);
  bottom: auto;
  transform: scale(0.92);
  transform-origin: left top;
}

.tiona-flywheel-node[data-step="3"] .tiona-flywheel-card-secondary {
  left: auto;
  right: calc(100% - 8px);
  top: calc(100% - 6px);
  bottom: auto;
  transform: scale(0.92);
  transform-origin: right top;
}

.tiona-flywheel-node[data-step="4"] .tiona-flywheel-card-secondary {
  left: auto;
  right: calc(100% + 14px);
  top: -8px;
  bottom: auto;
  transform: scale(0.92);
  transform-origin: right center;
}

.tiona-flywheel-node[data-step="0"]:hover .tiona-flywheel-card-secondary,
.tiona-flywheel-node[data-step="0"]:focus-within .tiona-flywheel-card-secondary {
  transform: translateX(-50%) scale(1);
}

.tiona-flywheel-node[data-step="1"]:hover .tiona-flywheel-card-secondary,
.tiona-flywheel-node[data-step="1"]:focus-within .tiona-flywheel-card-secondary,
.tiona-flywheel-node[data-step="2"]:hover .tiona-flywheel-card-secondary,
.tiona-flywheel-node[data-step="2"]:focus-within .tiona-flywheel-card-secondary,
.tiona-flywheel-node[data-step="3"]:hover .tiona-flywheel-card-secondary,
.tiona-flywheel-node[data-step="3"]:focus-within .tiona-flywheel-card-secondary,
.tiona-flywheel-node[data-step="4"]:hover .tiona-flywheel-card-secondary,
.tiona-flywheel-node[data-step="4"]:focus-within .tiona-flywheel-card-secondary {
  transform: scale(1);
}

@media (max-width: 991.98px) {
  .tiona-flywheel {
    display: none;
  }
}

/* Flywheel V2 refinement */
.tiona-flywheel-arcs {
  filter: drop-shadow(0 10px 26px color-mix(in srgb, var(--accent-color) 16%, transparent));
}

.tiona-flywheel-arc {
  stroke-width: 7;
  stroke-dasharray: 18 14;
  animation: tiona-flywheel-flow 4.8s linear infinite;
}

.tiona-flywheel-arc:nth-child(2) {
  animation-delay: -0.8s;
}

.tiona-flywheel-arc:nth-child(3) {
  animation-delay: -1.6s;
}

.tiona-flywheel-arc:nth-child(4) {
  animation-delay: -2.4s;
}

.tiona-flywheel-arc:nth-child(5) {
  animation-delay: -3.2s;
}

#how-it-works .tiona-cta-pair {
  justify-content: center !important;
}

@keyframes tiona-flywheel-flow {
  0% {
    stroke-dashoffset: 0;
    opacity: 0.75;
  }

  50% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -64;
    opacity: 0.75;
  }
}

/* Flywheel arrow band refinement */
.tiona-flywheel-arc {
  stroke-width: 11;
  stroke-dasharray: none;
  animation: tiona-flywheel-band-breathe 3.2s ease-in-out infinite;
}

.tiona-flywheel-arc:nth-child(2) {
  animation-delay: -0.45s;
}

.tiona-flywheel-arc:nth-child(3) {
  animation-delay: -0.9s;
}

.tiona-flywheel-arc:nth-child(4) {
  animation-delay: -1.35s;
}

.tiona-flywheel-arc:nth-child(5) {
  animation-delay: -1.8s;
}

@keyframes tiona-flywheel-band-breathe {
  0%, 100% {
    opacity: 0.78;
    filter: saturate(0.95);
  }

  50% {
    opacity: 1;
    filter: saturate(1.15);
  }
}

/* Flywheel arrow visibility refinement */
.tiona-flywheel-arc {
  stroke-width: 22;
  stroke-linecap: round;
  stroke-dasharray: 130.3 999;
  animation: tiona-flywheel-band-shift 1.8s linear infinite;
}

.tiona-flywheel-arc:nth-child(2) {
  animation-delay: -0.25s;
}

.tiona-flywheel-arc:nth-child(3) {
  animation-delay: -0.5s;
}

.tiona-flywheel-arc:nth-child(4) {
  animation-delay: -0.75s;
}

.tiona-flywheel-arc:nth-child(5) {
  animation-delay: -1s;
}

@keyframes tiona-flywheel-band-shift {
  0% {
    stroke-dashoffset: 0;
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -34;
    opacity: 0.8;
  }
}

/* Flywheel arrow rotation refinement */
.tiona-flywheel-arcs {
  transform-origin: 260px 260px;
  animation: tiona-flywheel-rotate 10s linear infinite;
}

.tiona-flywheel-arc {
  animation: none;
}

@keyframes tiona-flywheel-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Flywheel timing + opacity refinement */
.tiona-flywheel-arcs {
  animation-duration: 20s;
}

.tiona-flywheel-card {
  background: var(--bg-2);
}

/* Flywheel arrow shape refinement */
.tiona-flywheel-tail-marker {
  fill: var(--bg-1);
}

.tiona-flywheel-arc {
  stroke-linecap: butt;
  stroke-dasharray: 130.3 999;
  marker-start: url(#tiona-flywheel-tail);
  marker-end: url(#tiona-flywheel-arrow);
}

/* Flywheel arrow rounding refinement */
.tiona-flywheel-arc {
  stroke-linecap: round;
}

/* Flywheel mask-tail refinement */
.tiona-flywheel-arc {
  stroke-linecap: butt;
  marker-start: none;
  marker-end: url(#tiona-flywheel-arrow);
}

/* Flywheel explicit head polygons final */
.tiona-flywheel-arc {
  marker-end: none;
}

.tiona-flywheel-head {
  fill: currentColor;
}

/* Flywheel restore attached marker heads */
.tiona-flywheel-arc {
  marker-end: url(#tiona-flywheel-arrow);
}

/* Flywheel shared rotor with explicit heads final */
.tiona-flywheel-rotor {
  transform-origin: 260px 260px;
  animation: tiona-flywheel-rotate 20s linear infinite;
}

.tiona-flywheel-arcs {
  animation: none;
}

.tiona-flywheel-arc {
  marker-end: none;
}

.tiona-flywheel-head {
  fill: currentColor;
}

/* Flywheel explicit-head rollback final */
.tiona-flywheel-arcs {
  transform-origin: 260px 260px;
  animation: tiona-flywheel-rotate 20s linear infinite;
}

.tiona-flywheel-arc {
  marker-end: url(#tiona-flywheel-arrow);
}
/* Flywheel secondary angle offset final */
.tiona-flywheel-node[data-step="0"] { --secondary-x: -38px; --secondary-y: -146px; }
.tiona-flywheel-node[data-step="1"] { --secondary-x: 127px; --secondary-y: -81px; }
.tiona-flywheel-node[data-step="2"] { --secondary-x: 115px; --secondary-y: 96px; }
.tiona-flywheel-node[data-step="3"] { --secondary-x: -55px; --secondary-y: 140px; }
.tiona-flywheel-node[data-step="4"] { --secondary-x: -150px; --secondary-y: 9px; }

.tiona-flywheel-card-secondary {
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%) translate(var(--secondary-x), var(--secondary-y)) scale(0.92);
  transform-origin: center center;
}

.tiona-flywheel-node:hover .tiona-flywheel-card-secondary,
.tiona-flywheel-node:focus-within .tiona-flywheel-card-secondary {
  transform: translate(-50%, -50%) translate(var(--secondary-x), var(--secondary-y)) scale(1);
}

/* Flywheel secondary content final */
.tiona-flywheel-secondary-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text-normal);
}

.tiona-flywheel-secondary-list li + li {
  margin-top: 6px;
}


/* Flywheel title lines + conditional footnote final */
.tiona-flywheel-card-title-line {
  display: block;
}

.tiona-secondary-footnote {
  margin-top: 10px;
}


/* Flywheel viewport adaptation final */
.tiona-flywheel {
  --card-width: clamp(124px, 11vw, 136px);
  --card-height: clamp(80px, 7vw, 88px);
}

.tiona-flywheel-card {
  padding: 14px 12px;
}

.tiona-flywheel-card-title {
  font-size: clamp(0.88rem, 0.84rem + 0.16vw, 0.95rem);
}

.tiona-flywheel-card-secondary {
  width: min(280px, calc(100vw - 64px));
  max-width: min(280px, calc(100vw - 64px));
  min-height: 0;
  max-height: min(250px, calc(100vh - 220px));
  overflow: auto;
  padding: 16px;
  scrollbar-width: thin;
}

@media (max-width: 1280px) {
  .tiona-flywheel {
    --wheel-size: min(560px, 100%);
    --orbit-radius: 176px;
    min-height: 460px;
  }

  .tiona-flywheel-node[data-step="0"] { --secondary-x: -28px; --secondary-y: -132px; }
  .tiona-flywheel-node[data-step="1"] { --secondary-x: 110px; --secondary-y: -70px; }
  .tiona-flywheel-node[data-step="2"] { --secondary-x: 96px; --secondary-y: 82px; }
  .tiona-flywheel-node[data-step="3"] { --secondary-x: -50px; --secondary-y: 126px; }
  .tiona-flywheel-node[data-step="4"] { --secondary-x: -132px; --secondary-y: 10px; }
}

@media (max-width: 1140px) {
  .tiona-flywheel {
    --wheel-size: min(520px, 100%);
    --orbit-radius: 164px;
    min-height: 428px;
  }

  .tiona-flywheel-card-secondary {
    width: min(250px, calc(100vw - 52px));
    max-width: min(250px, calc(100vw - 52px));
    max-height: min(220px, calc(100vh - 200px));
    padding: 14px;
  }

  .tiona-flywheel-node[data-step="0"] { --secondary-x: -22px; --secondary-y: -120px; }
  .tiona-flywheel-node[data-step="1"] { --secondary-x: 96px; --secondary-y: -58px; }
  .tiona-flywheel-node[data-step="2"] { --secondary-x: 84px; --secondary-y: 72px; }
  .tiona-flywheel-node[data-step="3"] { --secondary-x: -44px; --secondary-y: 112px; }
  .tiona-flywheel-node[data-step="4"] { --secondary-x: -118px; --secondary-y: 10px; }
}


/* Flywheel inward-open + compact desktop final */
#how-it-works .panel {
  overflow: visible;
}

.tiona-flywheel {
  --wheel-size: min(560px, 100%);
  --orbit-radius: 176px;
  --card-width: clamp(120px, 10.5vw, 132px);
  --card-height: clamp(76px, 6.4vw, 84px);
  min-height: 452px;
}

.tiona-flywheel-card {
  padding: 12px 10px;
}

.tiona-flywheel-card-secondary {
  width: min(248px, calc(100vw - 56px));
  max-width: min(248px, calc(100vw - 56px));
  max-height: min(220px, calc(100vh - 180px));
  padding: 14px;
}

.tiona-flywheel-node[data-step="0"] { --secondary-x: 0px; --secondary-y: 118px; }
.tiona-flywheel-node[data-step="1"] { --secondary-x: -148px; --secondary-y: 2px; }
.tiona-flywheel-node[data-step="2"] { --secondary-x: -108px; --secondary-y: -106px; }
.tiona-flywheel-node[data-step="3"] { --secondary-x: 84px; --secondary-y: -106px; }
.tiona-flywheel-node[data-step="4"] { --secondary-x: 148px; --secondary-y: 2px; }

@media (max-width: 1280px) {
  .tiona-flywheel {
    --wheel-size: min(528px, 100%);
    --orbit-radius: 164px;
    min-height: 424px;
  }

  .tiona-flywheel-card-secondary {
    width: min(230px, calc(100vw - 48px));
    max-width: min(230px, calc(100vw - 48px));
    max-height: min(200px, calc(100vh - 170px));
    padding: 13px;
  }

  .tiona-flywheel-node[data-step="0"] { --secondary-x: 0px; --secondary-y: 108px; }
  .tiona-flywheel-node[data-step="1"] { --secondary-x: -134px; --secondary-y: 4px; }
  .tiona-flywheel-node[data-step="2"] { --secondary-x: -98px; --secondary-y: -98px; }
  .tiona-flywheel-node[data-step="3"] { --secondary-x: 74px; --secondary-y: -98px; }
  .tiona-flywheel-node[data-step="4"] { --secondary-x: 134px; --secondary-y: 4px; }
}

@media (max-width: 1140px) {
  .tiona-flywheel {
    --wheel-size: min(500px, 100%);
    --orbit-radius: 154px;
    min-height: 402px;
  }

  .tiona-flywheel-card-secondary {
    width: min(214px, calc(100vw - 40px));
    max-width: min(214px, calc(100vw - 40px));
    max-height: min(186px, calc(100vh - 156px));
    padding: 12px;
  }

  .tiona-flywheel-node[data-step="0"] { --secondary-x: 0px; --secondary-y: 98px; }
  .tiona-flywheel-node[data-step="1"] { --secondary-x: -122px; --secondary-y: 4px; }
  .tiona-flywheel-node[data-step="2"] { --secondary-x: -90px; --secondary-y: -88px; }
  .tiona-flywheel-node[data-step="3"] { --secondary-x: 66px; --secondary-y: -88px; }
  .tiona-flywheel-node[data-step="4"] { --secondary-x: 122px; --secondary-y: 4px; }
}

/* 1080p viewport-fit final */
#how-it-works.home-snap-section,
#pricing.home-snap-section {
  min-height: calc(100svh - 132px);
}

#how-it-works .panel,
#pricing .panel {
  padding: 24px 28px 20px;
}

.tiona-flywheel {
  --wheel-size: min(500px, 100%);
  --orbit-radius: 156px;
  --card-width: clamp(112px, 9.8vw, 124px);
  --card-height: clamp(72px, 5.8vw, 80px);
  min-height: 372px;
}

.tiona-flywheel-card {
  padding: 10px 10px;
}

.tiona-flywheel-card-title {
  font-size: clamp(0.84rem, 0.78rem + 0.18vw, 0.94rem);
}

.tiona-flywheel-card-secondary {
  width: min(220px, calc(100vw - 72px));
  max-width: min(220px, calc(100vw - 72px));
  max-height: min(184px, calc(100vh - 220px));
  padding: 12px;
  overflow: auto;
}

.tiona-flywheel-node[data-step="0"] { --secondary-x: 0px; --secondary-y: 96px; }
.tiona-flywheel-node[data-step="1"] { --secondary-x: -124px; --secondary-y: 0px; }
.tiona-flywheel-node[data-step="2"] { --secondary-x: -108px; --secondary-y: -92px; }
.tiona-flywheel-node[data-step="3"] { --secondary-x: 108px; --secondary-y: -92px; }
.tiona-flywheel-node[data-step="4"] { --secondary-x: 124px; --secondary-y: 0px; }

.tiona-pricing-grid {
  gap: 18px;
}

.tiona-pricing-card {
  padding: 20px 18px;
  border-radius: 20px;
}

.tiona-pricing-groups {
  gap: 14px;
}

.tiona-pricing-list {
  gap: 8px;
}

.tiona-pricing-value {
  font-size: clamp(1.45rem, 1.25rem + 1vw, 1.95rem);
}

@media (max-height: 1080px) and (min-width: 992px) {
  #how-it-works.home-snap-section,
  #pricing.home-snap-section {
    min-height: calc(100svh - 144px);
  }

  .tiona-flywheel {
    --wheel-size: min(472px, 100%);
    --orbit-radius: 146px;
    --card-width: 118px;
    --card-height: 76px;
    min-height: 344px;
  }

  .tiona-flywheel-card-secondary {
    width: min(208px, calc(100vw - 72px));
    max-width: min(208px, calc(100vw - 72px));
    max-height: min(168px, calc(100vh - 230px));
    padding: 11px;
  }

  .tiona-flywheel-node[data-step="0"] { --secondary-x: 0px; --secondary-y: 88px; }
  .tiona-flywheel-node[data-step="1"] { --secondary-x: -112px; --secondary-y: 0px; }
  .tiona-flywheel-node[data-step="2"] { --secondary-x: -96px; --secondary-y: -82px; }
  .tiona-flywheel-node[data-step="3"] { --secondary-x: 96px; --secondary-y: -82px; }
  .tiona-flywheel-node[data-step="4"] { --secondary-x: 112px; --secondary-y: 0px; }

  .tiona-pricing-grid {
    gap: 16px;
  }

  .tiona-pricing-card {
    padding: 18px 16px;
  }

  .tiona-pricing-groups {
    gap: 12px;
  }

  .tiona-pricing-list {
    gap: 7px;
  }
}

/* Pricing title compact final */
#pricing .tiona-pricing-card .h2 {
  font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.8rem);
  line-height: 1.08;
}

@media (max-height: 1080px) and (min-width: 992px) {
  #pricing .tiona-pricing-card .h2 {
    font-size: clamp(1.24rem, 1.02rem + 0.55vw, 1.58rem);
    line-height: 1.04;
    margin-bottom: 0.4rem !important;
  }
}

/* Flywheel + Pricing 1080 viewport hard-fix final */
@media (min-width: 992px) and (max-height: 1080px) {
  #how-it-works.home-snap-section {
    min-height: calc(100svh - 156px);
  }

  #how-it-works .panel {
    padding: 20px 24px 16px;
    overflow: visible;
  }

  #how-it-works .tiona-flywheel {
    --wheel-size: min(460px, 100%);
    --orbit-radius: 142px;
    --card-width: 114px;
    --card-height: 74px;
    min-height: 328px;
  }

  #how-it-works .tiona-flywheel-card {
    padding: 9px 10px;
  }

  #how-it-works .tiona-flywheel-card-title {
    font-size: clamp(0.82rem, 0.76rem + 0.16vw, 0.9rem);
    line-height: 1.06;
  }

  #how-it-works .tiona-flywheel-node[data-step="0"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="1"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="2"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="3"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="4"] .tiona-flywheel-card-secondary {
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: min(196px, calc(100vw - 96px));
    max-width: min(196px, calc(100vw - 96px));
    max-height: min(156px, calc(100vh - 260px));
    min-height: 0;
    padding: 10px 11px;
    overflow: auto;
    transform: translate(-50%, -50%) translate(var(--secondary-x), var(--secondary-y)) scale(0.92) !important;
    transform-origin: center center;
  }

  #how-it-works .tiona-flywheel-node:hover .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node:focus-within .tiona-flywheel-card-secondary {
    transform: translate(-50%, -50%) translate(var(--secondary-x), var(--secondary-y)) scale(1) !important;
  }

  #how-it-works .tiona-flywheel-node[data-step="0"] { --secondary-x: 0px; --secondary-y: 82px; }
  #how-it-works .tiona-flywheel-node[data-step="1"] { --secondary-x: -104px; --secondary-y: 0px; }
  #how-it-works .tiona-flywheel-node[data-step="2"] { --secondary-x: -88px; --secondary-y: -74px; }
  #how-it-works .tiona-flywheel-node[data-step="3"] { --secondary-x: 88px; --secondary-y: -74px; }
  #how-it-works .tiona-flywheel-node[data-step="4"] { --secondary-x: 104px; --secondary-y: 0px; }

  #pricing.home-snap-section {
    min-height: calc(100svh - 156px);
  }

  #pricing .panel {
    padding: 20px 24px 16px;
  }

  #pricing > .panel > .h2 {
    margin-bottom: 0.85rem !important;
  }

  #pricing .tiona-pricing-grid {
    gap: 14px;
  }

  #pricing .tiona-pricing-card {
    padding: 16px 16px;
    border-radius: 18px;
  }

  #pricing .tiona-pricing-card .h2 {
    font-size: clamp(1.12rem, 0.98rem + 0.42vw, 1.4rem);
    line-height: 1.02;
    margin-bottom: 0.28rem !important;
  }

  #pricing .tiona-pricing-value {
    font-size: clamp(1.9rem, 1.6rem + 0.9vw, 2.35rem);
    line-height: 1.02;
    margin-bottom: 0.55rem !important;
  }

  #pricing .tiona-pricing-groups {
    gap: 10px;
  }

  #pricing .tiona-pricing-list {
    gap: 6px;
    font-size: 0.96rem;
    line-height: 1.28;
  }

  #pricing .tiona-cta-pair {
    margin-top: 12px;
  }
}

/* 1080 viewport outward secondary + tighter pricing final */
@media (min-width: 992px) and (max-height: 1080px) {
  #how-it-works .tiona-flywheel-node[data-step="0"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="1"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="2"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="3"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="4"] .tiona-flywheel-card-secondary {
    width: min(188px, calc(100vw - 104px));
    max-width: min(188px, calc(100vw - 104px));
    max-height: min(146px, calc(100vh - 250px));
    padding: 10px;
    font-size: 0.9rem;
    line-height: 1.22;
  }

  #how-it-works .tiona-flywheel-card-secondary .tiona-flywheel-card-title {
    font-size: clamp(0.78rem, 0.72rem + 0.14vw, 0.86rem);
    line-height: 1.04;
    margin-bottom: 0.35rem;
  }

  #how-it-works .tiona-flywheel-secondary-list {
    gap: 6px;
  }

  #how-it-works .tiona-flywheel-node[data-step="0"] { --secondary-x: 0px; --secondary-y: -118px; }
  #how-it-works .tiona-flywheel-node[data-step="1"] { --secondary-x: 140px; --secondary-y: -6px; }
  #how-it-works .tiona-flywheel-node[data-step="2"] { --secondary-x: 102px; --secondary-y: 88px; }
  #how-it-works .tiona-flywheel-node[data-step="3"] { --secondary-x: -102px; --secondary-y: 88px; }
  #how-it-works .tiona-flywheel-node[data-step="4"] { --secondary-x: -140px; --secondary-y: -6px; }

  #pricing .panel {
    padding: 18px 22px 14px;
  }

  #pricing > .panel > .h2 {
    margin-bottom: 0.7rem !important;
  }

  #pricing .tiona-pricing-grid {
    gap: 12px;
  }

  #pricing .tiona-pricing-card {
    padding: 14px 15px;
    border-radius: 18px;
  }

  #pricing .tiona-pricing-card .h2 {
    font-size: clamp(1.02rem, 0.92rem + 0.34vw, 1.24rem);
    line-height: 1.01;
    margin-bottom: 0.22rem !important;
  }

  #pricing .tiona-pricing-value {
    font-size: clamp(1.75rem, 1.52rem + 0.72vw, 2rem);
    line-height: 1.01;
    margin-bottom: 0.42rem !important;
  }

  #pricing .tiona-pricing-groups {
    gap: 8px;
  }

  #pricing .tiona-pricing-list {
    gap: 5px;
    font-size: 0.91rem;
    line-height: 1.22;
  }

  #pricing .tiona-cta-pair {
    margin-top: 8px;
  }
}

/* 1080 viewport flywheel top-safe + pricing spacing final */
@media (min-width: 992px) and (max-height: 1080px) {
  #how-it-works .tiona-flywheel-node[data-step="0"] { --secondary-x: 0px; --secondary-y: 98px; }
  #how-it-works .tiona-flywheel-node[data-step="1"] { --secondary-x: 124px; --secondary-y: -4px; }
  #how-it-works .tiona-flywheel-node[data-step="2"] { --secondary-x: 92px; --secondary-y: 82px; }
  #how-it-works .tiona-flywheel-node[data-step="3"] { --secondary-x: -92px; --secondary-y: 82px; }
  #how-it-works .tiona-flywheel-node[data-step="4"] { --secondary-x: -124px; --secondary-y: -4px; }

  #pricing .tiona-pricing-card .h2 {
    font-size: clamp(0.94rem, 0.88rem + 0.26vw, 1.14rem);
    line-height: 1.01;
    margin-bottom: 0.48rem !important;
  }

  #pricing .tiona-pricing-value {
    font-size: clamp(1.58rem, 1.42rem + 0.48vw, 1.82rem);
    line-height: 1.01;
    margin-bottom: 0.82rem !important;
  }
}

/* Flywheel secondary z-index + pricing final tighten */
#how-it-works .tiona-flywheel-node {
  z-index: 1;
}

#how-it-works .tiona-flywheel-node:hover,
#how-it-works .tiona-flywheel-node:focus-within {
  z-index: 40;
}

#how-it-works .tiona-flywheel-card-secondary {
  z-index: 41;
}

@media (min-width: 992px) and (max-height: 1080px) {
  #pricing .tiona-pricing-card .h2 {
    font-size: clamp(0.88rem, 0.84rem + 0.22vw, 1.06rem);
    line-height: 1.01;
    margin-bottom: 0.52rem !important;
  }

  #pricing .tiona-pricing-value {
    font-size: clamp(1.46rem, 1.34rem + 0.4vw, 1.68rem);
    line-height: 1.01;
    margin-bottom: 0.9rem !important;
  }
}

/* TIONA beta badge + flywheel info hint final */
.tiona-brandword {
  display: inline-block;
}

.tiona-brandword-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.045em;
  letter-spacing: 0;
  line-height: 1;
  vertical-align: middle;
}

.tiona-brandword-text {
  display: inline-block;
  letter-spacing: 0.08em;
  line-height: 1;
}

.tiona-brandword-o {
  display: block;
  width: auto;
  height: 0.835em;
  flex: 0 0 auto;
  align-self: center;
  vertical-align: middle;
}

.tiona-beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.45rem;
  padding: 0.12rem 0.34rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--positive-color) 18%, transparent);
  color: var(--positive-color);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  vertical-align: super;
  position: relative;
  top: -0.35em;
}

.navbar-brand {
  display: inline-flex;
  align-items: flex-start;
}

.tiona-hero-brand {
  display: inline-flex;
  align-items: flex-start;
}

.tiona-flywheel-card {
  position: relative;
}

.tiona-flywheel-info-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent-color) 50%, var(--border-1));
  background: color-mix(in srgb, var(--bg-3) 90%, transparent);
  color: var(--accent-color);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.9;
}

@media (max-width: 767.98px) {
  .tiona-beta-badge {
    margin-left: 0.32rem;
    padding: 0.1rem 0.28rem;
    font-size: 0.52rem;
    top: -0.28em;
  }

  .tiona-flywheel-info-badge {
    width: 16px;
    height: 16px;
    font-size: 0.68rem;
    top: 8px;
    right: 8px;
  }
}

/* TIONA beta lockup + smaller flywheel info final */
.tiona-brand-lockup {
  position: relative;
  display: inline-block;
  padding-right: 1.85rem;
  padding-bottom: 0.42rem;
  line-height: 1;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
}

.tiona-hero-brand {
  display: block;
  width: max-content;
}

.tiona-beta-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  top: auto;
  margin-left: 0;
  padding: 0.16rem 0.4rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--positive-color) 18%, transparent);
  color: var(--positive-color);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  vertical-align: baseline;
}

.tiona-flywheel-info-badge {
  width: 15px;
  height: 15px;
  top: 8px;
  right: 8px;
  font-size: 0.62rem;
}

@media (max-width: 767.98px) {
  .tiona-brand-lockup {
    padding-right: 1.55rem;
    padding-bottom: 0.34rem;
  }

  .tiona-beta-badge {
    padding: 0.14rem 0.34rem;
    font-size: 0.54rem;
  }

  .tiona-flywheel-info-badge {
    width: 14px;
    height: 14px;
    top: 7px;
    right: 7px;
    font-size: 0.58rem;
  }
}

/* TIONA beta badge anchor fix final */
.navbar-brand.brand-mark,
.tiona-hero-brand {
  position: relative;
  display: inline-block;
  width: max-content;
  padding-right: 1.55rem;
  padding-bottom: 0.38rem;
}

.navbar-brand.brand-mark .tiona-brandword,
.tiona-hero-brand .tiona-brandword {
  display: inline-block;
  line-height: 1;
}

.navbar-brand.brand-mark .tiona-brandword-logo,
.tiona-hero-brand .tiona-brandword-logo {
  display: inline-flex;
}

.navbar-brand.brand-mark .tiona-beta-badge,
.tiona-hero-brand .tiona-beta-badge {
  position: absolute;
  right: 0.02rem;
  bottom: 0.02rem;
  top: auto;
  margin: 0;
  padding: 0.15rem 0.38rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--positive-color) 22%, transparent);
  color: var(--positive-color);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  z-index: 2;
}

.tiona-hero-brand {
  display: block;
  margin-bottom: 0.5rem;
}

@media (max-width: 767.98px) {
  .navbar-brand.brand-mark,
  .tiona-hero-brand {
    padding-right: 1.3rem;
    padding-bottom: 0.3rem;
  }

  .navbar-brand.brand-mark .tiona-beta-badge,
  .tiona-hero-brand .tiona-beta-badge {
    padding: 0.12rem 0.3rem;
    font-size: 0.52rem;
  }
}

/* TIONA beta green emphasis final */
.navbar-brand.brand-mark .tiona-beta-badge,
.tiona-hero-brand .tiona-beta-badge {
  background: var(--positive-color);
  color: #ffffff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--positive-color) 72%, black 28%);
}

/* BETA badge size + green accent final */
.navbar-brand.brand-mark .tiona-beta-badge {
  padding: 0.1rem 0.28rem;
  font-size: 0.46rem;
  background: var(--positive-color);
  color: #ffffff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--positive-color) 70%, black 30%);
}

.tiona-hero-brand .tiona-beta-badge {
  background: var(--positive-color);
  color: #ffffff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--positive-color) 70%, black 30%);
}

@media (max-width: 767.98px) {
  .navbar-brand.brand-mark .tiona-beta-badge {
    padding: 0.08rem 0.24rem;
    font-size: 0.42rem;
  }
}

/* Explicit green beta + pricing copyline final */
.navbar-brand.brand-mark .tiona-beta-badge,
.tiona-hero-brand .tiona-beta-badge {
  background: #24c26a;
  color: #ffffff;
  box-shadow: 0 0 0 1px #179451;
}

.tiona-pricing-copyline {
  color: var(--text-strong);
  font-size: 0.98rem;
  line-height: 1.28;
}

.tiona-pricing-group {
  display: grid;
  gap: 8px;
}

@media (min-width: 992px) and (max-height: 1080px) {
  .tiona-pricing-copyline {
    font-size: 0.9rem;
    line-height: 1.22;
  }

  .tiona-pricing-group {
    gap: 6px;
  }
}

/* 1080 viewport flywheel safe-outside + pricing title/value final */
.tiona-pricing-plan-title {
  color: var(--text-strong);
  font-size: clamp(1.08rem, 0.98rem + 0.34vw, 1.3rem);
  line-height: 1.04;
  font-weight: 700;
  margin-bottom: 0.66rem;
}

.tiona-pricing-value {
  margin-bottom: 1.04rem !important;
}

.tiona-pricing-groups {
  margin-top: 0.1rem;
}

@media (min-width: 992px) and (max-height: 1080px) {
  #how-it-works .tiona-flywheel-node[data-step="0"] { --secondary-x: 132px; --secondary-y: 54px; }
  #how-it-works .tiona-flywheel-node[data-step="1"] { --secondary-x: 128px; --secondary-y: 8px; }
  #how-it-works .tiona-flywheel-node[data-step="2"] { --secondary-x: 116px; --secondary-y: -20px; }
  #how-it-works .tiona-flywheel-node[data-step="3"] { --secondary-x: -116px; --secondary-y: -20px; }
  #how-it-works .tiona-flywheel-node[data-step="4"] { --secondary-x: -128px; --secondary-y: 8px; }

  #how-it-works .tiona-flywheel-node[data-step="0"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="1"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="2"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="3"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="4"] .tiona-flywheel-card-secondary {
    width: min(184px, calc(100vw - 110px));
    max-width: min(184px, calc(100vw - 110px));
    max-height: min(152px, calc(100vh - 250px));
    padding: 10px 11px;
  }

  #pricing .tiona-pricing-card {
    padding: 14px 15px;
  }

  #pricing .tiona-pricing-plan-title {
    font-size: clamp(0.82rem, 0.78rem + 0.18vw, 0.96rem);
    line-height: 1.02;
    margin-bottom: 0.72rem;
  }

  #pricing .tiona-pricing-value {
    font-size: clamp(1.32rem, 1.22rem + 0.32vw, 1.52rem);
    line-height: 1.01;
    margin-bottom: 1rem !important;
  }

  #pricing .tiona-pricing-groups {
    gap: 10px;
    margin-top: 0;
  }

  #pricing .tiona-pricing-copyline,
  #pricing .tiona-pricing-list {
    font-size: 0.9rem;
    line-height: 1.2;
  }
}

/* 1080 viewport cache-bust final fit */
@media (min-width: 992px) and (max-height: 1080px) {
  #how-it-works .tiona-flywheel-node[data-step="0"] { --secondary-x: 132px; --secondary-y: 56px; }
  #how-it-works .tiona-flywheel-node[data-step="1"] { --secondary-x: 124px; --secondary-y: 6px; }
  #how-it-works .tiona-flywheel-node[data-step="2"] { --secondary-x: 108px; --secondary-y: -24px; }
  #how-it-works .tiona-flywheel-node[data-step="3"] { --secondary-x: -108px; --secondary-y: -24px; }
  #how-it-works .tiona-flywheel-node[data-step="4"] { --secondary-x: -124px; --secondary-y: 6px; }

  #how-it-works .tiona-flywheel-node[data-step="0"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="1"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="2"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="3"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="4"] .tiona-flywheel-card-secondary {
    width: min(176px, calc(100vw - 120px));
    max-width: min(176px, calc(100vw - 120px));
    max-height: min(148px, calc(100vh - 250px));
    padding: 9px 10px;
  }

  #pricing .tiona-pricing-plan-title {
    font-size: clamp(0.76rem, 0.74rem + 0.14vw, 0.88rem);
    line-height: 1.02;
    margin-bottom: 0.8rem;
  }

  #pricing .tiona-pricing-value {
    font-size: clamp(1.18rem, 1.12rem + 0.26vw, 1.38rem);
    line-height: 1.01;
    margin-bottom: 1.04rem !important;
  }

  #pricing .tiona-pricing-groups {
    gap: 11px;
  }
}

/* Secondary content-fit + pricing body fine tune final */
.tiona-flywheel-card-secondary {
  height: auto;
}

.tiona-flywheel-secondary-list,
.tiona-pricing-list,
.tiona-pricing-copyline {
  overflow-wrap: anywhere;
}

@media (min-width: 992px) and (max-height: 1080px) {
  #how-it-works .tiona-flywheel-node[data-step="0"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="1"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="2"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="3"] .tiona-flywheel-card-secondary,
  #how-it-works .tiona-flywheel-node[data-step="4"] .tiona-flywheel-card-secondary {
    width: min(212px, calc(100vw - 120px));
    max-width: min(212px, calc(100vw - 120px));
    min-height: fit-content;
    max-height: none;
    overflow: visible;
    padding: 10px 11px;
  }

  #how-it-works .tiona-flywheel-card-secondary .tiona-flywheel-card-title {
    margin-bottom: 0.42rem;
  }

  #how-it-works .tiona-flywheel-secondary-list {
    font-size: 0.86rem;
    line-height: 1.18;
  }

  #pricing .tiona-pricing-list,
  #pricing .tiona-pricing-copyline {
    font-size: 0.84rem;
    line-height: 1.16;
  }

  #pricing .tiona-pricing-group {
    gap: 5px;
  }
}

/* Pricing offer title/value one-notch up final */
@media (min-width: 992px) and (max-height: 1080px) {
  #pricing .tiona-pricing-plan-title {
    font-size: clamp(0.82rem, 0.78rem + 0.18vw, 0.94rem);
    line-height: 1.02;
  }

  #pricing .tiona-pricing-value {
    font-size: clamp(1.26rem, 1.18rem + 0.3vw, 1.44rem);
    line-height: 1.01;
  }
}













/* Testimonial hover grow + pricing card width final */
#pricing .tiona-pricing-grid {
  grid-template-columns: repeat(2, minmax(280px, 400px));
  justify-content: center;
  gap: 36px;
}

#pricing .tiona-pricing-card {
  width: 100%;
  max-width: 400px;
  justify-self: center;
}

@media (max-width: 991.98px) {
  #pricing .tiona-pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }

  #pricing .tiona-pricing-card {
    max-width: none;
  }
}
/* Flywheel secondary cards content-fit final hard-stop */
@media (min-width: 992px) {
  #how-it-works .tiona-flywheel-card-secondary {
    width: max-content;
    min-width: 220px;
    max-width: min(288px, calc(100vw - 96px));
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 12px 14px;
  }

  #how-it-works .tiona-flywheel-card-secondary .tiona-flywheel-card-title {
    margin-bottom: 0.48rem;
  }

  #how-it-works .tiona-flywheel-secondary-list {
    line-height: 1.2;
  }
}