:root {
  --black: #0d0d0d;
  --ink: #151515;
  --panel: #17120f;
  --panel-2: #211712;
  --orange: #ff7b00;
  --orange-2: #ff9d2f;
  --gold: #ffd369;
  --cream: #fff7ed;
  --white: #ffffff;
  --header-bg: rgba(13, 13, 13, 0.9);
  --header-bg-strong: rgba(13, 13, 13, 0.92);
  --soft-surface: rgba(255, 255, 255, 0.06);
  --soft-surface-strong: rgba(255, 255, 255, 0.07);
  --video-bg: #050505;
  --muted-dark: rgba(255, 255, 255, 0.68);
  --muted-light: rgba(21, 21, 21, 0.64);
  --line-dark: rgba(255, 123, 0, 0.24);
  --line-light: rgba(21, 21, 21, 0.12);
}

html[data-theme="light"] {
  --black: #f7f3ec;
  --ink: #1f1b16;
  --panel: #fffaf2;
  --panel-2: #f4eadc;
  --white: #17120f;
  --cream: #0d0d0d;
  --gold: #a85b00;
  --header-bg: rgba(255, 250, 242, 0.9);
  --header-bg-strong: rgba(255, 250, 242, 0.94);
  --soft-surface: rgba(21, 21, 21, 0.05);
  --soft-surface-strong: rgba(21, 21, 21, 0.08);
  --video-bg: #181818;
  --muted-dark: rgba(21, 21, 21, 0.68);
  --muted-light: rgba(21, 21, 21, 0.62);
  --line-dark: rgba(21, 21, 21, 0.13);
  --line-light: rgba(21, 21, 21, 0.1);
}

html[data-theme="light"] .hero-media {
  background:
    linear-gradient(115deg, rgba(255, 250, 242, 0.98) 0%, rgba(255, 250, 242, 0.9) 44%, rgba(255, 123, 0, 0.16) 100%),
    repeating-linear-gradient(90deg, rgba(21, 21, 21, 0.04) 0 1px, transparent 1px 88px);
}

html[data-theme="light"] .video-tile {
  background: linear-gradient(180deg, rgba(255, 123, 0, 0.16), rgba(255, 250, 242, 0.94));
  box-shadow: 0 24px 60px rgba(122, 67, 0, 0.14);
}

html[data-theme="light"] .product-preview {
  background: rgba(255, 250, 242, 0.92);
  box-shadow: 0 30px 90px rgba(122, 67, 0, 0.14);
}

html[data-theme="light"] .price-card {
  background: #fffaf2;
}

html[data-theme="light"] .price-card.featured {
  background: linear-gradient(180deg, rgba(255, 123, 0, 0.14), #fffaf2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input,
select {
  font: inherit;
}

.site-header,
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-actions,
.hero-actions,
.hero-stats,
.channel-list {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  color: var(--white);
  font-size: 18px;
  font-weight: 950;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: url("./icon-192.png") center / cover no-repeat;
  color: transparent;
  font-size: 0;
  font-weight: 1000;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(74, 73, 224, 0.24);
}

.nav {
  gap: 24px;
  color: var(--muted-dark);
  font-size: 14px;
  font-weight: 850;
}

.nav a:hover {
  color: var(--orange-2);
}

.header-cta,
.topbar-action,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 950;
}

.header-cta {
  background: var(--orange);
  color: var(--black);
  box-shadow: 0 12px 28px rgba(255, 123, 0, 0.28);
}

.header-actions {
  gap: 10px;
}

.theme-toggle {
  min-height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--soft-surface);
  padding: 0 12px;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 1000;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--orange);
  color: var(--white);
}

.language-switch {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--soft-surface);
  padding: 3px;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 1000;
}

