/* PlagiChecker landing — OriginalityScan structure + PlagiChecker branding */

:root {
  --os-ink: #2f2e38;
  --os-ink-900: #0f0f13;
  --os-ink-800: #1c1b22;
  --os-ink-700: #403f4c;
  --os-ink-600: #4d4d5c;
  --os-ink-500: #626372;
  --os-ink-400: #9aa0b3;
  --os-ink-200: #d4d8e8;
  --os-ink-100: #eef0f6;
  --os-ink-50: #f6f7fb;
  --os-brand: #F07000;
  --os-brand-600: #E05000;
  --os-brand-deep: #D45500;
  --os-brand-400: #F08010;
  --os-brand-200: #F0C080;
  --os-brand-100: #FFE4C8;
  --os-brand-50: #FFF4EA;
  --os-amber: #F0A020;
  --os-accent: #F0B040;
  --os-green: #16a34a;
  --os-green-soft: #22c55e;
  --os-sky: #0284c7;
  --os-bg: #ffffff;
  --os-soft: #fffaf4;
  --os-display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --os-sans: Inter, system-ui, sans-serif;
  --os-max: 80rem;
  --os-shadow-soft: 0 6px 30px -10px rgba(67, 15, 6, 0.22);
  --os-shadow-card: 0 24px 60px -28px rgba(67, 15, 6, 0.28);
  --os-shadow-glow: 0 0 60px -10px rgba(240, 112, 0, 0.55);
  --os-text-grad: linear-gradient(90deg, #D45500, #F07000, #F0A020);
  --grid-size: 48px;
  --grid-image: linear-gradient(to right, rgba(15,18,38,0.08) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(15,18,38,0.08) 1px, transparent 1px);
  /* Subtle tech grid for black / charcoal surfaces */
  --os-dark-grid:
    linear-gradient(to right, rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.028) 1px, transparent 1px);
  --os-dark-grid-size: 52px;
}

html[data-theme="dark"] {
  --os-bg: #0f0f13;
  --os-soft: #17161c;
  --os-ink: #eceef6;
  --os-ink-900: #ffffff;
  --os-ink-800: #f6f7fb;
  --os-ink-700: #d4d8e8;
  --os-ink-600: #c5c6ce;
  --os-ink-500: #9aa0b3;
  --os-ink-400: #7a8094;
  --os-ink-200: rgba(255,255,255,0.12);
  --os-ink-100: rgba(255,255,255,0.06);
  --os-ink-50: rgba(255,255,255,0.03);
  --os-text-grad: linear-gradient(90deg, #F0B040, #F08010, #F0A020);
  --grid-image: linear-gradient(to right, rgba(255,255,255,0.028) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255,255,255,0.028) 1px, transparent 1px);
  --os-shadow-soft: 0 6px 30px -10px rgba(0,0,0,0.55);
  --os-shadow-card: 0 24px 60px -28px rgba(0,0,0,0.65);
}

/* ——— Design tokens (OS class names) ——— */
.container-app {
  width: 100%;
  max-width: var(--os-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .container-app { padding-left: 2rem; padding-right: 2rem; }
}

body.os-home .btn-primary {
  color: #fff;
  background-color: #0e1226;
  border-radius: 9999px;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  transition: all 0.15s;
  display: inline-flex;
  position: relative;
  box-shadow: var(--os-shadow-soft);
  text-decoration: none;
  border: none;
  cursor: pointer;
}
html[data-theme="dark"] body.os-home .btn-primary {
  color: #0e1226;
  background-color: #fff;
}
body.os-home .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--os-shadow-glow);
}
body.os-home .btn-primary:active { transform: translateY(0); }

