:root {
  --otw-font-body: 'Inter', sans-serif;
  --otw-font-headline: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --otw-color-text: #121a30;
  --otw-color-muted: #667085;
  --otw-color-primary: #131c35;
  --otw-color-primary-hover: #0f162d;
  --otw-color-surface: #ffffff;
  --otw-color-subtle: #f8fafc;
  --otw-color-border: rgba(100, 116, 139, 0.18);
  --otw-color-border-strong: rgba(19, 28, 53, 0.22);
  --otw-radius-control: 10px;
  --otw-radius-card: 12px;
  --otw-radius-pill: 999px;
  --otw-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04);
  --otw-shadow-card-hover: 0 14px 34px rgba(15, 23, 42, 0.08);
  --otw-shadow-control: 0 1px 2px rgba(15, 23, 42, 0.06);
  --otw-focus-ring: 0 0 0 3px rgba(19, 28, 53, 0.12);
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
.font-body,
.font-label,
button,
input,
textarea,
select {
  font-family: var(--otw-font-body);
}

h1,
h2,
h3,
h4,
.font-headline,
.brand-font,
.headline-md,
.nav-logo,
.logo {
  font-family: var(--otw-font-headline);
}

button,
input,
textarea,
select {
  letter-spacing: 0;
}

button,
[role='button'],
a[class*='bg-primary'],
a[class*='border'],
a[class*='btn'],
button[class*='bg-primary'],
button[class*='border'],
.nav-btn,
.nav-back,
.btn-secondary,
.btn-share,
.btn-prefs,
.btn-signin,
.search-btn,
.splash-btn,
.ob-btn-primary,
.prefs-save-btn,
.pro-nudge-btn,
.compare-search-row button,
.collapsed-search-box button,
.billing-pill button {
  border-radius: var(--otw-radius-control);
  font-family: var(--otw-font-body);
  font-weight: 700;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

button:hover,
[role='button']:hover,
a[class*='bg-primary']:hover,
a[class*='border']:hover,
a[class*='btn']:hover,
.nav-btn:hover,
.nav-back:hover,
.btn-secondary:hover,
.btn-share:hover,
.btn-prefs:hover,
.btn-signin:hover {
  transform: translateY(-1px);
}

button:active,
[role='button']:active,
a[class*='bg-primary']:active,
a[class*='border']:active,
a[class*='btn']:active {
  transform: translateY(0);
}

button:disabled,
[aria-disabled='true'],
.disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: var(--otw-focus-ring);
}

input:not([type='checkbox']):not([type='radio']):not([type='range']),
textarea,
select,
.settings-input,
.compare-search-row input,
.collapsed-search-box input,
.search-box input {
  border-radius: var(--otw-radius-control);
  font-family: var(--otw-font-body);
}

.aud-tab,
.season-pill,
.profile-pill,
.genre-pill,
.quick-chip,
.recent-search-chip,
.watch-chip,
.compare-chip-verdict,
.poster-tag,
.list-badge,
.billing-pill,
.badge,
[class*='rounded-full'] {
  border-radius: var(--otw-radius-pill);
}

.dashboard-card,
.dashboard-panel,
.settings-card,
.settings-muted-band,
.result-card,
.status-card,
.plan-card,
.feature-card,
.compare-search-card,
.disambig-card,
.skeleton-card,
.modal-sheet,
.upgrade-inner,
.onboarding-card,
.notification-card,
.rule-card,
.household-card,
.prefs-panel {
  border-radius: var(--otw-radius-card);
  border-color: var(--otw-color-border);
  box-shadow: var(--otw-shadow-card);
}

.dashboard-card-action:hover,
.dashboard-card:hover,
.settings-card:hover,
.plan-card:hover,
.feature-card:hover,
.discover-card:hover {
  box-shadow: var(--otw-shadow-card-hover);
}

.modal-overlay,
.cv-search-modal-overlay,
#upgradeModal,
#deleteModal,
#addProfileModal {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.toast,
.suggestions,
.compare-drop,
.dropdown,
.menu,
.pro-nudge {
  border: 1px solid var(--otw-color-border);
  border-radius: var(--otw-radius-card);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.material-symbols-outlined {
  vertical-align: middle;
}