.language-switch a,
.language-switch span {
  display: inline-flex;
  min-width: 34px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.language-switch span {
  background: var(--orange);
  color: var(--black);
}

.language-switch a:hover {
  color: var(--orange-2);
}

.topbar-action {
  border: 1px solid var(--line-dark);
  background: var(--soft-surface);
  color: var(--white);
}

button.topbar-action {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

main {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-marketing {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-bottom: 1px solid var(--line-dark);
}

.hero-marketing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(13, 13, 13, 0.98) 0%, rgba(13, 13, 13, 0.92) 44%, rgba(255, 123, 0, 0.18) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 88px);
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.video-wall {
  position: absolute;
  right: clamp(18px, 6vw, 86px);
  top: 42px;
  display: grid;
  width: min(420px, 34vw);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  transform: rotate(-2deg);
  opacity: 0.62;
}

.video-tile {
  min-height: 190px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 123, 0, 0.22), rgba(13, 13, 13, 0.88));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.video-tile:nth-child(2) {
  transform: translateY(46px);
}

.video-tile:nth-child(3) {
  transform: translateY(92px);
}

.video-tile span,
.video-tile small {
  display: block;
}

.video-tile span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.video-tile strong {
  display: block;
  margin-top: 76px;
  font-size: 28px;
  font-weight: 1000;
}

.video-tile small {
  margin-top: 6px;
  color: var(--muted-dark);
  font-weight: 800;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  align-items: center;
  min-height: 620px;
  padding: clamp(24px, 3.6vw, 42px) 0;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 123, 0, 0.12);
  padding: 8px 13px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 20px 0 0;
  color: var(--white);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-lead {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted-dark);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.5;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button-orange {
  background: var(--orange);
  color: var(--black);
  box-shadow: 0 16px 36px rgba(255, 123, 0, 0.28);
}

.button-orange:hover,
.header-cta:hover {
  background: var(--orange-2);
}

.button-ghost {
  border: 1px solid var(--line-dark);
  background: var(--soft-surface);
  color: var(--white);
}

.button-dark {
  background: var(--black);
  color: var(--white);
}

.button-dark:hover,
.button-ghost:hover {
  border-color: rgba(255, 123, 0, 0.46);
  background: rgba(255, 123, 0, 0.14);
}

.hero-stats {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-stats div {
  min-width: 150px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 13px;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--orange-2);
  font-size: 24px;
  font-weight: 1000;
}

.hero-stats span {
  margin-top: 5px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 850;
}

.product-preview {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(23, 18, 15, 0.92);
  padding: 16px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.preview-top span {
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 900;
}

.preview-top b {
  border-radius: 999px;
  background: rgba(255, 123, 0, 0.16);
  padding: 7px 10px;
  color: var(--gold);
  font-size: 12px;
}

.preview-video {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 86px;
  margin-top: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 123, 0, 0.28), rgba(255, 255, 255, 0.07));
  padding: 13px;
}

.play-button {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
  font-size: 20px;
  font-weight: 1000;
}

.preview-video strong,
.preview-video span,
.preview-caption span,
.preview-caption p {
  display: block;
}

.preview-video strong {
  overflow: hidden;
  color: var(--white);
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-video span,
.preview-caption span {
  margin-top: 5px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 800;
}

.preview-caption {
  margin-top: 10px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 12px;
}

.preview-caption p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.55;
}

.publish-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.publish-grid div {
  border-radius: 8px;
  background: var(--soft-surface-strong);
  padding: 10px;
}

.publish-grid b,
.publish-grid span {
  display: block;
}

.publish-grid b {
  color: var(--white);
  font-size: 14px;
}

.publish-grid span {
  margin-top: 4px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 950;
}

.preview-button {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: var(--black);
  cursor: default;
  font-weight: 1000;
}

.platforms-section,
.workflow-section,
.audience-section,
.tariffs-section,
.final-cta {
  padding: 76px 0;
}

.section-heading {
  max-width: 830px;
}

.section-heading h2,
.audience-copy h2,
.final-cta h2 {
  margin: 16px 0 0;
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 1000;
  line-height: 1.04;
}

.section-heading p:not(.eyebrow),
.final-cta p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted-dark);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.65;
}

.platform-grid,
.workflow-grid,
.audience-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-grid article,
.workflow-grid article,
.audience-grid article,
.price-card {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
}

.platform-grid span {
  color: var(--orange-2);
  font-size: 22px;
  font-weight: 1000;
}

.platform-grid p,
.workflow-grid p,
.audience-grid p,
.price-card li {
  margin: 14px 0 0;
  color: var(--muted-dark);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.6;
}