body.os-home .btn-ghost {
  color: #1a1f3a;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background-color: rgba(255,255,255,0.6);
  border: 1px solid var(--os-ink-200);
  border-radius: 9999px;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  transition: all 0.15s;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
}
html[data-theme="dark"] body.os-home .btn-ghost {
  color: #f6f7fb;
  background-color: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
body.os-home .btn-ghost:hover { background-color: #fff; border-color: var(--os-brand-200); }
html[data-theme="dark"] body.os-home .btn-ghost:hover { background-color: rgba(255,255,255,0.1); }
body.os-home .btn-ghost svg { color: var(--os-brand); }

.chip {
  color: #2a3050;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background-color: rgba(255,255,255,0.7);
  border: 1px solid rgba(212,216,232,0.8);
  border-radius: 9999px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
  display: inline-flex;
}
html[data-theme="dark"] .chip {
  color: #eceef6;
  background-color: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.chip svg { color: var(--os-brand); }

.card-surface {
  background-color: #fff;
  border: 1px solid var(--os-ink-200);
  border-radius: 1.5rem;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}
html[data-theme="dark"] .card-surface {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background-color: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  box-shadow: var(--os-shadow-soft);
}

.text-gradient {
  color: transparent;
  background-image: var(--os-text-grad);
  -webkit-background-clip: text;
  background-clip: text;
}

.grid-bg {
  background-image: var(--grid-image);
  background-size: var(--grid-size) var(--grid-size);
  -webkit-mask-image: radial-gradient(#000 35%, transparent 75%);
  mask-image: radial-gradient(#000 35%, transparent 75%);
}

/* Reusable dark grid overlay (black / grey panels) */
.os-dark-grid,
body.os-home .os-dark-grid {
  position: relative;
  isolation: isolate;
}
.os-dark-grid::before,
body.os-home .os-dark-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--os-dark-grid);
  background-size: var(--os-dark-grid-size) var(--os-dark-grid-size);
  background-position: center top;
  opacity: 1;
  border-radius: inherit;
}
.os-dark-grid > *,
body.os-home .os-dark-grid > * {
  position: relative;
  z-index: 1;
}

.gradient-border {
  background-clip: padding-box;
  border: 1px solid transparent;
  position: relative;
}
.gradient-border::before {
  content: "";
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(249,90,20,0.6), rgba(255,122,61,0.45), rgba(251,191,36,0.55), rgba(249,90,20,0.1));
  padding: 1px;
  position: absolute;
  inset: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.font-display { font-family: var(--os-display); }
.shadow-soft { box-shadow: var(--os-shadow-soft); }
.shadow-glow { box-shadow: var(--os-shadow-glow); }

@keyframes aura {
  0%, 100% { transform: translate(-50%) scale(1); }
  50% { transform: translate(-50%, -14px) scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}
@keyframes marquee {
  0% { transform: translate(0); }
  100% { transform: translate(-50%); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes hero-line-in {
  from { opacity: 0; transform: translateX(48px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes hero-line-in-alt {
  from { opacity: 0; transform: translateX(-48px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes bar-fill {
  from { width: 0; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-aura { animation: 9s ease-in-out infinite aura; }
.animate-float { animation: 7s ease-in-out infinite float; }
.animate-marquee { animation: 32s linear infinite marquee; }
.animate-spin-slow { animation: 20s linear infinite spin-slow; }
.animate-float-delay { animation: 7s ease-in-out 1.2s infinite float; }

body.os-home {
  background: var(--os-bg);
  color: var(--os-ink);
  font-family: var(--os-sans);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  -webkit-user-select: none;
  user-select: none;
}
body.os-home input,
body.os-home textarea,
body.os-home select,
body.os-home [contenteditable="true"],
body.os-home .os-contact-form,
body.os-home .os-contact-form * {
  -webkit-user-select: text;
  user-select: text;
}
html[data-theme="dark"] body.os-home {
  background-color: #0f0f13;
  /* Grid only on empty side gutters — not under content sections */
  background-image: none;
  isolation: isolate;
}
html[data-theme="dark"] body.os-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--os-dark-grid);
  background-size: var(--os-dark-grid-size) var(--os-dark-grid-size);
  background-position: center top;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0,
    #000 max(0px, calc((100% - min(100%, var(--os-max))) / 2)),
    transparent max(0px, calc((100% - min(100%, var(--os-max))) / 2)),
    transparent calc(100% - max(0px, calc((100% - min(100%, var(--os-max))) / 2))),
    #000 calc(100% - max(0px, calc((100% - min(100%, var(--os-max))) / 2))),
    #000 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 0,
    #000 max(0px, calc((100% - min(100%, var(--os-max))) / 2)),
    transparent max(0px, calc((100% - min(100%, var(--os-max))) / 2)),
    transparent calc(100% - max(0px, calc((100% - min(100%, var(--os-max))) / 2))),
    #000 calc(100% - max(0px, calc((100% - min(100%, var(--os-max))) / 2))),
    #000 100%
  );
}
body.os-home a { color: inherit; }
body.os-home {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body.os-home *,
body.os-home *::before,
body.os-home *::after { min-width: 0; }
body.os-home img,
body.os-home svg,
body.os-home video { max-width: 100%; height: auto; }
body.os-home .container {
  max-width: var(--os-max);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) {
  body.os-home .container { padding: 0 32px; }
}
body.os-home .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Header */
body.os-home .os-header {
  position: sticky; top: 0; z-index: 300; padding: 16px 0;
  transition: padding 0.25s ease; background: transparent;
}
body.os-home .os-header.is-scrolled { padding: 8px 0; }
body.os-home .os-header-shell {
  position: relative; max-width: var(--os-max); margin: 0 auto; padding: 0 16px;
}
@media (min-width: 640px) { body.os-home .os-header-shell { padding: 0 24px; } }
@media (min-width: 1024px) { body.os-home .os-header-shell { padding: 0 32px; } }

body.os-home .os-header-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 16px; border: 0.8px solid transparent; border-radius: 9999px;
  background: transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
/* Frosted glass on ::before so position:fixed menu is not trapped by backdrop-filter */
body.os-home .os-header.is-scrolled .os-header-inner {
  border-color: transparent;
  box-shadow: none;
}
body.os-home .os-header.is-scrolled .os-header-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  background: rgba(255,255,255,0.8);
  border: 0.8px solid rgba(197,198,206,0.8);
  box-shadow: var(--os-shadow-soft);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
html[data-theme="dark"] body.os-home .os-header.is-scrolled .os-header-inner::before {
  background: rgba(15,15,19,0.82);
  border-color: rgba(255,255,255,0.1);
}
body.os-home .os-header-inner > .os-logo,
body.os-home .os-header-inner > .os-actions {
  position: relative;
  z-index: 1;
}
body.os-home .os-header-inner > .os-links {
  z-index: auto;
}
body.os-home.os-menu-open .os-header-inner > .os-links.open {
  z-index: 20;
}
body.os-home.os-menu-open .os-header-inner > .os-logo,
body.os-home.os-menu-open .os-header-inner > .os-actions {
  z-index: 0;
}

body.os-home .os-logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  text-decoration: none; color: inherit; padding-right: 12px; border-radius: 9999px;
}
body.os-home .os-logo img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  background: transparent;
}
body.os-home .os-links { display: flex; align-items: center; gap: 2px; }
body.os-home .os-nav-panel-links { display: contents; }
body.os-home .os-links a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--os-ink-700);
  padding: 8px 16px; border-radius: 999px; transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
body.os-home .os-links a:hover { background: rgba(47,46,56,0.06); color: var(--os-ink-900); }
html[data-theme="dark"] body.os-home .os-links a:hover { background: rgba(255,255,255,0.06); }
body.os-home .nav-mobile-only { display: none; }
body.os-home .os-nav-ico,
body.os-home .os-nav-panel-head,
body.os-home .os-nav-panel-actions,
body.os-home .os-nav-close { display: none; }

body.os-home .os-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
body.os-home .os-currency { position: relative; z-index: 330; }
body.os-home .os-currency .currency-trigger {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 10px;
  border: 0.8px solid rgba(197,198,206,0.85); border-radius: 9999px;
  background: rgba(255,255,255,0.72); color: var(--os-ink-700);
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em; cursor: pointer;
  backdrop-filter: blur(8px); transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
html[data-theme="dark"] body.os-home .os-currency .currency-trigger {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #ffffff;
}
body.os-home .os-currency .currency-badge { color: var(--os-brand); flex-shrink: 0; }
body.os-home .os-currency .currency-label { color: inherit; }
body.os-home .os-currency .currency-chevron {
  width: 14px; height: 14px; opacity: 0.7; flex-shrink: 0; color: inherit;
  transition: transform 0.2s ease;
}
html[data-theme="dark"] body.os-home .os-currency .currency-chevron {
  opacity: 1; color: #ffffff;
}
html[data-theme="dark"] body.os-home .os-currency .currency-label {
  color: #ffffff;
}
body.os-home .os-currency.is-open .currency-chevron { transform: rotate(180deg); }
body.os-home .os-currency .currency-trigger:hover {
  background: #fff; border-color: rgba(249,90,20,0.35);
  box-shadow: 0 6px 18px rgba(15, 15, 19, 0.06);
}
html[data-theme="dark"] body.os-home .os-currency .currency-trigger:hover {
  background: rgba(255,255,255,0.12); border-color: rgba(249,90,20,0.45); color: #ffffff;
}
body.os-home .os-currency.is-open .currency-trigger {
  border-color: rgba(249,90,20,0.45);
  box-shadow: 0 0 0 3px rgba(249,90,20,0.12);
}
body.os-home .os-currency .currency-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 220px; padding: 8px;
  border-radius: 16px; background: #fff; border: 0.8px solid rgba(197,198,206,0.85);
  box-shadow: 0 18px 40px -18px rgba(15,15,19,0.28), 0 8px 18px rgba(15,15,19,0.06);
  z-index: 340; transform-origin: top right;
  animation: osCurrencyIn 0.16s ease-out;
}
@keyframes osCurrencyIn {
  from { opacity: 0; transform: translateY(-4px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
html[data-theme="dark"] body.os-home .os-currency .currency-dropdown {
  background: #1c1b22; border-color: rgba(255,255,255,0.1);
  box-shadow: 0 18px 40px -14px rgba(0,0,0,0.55);
}
body.os-home .os-currency .currency-dropdown.hidden { display: none; }
body.os-home .os-currency .currency-dropdown-head {
  padding: 6px 10px 8px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--os-ink-400);
}
body.os-home .os-currency .currency-option {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  border: none; background: transparent; border-radius: 12px;
  padding: 9px 10px; color: var(--os-ink-700); cursor: pointer; font-family: inherit;
}
body.os-home .os-currency .currency-option:not(.active)::after { content: none !important; }
body.os-home .os-currency .currency-sym {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(47,46,56,0.05); color: var(--os-ink-800);
  font-size: 14px; font-weight: 700;
}
html[data-theme="dark"] body.os-home .os-currency .currency-sym {
  background: rgba(255,255,255,0.06); color: #f4f4f7;
}
body.os-home .os-currency .currency-copy {
  display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1;
}
body.os-home .os-currency .currency-code {
  font-size: 13px; font-weight: 700; color: var(--os-ink-900); line-height: 1.2;
}
body.os-home .os-currency .currency-name {
  font-size: 11px; font-weight: 500; color: var(--os-ink-400); line-height: 1.2;
}
html[data-theme="dark"] body.os-home .os-currency .currency-code { color: #f6f7fb; }
body.os-home .os-currency .currency-option:hover {
  background: rgba(47,46,56,0.05);
}
html[data-theme="dark"] body.os-home .os-currency .currency-option:hover {
  background: rgba(255,255,255,0.05);
}
body.os-home .os-currency .currency-option.active {
  background: rgba(249,90,20,0.1);
}
body.os-home .os-currency .currency-option.active .currency-sym {
  background: rgba(249,90,20,0.16); color: var(--os-brand-deep);
}
body.os-home .os-currency .currency-option.active .currency-code { color: var(--os-brand-deep); }
body.os-home .os-currency .currency-option.active::after {
  content: '' !important; width: 16px; height: 16px; margin-left: auto !important; flex-shrink: 0;
  background: currentColor; color: var(--os-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6 9 17l-5-5' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6 9 17l-5-5' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.os-home .os-signin {
  font-size: 14px; font-weight: 500; color: var(--os-ink-700);
  padding: 8px 16px; border-radius: 999px; text-decoration: none;
}
body.os-home .os-signin:hover { background: rgba(47,46,56,0.06); }

body.os-home .os-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: none; cursor: pointer; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
body.os-home .os-pill-dark {
  background: linear-gradient(135deg, #D45500 0%, #F07000 52%, #F0A020 100%);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(240, 112, 0, 0.55);
  border: 1px solid rgba(255,255,255,0.12);
}
html[data-theme="dark"] body.os-home .os-pill-dark {
  background: linear-gradient(135deg, #E86800 0%, #F08010 55%, #F0B040 100%);
  color: #fff;
  box-shadow: 0 10px 28px -8px rgba(240, 112, 0, 0.45);
}
body.os-home .os-pill-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -10px rgba(240, 112, 0, 0.65);
  filter: brightness(1.04);
}
body.os-home .os-pill-dark svg { flex-shrink: 0; }
body.os-home .os-pill-lg { height: 44px; padding: 12px 24px; }
body.os-home .os-pill-light {
  background: #fff; color: #0f0f13; box-shadow: var(--os-shadow-soft);
}
html[data-theme="dark"] body.os-home .os-pill-light {
  background: #fff; color: #0f0f13;
}
body.os-home .os-cta-band .os-pill-light {
  color: #0f0f13;
}
body.os-home .os-full { width: 100%; height: 40px; }

body.os-home .os-icon-btn {
  width: 40px; height: 40px; border-radius: 999px; border: none; background: transparent;
  color: var(--os-ink-500); cursor: pointer; display: grid; place-items: center;
  position: relative; transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
body.os-home .os-icon-btn:hover { background: rgba(47,46,56,0.06); color: var(--os-ink-900); }
body.os-home .os-theme-btn {
  border: 0.8px solid rgba(197,198,206,0.85);
  background: rgba(255,255,255,0.72);
  color: var(--os-ink-700);
  backdrop-filter: blur(8px);
}
html[data-theme="dark"] body.os-home .os-theme-btn {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: #f4c15d;
}
body.os-home .os-theme-btn:hover {
  border-color: rgba(249,90,20,0.35);
  color: var(--os-brand-deep);
  box-shadow: 0 6px 18px rgba(15, 15, 19, 0.06);
}
html[data-theme="dark"] body.os-home .os-theme-btn:hover {
  color: #ffd27a;
  border-color: rgba(244,193,93,0.45);
}
body.os-home .os-theme-btn .os-theme-icon {
  grid-area: 1 / 1;
  transition: opacity 0.2s ease, transform 0.25s ease;
}
body.os-home .os-theme-btn .os-theme-sun {
  opacity: 0;
  transform: rotate(-45deg) scale(0.7);
  pointer-events: none;
}
body.os-home .os-theme-btn .os-theme-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
html[data-theme="dark"] body.os-home .os-theme-btn .os-theme-moon {
  opacity: 0;
  transform: rotate(45deg) scale(0.7);
  pointer-events: none;
}
html[data-theme="dark"] body.os-home .os-theme-btn .os-theme-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  pointer-events: auto;
}
body.os-home .os-menu {
  display: none;
  border: 0.8px solid rgba(197,198,206,0.85);
  background: rgba(255,255,255,0.85);
  color: #1c1b22;
  backdrop-filter: blur(8px);
}
body.os-home .os-menu .os-menu-icon,
body.os-home .os-menu .os-menu-icon path {
  color: inherit;
  stroke: currentColor;
}
html[data-theme="dark"] body.os-home .os-menu {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
}
html[data-theme="dark"] body.os-home .os-menu .os-menu-icon,
html[data-theme="dark"] body.os-home .os-menu .os-menu-icon path {
  color: #ffffff;
  stroke: #ffffff;
}
body.os-home .os-menu:hover {
  border-color: rgba(249,90,20,0.35);
  color: var(--os-brand-deep);
}
html[data-theme="dark"] body.os-home .os-menu:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(249,90,20,0.45);
  color: #ffffff;
}
html[data-theme="dark"] body.os-home .os-menu:hover .os-menu-icon path {
  stroke: #ffffff;
}
body.os-home.os-menu-open .os-menu {
  border-color: rgba(249,90,20,0.45);
  color: var(--os-brand-deep);
  box-shadow: 0 0 0 3px rgba(249,90,20,0.12);
}
html[data-theme="dark"] body.os-home.os-menu-open .os-menu {
  color: #ffffff;
  background: rgba(255,255,255,0.14);
}
html[data-theme="dark"] body.os-home.os-menu-open .os-menu .os-menu-icon path {
  stroke: #ffffff;
}
body.os-home .nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(8, 8, 12, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 0; z-index: 380;
}
body.os-home .nav-overlay.open { display: block; }
body.os-home.os-menu-open .os-header { z-index: 390; }

/* Hero */
body.os-home .os-hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.25rem 4.75rem; text-align: center;
}
@media (min-width: 640px) {
  body.os-home .os-hero { padding: 5rem 1.5rem 5rem; min-height: calc(100svh - 88px); }
}
body.os-home .os-hero .grid-bg {
  position: absolute; inset: 0; opacity: 0.6; pointer-events: none; z-index: 0;
}
body.os-home .os-aura {
  pointer-events: none; position: absolute; border-radius: 999px; filter: blur(64px); z-index: 0;
}
body.os-home .os-aura-main {
  top: -8rem; left: 50%; width: 20rem; height: 20rem;
  background: linear-gradient(to right top, rgba(242,125,71,0.35), rgba(249,90,20,0.22), rgba(251,191,36,0.32));
}
@media (min-width: 640px) {
  body.os-home .os-aura-main { width: 36rem; height: 36rem; }
}
body.os-home .os-aura-left {
  left: -6rem; top: 8rem; width: 13rem; height: 13rem; background: rgba(251,191,36,0.28);
}
body.os-home .os-aura-right {
  right: -6rem; top: 12rem; width: 13rem; height: 13rem; background: rgba(249,90,20,0.25);
}
body.os-home .os-hero-fade {
  pointer-events: none; position: absolute; inset-inline: 0; top: 0; height: 10rem; z-index: 0;
  background: linear-gradient(to bottom, var(--os-bg), transparent);
}
body.os-home .os-hero-inner {
  position: relative; max-width: 56rem; margin: 0 auto; z-index: 1;
}

/* Hero animated scan icon (TurnDetect-style document + orbits) */
body.os-home .os-hero-visual {
  position: relative;
  width: min(180px, 48vw);
  height: min(180px, 48vw);
  margin: 0 auto 1.35rem;
  display: grid;
  place-items: center;
}
body.os-home .os-hero-glow {
  position: absolute;
  inset: 18%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(240,112,0,0.35) 0%, rgba(240,160,32,0.12) 45%, transparent 70%);
  filter: blur(8px);
  animation: osHeroPulse 3.6s ease-in-out infinite;
}
body.os-home .os-hero-orbits {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
body.os-home .os-orbit {
  position: absolute;
  border: 1.5px solid rgba(240,112,0,0.55);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(240,112,0,0.25), inset 0 0 12px rgba(240,160,32,0.12);
}
body.os-home .os-orbit-a {
  width: 92%; height: 48%;
  transform: rotate(-28deg);
  animation: osOrbitSpin 9s linear infinite;
}
body.os-home .os-orbit-b {
  width: 78%; height: 42%;
  border-color: rgba(240,160,32,0.5);
  transform: rotate(42deg);
  animation: osOrbitSpin 12s linear infinite reverse;
}
body.os-home .os-orbit-c {
  width: 64%; height: 64%;
  border-color: rgba(240,112,0,0.22);
  border-style: dashed;
  animation: osOrbitSpin 18s linear infinite;
}
body.os-home .os-hero-doc {
  position: relative;
  width: 78px;
  height: 98px;
  z-index: 2;
  transform-style: preserve-3d;
  animation: osDocFloat 4.5s ease-in-out infinite;
}
body.os-home .os-hero-doc-stack,
body.os-home .os-hero-doc-page {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(160deg, #ffffff 0%, #f4f6fb 100%);
  border: 1px solid rgba(15,18,38,0.1);
  box-shadow: 0 18px 40px -16px rgba(15,15,19,0.28);
}
html[data-theme="dark"] body.os-home .os-hero-doc-stack,
html[data-theme="dark"] body.os-home .os-hero-doc-page {
  background: linear-gradient(160deg, #1a2038 0%, #10162a 100%);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.55);
}
body.os-home .os-hero-doc-stack {
  transform: translate(7px, 7px) scale(0.96);
  opacity: 0.55;
}
body.os-home .os-hero-doc-page {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 12px;
  overflow: hidden;
}
body.os-home .os-doc-line {
  display: block;
  height: 5px;
  width: 100%;
  border-radius: 999px;
  background: rgba(60,70,100,0.18);
}
html[data-theme="dark"] body.os-home .os-doc-line {
  background: rgba(120,130,160,0.35);
}
body.os-home .os-doc-line.short { width: 62%; }
body.os-home .os-doc-line.mid { width: 78%; }
body.os-home .os-doc-line.hot {
  background: linear-gradient(90deg, rgba(240,112,0,0.95), rgba(240,160,32,0.85));
  box-shadow: 0 0 10px rgba(240,112,0,0.45);
  animation: osLinePulse 2.4s ease-in-out infinite;
}
body.os-home .os-doc-scan {
  position: absolute;
  left: 6px; right: 6px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(240,112,0,0.65);
  background: linear-gradient(180deg, rgba(240,112,0,0.18), rgba(240,112,0,0.02));
  box-shadow: 0 0 16px rgba(240,112,0,0.35);
  animation: osScanMove 2.8s ease-in-out infinite;
}
body.os-home .os-doc-scan::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F07000, #F0A020, transparent);
  box-shadow: 0 0 8px rgba(240,112,0,0.8);
  transform: translateY(-50%);
}
body.os-home .os-hero-spark {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #F0A020;
  box-shadow: 0 0 8px rgba(240,160,32,0.8);
  animation: osSpark 3.8s ease-in-out infinite;
}
body.os-home .os-hero-spark.s1 { top: 14%; left: 18%; animation-delay: 0s; }
body.os-home .os-hero-spark.s2 { top: 22%; right: 14%; animation-delay: 0.6s; }
body.os-home .os-hero-spark.s3 { bottom: 24%; left: 12%; animation-delay: 1.1s; }
body.os-home .os-hero-spark.s4 { bottom: 18%; right: 20%; animation-delay: 1.7s; }
body.os-home .os-hero-spark.s5 { top: 48%; left: 6%; animation-delay: 2.2s; }

@keyframes osOrbitSpin {
  from { transform: rotate(var(--os-orbit-start, 0deg)); }
  to { transform: rotate(calc(var(--os-orbit-start, 0deg) + 360deg)); }
}
body.os-home .os-orbit-a { --os-orbit-start: -28deg; }
body.os-home .os-orbit-b { --os-orbit-start: 42deg; }
body.os-home .os-orbit-c { --os-orbit-start: 0deg; }
@keyframes osDocFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes osScanMove {
  0%, 100% { top: 14%; opacity: 0.85; }
  50% { top: 68%; opacity: 1; }
}
@keyframes osLinePulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}
@keyframes osHeroPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes osSpark {
  0%, 100% { opacity: 0.2; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.2); }
}
@keyframes osScrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

body.os-home .os-scroll-explore {
  display: flex;
  position: absolute;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--os-ink-400);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  z-index: 2;
}
body.os-home .os-scroll-explore:hover { color: var(--os-ink-700); }
html[data-theme="dark"] body.os-home .os-scroll-explore:hover { color: #e8ebf5; }
body.os-home .os-scroll-explore svg {
  animation: osScrollBounce 1.5s ease-in-out infinite;
}
@media (min-width: 640px) {
  body.os-home .os-scroll-explore { bottom: 1.5rem; }
  body.os-home .os-hero-visual {
    width: 220px;
    height: 220px;
    margin-bottom: 1.5rem;
  }
  body.os-home .os-hero-doc { width: 84px; height: 106px; }
}

body.os-home .os-hero h1,
body.os-home .os-rotator {
  font-family: var(--os-display);
  font-size: clamp(2.4rem, 6.2vw, 4.5rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.035em; color: var(--os-ink-900);
}
body.os-home .os-rotator { display: block; min-height: 2.35em; }
body.os-home .os-rotator .line {
  display: block; white-space: nowrap;
  animation: hero-line-in 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
body.os-home .os-rotator .line.os-grad,
body.os-home .os-rotator .line.text-gradient {
  animation-name: hero-line-in-alt;
  animation-delay: 0.08s;
}
body.os-home .os-hero-sub {
  margin: 0.85rem auto 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--os-ink-600);
}
body.os-home .os-lead {
  max-width: 40rem; margin: 1.5rem auto 0;
  color: var(--os-ink-500); font-size: 1.05rem; line-height: 1.7;
}
body.os-home .os-hero .os-lead {
  margin-top: 1rem;
}
body.os-home .os-cta {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 2.5rem;
}
body.os-home .os-chips {
  display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem;
}
body.os-home .os-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--os-ink-500);
}
body.os-home .os-chip svg { color: var(--os-green-soft); flex-shrink: 0; }

/* Scan */
body.os-home .os-scan { position: relative; overflow: hidden; padding: 6rem 0; }
body.os-home .os-scan .grid-bg {
  position: absolute; inset: 0; opacity: 0.55; pointer-events: none;
}
body.os-home .os-scan-head { text-align: center; margin-bottom: 2rem; position: relative; }
body.os-home .os-scan-head h2 {
  font-family: var(--os-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.03em; margin: 1.25rem 0 0;
}
body.os-home .os-scan-grid {
  position: relative;
  display: grid; gap: 1.5rem; max-width: 64rem; margin: 0 auto;
  align-items: start;
}
@media (min-width: 900px) {
  body.os-home .os-scan-grid { grid-template-columns: 1.05fr 1fr; }
}
/* Paper report stays light in both themes (TurnDetect-style) */
body.os-home .os-scan-perspective {
  perspective: 1400px;
  perspective-origin: 50% 40%;
}
body.os-home .os-report-tilt {
  transform-origin: center center;
  transform-style: preserve-3d;
  transform: rotateX(22deg) rotateY(-14deg) translate3d(0, 56px, 0) scale(0.96);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
body.os-home .os-scan-grid.visible .os-report-tilt,
body.os-home .os-scan-grid.is-lit .os-report-tilt {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  body.os-home .os-report-tilt { transform: none; transition: none; }
}
body.os-home .os-report {
  border-radius: 1rem; overflow: hidden; background: #fff;
  box-shadow: 0 22px 50px rgba(15, 15, 19, 0.18), 0 2px 8px rgba(15, 15, 19, 0.06);
  color: #0f0f13;
}
html[data-theme="dark"] body.os-home .os-report {
  background: #fff;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255,255,255,0.06);
}
body.os-home .os-report-top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 16px; border-bottom: 1px solid #e4e7f0; font-size: 10px;
  color: #626372;
}
body.os-home .os-report-top .os-report-meta { font-weight: 600; color: #626372; }
body.os-home .os-report-top .os-report-id {
  font-family: ui-monospace, monospace; color: #9aa0b3;
}
body.os-home .os-report .os-engine-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #d4d8e8; border-radius: 999px; padding: 4px 8px;
  font-size: 10px; font-weight: 700; color: #403f4c; background: #fff;
}
body.os-home .os-engine-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--os-ink-200); border-radius: 999px; padding: 4px 8px;
  font-size: 10px; font-weight: 700; color: var(--os-ink-700); background: #fff;
}
html[data-theme="dark"] body.os-home .os-engine-badge { background: rgba(255,255,255,0.05); }
html[data-theme="dark"] body.os-home .os-report .os-engine-badge {
  background: #fff; color: #403f4c; border-color: #d4d8e8;
}
body.os-home .os-engine-dot {
  width: 8px; height: 8px; border-radius: 99px;
  background: linear-gradient(135deg, var(--os-brand), var(--os-amber));
}
body.os-home .os-page {
  padding: 1.25rem 1.35rem 1.5rem; text-align: left;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px; line-height: 1.9; color: #1c1b22;
}
html[data-theme="dark"] body.os-home .os-page { color: #1c1b22; }
body.os-home .os-page .title {
  text-align: center; font-size: 13px; font-weight: 700; margin-bottom: 12px;
  color: #0f0f13;
}
body.os-home .os-page .os-page-h {
  font-weight: 700; margin: 0 0 8px; color: #0f0f13;
}
body.os-home .os-page .os-page-p {
  margin: 0 0 8px; text-align: justify; color: #1c1b22;
}
body.os-home .os-page .hl {
  background-color: rgba(186, 232, 240, 0);
  border-radius: 2px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  transition: background-color 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--hl-delay, 0s);
}
body.os-home .os-scan-grid.visible .os-page .hl,
body.os-home .os-scan-grid.is-lit .os-page .hl {
  background-color: rgba(186, 232, 240, 1);
}
@media (prefers-reduced-motion: reduce) {
  body.os-home .os-page .hl {
    background-color: rgba(186, 232, 240, 1);
    transition: none;
  }
}
body.os-home .os-page .flag-legend {
  display: flex; align-items: center; gap: 6px; margin-top: 1rem;
  font-family: var(--os-sans); font-size: 9px; color: #626372;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.5s ease 0.95s, transform 0.5s ease 0.95s;
}
body.os-home .os-scan-grid.visible .os-page .flag-legend,
body.os-home .os-scan-grid.is-lit .os-page .flag-legend {
  opacity: 1; transform: none;
}
body.os-home .os-page .flag-swatch {
  width: 16px; height: 8px; border-radius: 2px; background: rgba(186, 232, 240, 1);
}
body.os-home .os-report-foot {
  border-top: 1px solid #e4e7f0; padding: 8px 16px;
  font-size: 10px; color: #9aa0b3;
}
body.os-home .os-score-stack { display: flex; flex-direction: column; gap: 12px; }
body.os-home .os-ai-card { padding: 1.25rem; border-radius: 1rem; }
body.os-home .os-ai-card .meta {
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(212,216,232,0.6); padding-bottom: 12px; margin-bottom: 16px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--os-ink-400);
}
body.os-home .os-ai-card .pct {
  font-family: var(--os-display); font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800; letter-spacing: -0.03em; margin: 0;
}
body.os-home .os-ai-card .hint {
  margin-top: 8px; font-size: 11px; line-height: 1.55; color: var(--os-ink-500);
}
body.os-home .os-meters { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 12px; }
body.os-home .os-meter-row {
  display: flex; justify-content: space-between; font-size: 10px; color: var(--os-ink-500);
}
body.os-home .os-meter-row strong { color: var(--os-ink-700); font-weight: 600; }
body.os-home .os-meter {
  margin-top: 4px; height: 6px; border-radius: 999px; background: var(--os-ink-100); overflow: hidden;
}
body.os-home .os-meter > i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--os-brand), var(--os-amber));
  width: 0%;
}
body.os-home .os-scan-grid.visible .os-meter > i,
body.os-home .os-scan-grid.is-lit .os-meter > i {
  width: var(--w, 0%);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}
body.os-home .os-review {
  display: flex; gap: 12px; border-radius: 1rem; padding: 1rem;
  border: 1px solid rgba(2,132,199,0.25); background: rgba(2,132,199,0.1);
}
body.os-home .os-review svg { color: var(--os-sky); flex-shrink: 0; margin-top: 2px; }
body.os-home .os-review strong {
  display: block; font-size: 12px; font-weight: 700; color: #075985; margin-bottom: 4px;
}
html[data-theme="dark"] body.os-home .os-review strong { color: #7dd3fc; }
body.os-home .os-review p {
  margin: 0; font-size: 11px; line-height: 1.55; color: rgba(7,89,133,0.85);
}
html[data-theme="dark"] body.os-home .os-review p { color: rgba(125,211,252,0.8); }
body.os-home .os-ready {
  display: flex; align-items: center; gap: 10px; border-radius: 1rem; padding: 12px 16px;
  border: 1px solid rgba(34,197,94,0.3); background: rgba(34,197,94,0.1);
  font-size: 14px; font-weight: 700; color: #15803d;
}
html[data-theme="dark"] body.os-home .os-ready { color: #86efac; }
body.os-home .os-ready svg { color: inherit; }

/* Marquee */
body.os-home .os-marquee { padding: 0.25rem 0 3rem; }
body.os-home .os-marquee-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
body.os-home .os-marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--os-brand-600);
  background: rgba(249,90,20,0.1);
  border: 1px solid rgba(249,90,20,0.18);
}
body.os-home .os-marquee .label {
  text-align: center; font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--os-ink-500);
  margin: 0;
}
body.os-home .os-marquee-shell {
  margin-top: 1.35rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(212,216,232,0.7);
  background:
    linear-gradient(180deg, rgba(249,90,20,0.04), transparent 55%),
    rgba(255,255,255,0.72);
  box-shadow: 0 18px 40px -32px rgba(15,23,42,0.35);
  padding: 1.1rem 0;
  overflow: hidden;
}
html[data-theme="dark"] body.os-home .os-marquee-shell {
  background:
    linear-gradient(180deg, rgba(249,90,20,0.1), transparent 55%),
    rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.1);
  box-shadow: none;
}
body.os-home .os-marquee-track {
  position: relative; overflow: hidden;
}
body.os-home .os-marquee-fade {
  pointer-events: none; position: absolute; inset-block: 0; width: 4.5rem; z-index: 2;
}
body.os-home .os-marquee-fade.left {
  left: 0; background: linear-gradient(to right, rgba(255,255,255,0.95), transparent);
}
body.os-home .os-marquee-fade.right {
  right: 0; background: linear-gradient(to left, rgba(255,255,255,0.95), transparent);
}
html[data-theme="dark"] body.os-home .os-marquee-fade.left {
  background: linear-gradient(to right, rgba(12,14,22,0.96), transparent);
}
html[data-theme="dark"] body.os-home .os-marquee-fade.right {
  background: linear-gradient(to left, rgba(12,14,22,0.96), transparent);
}
body.os-home .os-marquee-row {
  display: flex; width: max-content;
}
body.os-home .os-marquee-group {
  display: flex; align-items: center; gap: 0.85rem; padding-right: 0.85rem; flex-shrink: 0;
}
body.os-home .os-marquee-group span,
body.os-home .os-marquee-group .os-uni {
  display: inline-flex; height: 2.85rem; align-items: center; flex-shrink: 0;
  gap: 0.55rem;
  padding: 0 0.95rem 0 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(212,216,232,0.85);
  background: rgba(255,255,255,0.95);
  font-family: var(--os-display); font-size: 0.92rem; font-weight: 750;
  letter-spacing: -0.03em; color: var(--os-ink-700);
  box-shadow: 0 8px 18px -16px rgba(15,23,42,0.45);
  transition: color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
body.os-home .os-marquee-group .os-uni img {
  width: 1.7rem; height: 1.7rem; object-fit: contain;
  border-radius: 999px; background: #fff;
  border: 1px solid rgba(212,216,232,0.7);
}
body.os-home .os-marquee-group .os-uni b { font-weight: 750; }
html[data-theme="dark"] body.os-home .os-marquee-group span,
html[data-theme="dark"] body.os-home .os-marquee-group .os-uni {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: #c9cedd;
  box-shadow: none;
}
html[data-theme="dark"] body.os-home .os-marquee-group .os-uni img {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.92);
}
body.os-home .os-marquee-group span:hover,
body.os-home .os-marquee-group .os-uni:hover {
  color: var(--os-brand-600);
  border-color: rgba(249,90,20,0.35);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -18px rgba(249,90,20,0.55);
}

body.os-home .os-uni-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.55rem; margin-top: 1.25rem;
}
body.os-home .os-uni-strip img {
  width: 2.15rem; height: 2.15rem; object-fit: contain;
  border-radius: 999px; background: #fff;
  border: 1px solid rgba(212,216,232,0.85);
  padding: 0.15rem;
  box-shadow: 0 8px 16px -14px rgba(15,23,42,0.4);
}
html[data-theme="dark"] body.os-home .os-uni-strip img {
  background: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.14);
}

/* Sections */
body.os-home section.os { padding: 6rem 0; position: relative; }
body.os-home .os-head {
  text-align: center; max-width: 42rem; margin: 0 auto 3rem;
}
body.os-home .os-head h2 {
  font-family: var(--os-display); font-size: clamp(1.85rem, 3.4vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--os-ink-900);
  margin: 1rem 0 0;
}
body.os-home .os-head .os-lead { margin-top: 1rem; }
body.os-home .os-grid { display: grid; gap: 1.25rem; }
body.os-home .os-grid.g3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { body.os-home .os-grid.g3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { body.os-home .os-grid.g3 { grid-template-columns: repeat(3, 1fr); } }

body.os-home .os-card {
  background: #fff; border: 1px solid var(--os-ink-200); border-radius: 1.5rem;
  padding: 1.75rem 1.5rem; text-align: left; transition: transform 0.3s, box-shadow 0.3s;
}
html[data-theme="dark"] body.os-home .os-card {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1);
}
body.os-home .os-card:hover { transform: translateY(-4px); box-shadow: var(--os-shadow-card); }
body.os-home .os-ic {
  width: 44px; height: 44px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(to bottom right, #F07000, #f59e0b); color: #fff;
  margin-bottom: 16px; box-shadow: var(--os-shadow-soft);
}
body.os-home .os-ic svg { stroke: #fff; }
body.os-home .os-card h3 {
  font-family: var(--os-display); font-size: 1.05rem; font-weight: 700;
  margin: 0 0 8px; color: var(--os-ink-900);
}
body.os-home .os-card p {
  margin: 0; color: var(--os-ink-500); font-size: 0.92rem; line-height: 1.65;
}

/* Features grid */
body.os-home .os-features { position: relative; }
body.os-home .os-feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  body.os-home .os-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  body.os-home .os-feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
}
body.os-home .os-feat {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 1.4rem;
  border: 1px solid rgba(212,216,232,0.85);
  background:
    linear-gradient(165deg, rgba(249,90,20,0.05), transparent 45%),
    #fff;
  padding: 1.4rem 1.3rem 1.45rem;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
html[data-theme="dark"] body.os-home .os-feat {
  background:
    linear-gradient(165deg, rgba(249,90,20,0.12), transparent 45%),
    rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.1);
}
body.os-home .os-feat:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -28px rgba(15,23,42,0.45);
  border-color: rgba(249,90,20,0.28);
}
body.os-home .os-feat--hilite {
  background:
    radial-gradient(circle at 100% 0%, rgba(249,90,20,0.14), transparent 42%),
    linear-gradient(165deg, rgba(249,90,20,0.07), transparent 50%),
    #fff;
}
html[data-theme="dark"] body.os-home .os-feat--hilite {
  background:
    radial-gradient(circle at 100% 0%, rgba(249,90,20,0.22), transparent 42%),
    linear-gradient(165deg, rgba(249,90,20,0.14), transparent 50%),
    rgba(255,255,255,0.04);
}
body.os-home .os-feat--accent {
  background:
    linear-gradient(165deg, rgba(249,90,20,0.16), rgba(249,90,20,0.04) 55%, #fff);
}
html[data-theme="dark"] body.os-home .os-feat--accent {
  background:
    linear-gradient(165deg, rgba(249,90,20,0.26), rgba(249,90,20,0.08) 55%, rgba(255,255,255,0.04));
}
body.os-home .os-feat__icon {
  width: 2.7rem; height: 2.7rem; border-radius: 0.95rem;
  display: grid; place-items: center; margin-bottom: 0.95rem;
  background: linear-gradient(135deg, #F07000, #f59e0b);
  color: #fff; box-shadow: 0 12px 24px -16px rgba(249,90,20,0.8);
}
body.os-home .os-feat__icon svg { stroke: #fff; }
body.os-home .os-feat h3 {
  font-family: var(--os-display); font-size: 1.08rem; font-weight: 750;
  margin: 0 0 0.45rem; color: var(--os-ink-900); letter-spacing: -0.02em;
}
body.os-home .os-feat p {
  margin: 0; color: var(--os-ink-500); font-size: 0.92rem; line-height: 1.65;
}
body.os-home .os-feat__tags {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 0.95rem 0 0; padding: 0;
}
body.os-home .os-feat__tags li {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--os-brand-600);
  background: rgba(249,90,20,0.1);
  border: 1px solid rgba(249,90,20,0.18);
  border-radius: 999px; padding: 0.28rem 0.65rem;
}

body.os-home .os-how {
  border-block: 1px solid rgba(47,46,56,0.08);
  background: rgba(254,244,238,0.45);
}
html[data-theme="dark"] body.os-home .os-how {
  background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.06);
}
body.os-home .os-steps {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 768px) { body.os-home .os-steps { grid-template-columns: repeat(3, 1fr); } }
body.os-home .os-step {
  position: relative;
  padding-top: 1.55rem !important;
}
body.os-home .os-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
body.os-home .os-step__icon {
  width: 2.75rem; height: 2.75rem; border-radius: 0.95rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #F07000, #f59e0b);
  color: #fff;
  box-shadow: 0 12px 24px -16px rgba(249,90,20,0.75);
}
body.os-home .os-step__icon svg { stroke: #fff; }
body.os-home .os-num {
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--os-brand);
  padding: 0.35rem 0.65rem; border-radius: 999px;
  background: rgba(249,90,20,0.1); border: 1px solid rgba(249,90,20,0.18);
}
body.os-home .os-steps h3 {
  font-family: var(--os-display); font-size: 1.2rem; margin: 0 0 8px; color: var(--os-ink-900);
}
body.os-home .os-steps p { margin: 0; color: var(--os-ink-500); font-size: 0.92rem; line-height: 1.65; }

/* Stats */
body.os-home .os-stats-wrap { padding: 4.5rem 0; }
body.os-home .os-stats-card {
  position: relative; overflow: hidden;
  padding: 1.6rem 1.25rem 1.4rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(212,216,232,0.85);
  background:
    radial-gradient(circle at 0% 0%, rgba(249,90,20,0.12), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(240,160,32,0.12), transparent 40%),
    #fff;
  box-shadow: 0 22px 48px -30px rgba(15,23,42,0.35);
}
html[data-theme="dark"] body.os-home .os-stats-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(249,90,20,0.18), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(240,160,32,0.14), transparent 40%),
    rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.1);
}
@media (min-width: 640px) { body.os-home .os-stats-card { padding: 2rem 2rem 1.75rem; } }
body.os-home .os-stats-head {
  position: relative;
  text-align: center;
  margin-bottom: 1.5rem;
}
body.os-home .os-stats-head .chip { margin-bottom: 0.7rem; }
body.os-home .os-stats-head h2 {
  margin: 0;
  font-family: var(--os-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--os-ink-900);
}
body.os-home .os-stats-blob {
  pointer-events: none; position: absolute; width: 16rem; height: 16rem;
  border-radius: 999px; filter: blur(64px); opacity: 0.28;
}
body.os-home .os-stats-blob.a { left: -5rem; top: -5rem; background: rgba(242,125,71,0.4); }
body.os-home .os-stats-blob.b { right: -5rem; bottom: -5rem; background: rgba(251,191,36,0.35); }
body.os-home .os-stats {
  position: relative; display: grid; gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) { body.os-home .os-stats { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
body.os-home .os-stat {
  position: relative;
  text-align: left;
  padding: 1.05rem 1rem 1.1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(212,216,232,0.8);
  background: rgba(255,255,255,0.82);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
html[data-theme="dark"] body.os-home .os-stat {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
body.os-home .os-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(249,90,20,0.3);
  box-shadow: 0 14px 28px -20px rgba(249,90,20,0.45);
}
body.os-home .os-stat__icon {
  width: 2.15rem; height: 2.15rem; border-radius: 0.7rem;
  display: grid; place-items: center; margin-bottom: 0.75rem;
  background: rgba(249,90,20,0.12);
  color: var(--os-brand-600);
  border: 1px solid rgba(249,90,20,0.18);
}
body.os-home .os-stat b {
  display: block; font-family: var(--os-display);
  font-size: clamp(1.65rem, 3.4vw, 2.35rem); letter-spacing: -0.04em; color: var(--os-ink-900);
  font-variant-numeric: tabular-nums; font-weight: 800; line-height: 1.1;
}
body.os-home .os-stat span {
  display: block; margin-top: 0.35rem; font-size: 0.82rem; font-weight: 600;
  color: var(--os-ink-500); line-height: 1.35;
}
body.os-home .os-stat .os-count.is-counting {
  animation: os-count-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes os-count-pop {
  from { opacity: 0.55; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.os-home .os-stat .os-count.is-counting { animation: none; }
}

/* Reviews / What users say */
body.os-home .os-reviews {
  padding: 5rem 0 4.5rem;
  position: relative;
}
body.os-home .os-reviews .os-head { margin-bottom: 2rem; }
body.os-home .os-quotes {
  --os-quotes-gap: clamp(0.875rem, 1.6vw, 1.25rem);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--os-quotes-gap);
  max-height: clamp(30rem, 62vh, 46rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
body.os-home .os-quotes-col {
  flex: 1 1 0;
  min-width: 0;
  max-width: 24rem;
  overflow: hidden;
}
body.os-home .os-quotes-track {
  display: flex;
  flex-direction: column;
  animation: os-quotes-scroll var(--os-quotes-dur, 24s) linear infinite;
  will-change: transform;
}
body.os-home .os-quotes-group {
  display: flex;
  flex-direction: column;
  gap: var(--os-quotes-gap);
  padding-bottom: var(--os-quotes-gap);
  flex-shrink: 0;
}
body.os-home .os-quotes-col:nth-child(2) .os-quotes-track {
  animation-name: os-quotes-scroll-rev;
}
body.os-home .os-quotes:hover .os-quotes-track {
  animation-play-state: paused;
}
@keyframes os-quotes-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -50%, 0); }
}
@keyframes os-quotes-scroll-rev {
  from { transform: translate3d(0, -50%, 0); }
  to { transform: translate3d(0, 0, 0); }
}
body.os-home .os-quote {
  background: #fff;
  border: 1px solid var(--os-ink-200);
  border-radius: 1.35rem;
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 10px 28px -20px rgba(15,15,19,0.3);
}
html[data-theme="dark"] body.os-home .os-quote {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 14px 32px -22px rgba(0,0,0,0.7);
}
body.os-home .os-quote-stars {
  color: #f5b301;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}
body.os-home .os-quote > p {
  margin: 0 0 1.1rem;
  color: var(--os-ink-700);
  font-size: 0.95rem;
  line-height: 1.65;
}
body.os-home .os-quote-who {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
body.os-home .os-quote-avatar {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #D45500, #F0A020);
}
body.os-home .os-quote-who strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--os-ink-900);
  line-height: 1.2;
}
body.os-home .os-quote-who span:not(.os-quote-avatar) {
  display: block;
  font-size: 0.78rem;
  color: var(--os-ink-500);
  margin-top: 2px;
}
@media (max-width: 900px) {
  body.os-home .os-quotes-col:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  body.os-home .os-quotes {
    max-height: 28rem;
  }
  body.os-home .os-quotes-col:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.os-home .os-quotes-track {
    animation: none !important;
    transform: none !important;
  }
  body.os-home .os-quotes {
    max-height: none;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
    flex-wrap: wrap;
  }
  body.os-home .os-quotes-col { display: block; max-width: none; flex: 1 1 100%; }
  body.os-home .os-quotes-col:nth-child(2),
  body.os-home .os-quotes-col:nth-child(3) { display: block; }
  body.os-home .os-quotes-group[aria-hidden="true"] { display: none; }
}

/* Pay — TurnDetect-style centered card + logo row */
body.os-home .os-pay-section { padding: 4.5rem 0; }
body.os-home .os-pay-card {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  border-radius: 1.6rem;
  border: 1px solid rgba(212,216,232,0.75);
  background:
    linear-gradient(180deg, rgba(249,90,20,0.06), transparent 42%),
    #fff;
  padding: 2rem clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--os-shadow-soft);
  overflow: hidden;
  position: relative;
}
html[data-theme="dark"] body.os-home .os-pay-card {
  background:
    linear-gradient(180deg, rgba(249,90,20,0.12), transparent 45%),
    rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.1);
}
body.os-home .os-pay-card .os-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--os-brand-600); margin: 0;
}
body.os-home .os-pay-card h2 {
  font-family: var(--os-display); font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800; margin: 0.7rem 0 0; color: var(--os-ink-900); letter-spacing: -0.03em;
}
body.os-home .os-pay-card > p {
  max-width: 36rem; margin: 0.85rem auto 0; font-size: 0.95rem; line-height: 1.65; color: var(--os-ink-500);
}
body.os-home .os-pay-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 560px) {
  body.os-home .os-pay-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  body.os-home .os-pay-logos {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: 52rem;
    gap: 0.75rem;
  }
}
body.os-home .os-pay-logos img {
  width: 100%;
  height: 3.15rem;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: 0.45rem 0.55rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(212,216,232,0.85);
  background: #fff;
  box-shadow: 0 8px 18px -16px rgba(15,23,42,0.35);
  opacity: 1;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
html[data-theme="dark"] body.os-home .os-pay-logos img {
  background: rgba(255,255,255,0.96);
  border-color: rgba(255,255,255,0.14);
}
body.os-home .os-pay-logos img:hover {
  transform: translateY(-2px);
  border-color: rgba(249,90,20,0.35);
  box-shadow: 0 14px 28px -18px rgba(249,90,20,0.45);
}
body.os-home .os-pay-note {
  margin: 1.15rem 0 0;
  color: var(--os-ink-500);
  font-size: 0.82rem;
  line-height: 1.45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
body.os-home .os-pay-note svg { flex-shrink: 0; opacity: 0.8; }

/* Pricing */
body.os-home .os-pricing { background: linear-gradient(180deg, var(--os-soft), var(--os-bg)); padding: 4rem 0 6rem; }
body.os-home .os-tabs-wrap { text-align: center; margin-top: 2rem; }
body.os-home .os-tabs {
  display: inline-flex; gap: 4px; background: var(--os-ink-100); padding: 5px; border-radius: 999px;
}
body.os-home .os-tabs button {
  border: 0; background: transparent; border-radius: 999px; padding: 10px 18px;
  font-weight: 600; font-size: 0.9rem; color: var(--os-ink-600); cursor: pointer;
}
body.os-home .os-tabs button.on {
  background: #fff; color: var(--os-ink-900); box-shadow: 0 4px 14px rgba(67,15,6,0.08);
}
html[data-theme="dark"] body.os-home .os-tabs button.on { background: rgba(255,255,255,0.1); color: #fff; }
body.os-home .os-tab-note {
  text-align: center; color: var(--os-ink-500); font-size: 0.9rem; margin: 14px 0 28px;
}
body.os-home .pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.15rem;
  align-items: stretch;
}
@media (min-width: 768px) { body.os-home .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { body.os-home .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
body.os-home .pricing-grid.is-hidden { display: none; }
body.os-home .os-price-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--os-ink-200);
  border-radius: 1.35rem;
  padding: 0;
  position: relative; text-align: left; overflow: hidden;
  box-shadow: 0 10px 28px -18px rgba(15,15,19,0.22);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
html[data-theme="dark"] body.os-home .os-price-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 16px 36px -20px rgba(0,0,0,0.55);
}
body.os-home .os-price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px -18px rgba(15,15,19,0.3);
  border-color: rgba(249,90,20,0.35);
}
html[data-theme="dark"] body.os-home .os-price-card:hover {
  box-shadow: 0 22px 48px -16px rgba(0,0,0,0.7);
  border-color: rgba(249,90,20,0.45);
}
body.os-home .os-price-card.featured {
  border-color: rgba(249,90,20,0.45);
  box-shadow: 0 16px 36px -16px rgba(249,90,20,0.28);
}
html[data-theme="dark"] body.os-home .os-price-card.featured {
  border-color: rgba(249,90,20,0.55);
  background: rgba(255,255,255,0.05);
}
body.os-home .os-price-card-top {
  padding: 1.35rem 1.35rem 1rem;
  border-bottom: 1px solid rgba(212,216,232,0.65);
  background: transparent;
}
html[data-theme="dark"] body.os-home .os-price-card-top {
  border-bottom-color: rgba(255,255,255,0.08);
  background: transparent;
}
body.os-home .os-price-card.featured .os-price-card-top {
  background: transparent;
}
body.os-home .os-price-card-body {
  padding: 1rem 1.35rem 0.35rem;
  flex: 1;
}
body.os-home .os-price-card-foot {
  padding: 0.85rem 1.35rem 1.25rem;
  margin-top: auto;
}
body.os-home .os-best {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--os-brand);
  color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 999px; padding: 5px 10px;
  box-shadow: 0 8px 18px -10px rgba(249,90,20,0.55);
}
body.os-home .os-plan-name {
  font-family: var(--os-display);
  font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; text-transform: none;
  color: var(--os-ink-900); margin: 0 0 4px; padding-right: 5.5rem;
}
body.os-home .os-plan-sub {
  margin: 0 0 14px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--os-brand);
}
body.os-home .os-price-lg {
  font-family: var(--os-display); font-size: clamp(2rem, 3.2vw, 2.55rem); font-weight: 800;
  letter-spacing: -0.045em; color: var(--os-ink-900); margin: 0 0 4px; line-height: 1;
}
body.os-home .os-price-was {
  margin: 0 0 8px; font-size: 0.8rem; color: var(--os-ink-400);
}
body.os-home .os-price-was s { color: var(--os-ink-500); margin-right: 4px; }
body.os-home .os-plan-meta {
  color: var(--os-ink-500); font-size: 0.86rem; margin: 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(47,46,56,0.05); border: 1px solid rgba(212,216,232,0.7);
}
html[data-theme="dark"] body.os-home .os-plan-meta {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1);
}
body.os-home .os-plan-includes {
  margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--os-ink-400);
}
body.os-home .os-checks { list-style: none; margin: 0 0 12px; padding: 0; }
body.os-home .os-checks li {
  display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem;
  color: var(--os-ink-700); padding: 7px 0; line-height: 1.45;
  border-bottom: 1px dashed rgba(212,216,232,0.55);
}
body.os-home .os-checks li:last-child { border-bottom: 0; }
html[data-theme="dark"] body.os-home .os-checks li {
  border-bottom-color: rgba(255,255,255,0.06);
}
body.os-home .os-checks li::before {
  content: ""; width: 18px; height: 18px; border-radius: 99px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat,
    rgba(34,197,94,0.12);
  flex-shrink: 0; margin-top: 1px;
}
html[data-theme="dark"] body.os-home .os-checks li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386efac' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat,
    rgba(34,197,94,0.18);
}
body.os-home .os-plan-best {
  margin: 4px 0 8px; padding: 10px 12px; border-radius: 12px;
  background: rgba(249,90,20,0.07); border: 1px solid rgba(249,90,20,0.16);
  font-size: 0.8rem; line-height: 1.5; color: var(--os-ink-600);
}
html[data-theme="dark"] body.os-home .os-plan-best {
  background: rgba(249,90,20,0.12); border-color: rgba(249,90,20,0.25); color: var(--os-ink-500);
}
body.os-home .os-plan-best strong { color: var(--os-ink-800); }
body.os-home .os-price-card-foot .os-pill-dark {
  width: 100%; height: 44px;
}

/* Pricing comparison table */
body.os-home .os-compare {
  margin-top: 3rem;
}
body.os-home .os-compare.is-hidden { display: none; }
body.os-home .os-compare-head {
  text-align: center; margin-bottom: 1.35rem;
}
body.os-home .os-compare-head h3 {
  font-family: var(--os-display); font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800; letter-spacing: -0.03em; margin: 0.85rem 0 0.4rem; color: var(--os-ink-900);
}
body.os-home .os-compare-head p {
  margin: 0 auto; max-width: 36rem; color: var(--os-ink-500); font-size: 0.95rem; line-height: 1.6;
}
body.os-home .os-compare-tabs-wrap {
  margin-top: 1.15rem;
}
body.os-home .os-compare-tabs {
  display: inline-flex;
}
body.os-home .os-compare-shell {
  overflow: hidden; border-radius: 1.25rem;
  border: 1px solid var(--os-ink-200); background: #fff;
  box-shadow: var(--os-shadow-soft);
}
html[data-theme="dark"] body.os-home .os-compare-shell {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1);
}
body.os-home .os-compare-table {
  width: 100%; border-collapse: collapse; min-width: 640px;
}
body.os-home .os-compare-shell { overflow-x: auto; }
body.os-home .os-compare-table th,
body.os-home .os-compare-table td {
  padding: 14px 16px; text-align: left; font-size: 0.92rem;
  border-bottom: 1px solid rgba(212,216,232,0.7);
}
html[data-theme="dark"] body.os-home .os-compare-table th,
html[data-theme="dark"] body.os-home .os-compare-table td {
  border-bottom-color: rgba(255,255,255,0.08);
}
body.os-home .os-compare-table th {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--os-ink-400); background: rgba(47,46,56,0.03);
}
html[data-theme="dark"] body.os-home .os-compare-table th {
  background: rgba(255,255,255,0.03);
}
body.os-home .os-compare-table td { color: var(--os-ink-700); }
body.os-home .os-compare-table td strong { color: var(--os-ink-900); font-weight: 700; }
body.os-home .os-compare-table tbody tr:last-child td { border-bottom: 0; }
body.os-home .os-compare-table tbody tr:hover td {
  background: rgba(249,90,20,0.05);
}
body.os-home .os-compare-save {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.5rem; padding: 4px 10px; border-radius: 999px;
  background: rgba(34,197,94,0.12); color: #15803d; font-weight: 800; font-size: 0.8rem;
}
html[data-theme="dark"] body.os-home .os-compare-save {
  background: rgba(34,197,94,0.18); color: #86efac;
}
body.os-home .os-compare-row {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease, background 0.2s ease;
  transition-delay: calc(var(--row-i, 0) * 0.07s);
}
body.os-home .os-compare.visible .os-compare-row {
  opacity: 1; transform: none;
}
@media (prefers-reduced-motion: reduce) {
  body.os-home .os-compare-row { opacity: 1; transform: none; transition: none; }
}