.workflow-section {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-grid b {
  color: var(--orange);
  font-size: 14px;
  font-weight: 1000;
}

.workflow-grid h3,
.audience-grid h3 {
  margin: 18px 0 0;
  color: var(--white);
  font-size: 23px;
  line-height: 1.15;
}

.audience-section {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 34px;
  align-items: start;
}

.audience-grid {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.tariffs-section {
  border-top: 1px solid var(--line-dark);
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.price-card {
  position: relative;
  background: #140f0c;
}

.price-card.featured {
  border-color: rgba(255, 123, 0, 0.72);
  background: linear-gradient(180deg, rgba(255, 123, 0, 0.18), #140f0c);
}

.price-label {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--orange);
  padding: 7px 10px;
  color: var(--black);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.price-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.price-top h3 {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 30px;
}

.price-top p {
  color: var(--muted-dark);
  font-size: 14px;
  font-weight: 850;
}

.price-top strong {
  color: var(--gold);
  font-size: 24px;
  white-space: nowrap;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  margin: 0;
}

.price-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--orange);
  font-weight: 1000;
}

.price-card .button {
  width: 100%;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 123, 0, 0.22), rgba(255, 255, 255, 0.06));
  padding: clamp(28px, 5vw, 54px);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(3, minmax(150px, 0.7fr));
  gap: 34px;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line-dark);
  padding: 32px 0 42px;
  color: var(--muted-dark);
  font-size: 14px;
  font-weight: 800;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand .brand {
  padding: 0;
}

.footer-brand p {
  margin: 14px 0 0;
  color: var(--muted-dark);
  line-height: 1.5;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column strong {
  color: var(--white);
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: var(--muted-dark);
}

.footer-language {
  width: max-content;
  margin-top: 2px;
}

.legal-footer {
  grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(160px, 0.8fr));
}

.site-footer a:hover {
  color: var(--orange-2);
}

/* Account/privacy page */
body:not(.landing-page) {
  background: var(--black);
}

.topbar {
  background: var(--header-bg-strong);
}

.auth-main {
  display: grid;
  min-height: calc(100vh - 92px);
  place-items: center;
  padding: clamp(28px, 6vh, 72px) 0;
}

.login-panel {
  width: min(100%, 460px);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 123, 0, 0.08), rgba(255, 255, 255, 0) 36%),
    var(--panel);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.login-panel h1 {
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
}

.login-lead {
  margin-top: 14px;
  color: var(--muted-dark);
  font-size: 15px;
  font-weight: 780;
  line-height: 1.5;
}

.login-field {
  display: block;
  margin-top: 18px;
}

.login-field span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 900;
}

.login-field input,
.login-field select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--soft-surface);
  padding: 0 12px;
  color: var(--white);
  font-size: 15px;
  font-weight: 850;
  outline: none;
}

.login-field input:focus,
.login-field select:focus {
  border-color: var(--orange);
}

#loginForm .button {
  width: 100%;
  margin-top: 18px;
  border: 0;
  cursor: pointer;
}

.create-account-field {
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.login-actions {
  display: grid;
  margin-top: 12px;
}

.login-actions .button {
  width: 100%;
  min-height: 48px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 900;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-dark);
}

.google-auth-button {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-dark);
  background: var(--soft-surface);
  color: var(--white);
  text-decoration: none;
}

.google-auth-button:hover {
  border-color: rgba(255, 123, 0, 0.62);
}

.google-mark {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.auth-page-shell,
.account-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  align-items: start;
  padding-top: 34px;
}

.settings-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: start;
  padding: 34px 0 48px;
}

.auth-hero,
.account-copy,
.form-card,
.privacy-settings,
.policy-card {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
}

.auth-hero h1,
.account-copy h1 {
  margin-top: 24px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 62px);
}

.status-box {
  margin-top: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--soft-surface);
  padding: 14px 16px;
  color: var(--muted-dark);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.status-box.compact {
  margin-top: 18px;
  padding: 12px 14px;
  font-size: 13px;
}

.status-box[data-type="success"] {
  border-color: rgba(255, 123, 0, 0.5);
  background: rgba(255, 123, 0, 0.14);
  color: var(--gold);
}

.status-box[data-type="error"] {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(127, 29, 29, 0.24);
  color: #fecaca;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.45;
}

.consent-row input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--orange);
  flex: 0 0 auto;
}

.consent-row a {
  color: var(--gold);
}

.consent-row.compact {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 760;
}

.consent-row.compact input {
  width: 18px;
  height: 18px;
}

.auth-grid,
.privacy-layout {
  display: grid;
  gap: 16px;
}

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

.form-card h2,
.section-head.compact h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 28px;
}

.form-card label {
  display: block;
  margin-bottom: 14px;
}

.form-card label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 900;
}

.form-card input,
.form-card select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--soft-surface);
  padding: 0 12px;
  color: var(--white);
  font-size: 15px;
  font-weight: 750;
  outline: none;
}

.form-card input:focus,
.form-card select:focus {
  border-color: var(--orange);
}

.form-card .button,
.privacy-settings .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.section-head.compact {
  display: block;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line-dark);
  padding: 18px 0;
}

.switch-row strong,
.switch-row small {
  display: block;
}

.switch-row strong {
  color: var(--white);
  font-size: 16px;
}

.switch-row small,
.policy-version,
.consent-meta {
  margin-top: 5px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.consent-meta {
  border-top: 1px solid var(--line-dark);
  padding: 16px 0 18px;
}

.switch-row input {
  width: 24px;
  height: 24px;
  accent-color: var(--orange);
  flex: 0 0 auto;
}

.switch-row input:disabled,
.privacy-settings button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.policy-card pre {
  overflow-x: auto;
  margin: 18px 0 0;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--soft-surface);
  padding: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  white-space: pre-wrap;
}

.legal-document {
  max-width: 980px;
  margin: 34px auto 58px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--panel);
  padding: clamp(24px, 5vw, 54px);
}

.legal-document h1 {
  margin-top: 24px;
  font-size: clamp(38px, 6vw, 72px);
}

.legal-lead,
.legal-document p,
.legal-document li {
  color: var(--muted-dark);
  font-size: 16px;
  font-weight: 740;
  line-height: 1.72;
}

.legal-document section {
  margin-top: 34px;
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
}

.legal-document h2 {
  color: var(--white);
  font-size: 26px;
}

.legal-document a {
  color: var(--orange-2);
}

.legal-document ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 38px 0 26px;
}

.account-chip {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 123, 0, 0.12);
  padding: 13px 15px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
}

.social-publishing-panel {
  margin-bottom: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.social-publishing-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
}

.social-publishing-head h2,
.social-status-head h3 {
  margin: 0;
  color: var(--white);
}

.social-action-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.social-action {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--white);
  padding: 0 14px;
  color: var(--black);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.social-action.is-connected {
  border-color: rgba(75, 132, 114, 0.34);
  background: rgba(75, 132, 114, 0.14);
  color: #8ecab7;
}

.social-action.secondary {
  border-color: var(--line-dark);
  background: var(--soft-surface);
  color: var(--muted-dark);
}

.social-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 12px;
}

.social-status-head span {
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 900;
}

.accounts-title {
  margin-top: 24px;
}

.social-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.social-status-card {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--soft-surface);
  padding: 16px;
}

.social-status-card.is-connected {
  border-color: rgba(75, 132, 114, 0.34);
  background: rgba(75, 132, 114, 0.12);
}

.social-card-top,
.provider-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-card-top {
  justify-content: space-between;
}

.provider-title {
  min-width: 0;
}

.provider-title strong {
  overflow: hidden;
  color: var(--white);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-icon {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.provider-icon.youtube {
  background: #ff0033;
}

.provider-icon.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.provider-icon.tiktok {
  background: #050505;
  box-shadow: inset 3px 0 0 #25f4ee, inset -3px 0 0 #fe2c55;
}

.connection-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--soft-surface-strong);
  padding: 5px 8px;
  color: var(--muted-dark);
  font-size: 11px;
  font-weight: 950;
}

.connection-pill.connected {
  background: #4b8472;
  color: #fff;
}

html[data-theme="light"] .social-action.is-connected {
  border-color: rgba(75, 132, 114, 0.24);
  background: #edf7f2;
  color: #2f6958;
}

html[data-theme="light"] .social-status-card.is-connected {
  border-color: rgba(75, 132, 114, 0.22);
  background: #f2faf6;
}

html[data-theme="light"] .connection-pill.connected {
  background: #3f7664;
}

.social-account-name {
  overflow: hidden;
  margin-top: 14px;
  color: var(--white);
  font-size: 14px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-account-meta {
  overflow: hidden;
  margin-top: 5px;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-account-list {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--soft-surface);
}

.social-account-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.social-account-row + .social-account-row {
  border-top: 1px solid var(--line-dark);
}

.social-account-row-main {
  min-width: 0;
}

.social-account-row-main strong,
.social-account-row-main span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-account-row-main strong {
  color: var(--white);
  font-size: 14px;
}

.social-account-row-main span {
  margin-top: 4px;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 800;
}

.social-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.social-row-actions button {
  min-height: 36px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--panel);
  padding: 0 12px;
  color: var(--muted-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.list-grid {
  padding-bottom: 52px;
}

.dashboard-panel {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
}

.dashboard-panel label {
  display: block;
  margin-bottom: 14px;
}

.dashboard-panel label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 900;
}

.dashboard-panel input[type="text"],
.dashboard-panel input[type="url"],
.dashboard-panel input[type="number"],
.dashboard-panel select,
.dashboard-panel textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--soft-surface);
  padding: 12px;
  color: var(--white);
  font-size: 15px;
  font-weight: 750;
  outline: none;
}