/* Auth */
body.os-home .os-auth {
  max-width: 440px; margin: 48px auto 0; background: #fff;
  border: 1px solid rgba(47,46,56,0.08); border-radius: 28px; padding: 32px 28px;
  box-shadow: var(--os-shadow-card);
}
html[data-theme="dark"] body.os-home .os-auth {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1);
}
body.os-home .os-auth h3 {
  font-family: var(--os-display); font-size: 2rem; letter-spacing: -0.03em;
  text-align: center; margin: 0 0 6px; color: var(--os-ink-900);
}
body.os-home .os-auth .os-auth-sub {
  text-align: center; color: var(--os-ink-500); margin: 0 0 22px;
}
body.os-home .auth-tabs { display: flex; gap: 4px; background: var(--os-ink-100); padding: 4px; border-radius: 999px; margin-bottom: 18px; }
body.os-home .auth-tab {
  flex: 1; border: 0; background: transparent; border-radius: 999px; padding: 10px;
  font-weight: 600; cursor: pointer; color: var(--os-ink-600);
}
body.os-home .auth-tab.active { background: #fff; color: var(--os-ink-900); box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
body.os-home .auth-panel { display: none; }
body.os-home .auth-panel.active { display: block; }
body.os-home .form-group { margin-bottom: 14px; text-align: left; }
body.os-home .form-group label {
  display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; color: var(--os-ink-600);
}
body.os-home .form-group input {
  width: 100%; box-sizing: border-box; border: 1px solid var(--os-ink-200);
  border-radius: 12px; padding: 12px 14px; font: inherit; background: var(--os-bg); color: var(--os-ink);
}

/* SEO keyword section */
body.os-home .os-seo {
  padding: 4.5rem 0 1rem;
  position: relative;
}
body.os-home .os-seo-card {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.25rem;
  border-radius: 1.25rem;
  border: 1px solid var(--os-ink-200);
  background: color-mix(in srgb, var(--os-bg) 88%, var(--os-accent, #f95a14) 4%);
}
html[data-theme="dark"] body.os-home .os-seo-card {
  background: color-mix(in srgb, #16161c 92%, #f95a14 6%);
  border-color: rgba(255, 255, 255, 0.08);
}
body.os-home .os-seo-card .chip { margin-bottom: 0.85rem; }
body.os-home .os-seo-card h2 {
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--os-ink);
  max-width: 28ch;
}
body.os-home .os-seo-card > .os-lead {
  margin: 0 0 1.5rem;
  max-width: 46rem;
  color: var(--os-ink-600);
}
body.os-home .os-seo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  body.os-home .os-seo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem 1.35rem;
  }
  body.os-home .os-seo-card {
    padding: 2.35rem 2.25rem 2.5rem;
  }
}
body.os-home .os-seo-grid article h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--os-ink);
}
body.os-home .os-seo-grid article p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--os-ink-600);
}

/* FAQ */
body.os-home #faq,
body.os-home .os-faq-sec {
  padding: 5.5rem 0 6rem;
  position: relative;
  isolation: isolate;
}
body.os-home .os-faq-sec .os-head {
  margin-bottom: 2rem;
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
body.os-home .faq-shell {
  max-width: 46rem;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
html[data-theme="dark"] body.os-home .faq-shell {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
body.os-home .faq-list {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
body.os-home .faq-item {
  border: 1px solid rgba(212,216,232,0.85);
  border-radius: 1.05rem;
  background: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 28px -24px rgba(15,15,19,0.45);
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}
body.os-home .faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
  transition: background 0.28s ease, top 0.28s ease, bottom 0.28s ease;
}
body.os-home .faq-item:last-child { border-bottom-width: 1px; }
html[data-theme="dark"] body.os-home .faq-item {
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 14px 32px -26px rgba(0,0,0,0.85);
}
body.os-home .faq-item:hover {
  border-color: rgba(249,90,20,0.28);
  box-shadow: 0 14px 34px -22px rgba(249,90,20,0.28);
  transform: translateY(-1px);
}
html[data-theme="dark"] body.os-home .faq-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(249,90,20,0.32);
}
body.os-home .faq-item.open {
  background: rgba(249,90,20,0.045);
  border-color: rgba(249,90,20,0.38);
  box-shadow: 0 16px 36px -20px rgba(249,90,20,0.32);
  transform: none;
}
html[data-theme="dark"] body.os-home .faq-item.open {
  background: rgba(249,90,20,0.09);
  border-color: rgba(249,90,20,0.4);
}
body.os-home .faq-item.open::before {
  background: var(--os-brand);
  top: 0.55rem;
  bottom: 0.55rem;
}
body.os-home .faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 1.15rem 1.2rem 1.15rem 1.3rem;
  font: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--os-ink-900);
  cursor: pointer;
  transition: color 0.2s ease;
}
body.os-home .faq-q:hover { color: var(--os-brand); }
body.os-home .faq-q:focus-visible {
  outline: 2px solid rgba(249,90,20,0.45);
  outline-offset: -2px;
}
body.os-home .faq-q-text { flex: 1; min-width: 0; }
body.os-home .faq-icon {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 999px;
  flex-shrink: 0;
  position: relative;
  background: var(--os-ink-100);
  border: 1px solid rgba(212,216,232,0.9);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease;
}
html[data-theme="dark"] body.os-home .faq-icon {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
body.os-home .faq-item:hover .faq-icon {
  border-color: rgba(249,90,20,0.35);
  box-shadow: 0 0 0 3px rgba(249,90,20,0.08);
}
body.os-home .faq-icon::before,
body.os-home .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--os-ink-600);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}
body.os-home .faq-icon::before {
  width: 11px;
  height: 2px;
  transform: translate(-50%, -50%);
}
body.os-home .faq-icon::after {
  width: 2px;
  height: 11px;
  transform: translate(-50%, -50%);
}
body.os-home .faq-item.open .faq-icon {
  background: var(--os-brand);
  border-color: var(--os-brand);
  transform: rotate(180deg);
  box-shadow: 0 6px 16px -8px rgba(249,90,20,0.7);
}
body.os-home .faq-item.open .faq-icon::before,
body.os-home .faq-item.open .faq-icon::after {
  background: #fff;
}
body.os-home .faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}
body.os-home .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
body.os-home .faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
body.os-home .faq-a-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 1.2rem 0 1.3rem;
  color: var(--os-ink-500);
  font-size: 0.935rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease, padding 0.32s ease;
}
body.os-home .faq-item.open .faq-a-inner {
  opacity: 1;
  transform: none;
  padding: 0 3.25rem 1.2rem 1.3rem;
}
body.os-home .faq-help {
  max-width: 46rem;
  margin: 1.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem 1.3rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(249,90,20,0.24);
  background:
    linear-gradient(135deg, rgba(249,90,20,0.09), rgba(249,90,20,0.03));
  box-shadow: 0 12px 30px -24px rgba(249,90,20,0.45);
}
html[data-theme="dark"] body.os-home .faq-help {
  background: linear-gradient(135deg, rgba(249,90,20,0.14), rgba(249,90,20,0.05));
  border-color: rgba(249,90,20,0.3);
}
body.os-home .faq-help-copy strong {
  display: block;
  font-size: 0.98rem;
  color: var(--os-ink-900);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
body.os-home .faq-help-copy p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--os-ink-500);
  line-height: 1.5;
}
@media (max-width: 640px) {
  body.os-home .faq-list { gap: 0.55rem; }
  body.os-home .faq-q {
    padding: 1rem 1rem 1rem 1.1rem;
    font-size: 0.94rem;
  }
  body.os-home .faq-a-inner {
    padding-left: 1.1rem;
    padding-right: 1rem;
  }
  body.os-home .faq-item.open .faq-a-inner {
    padding: 0 1rem 1.05rem 1.1rem;
  }
  body.os-home .faq-help {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  body.os-home .faq-help .os-pill {
    width: 100%;
    justify-content: center;
  }
}

/* CTA band */
body.os-home .os-cta-band {
  position: relative; overflow: hidden; border-radius: 2rem; isolation: isolate;
  background: linear-gradient(135deg, #17161c, #0f0f13 45%, #3a1608);
  padding: 2.5rem 1.5rem; text-align: center; color: #fff;
  box-shadow: var(--os-shadow-soft); margin: 0 auto;
}
body.os-home .os-cta-band > * { position: relative; z-index: 1; }
@media (min-width: 640px) { body.os-home .os-cta-band { padding: 4rem; } }
body.os-home #start { padding: 6rem 0; }
body.os-home .os-cta-band .os-spin {
  pointer-events: none; position: absolute; left: 50%; top: 50%;
  width: 40rem; height: 40rem; margin: -20rem 0 0 -20rem; border-radius: 999px;
  background: conic-gradient(from 0deg, rgba(249,90,20,0.5), rgba(251,191,36,0.45), rgba(249,90,20,0.5));
  opacity: 0.45; filter: blur(64px);
}
body.os-home .os-cta-band .chip {
  border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9);
}
body.os-home .os-cta-band h2 {
  position: relative; max-width: 48rem; margin: 1.25rem auto 0;
  font-family: var(--os-display); font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: #fff;
}
body.os-home .os-cta-band h2 .grad-light {
  background: linear-gradient(90deg, #fdba74, #fff, #fcd34d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.os-home .os-cta-band > p {
  position: relative; max-width: 36rem; margin: 1.25rem auto 0;
  color: rgba(255,255,255,0.7); font-size: 1rem;
}
body.os-home .os-cta-band .os-cta { position: relative; margin-top: 2.5rem; }
body.os-home .os-cta-band .os-ghost-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.9);
  padding: 14px 28px; font-weight: 600; font-size: 14px; text-decoration: none;
}
body.os-home .os-cta-band .os-ghost-btn:hover { background: rgba(255,255,255,0.1); }
body.os-home .os-cta-band .os-ghost-btn .spark { color: #fdba74; }

/* Partners / solutions */
body.os-home .os-partners {
  padding: 5rem 0 5.5rem;
  background: linear-gradient(180deg, var(--os-bg), var(--os-soft) 55%, var(--os-bg));
}
body.os-home .os-partners .os-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}
body.os-home .os-partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 900px) {
  body.os-home .os-partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
}
body.os-home .os-partner-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.3rem 1.4rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(212,216,232,0.85);
  background: #fff;
  box-shadow: 0 16px 36px -28px rgba(15,15,19,0.4);
}
html[data-theme="dark"] body.os-home .os-partner-card {
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.1);
}
body.os-home .os-partner-card--accent {
  border-color: rgba(249,90,20,0.35);
  background:
    linear-gradient(165deg, rgba(249,90,20,0.08), transparent 42%),
    #fff;
}
html[data-theme="dark"] body.os-home .os-partner-card--accent {
  background:
    linear-gradient(165deg, rgba(249,90,20,0.14), transparent 45%),
    rgba(255,255,255,0.04);
}
body.os-home .os-partner-card__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f95a14;
  background: rgba(249,90,20,0.1);
  border: 1px solid rgba(249,90,20,0.2);
  margin-bottom: 0.95rem;
}
body.os-home .os-partner-card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--os-ink-900);
}
body.os-home .os-partner-card > p {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--os-ink-500);
}
body.os-home .os-partner-card .os-checklist { margin-top: 0.95rem; flex: 1; }
body.os-home .os-partner-card .os-sbtn {
  margin-top: 1.2rem;
  width: 100%;
}

/* Footer */
body.os-home .os-foot {
  border-top: 1px solid rgba(212,216,232,0.7);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(249,90,20,0.07), transparent 55%),
    #fff;
  padding: 3.5rem 0 1.75rem;
  margin-top: 0;
}
html[data-theme="dark"] body.os-home .os-foot {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(249,90,20,0.12), transparent 55%),
    #0f0f13;
  border-color: rgba(255,255,255,0.1);
}
body.os-home .os-foot-top {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  body.os-home .os-foot-top { grid-template-columns: 1.15fr 2fr; gap: 3rem; }
}
body.os-home .os-foot-brand p {
  max-width: 24rem;
  margin: 1.15rem 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--os-ink-500);
}
body.os-home .os-foot-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
body.os-home .os-foot a { text-decoration: none; }
body.os-home .os-foot h4 {
  margin: 0 0 0.9rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--os-ink-500);
}
body.os-home .os-foot-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}
@media (min-width: 720px) {
  body.os-home .os-foot-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
body.os-home .os-foot-links a {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.875rem;
  color: var(--os-ink-700);
  transition: color 0.15s ease;
}
body.os-home .os-foot-links a:hover { color: var(--os-brand); }
body.os-home .os-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(212,216,232,0.85);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--os-ink-700);
  background: rgba(255,255,255,0.7);
}
html[data-theme="dark"] body.os-home .os-mail {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: #eceef6;
}
body.os-home .os-foot-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f95a14, #e05000);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
body.os-home .os-foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212,216,232,0.6);
  font-size: 12px;
  color: var(--os-ink-500);
}
html[data-theme="dark"] body.os-home .os-foot-bottom {
  border-top-color: rgba(255,255,255,0.1);
}
body.os-home .os-foot-paymarks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
body.os-home .os-foot-paymarks img {
  height: 30px;
  width: auto;
  max-width: 6.5rem;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  background: #fff;
  padding: 3px 6px;
  border: 1px solid rgba(212,216,232,0.75);
  opacity: 1;
}
html[data-theme="dark"] body.os-home .os-foot-paymarks img {
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.12);
}