.dashboard-panel input[type="text"],
.dashboard-panel input[type="url"],
.dashboard-panel input[type="number"],
.dashboard-panel select {
  height: 46px;
}

.dashboard-panel textarea {
  resize: vertical;
}

.dashboard-panel input:focus,
.dashboard-panel select:focus,
.dashboard-panel textarea:focus {
  border-color: var(--orange);
}

.dashboard-panel .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.admin-only[hidden] {
  display: none !important;
}

.publish-admin-list {
  display: grid;
  gap: 14px;
}

.publish-admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.9fr);
  gap: 16px;
  border-top: 1px solid var(--line-dark);
  padding-top: 16px;
}

.publish-admin-video {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.publish-admin-video video {
  width: 150px;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--video-bg);
  object-fit: cover;
}

.publish-admin-video strong,
.publish-admin-video span,
.publish-admin-video p {
  display: block;
}

.publish-admin-video strong {
  overflow: hidden;
  color: var(--white);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.publish-admin-video span,
.publish-admin-video p {
  margin-top: 6px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.publish-admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.publish-admin-fields label {
  margin: 0;
}

.publish-admin-fields label:nth-child(4),
.publish-admin-fields label:nth-child(5),
.publish-admin-fields .admin-targets,
.publish-admin-fields .button {
  grid-column: 1 / -1;
}

.admin-targets {
  margin: 0;
  border: 0;
  padding: 0;
}

.admin-targets legend {
  margin-bottom: 8px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 900;
}

.file-picker {
  display: grid !important;
  min-height: 150px;
  place-items: center;
  border: 1px dashed rgba(255, 123, 0, 0.5);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 123, 0, 0.15), rgba(255, 255, 255, 0.05));
  cursor: pointer;
}

.file-picker input {
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-picker span {
  margin: 0 !important;
  color: var(--gold) !important;
  font-size: 15px !important;
  text-align: center;
}

.provider-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 16px;
}

.provider-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin: 0;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--soft-surface);
  padding: 0 10px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.provider-checks input {
  accent-color: var(--orange);
}

.provider-checks-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.provider-checks-compact label {
  min-height: 36px;
}

.content-list {
  display: grid;
  gap: 12px;
}

.content-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line-dark);
  padding-top: 14px;
}

.content-item.text-only {
  grid-template-columns: 1fr;
}

.content-item video {
  width: 132px;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--video-bg);
  object-fit: cover;
}

.content-item strong,
.content-item span,
.content-item a,
.content-item p,
.empty-state {
  display: block;
}

.content-item strong {
  overflow: hidden;
  color: var(--white);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-item span,
.content-item p,
.empty-state {
  margin-top: 5px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.content-item a {
  margin-top: 8px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header,
  .topbar {
    position: static;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero-inner,
  .platform-grid,
  .workflow-grid,
  .audience-section,
  .pricing-grid,
  .final-cta,
  .auth-page-shell,
  .settings-shell,
  .account-shell,
  .dashboard-hero,
  .dashboard-grid,
  .auth-grid,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .publish-admin-item,
  .publish-admin-video,
  .social-publishing-head,
  .social-account-row {
    grid-template-columns: 1fr;
  }

  .social-action-bar,
  .social-row-actions {
    justify-content: flex-start;
  }

  .social-status-grid {
    grid-template-columns: 1fr;
  }

  .publish-admin-video video {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    max-width: none;
  }

  .hero-inner {
    min-height: auto;
  }

  .video-wall {
    display: none;
  }

  .product-preview {
    max-width: 520px;
  }

  .audience-grid {
    margin-top: 26px;
  }
}

@media (max-width: 560px) {
  main,
  .site-footer {
    width: min(100% - 20px, 1220px);
  }

  .header-cta,
  .topbar-action {
    display: none;
  }

  .hero-marketing {
    min-height: 0;
  }

  .hero-inner {
    min-height: auto;
    padding: 34px 0 38px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.04;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-stats {
    display: none;
  }

  .product-preview {
    display: none;
  }

  .publish-grid,
  .provider-checks,
  .social-action-bar,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .social-action,
  .social-row-actions button {
    width: 100%;
  }

  .content-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .content-item video {
    width: 96px;
  }

  .platforms-section,
  .workflow-section,
  .audience-section,
  .tariffs-section,
  .final-cta {
    padding: 48px 0;
  }

  .final-cta {
    padding: 24px;
  }

  .price-top {
    display: block;
  }

  .price-top strong {
    display: block;
    margin-top: 12px;
  }
}