/* Reveal + mobile */
body.os-home .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
body.os-home .reveal.visible { opacity: 1; transform: none; }
/* Keep perspective intact — parent transform flattens 3D tilt */
body.os-home .os-scan-grid.reveal {
  transform: none;
  transition: opacity 0.55s ease;
}
body.os-home .os-scan-grid.reveal.visible { transform: none; }

@media (max-width: 900px) {
  body.os-home .os-header { padding: 10px 0; }
  body.os-home .os-header-shell { padding: 0 12px; }
  body.os-home .os-header-inner {
    gap: 8px; padding: 6px 10px;
  }
  body.os-home .os-logo { padding-right: 0; max-width: min(58vw, 200px); }
  body.os-home .os-logo img {
    height: 36px;
    max-width: 100%;
  }
  body.os-home .os-actions { gap: 6px; }
  body.os-home .os-icon-btn { width: 40px; height: 40px; }
  body.os-home .os-currency .currency-trigger {
    height: 40px; padding: 0 10px 0 8px; gap: 5px; font-size: 12px;
  }
  body.os-home .os-currency .currency-badge { width: 15px; height: 15px; }
  body.os-home .os-currency .currency-dropdown {
    right: 0; left: auto; min-width: min(220px, calc(100vw - 24px));
  }

  body.os-home .os-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(100vw - 2.5rem, 22rem);
    max-width: 100vw;
    max-height: none;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding:
      calc(0.85rem + env(safe-area-inset-top, 0px))
      1rem
      calc(1.15rem + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-left: 1px solid rgba(212,216,232,0.95);
    border-radius: 1.25rem 0 0 1.25rem;
    background: #ffffff;
    z-index: 20;
    box-shadow: -24px 0 60px -28px rgba(15,23,42,0.55);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  html[data-theme="dark"] body.os-home .os-links {
    background: #121218;
    border-left-color: rgba(255,255,255,0.1);
    box-shadow: -24px 0 60px -24px rgba(0,0,0,0.75);
  }
  body.os-home .os-links.open {
    display: flex;
    animation: os-nav-sheet 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }
  @keyframes os-nav-sheet {
    from { opacity: 0.6; transform: translateX(100%); }
    to { opacity: 1; transform: none; }
  }
  body.os-home .os-nav-panel-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.15rem 0.15rem 0.95rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid rgba(212,216,232,0.8);
    flex-shrink: 0;
  }
  html[data-theme="dark"] body.os-home .os-nav-panel-head {
    border-bottom-color: rgba(255,255,255,0.1);
  }
  body.os-home .os-nav-panel-copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
  }
  body.os-home .os-nav-panel-title {
    display: block;
    font-family: var(--os-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--os-ink-900);
    line-height: 1.2;
  }
  body.os-home .os-nav-panel-sub {
    display: block;
    font-size: 0.78rem;
    color: var(--os-ink-500);
    font-weight: 550;
    line-height: 1.35;
  }
  body.os-home .os-nav-close {
    display: inline-grid !important;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid rgba(212,216,232,0.95);
    background: rgba(47,46,56,0.04);
    color: var(--os-ink-800);
    cursor: pointer;
    padding: 0;
  }
  html[data-theme="dark"] body.os-home .os-nav-close {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.14);
    color: #f4f5f8;
  }
  body.os-home .os-nav-panel-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    min-height: 0;
    padding: 0.35rem 0;
  }
  body.os-home .os-nav-ico {
    display: inline-grid !important;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    background: rgba(249,90,20,0.12);
    color: var(--os-brand-600);
    flex-shrink: 0;
  }
  body.os-home .os-links a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 0.85rem;
    font-size: 1rem;
    font-weight: 650;
    border-radius: 1rem;
    color: var(--os-ink-800);
    min-height: 3.1rem;
  }
  body.os-home .os-links a:hover,
  body.os-home .os-links a:active {
    background: rgba(249,90,20,0.1);
    color: var(--os-brand-600);
  }
  body.os-home .os-nav-panel-actions {
    display: grid !important;
    grid-template-columns: 1fr 1.15fr;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(212,216,232,0.8);
    flex-shrink: 0;
  }
  html[data-theme="dark"] body.os-home .os-nav-panel-actions {
    border-top-color: rgba(255,255,255,0.1);
  }
  body.os-home .os-nav-signin {
    display: grid !important;
    place-items: center;
    min-height: 3rem;
    border-radius: 999px !important;
    border: 1px solid rgba(212,216,232,0.95);
    background: #f7f7fa !important;
    color: var(--os-ink-800) !important;
    font-weight: 700 !important;
    padding: 0.65rem 0.85rem !important;
  }
  html[data-theme="dark"] body.os-home .os-nav-signin {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.14);
    color: #eceef6 !important;
  }
  body.os-home .os-nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    width: 100%;
    border-radius: 999px !important;
    padding: 0.65rem 0.9rem !important;
    font-size: 0.92rem !important;
  }
  body.os-home .os-nav-cta .os-nav-ico { display: none; }
  body.os-home .os-menu { display: grid; }
  body.os-home .os-hide-sm { display: none !important; }
  body.os-home .nav-mobile-only { display: block; }
  body.os-home .os-links a.nav-mobile-only { display: flex; }
  body.os-home .os-nav-panel-head.nav-mobile-only { display: flex !important; }
  body.os-home .os-nav-panel-actions.nav-mobile-only { display: grid !important; }
  body.os-home .os-rotator .line { white-space: normal; }

  body.os-home .os-hero {
    padding: 4.25rem 1rem 3.25rem;
    min-height: auto;
  }
  body.os-home .os-hero h1,
  body.os-home .os-rotator {
    font-size: clamp(1.7rem, 7.6vw, 2.35rem);
    line-height: 1.15;
  }
  body.os-home .os-rotator { min-height: 2.4em; }
  body.os-home .os-lead {
    font-size: 0.92rem;
    margin-top: 1rem;
    padding: 0 2px;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
  body.os-home .os-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 1.5rem;
  }
  body.os-home .os-cta > a,
  body.os-home .os-cta > .btn-primary,
  body.os-home .os-cta > .btn-ghost {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  body.os-home .os-chips {
    gap: 0.55rem 0.85rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  body.os-home .os-chip { font-size: 12px; }

  body.os-home .os-scan { padding: 3rem 0; }
  body.os-home .os-scan-head { margin-bottom: 1.15rem; }
  body.os-home .os-report-tilt {
    transform: rotateX(10deg) rotateY(-6deg) translate3d(0, 18px, 0) scale(0.96);
  }
  body.os-home .os-scan-grid.visible .os-report-tilt,
  body.os-home .os-scan-grid.is-lit .os-report-tilt {
    transform: none;
  }
  body.os-home .os-report-top {
    flex-wrap: wrap;
    gap: 8px;
  }
  body.os-home .os-page {
    padding: 0.9rem;
    font-size: 10.5px;
  }
  body.os-home .os-ai-card { padding: 0.9rem; }
  body.os-home .os-review { padding: 0.85rem; }

  body.os-home .os-marquee { padding-bottom: 1.5rem; }
  body.os-home section[id="features"],
  body.os-home #features,
  body.os-home #how,
  body.os-home #faq,
  body.os-home #packages,
  body.os-home .os-pricing,
  body.os-home .os-receive,
  body.os-home .os-partners,
  body.os-home .os-pay-section,
  body.os-home .os-reviews,
  body.os-home .os-contact {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  body.os-home .os-head {
    margin-bottom: 1.35rem;
    padding-inline: 2px;
  }
  body.os-home .os-head h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
    line-height: 1.2;
  }
  body.os-home .os-head p,
  body.os-home .os-tab-note {
    font-size: 0.9rem;
  }
  body.os-home .os-grid.g3,
  body.os-home .os-steps,
  body.os-home .pricing-grid,
  body.os-home .os-partners-grid,
  body.os-home .os-samples {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body.os-home .card-surface,
  body.os-home .os-card,
  body.os-home .os-feat,
  body.os-home .os-partner-card {
    padding: 1.1rem !important;
  }
  body.os-home .os-tabs-wrap { margin-top: 1.35rem; }
  body.os-home .os-tabs,
  body.os-home .os-compare-tabs {
    display: flex;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }
  body.os-home .os-tabs button,
  body.os-home .os-compare-tabs button {
    flex: 1;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.88rem;
  }
  body.os-home .pricing-grid { gap: 0.95rem; }
  body.os-home .os-price-card-top,
  body.os-home .os-price-card-body {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  body.os-home .os-price-card-foot {
    padding: 0.75rem 1.1rem 1.05rem;
  }
  body.os-home .os-price-lg {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }
  body.os-home .os-compare-head {
    text-align: left;
  }
  body.os-home .os-compare-shell {
    margin-inline: -0.25rem;
    border-radius: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  body.os-home .os-compare-table {
    min-width: 28rem;
    font-size: 0.8rem;
  }
  body.os-home .os-compare-table th,
  body.os-home .os-compare-table td {
    padding: 0.65rem 0.55rem;
    white-space: nowrap;
  }
  body.os-home .os-stats-card { padding: 1.15rem; }
  body.os-home .os-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  body.os-home .os-stat b {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }
  body.os-home .os-cta-band {
    padding: 1.6rem 1.1rem;
    border-radius: 1.25rem;
    margin-inline: 0;
  }
  body.os-home .os-cta-band h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }
  body.os-home .os-cta-band .os-cta {
    flex-direction: column;
    align-items: stretch;
  }
  body.os-home .os-cta-band .os-cta > a {
    width: 100%;
    justify-content: center;
  }
  body.os-home .os-pay-card { padding: 1.25rem 1rem; }
  body.os-home .os-pay-logos {
    gap: 0.5rem;
    max-width: 100%;
  }
  body.os-home .os-pay-logos img {
    height: 2.7rem;
    padding: 0.3rem 0.35rem;
  }
  body.os-home .os-contact-card {
    padding: 1.15rem;
    border-radius: 1.25rem;
  }
  body.os-home .os-contact-form input,
  body.os-home .os-contact-form textarea,
  body.os-home .os-contact-form button {
    font-size: 16px; /* prevent iOS zoom */
  }
  body.os-home .os-marquee-group {
    gap: 0.55rem;
    padding-right: 0.55rem;
  }
  body.os-home .os-marquee-group span,
  body.os-home .os-marquee-group .os-uni {
    height: 2.4rem;
    font-size: 0.8rem;
    padding: 0 0.7rem 0 0.4rem;
  }
  body.os-home .os-buy-toasts {
    left: 10px;
    right: 10px;
    bottom: calc(5.1rem + env(safe-area-inset-bottom));
    max-width: none;
    width: auto;
  }
  body.os-home .faq-item button,
  body.os-home .os-faq button {
    min-height: 48px;
    text-align: left;
    gap: 12px;
    padding-inline: 0.85rem;
    font-size: 0.92rem;
  }
  body.os-home .os-scard__actions {
    flex-wrap: wrap;
  }
  body.os-home .os-scard__actions .os-pill,
  body.os-home .os-scard__actions a,
  body.os-home .os-scard__actions button {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 44px;
  }
  body.os-home .os-foot {
    padding: 2.75rem 0 calc(5.5rem + env(safe-area-inset-bottom));
  }
  body.os-home .os-foot-grid,
  body.os-home .os-foot .cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
  body.os-home .os-foot-brand p {
    font-size: 0.88rem;
  }
  body.os-home .container-app {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    max-width: 100%;
  }
  body.os-home img,
  body.os-home svg,
  body.os-home video,
  body.os-home canvas,
  body.os-home iframe {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  body.os-home .os-logo img { height: 32px; }
  body.os-home .os-header-inner { padding: 5px 8px; }
  body.os-home .os-hero { padding: 3.75rem 0.85rem 3rem; }
  body.os-home .os-links {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    border-left: 0;
  }
  body.os-home .os-stats {
    grid-template-columns: 1fr 1fr;
  }
  body.os-home .os-foot-grid,
  body.os-home .os-foot .cols {
    grid-template-columns: 1fr;
  }
  body.os-home .os-nav-panel-actions {
    grid-template-columns: 1fr;
  }
  body.os-home .os-compare-tabs-wrap {
    width: 100%;
  }
}

body.os-home.has-mobile-cta { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
body.os-home .mobile-cta-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 250;
  display: none; gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.94);
  border-top: 1px solid var(--os-ink-200);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
html[data-theme="dark"] body.os-home .mobile-cta-bar {
  background: rgba(15,15,19,0.92);
  border-top-color: rgba(255,255,255,0.1);
}
@media (max-width: 720px) {
  body.os-home .mobile-cta-bar { display: flex; }
}
body.os-home .mobile-cta-bar .btn {
  flex: 1; text-align: center; border-radius: 999px;
  padding: 12px; font-weight: 700;
  text-decoration: none; font-size: 14px;
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center;
}
body.os-home .mobile-cta-bar .btn-primary {
  background: linear-gradient(135deg, #F0A020, #F07000 55%, #E05000) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 20px -10px rgba(240,112,0,0.65);
}
body.os-home .mobile-cta-bar .btn-ghost {
  background: transparent; border: 1px solid var(--os-ink-200); color: var(--os-ink-700);
}
html[data-theme="dark"] body.os-home .mobile-cta-bar .btn-ghost {
  border-color: rgba(255,255,255,0.14); color: #f6f7fb;
}

/* Toast inherits from styles.css; soften conflicts */
body.os-home .toast { z-index: 400; }

/* Fixed header clearance for simple legal / inner pages */
body.os-home main.legal,
body.os-home .legal,
body.os-home .integ-hero,
body.os-home .os-legal {
  padding-top: 96px;
}

/* Contact form */
body.os-home .os-contact {
  padding: 1rem 0 4.5rem;
}
body.os-home .os-contact-card {
  display: grid;
  gap: 1.75rem;
  max-width: 64rem;
  margin: 0 auto;
  border-radius: 1.6rem;
  border: 1px solid rgba(212,216,232,0.8);
  background:
    linear-gradient(135deg, rgba(249,90,20,0.07), transparent 40%),
    #fff;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: var(--os-shadow-soft);
}
html[data-theme="dark"] body.os-home .os-contact-card {
  background:
    linear-gradient(135deg, rgba(249,90,20,0.14), transparent 42%),
    rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.1);
}
@media (min-width: 900px) {
  body.os-home .os-contact-card {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
    gap: 2.25rem;
  }
}
body.os-home .os-contact-copy .chip { margin-bottom: 0.75rem; }
body.os-home .os-contact-copy h2 {
  font-family: var(--os-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--os-ink-900);
}
body.os-home .os-contact-copy > p {
  margin: 0.75rem 0 0;
  color: var(--os-ink-500);
  line-height: 1.65;
  font-size: 0.95rem;
}
body.os-home .os-contact-points {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
body.os-home .os-contact-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--os-ink-700);
  font-size: 0.9rem;
  font-weight: 650;
}
body.os-home .os-contact-points svg { color: var(--os-brand-600); flex-shrink: 0; }
body.os-home .os-contact-points a {
  color: inherit;
  text-decoration: none;
}
body.os-home .os-contact-points a:hover { color: var(--os-brand-600); }
body.os-home .os-contact-form {
  display: grid;
  gap: 0.85rem;
}
body.os-home .os-contact-row {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 560px) {
  body.os-home .os-contact-row { grid-template-columns: 1fr 1fr; }
}
body.os-home .os-contact-form label {
  display: grid;
  gap: 0.35rem;
}
body.os-home .os-contact-form label > span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--os-ink-500);
}
body.os-home .os-contact-form input,
body.os-home .os-contact-form textarea {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(212,216,232,0.95);
  background: rgba(255,255,255,0.92);
  color: var(--os-ink-900);
  font: inherit;
  font-size: 0.94rem;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
html[data-theme="dark"] body.os-home .os-contact-form input,
html[data-theme="dark"] body.os-home .os-contact-form textarea {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: #eceef6;
}
body.os-home .os-contact-form input:focus,
body.os-home .os-contact-form textarea:focus {
  border-color: rgba(249,90,20,0.55);
  box-shadow: 0 0 0 3px rgba(249,90,20,0.14);
}
body.os-home .os-contact-form textarea { resize: vertical; min-height: 8rem; }
body.os-home .os-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.25rem;
}
body.os-home .os-contact-status {
  margin: 0;
  font-size: 0.86rem;
  color: var(--os-ink-500);
}
body.os-home .os-contact-status.is-ok { color: #15803d; font-weight: 650; }
body.os-home .os-contact-status.is-err { color: #b91c1c; font-weight: 650; }
html[data-theme="dark"] body.os-home .os-contact-status.is-ok { color: #86efac; }
html[data-theme="dark"] body.os-home .os-contact-status.is-err { color: #fca5a5; }
body.os-home .os-contact-status a { color: inherit; font-weight: 700; }

/* Purchase social-proof toasts (bottom-left) */
body.os-home .os-buy-toasts {
  position: fixed;
  left: 1.1rem;
  bottom: 1.25rem;
  z-index: 360;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  pointer-events: none;
  max-width: min(22rem, calc(100vw - 1.5rem));
}
body.os-home .os-buy-toast {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(212,216,232,0.9);
  box-shadow: 0 18px 40px -24px rgba(15,23,42,0.55);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(14px) translateX(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
html[data-theme="dark"] body.os-home .os-buy-toast {
  background: rgba(22,24,34,0.94);
  border-color: rgba(255,255,255,0.12);
}
body.os-home .os-buy-toast.is-in {
  opacity: 1;
  transform: none;
}
body.os-home .os-buy-toast.is-out {
  opacity: 0;
  transform: translateY(10px) translateX(-6px);
}
body.os-home .os-buy-toast__av {
  width: 2.35rem; height: 2.35rem; border-radius: 999px;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 0.72rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #F07000, #f95a14);
}
body.os-home .os-buy-toast__body {
  min-width: 0; display: grid; gap: 0.12rem;
  font-size: 0.82rem; color: var(--os-ink-600); line-height: 1.35;
}
body.os-home .os-buy-toast__body strong { color: var(--os-ink-900); font-weight: 750; }
body.os-home .os-buy-toast__body span { color: var(--os-ink-500); font-size: 0.78rem; }
body.os-home .os-buy-toast__body em {
  font-style: normal; font-weight: 700; color: var(--os-brand-600);
}
body.os-home .os-buy-toast__dot {
  width: 0.55rem; height: 0.55rem; border-radius: 999px;
  background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
  flex-shrink: 0; margin-left: auto;
}

/* Legal / docs pages */
body.os-home .os-legal {
  padding-bottom: 4rem;
}
body.os-home .os-legal-hero {
  max-width: 46rem;
  margin: 0 auto 2rem;
  text-align: center;
}
body.os-home .os-legal-hero .chip { margin-bottom: 0.75rem; }
body.os-home .os-legal-hero h1 {
  font-family: var(--os-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--os-ink-900);
  margin: 0;
}
body.os-home .os-legal-hero p {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: var(--os-ink-500);
  line-height: 1.65;
}
body.os-home .os-legal-meta {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--os-ink-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.os-home .os-legal-grid {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
}
@media (min-width: 860px) {
  body.os-home .os-legal-layout {
    display: grid;
    grid-template-columns: 13.5rem minmax(0, 1fr);
    gap: 1.75rem;
    max-width: 62rem;
    margin: 0 auto;
    align-items: start;
  }
  body.os-home .os-legal-nav {
    position: sticky;
    top: 6rem;
  }
}
body.os-home .os-legal-nav {
  border-radius: 1.15rem;
  border: 1px solid rgba(212,216,232,0.85);
  background: rgba(255,255,255,0.85);
  padding: 0.85rem;
  display: grid;
  gap: 0.25rem;
}
html[data-theme="dark"] body.os-home .os-legal-nav {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
body.os-home .os-legal-nav a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  color: var(--os-ink-600);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}
body.os-home .os-legal-nav a:hover,
body.os-home .os-legal-nav a.is-active {
  background: rgba(249,90,20,0.1);
  color: var(--os-brand-600);
}
body.os-home .os-legal-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(212,216,232,0.85);
  background: #fff;
  padding: 1.35rem 1.3rem;
  box-shadow: 0 16px 32px -28px rgba(15,23,42,0.35);
}
html[data-theme="dark"] body.os-home .os-legal-card {
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.1);
}
body.os-home .os-legal-card h2 {
  font-family: var(--os-display);
  font-size: 1.15rem;
  font-weight: 750;
  margin: 0 0 0.55rem;
  color: var(--os-ink-900);
  letter-spacing: -0.02em;
}
body.os-home .os-legal-card p,
body.os-home .os-legal-card li {
  color: var(--os-ink-500);
  font-size: 0.94rem;
  line-height: 1.7;
}
body.os-home .os-legal-card p { margin: 0 0 0.7rem; }
body.os-home .os-legal-card ul {
  margin: 0; padding-left: 1.1rem; display: grid; gap: 0.35rem;
}
body.os-home .os-legal-cta {
  margin-top: 1.5rem;
  text-align: center;
}
body.os-home .os-api-code {
  margin-top: 0.85rem;
  border-radius: 0.9rem;
  background: #0f1220;
  color: #e8ecff;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 1.05rem;
  overflow-x: auto;
}
body.os-home .os-api-code pre {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.65;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
body.os-home .os-api-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 0.5rem;
}
body.os-home .os-api-table th,
body.os-home .os-api-table td {
  text-align: left;
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid rgba(212,216,232,0.75);
  color: var(--os-ink-600);
}
body.os-home .os-api-table th {
  color: var(--os-ink-800);
  font-weight: 750;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
html[data-theme="dark"] body.os-home .os-api-table th,
html[data-theme="dark"] body.os-home .os-api-table td {
  border-bottom-color: rgba(255,255,255,0.1);
}
body.os-home .os-api-table code {
  font-size: 0.8rem;
  color: var(--os-brand-600);
}


/* Beat styles.css .btn-primary blue on landing */
body.os-home a.btn-primary,
body.os-home .btn-primary {
  color: #fff !important;
  background: #0e1226 !important;
  background-image: none !important;
  border: none !important;
  box-shadow: var(--os-shadow-soft) !important;
}
html[data-theme="dark"] body.os-home a.btn-primary,
html[data-theme="dark"] body.os-home .btn-primary {
  color: #0e1226 !important;
  background: #fff !important;
}
body.os-home a.btn-primary:hover,
body.os-home .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--os-shadow-glow) !important;
}
body.os-home a.btn-ghost,
body.os-home .btn-ghost {
  color: #1a1f3a !important;
  background: rgba(255,255,255,0.7) !important;
  background-image: none !important;
  border: 1px solid var(--os-ink-200) !important;
}
html[data-theme="dark"] body.os-home a.btn-ghost,
html[data-theme="dark"] body.os-home .btn-ghost {
  color: #f6f7fb !important;
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.1) !important;
}

body.os-home .nav-mobile-currency {
  margin-top: 6px;
  padding: 12px 10px 10px;
  border-top: 1px solid var(--os-ink-200);
}
body.os-home .nav-mobile-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--os-ink-400);
  margin-bottom: 10px;
}
body.os-home .nav-mobile-currency-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
body.os-home .nav-mobile-currency-row .currency-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  border: 1px solid var(--os-ink-200);
  background: var(--os-ink-50);
  border-radius: 12px;
  padding: 8px 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--os-ink-700);
  cursor: pointer;
  font-family: inherit;
}
body.os-home .nav-mobile-currency-row .currency-option::after,
body.os-home .nav-mobile-currency-row .currency-option::before {
  content: none !important;
  display: none !important;
}
body.os-home .nav-mobile-currency-row .currency-sym {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--os-ink-800);
}
body.os-home .nav-mobile-currency-row .currency-code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
body.os-home .nav-mobile-currency-row .currency-option.active {
  border-color: var(--os-brand);
  color: var(--os-brand-deep);
  background: rgba(249,90,20,0.1);
  box-shadow: inset 0 0 0 1px rgba(249,90,20,0.18);
}
body.os-home .nav-mobile-currency-row .currency-option.active .currency-sym {
  color: var(--os-brand-deep);
}
html[data-theme="dark"] body.os-home .nav-mobile-currency-row .currency-option {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: var(--os-ink-200);
}
html[data-theme="dark"] body.os-home .nav-mobile-currency-row .currency-sym {
  color: #f4f4f7;
}
html[data-theme="dark"] body.os-home .nav-mobile-currency-row .currency-option.active {
  background: rgba(249,90,20,0.14);
  border-color: rgba(249,90,20,0.45);
  color: #ffb07a;
}
html[data-theme="dark"] body.os-home .nav-mobile-currency-row .currency-option.active .currency-sym {
  color: #ffb07a;
}


/* Dark/light wordmarks share one fixed size box */
body.os-home .os-logo {
  display: inline-flex;
  align-items: center;
}
body.os-home .os-logo .logo-light,
body.os-home .os-logo .logo-dark {
  height: 48px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
}
body.os-home .os-logo .logo-dark { display: none !important; }
html[data-theme="dark"] body.os-home .os-logo .logo-light { display: none !important; }
html[data-theme="dark"] body.os-home .os-logo .logo-dark { display: block !important; }
@media (max-width: 900px) {
  body.os-home .os-logo .logo-light,
  body.os-home .os-logo .logo-dark {
    height: 36px !important;
    max-width: 100% !important;
  }
}
@media (max-width: 480px) {
  body.os-home .os-logo .logo-light,
  body.os-home .os-logo .logo-dark {
    height: 32px !important;
  }
}

/* ——— What you receive (sample reports) ——— */
body.os-home .os-receive {
  padding: 5rem 0 5.5rem;
  position: relative;
}
body.os-home .os-receive .os-head {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}
body.os-home .os-samples {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.4vw, 1.75rem);
  align-items: stretch;
}
@media (min-width: 820px) {
  body.os-home .os-samples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.os-home .os-scard {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  min-width: 0;
  border-radius: 1.15rem;
  border: 1px solid var(--os-ink-200);
  background: #fff;
  box-shadow: 0 16px 40px -28px rgba(15,15,19,0.4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
html[data-theme="dark"] body.os-home .os-scard {
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 18px 42px -28px rgba(0,0,0,0.75);
}
body.os-home .os-scard:hover {
  border-color: rgba(249,90,20,0.32);
  box-shadow: 0 18px 40px -22px rgba(249,90,20,0.28);
  transform: translateY(-2px);
}
body.os-home .os-scard__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(212,216,232,0.8);
  background: var(--os-ink-50);
}
html[data-theme="dark"] body.os-home .os-scard__bar {
  background: rgba(255,255,255,0.04);
  border-bottom-color: rgba(255,255,255,0.08);
}
body.os-home .os-scard__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(98,99,114,0.35);
  flex: 0 0 auto;
}
body.os-home .os-scard__dot:nth-child(1) { background: #ff5f57; }
body.os-home .os-scard__dot:nth-child(2) { background: #febc2e; }
body.os-home .os-scard__dot:nth-child(3) { background: #28c840; }
body.os-home .os-scard__file {
  flex: 1 1 0;
  min-width: 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--os-ink-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.os-home .os-scard__badge {
  flex: 0 0 auto;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f8a5f;
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(22,163,74,0.24);
}
html[data-theme="dark"] body.os-home .os-scard__badge {
  color: #4ade80;
  background: rgba(34,197,94,0.14);
  border-color: rgba(34,197,94,0.28);
}
body.os-home .os-scard__stage {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #f3f4f8;
  overflow: hidden;
  cursor: pointer;
}
@media (min-width: 820px) {
  body.os-home .os-scard__stage { aspect-ratio: 16 / 11; }
}
html[data-theme="dark"] body.os-home .os-scard__stage { background: #1a191f; }
body.os-home .os-scard__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  z-index: 1;
  background: #fff;
  opacity: 1;
  transition: transform 0.45s ease;
}
body.os-home .os-scard:hover .os-scard__poster { transform: scale(1.03); }
body.os-home .os-scard__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 145%;
  border: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  background: #fff;
  opacity: 0;
  z-index: 2;
}
body.os-home .os-scard__stage.is-ready:not(.is-poster-only) .os-scard__frame { opacity: 1; }
body.os-home .os-scard__stage.is-poster-only .os-scard__frame { display: none; }
body.os-home .os-scard:hover .os-scard__frame { transform: translateY(-8%); }
body.os-home .os-scard__tap {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15,15,19,0.88);
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px -14px rgba(0,0,0,0.65);
  cursor: pointer;
}
html[data-theme="light"] body.os-home .os-scard__tap {
  background: rgba(23,22,28,0.9);
}
@media (max-width: 819px) {
  body.os-home .os-scard__tap { display: inline-flex; }
  body.os-home .os-scard__stage { aspect-ratio: 3 / 3.6; min-height: 16rem; }
  body.os-home .os-scard__frame { display: none !important; }
  body.os-home .os-scard__loader { display: none !important; }
  body.os-home .os-scard__stage.is-loading {
    /* poster visible immediately on mobile */
  }
  body.os-home .os-scard__stage.is-loading .os-scard__poster { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body.os-home .os-scard__frame,
  body.os-home .os-scard:hover .os-scard__frame,
  body.os-home .os-scard:hover .os-scard__poster {
    transition: none;
    transform: none;
  }
}
body.os-home .os-scard__loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem;
  background: linear-gradient(180deg, #fffaf4, #fff);
  color: #626372;
  font-size: 0.8rem;
  font-weight: 600;
}
html[data-theme="dark"] body.os-home .os-scard__loader {
  background: linear-gradient(180deg, #1a191f, #121218);
  color: #9aa0b3;
}
body.os-home .os-scard__stage.is-loading .os-scard__loader,
body.os-home .os-spv-frame-wrap.is-loading .os-scard__loader { display: flex; }
body.os-home .os-scard__loader-ring {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 2.5px solid rgba(249,90,20,0.2);
  border-top-color: #f95a14;
  animation: pc-preloader-spin 0.7s linear infinite;
}
body.os-home .os-scard__loader-bar {
  width: min(11rem, 70%);
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(249,90,20,0.12);
  overflow: hidden;
}
body.os-home .os-scard__loader-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f95a14, #f0a020);
  transition: width 0.2s ease;
}
body.os-home .os-scard__fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 36%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, #fff 92%);
  z-index: 3;
}
html[data-theme="dark"] body.os-home .os-scard__fade {
  background: linear-gradient(180deg, transparent, rgba(24,24,28,0.98) 92%);
}
body.os-home .os-spv-frame-wrap { position: relative; }
body.os-home .os-spv-frame-wrap iframe {
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.os-home .os-spv-frame-wrap:not(.is-loading) iframe { opacity: 1; }
body.os-home .os-spv-loader {
  background: var(--os-bg) !important;
}
body.os-home .os-scard__body {
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
body.os-home .os-scard__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--os-ink-900);
}
body.os-home .os-scard__blurb {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--os-ink-500);
  line-height: 1.5;
}
body.os-home .os-checklist {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
body.os-home .os-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--os-ink-500);
}
body.os-home .os-checklist svg {
  flex: 0 0 auto;
  margin-top: 0.12rem;
  color: var(--os-brand);
}
body.os-home .os-scard__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.1rem;
}
body.os-home .os-scard__size {
  font-size: 0.72rem;
  color: var(--os-ink-400);
  margin-inline-start: auto;
}
body.os-home .os-sbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 0.8rem;
  font-size: 0.86rem;
  font-weight: 650;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, filter 0.2s ease;
}
body.os-home .os-sbtn:active { transform: translateY(1px); }
body.os-home .os-sbtn--quiet {
  background: var(--os-ink-50);
  border-color: var(--os-ink-200);
  color: var(--os-ink-800);
}
html[data-theme="dark"] body.os-home .os-sbtn--quiet {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
body.os-home .os-sbtn--quiet:hover {
  background: rgba(249,90,20,0.08);
  border-color: rgba(249,90,20,0.28);
}
body.os-home .os-sbtn--primary {
  background: linear-gradient(135deg, #f95a14, #e05000);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(249,90,20,0.7);
}
body.os-home .os-sbtn--primary:hover { filter: brightness(1.05); }

/* Sample preview modal */
body.os-home .os-spv-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(12,17,29,0.62);
  backdrop-filter: blur(5px);
}
body.os-home .os-spv-modal.is-open { display: flex; }
@media (min-width: 700px) {
  body.os-home .os-spv-modal {
    align-items: center;
    padding: 1.5rem;
  }
}
body.os-home .os-spv-panel {
  position: relative;
  width: min(52rem, 100%);
  max-height: min(92svh, 44rem);
  display: flex;
  flex-direction: column;
  background: var(--os-bg);
  border: 1px solid var(--os-ink-200);
  border-radius: 1.25rem 1.25rem 0 0;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.45);
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 700px) {
  body.os-home .os-spv-panel { border-radius: 1.25rem; padding-bottom: 0; }
}
body.os-home .os-spv-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem 0.85rem;
  border-bottom: 1px solid var(--os-ink-200);
}
body.os-home .os-spv-head h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--os-ink-900);
}
body.os-home .os-spv-head p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--os-ink-500);
}
body.os-home .os-spv-close {
  margin-left: auto;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  color: var(--os-ink-500);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}
body.os-home .os-spv-close:hover {
  background: var(--os-ink-100);
  color: var(--os-ink-900);
}
body.os-home .os-spv-frame-wrap {
  flex: 1;
  min-height: 18rem;
  background: #f4f5f8;
}
body.os-home .os-spv-frame-wrap iframe {
  width: 100%;
  height: min(62vh, 28rem);
  border: 0;
  display: block;
  background: #fff;
}
body.os-home .os-spv-foot {
  display: flex;
  gap: 0.6rem;
  padding: 0.85rem 1.15rem;
  border-top: 1px solid var(--os-ink-200);
}
body.os-home .os-spv-foot .os-sbtn { flex: 1; }

/* Mobile install + notification prompts — always viewport-fixed above CTA */
body.os-home .pc-prompt-stack {
  position: fixed !important;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  top: auto;
  width: auto;
  max-width: 28rem;
  margin: 0 auto;
  z-index: 320; /* above mobile CTA (250) */
  display: flex;
  flex-direction: column-reverse; /* newest / primary prompt sits just above CTA */
  gap: 0.55rem;
  padding: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}
@media (max-width: 720px) {
  body.os-home.has-mobile-cta .pc-prompt-stack {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}
body.os-home .pc-prompt {
  pointer-events: auto;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(28rem, 100%);
  margin: 0 auto;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background-color: rgba(23,22,28,0.94);
  background-image: none;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(249,90,20,0.28);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04) inset;
  color: #fff;
  animation: pc-prompt-up 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
body.os-home .pc-prompt.is-visible { display: flex; }
html[data-theme="light"] body.os-home .pc-prompt {
  background: rgba(255,255,255,0.96);
  background-image: none;
  color: #17161c;
  border-color: rgba(249,90,20,0.22);
  box-shadow: 0 16px 36px -18px rgba(67,15,6,0.35);
}
@keyframes pc-prompt-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
body.os-home .pc-prompt__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}
body.os-home .pc-prompt__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  border: 0;
  color: #f95a14;
  overflow: visible;
}
body.os-home .pc-prompt__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.os-home .pc-prompt__text { min-width: 0; }
body.os-home .pc-prompt__title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
body.os-home .pc-prompt__sub {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.68);
}
html[data-theme="light"] body.os-home .pc-prompt__sub { color: #626372; }
body.os-home .pc-prompt__right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
body.os-home .pc-prompt__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(249,90,20,0.4);
  background: rgba(249,90,20,0.18);
  color: inherit;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
body.os-home .pc-prompt__btn:hover {
  background: rgba(249,90,20,0.28);
}
body.os-home .pc-prompt__btn--solid {
  background: linear-gradient(135deg, #f95a14, #e05000);
  border-color: transparent;
  color: #fff;
}
body.os-home .pc-prompt__x {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: inherit;
  opacity: 0.55;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
body.os-home .pc-prompt__x:hover { opacity: 1; background: rgba(127,127,127,0.12); }
@media (min-width: 900px) {
  body.os-home .pc-prompt-stack {
    left: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    width: min(26rem, calc(100vw - 2.5rem));
    max-width: min(26rem, calc(100vw - 2.5rem));
    margin: 0;
    flex-direction: column;
  }
  body.os-home .pc-prompt {
    width: 100%;
    margin: 0;
  }
  /* Keep install prompt mobile-only; alerts show on laptop too */
  body.os-home #pcInstallPrompt { display: none !important; }
}
body.os-home .pc-ios-sheet {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(12,17,29,0.55);
  backdrop-filter: blur(4px);
  padding: 0.75rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
}
body.os-home .pc-ios-sheet.is-open { display: flex; }
body.os-home .pc-ios-card {
  width: min(24rem, 100%);
  background: var(--os-bg);
  color: var(--os-ink-900);
  border-radius: 1.15rem;
  border: 1px solid var(--os-ink-200);
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 20px 48px -20px rgba(0,0,0,0.4);
}
body.os-home .pc-ios-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
body.os-home .pc-ios-card p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--os-ink-500);
  line-height: 1.5;
}
body.os-home .pc-ios-card ol {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--os-ink-700);
  font-size: 0.88rem;
  line-height: 1.55;
}
body.os-home .pc-ios-card .os-sbtn { width: 100%; }

/* Hero install card (mobile-first, TurniCheckr-style) */
body.os-home .pc-install-hero {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: 28rem;
  margin: 1.15rem auto 0;
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  background: rgba(23,22,28,0.88);
  border: 1px solid rgba(249,90,20,0.28);
  box-shadow: 0 12px 32px -18px rgba(0,0,0,0.55);
  text-align: left;
}
html[data-theme="light"] body.os-home .pc-install-hero {
  background: rgba(255,255,255,0.92);
  border-color: rgba(249,90,20,0.2);
  box-shadow: 0 12px 28px -18px rgba(67,15,6,0.28);
}
body.os-home .pc-install-hero:not([hidden]) { display: flex; }
@media (min-width: 900px) {
  body.os-home .pc-install-hero:not([hidden]) { display: none; }
}
body.os-home .pc-install-hero__icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(249,90,20,0.25);
}
body.os-home .pc-install-hero__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.os-home .pc-install-hero__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
body.os-home .pc-install-hero__text strong {
  font-size: 0.86rem;
  letter-spacing: -0.015em;
  color: #fff;
}
html[data-theme="light"] body.os-home .pc-install-hero__text strong { color: #17161c; }
body.os-home .pc-install-hero__text span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.35;
}
html[data-theme="light"] body.os-home .pc-install-hero__text span { color: #626372; }
body.os-home .pc-install-hero__btn {
  flex-shrink: 0;
  min-height: 2.15rem;
  padding: 0.35rem 0.8rem;
  border-radius: 0.7rem;
  border: 0;
  background: linear-gradient(135deg, #f95a14, #e05000);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* Site preloader */
body.os-home.pc-loading {
  overflow: hidden;
}
body.os-home .pc-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.95rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 42%, rgba(249,90,20,0.22), transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 15%, rgba(240,160,32,0.12), transparent 55%),
    #0f0f13;
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
}
html[data-theme="light"] body.os-home .pc-preloader {
  background:
    radial-gradient(ellipse 70% 50% at 50% 42%, rgba(249,90,20,0.16), transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 15%, rgba(240,160,32,0.1), transparent 55%),
    #fffaf4;
}
body.os-home .pc-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
}
body.os-home .pc-preloader__orb {
  position: absolute;
  width: min(22rem, 70vw);
  height: min(22rem, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,90,20,0.18), transparent 68%);
  filter: blur(8px);
  animation: pc-preloader-orb 2.8s ease-in-out infinite;
  pointer-events: none;
}
body.os-home .pc-preloader__mark {
  position: relative;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 18px 42px -16px rgba(249,90,20,0.7),
    0 0 0 1px rgba(255,255,255,0.08) inset;
  animation: pc-preloader-pulse 1.35s ease-in-out infinite;
}
body.os-home .pc-preloader__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.os-home .pc-preloader__brand {
  position: relative;
  font-family: var(--os-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}
html[data-theme="light"] body.os-home .pc-preloader__brand { color: #17161c; }
body.os-home .pc-preloader__brand span { color: #f95a14; }
body.os-home .pc-preloader__bar {
  position: relative;
  width: min(13rem, 56vw);
  height: 0.32rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
html[data-theme="light"] body.os-home .pc-preloader__bar {
  background: rgba(23,22,28,0.08);
}
body.os-home .pc-preloader__bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f95a14, #f0a020, #f95a14);
  background-size: 200% 100%;
  animation: pc-preloader-shine 1.1s linear infinite;
  transition: width 0.18s ease;
}
body.os-home .pc-preloader__hint {
  position: relative;
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.55);
}
html[data-theme="light"] body.os-home .pc-preloader__hint { color: #626372; }
@keyframes pc-preloader-spin {
  to { transform: rotate(360deg); }
}
@keyframes pc-preloader-pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.035); }
}
@keyframes pc-preloader-orb {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes pc-preloader-shine {
  to { background-position: 200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.os-home .pc-preloader__mark,
  body.os-home .pc-preloader__orb,
  body.os-home .pc-preloader__bar i,
  body.os-home .os-scard__loader-ring { animation: none; }
}

/* ——— Today's special offer popup ——— */
html.pc-offer-lock,
html.pc-offer-lock body { overflow: hidden; }
body.os-home .pc-offer {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
body.os-home .pc-offer.is-open {
  display: flex;
}
body.os-home .pc-offer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
body.os-home .pc-offer__card {
  position: relative;
  width: min(100%, 26.5rem);
  max-height: min(92vh, 40rem);
  overflow: auto;
  padding: 1.55rem 1.4rem 1.35rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(240, 112, 0, 0.35);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(240, 112, 0, 0.28), transparent 55%),
    linear-gradient(165deg, #1a1410 0%, #121018 48%, #0f0f13 100%);
  color: #f4f1ec;
  box-shadow:
    0 28px 80px -24px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  text-align: center;
  animation: pc-offer-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html[data-theme="light"] body.os-home .pc-offer__card {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(240, 112, 0, 0.18), transparent 55%),
    linear-gradient(165deg, #fffaf4 0%, #ffffff 55%, #fff7ef 100%);
  color: #1c1b22;
  border-color: rgba(240, 112, 0, 0.28);
  box-shadow: 0 28px 70px -28px rgba(67, 15, 6, 0.35);
}
body.os-home .pc-offer__x {
  position: absolute;
  top: 0.65rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
html[data-theme="light"] body.os-home .pc-offer__x {
  background: rgba(15, 15, 19, 0.06);
}
body.os-home .pc-offer__x:hover { background: rgba(240, 112, 0, 0.25); }
body.os-home .pc-offer__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 auto 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #d45500, #f07000);
}
body.os-home .pc-offer__card h2 {
  margin: 0;
  font-family: var(--os-display);
  font-size: clamp(1.25rem, 4.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
body.os-home .pc-offer__brand {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #f07000;
}
body.os-home .pc-offer__lead {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(244, 241, 236, 0.78);
}
html[data-theme="light"] body.os-home .pc-offer__lead { color: #4d4d5c; }
body.os-home .pc-offer__box {
  margin: 1.15rem 0 0;
  padding: 1rem 0.9rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(240, 112, 0, 0.35);
  background: rgba(240, 112, 0, 0.1);
}
html[data-theme="light"] body.os-home .pc-offer__box {
  background: rgba(240, 112, 0, 0.08);
}
body.os-home .pc-offer__box-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.7);
}
html[data-theme="light"] body.os-home .pc-offer__box-label { color: #626372; }
body.os-home .pc-offer__price {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
}
body.os-home .pc-offer__price strong {
  font-size: 1.45rem;
  font-weight: 800;
  color: #f0a020;
}
html[data-theme="light"] body.os-home .pc-offer__price strong { color: #d45500; }
body.os-home .pc-offer__sep { opacity: 0.45; }
body.os-home .pc-offer__discount {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  font-weight: 650;
  color: #f0b040;
}
body.os-home .pc-offer__perks {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  text-align: left;
}
body.os-home .pc-offer__perks li {
  position: relative;
  padding: 0.45rem 0.65rem 0.45rem 2rem;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.04);
}
html[data-theme="light"] body.os-home .pc-offer__perks li {
  background: rgba(15, 15, 19, 0.04);
}
body.os-home .pc-offer__perks li::before {
  content: "✓";
  position: absolute;
  left: 0.65rem;
  top: 0.45rem;
  color: #22c55e;
  font-weight: 800;
}
body.os-home .pc-offer__hurry {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #f0a020;
}
body.os-home .pc-offer__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 750;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(90deg, #128c7e, #25d366);
  box-shadow: 0 10px 28px -12px rgba(37, 211, 102, 0.7);
}
body.os-home .pc-offer__wa:hover {
  filter: brightness(1.06);
}
body.os-home .pc-offer__site {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(244, 241, 236, 0.55);
  text-decoration: none;
}
html[data-theme="light"] body.os-home .pc-offer__site { color: #626372; }
body.os-home .pc-offer__site:hover { color: #f07000; }
@keyframes pc-offer-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.os-home .pc-offer__card { animation: none; }
}
