:root {
  --paper: #f3f4f5;
  --paper-2: #e8eaed;
  --ink: #14171c;
  --graphite: #1b1e24;
  --navy: #0e1d33;
  --steel: #697080;
  --muted: #525a69;
  --line: rgba(20, 26, 31, 0.13);
  --orange: #ef4e1e;
  --orange-dark: #c9360d;
  --green: #237d56;
  --white: #ffffff;
  --shadow: 0 22px 56px -32px rgba(14, 29, 51, 0.38);
  --radius: 18px;
  --max: 1160px;
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 244, 245, 0.93);
  backdrop-filter: blur(16px);
}

.nav-shell,
.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  text-decoration: none;
}

.brand img {
  width: 118px;
  height: auto;
}

.brand-tag {
  padding-left: 11px;
  border-left: 1px solid var(--line);
  color: var(--steel);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-links a,
.text-link {
  color: #303640;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--orange-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  background: var(--orange-dark);
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: rgba(239, 78, 30, 0.45);
  background: rgba(239, 78, 30, 0.07);
}

.button.dark {
  background: var(--graphite);
}

.button.dark:hover {
  background: var(--navy);
}

:focus-visible {
  outline: 3px solid rgba(239, 78, 30, 0.72);
  outline-offset: 3px;
  border-radius: 8px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 12vw, 150px) 0 clamp(72px, 10vw, 126px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(14, 29, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 29, 51, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: end;
  gap: clamp(38px, 7vw, 90px);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6.4vw, 82px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4vw, 52px);
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lede {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-aside,
.card,
.price-card,
.legal-nav,
.callout {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.hero-aside {
  padding: 26px;
}

.hero-aside strong,
.stat strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.hero-aside p,
.card p,
.price-card p,
.callout p {
  margin: 0;
  color: var(--muted);
}

.hero-aside hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.section {
  padding: clamp(70px, 9vw, 116px) 0;
}

.section.alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.section.dark {
  background: var(--graphite);
  color: var(--white);
}

.section.dark .eyebrow {
  color: #ff7b55;
}

.section.dark .lede,
.section.dark p,
.section.dark li {
  color: #c3c8d0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.grid-2,
.grid-3,
.grid-4,
.price-grid,
.walkthrough-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.price-card,
.callout {
  padding: 27px;
}

.card-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
}

.plain-list,
.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li,
.check-list li {
  position: relative;
  padding: 11px 0 11px 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.recommended {
  border-color: rgba(239, 78, 30, 0.62);
  background: #fff9f6;
}

.plan-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(239, 78, 30, 0.1);
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  margin: 24px 0 5px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 40px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.price small {
  color: var(--steel);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

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

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

.price-card .plan-summary {
  min-height: 76px;
}

.price-meta {
  margin: 0 0 20px;
  color: var(--steel);
  font-size: 13px;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
}

.policy-links a {
  color: var(--orange-dark);
}

.contact-value {
  display: inline-block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.contact-value.pending {
  color: #8a4b08;
}

.language-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.language-switch button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

[data-language-panel][hidden] {
  display: none !important;
}

[data-language-panel="ar"] {
  direction: rtl;
  text-align: right;
}

[data-language-panel="ar"] .legal-copy {
  font-family: Tahoma, Arial, sans-serif;
}

.policy-date {
  color: var(--steel);
  font-size: 14px;
}

.notice,
.draft-note {
  padding: 15px 18px;
  border: 1px solid rgba(239, 78, 30, 0.32);
  border-radius: 12px;
  background: rgba(239, 78, 30, 0.075);
  color: #61230f;
  font-size: 14px;
}

.draft-note {
  margin: 28px 0 0;
  border-color: #c69b37;
  background: #fff7dc;
  color: #59420c;
}

.story-quote {
  margin: 0;
  padding: 28px 0 28px 28px;
  border-left: 4px solid var(--orange);
  color: var(--ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 650;
  line-height: 1.25;
}

.walkthrough-grid {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 17px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
}

.step-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-index {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.step-list h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.step-list p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  max-width: 880px;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 750;
}

.faq-list p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  align-items: start;
  gap: clamp(28px, 6vw, 80px);
}

.legal-nav {
  position: sticky;
  top: 96px;
  padding: 20px;
}

.legal-nav strong {
  display: block;
  margin-bottom: 10px;
}

.legal-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.legal-copy h2 {
  margin-top: 48px;
  font-size: 28px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
}

.legal-copy li + li {
  margin-top: 8px;
}

.site-footer {
  padding: 62px 0 28px;
  background: var(--graphite);
  color: var(--white);
}

.footer-grid {
  grid-template-columns: 1.5fr repeat(3, 1fr);
}

.footer-brand p {
  max-width: 300px;
  color: #9ea5b0;
  font-size: 14px;
}

.footer-col strong {
  display: block;
  margin-bottom: 12px;
  color: #8d96a4;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: #d4d8de;
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ff8764;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8d96a4;
  font-size: 12px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero-grid,
  .walkthrough-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .price-grid,
  .price-grid.four,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .shell {
    width: min(100% - 28px, var(--max));
  }

  .nav-shell {
    min-height: 64px;
    gap: 10px;
  }

  .brand img {
    width: 96px;
  }

  .brand-tag,
  .nav-actions .secondary {
    display: none;
  }

  .nav-actions .button {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero {
    padding-top: 70px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .price-grid,
  .price-grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .price-card,
  .hero-aside,
  .callout {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared Studio marketing language — mirrors app.tubali.ai across every public page. */
.studio-marketing-page {
  --paper: #f5f7f6;
  --paper-2: #edf1ef;
  --ink: #17201c;
  --graphite: #1a1a1a;
  --navy: #17201c;
  --steel: #63706a;
  --muted: #4c5b54;
  --line: #dfe4e1;
  --orange: #b98545;
  --orange-dark: #7d572b;
  --white: #ffffff;
  --shadow: 0 18px 48px -34px rgba(23, 32, 28, 0.48);
  --radius: 8px;
  --max: 1200px;
  --pricing-gold: #b98545;
  --pricing-gold-light: #c9a96e;
  --pricing-page: #f5f7f6;
  --pricing-surface: #ffffff;
  --pricing-ink: #17201c;
  --pricing-dim: #4c5b54;
  --pricing-muted: #63706a;
  --pricing-border: #dfe4e1;
  background: var(--paper);
  color: var(--ink);
}

.studio-marketing-page .site-header {
  min-height: 64px;
  border-bottom-color: rgba(201, 169, 110, 0.12);
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(14px);
}

.studio-marketing-page .nav-shell {
  min-height: 64px;
}

.studio-marketing-page .pricing-header .brand img {
  width: 104px;
}

.studio-marketing-page .pricing-header .brand-tag {
  border-left-color: rgba(201, 169, 110, 0.2);
  color: #8b918d;
}

.studio-marketing-page .pricing-header .nav-links a {
  color: #b4bab6;
  font-size: 13px;
  font-weight: 600;
}

.studio-marketing-page .pricing-header .nav-links a:hover,
.studio-marketing-page .pricing-header .nav-links a[aria-current="page"] {
  color: var(--pricing-gold-light);
}

.studio-marketing-page .button {
  min-height: 44px;
  border-radius: 8px;
  background: var(--pricing-gold);
  color: var(--pricing-ink);
  font-size: 13px;
  font-weight: 750;
}

.studio-marketing-page .button:hover {
  background: #c99b62;
}

.studio-marketing-page .pricing-header .button.secondary,
.studio-marketing-page .pricing-hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #ffffff;
}

.studio-marketing-page .pricing-header .button.secondary:hover,
.studio-marketing-page .pricing-hero .button.secondary:hover {
  border-color: rgba(201, 169, 110, 0.58);
  background: rgba(201, 169, 110, 0.08);
  color: var(--pricing-gold-light);
}

.studio-marketing-page :focus-visible {
  outline-color: rgba(201, 169, 110, 0.9);
}

.studio-marketing-page .pricing-hero {
  min-height: 360px;
  padding: 66px 0 62px;
}

.studio-marketing-page .pricing-hero > .shell {
  position: relative;
  z-index: 2;
}

.studio-marketing-page .pricing-hero .hero-grid {
  align-items: center;
}

.studio-marketing-page .pricing-hero h1 {
  max-width: 760px;
  margin-bottom: 17px;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.studio-marketing-page .pricing-hero .lede {
  max-width: 680px;
  color: #a9b2ad;
  font-size: 15px;
  line-height: 1.7;
}

.studio-marketing-page .pricing-hero .policy-date {
  margin: 16px 0 0;
  color: #93a098;
  font-size: 12px;
}

.studio-marketing-page .pricing-hero .hero-actions {
  margin-top: 26px;
}

.studio-marketing-page .pricing-hero .hero-aside {
  padding: 22px;
  border-color: rgba(232, 227, 220, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.studio-marketing-page .pricing-hero .hero-aside strong {
  color: #f5f7f6;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.studio-marketing-page .pricing-hero .hero-aside p {
  color: #a9b2ad;
  font-size: 12px;
  line-height: 1.6;
}

.studio-marketing-page .pricing-hero .hero-aside hr {
  margin: 16px 0;
  border-top-color: rgba(255, 255, 255, 0.1);
}

.studio-marketing-page .pricing-hero .language-switch {
  position: relative;
  z-index: 3;
}

.studio-marketing-page .pricing-hero .language-switch button {
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  color: #dfe4e1;
  font-size: 12px;
}

.studio-marketing-page .pricing-hero .language-switch button[aria-pressed="true"] {
  border-color: var(--pricing-gold);
  background: var(--pricing-gold);
  color: var(--pricing-ink);
}

.studio-marketing-page .section {
  padding: clamp(54px, 7vw, 82px) 0;
}

.studio-marketing-page .section.alt {
  border-color: var(--pricing-border);
  background: var(--paper-2);
}

.studio-marketing-page .section.dark {
  background-color: #1a1a1a;
  background-image:
    linear-gradient(rgba(201, 169, 110, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 110, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}

.studio-marketing-page .section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.studio-marketing-page h2 {
  margin-bottom: 14px;
  color: var(--pricing-ink);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
}

.studio-marketing-page h3 {
  color: var(--pricing-ink);
  font-size: 19px;
  line-height: 1.2;
}

.studio-marketing-page .eyebrow {
  margin-bottom: 12px;
  color: #7d572b;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.studio-marketing-page .pricing-hero .eyebrow,
.studio-marketing-page .section.dark .eyebrow {
  color: var(--pricing-gold);
}

.studio-marketing-page .card,
.studio-marketing-page .legal-nav,
.studio-marketing-page .callout {
  border-color: var(--pricing-border);
  border-radius: 8px;
  background: var(--pricing-surface);
  box-shadow: var(--shadow);
}

.studio-marketing-page .card,
.studio-marketing-page .callout {
  padding: 22px;
}

.studio-marketing-page .card p,
.studio-marketing-page .callout p {
  color: var(--pricing-dim);
  font-size: 14px;
  line-height: 1.6;
}

.studio-marketing-page .card-number {
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
  border-radius: 7px;
  background: rgba(185, 133, 69, 0.14);
  color: #7d572b;
  font-size: 10px;
}

.studio-marketing-page .story-quote {
  padding: 22px 0 22px 24px;
  border-left-color: var(--pricing-gold);
  color: var(--pricing-ink);
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.3;
}

.studio-marketing-page .legal-layout {
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(30px, 5vw, 68px);
}

.studio-marketing-page .legal-nav {
  top: 86px;
  padding: 17px;
}

.studio-marketing-page .legal-nav strong {
  color: var(--pricing-ink);
  font-size: 12px;
}

.studio-marketing-page .legal-nav a {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 5px 0;
  color: var(--pricing-dim);
  font-size: 12px;
  line-height: 1.35;
}

.studio-marketing-page .legal-nav a:hover {
  color: #7d572b;
}

.studio-marketing-page .legal-copy {
  color: var(--pricing-ink);
  font-size: 16px;
}

.studio-marketing-page .legal-copy h2 {
  margin-top: 40px;
  font-size: 26px;
  scroll-margin-top: 94px;
}

.studio-marketing-page .legal-copy p,
.studio-marketing-page .legal-copy li {
  color: var(--pricing-dim);
  line-height: 1.72;
}

.studio-marketing-page .legal-copy a,
.studio-marketing-page .policy-links a,
.studio-marketing-page .contact-value {
  color: #7d572b;
}

.studio-marketing-page .contact-value {
  font-size: 15px;
}

.studio-marketing-page .contact-value.pending {
  color: #8a4b08;
}

.studio-marketing-page .notice,
.studio-marketing-page .draft-note {
  border-color: rgba(185, 133, 69, 0.32);
  border-radius: 8px;
  background: rgba(185, 133, 69, 0.07);
  color: #65461f;
}

.studio-marketing-page .language-switch button {
  border-radius: 7px;
}

.studio-marketing-page .language-switch button[aria-pressed="true"] {
  border-color: var(--pricing-gold);
  background: var(--pricing-gold);
  color: var(--pricing-ink);
}

html[dir="rtl"] .studio-marketing-page .pricing-hero h1,
.studio-marketing-page [data-language-panel="ar"] h1 {
  font-family: Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

.studio-marketing-page .site-footer {
  padding-top: 54px;
  background: #1a1a1a;
}

.studio-marketing-page .footer-col a:hover {
  color: var(--pricing-gold-light);
}

@media (max-width: 1100px) {
  .studio-marketing-page .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .studio-marketing-page .legal-layout {
    grid-template-columns: 1fr;
  }

  .studio-marketing-page .legal-nav {
    position: static;
  }
}

@media (min-width: 901px) {
  .studio-marketing-page .legal-nav {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 620px) {
  .studio-marketing-page .pricing-header .brand img {
    width: 96px;
  }

  .studio-marketing-page .pricing-hero {
    min-height: 0;
    padding: 52px 0 48px;
  }

  .studio-marketing-page .pricing-hero h1 {
    font-size: 34px;
  }

  .studio-marketing-page .pricing-hero .lede {
    font-size: 14px;
  }

  .studio-marketing-page .section {
    padding: 48px 0;
  }

  .studio-marketing-page .grid-4 {
    grid-template-columns: 1fr;
  }

  .studio-marketing-page .card,
  .studio-marketing-page .callout,
  .studio-marketing-page .hero-aside {
    padding: 18px;
  }

  .studio-marketing-page .legal-copy h2 {
    font-size: 24px;
  }

  .studio-marketing-page .legal-nav a {
    min-height: 44px;
  }

  .studio-marketing-page .footer-col a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Pricing page — mirrors the Studio app's dark blueprint hero and light UI tokens. */
.pricing-page {
  --pricing-gold: #b98545;
  --pricing-gold-light: #c9a96e;
  --pricing-page: #f5f7f6;
  --pricing-surface: #ffffff;
  --pricing-ink: #17201c;
  --pricing-dim: #4c5b54;
  --pricing-muted: #63706a;
  --pricing-border: #dfe4e1;
  background: var(--pricing-page);
  color: var(--pricing-ink);
}

.pricing-page .site-header {
  min-height: 64px;
  border-bottom-color: rgba(201, 169, 110, 0.12);
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(14px);
}

.pricing-page .nav-shell {
  min-height: 64px;
}

.pricing-header .brand img {
  width: 104px;
}

.pricing-header .brand-tag {
  border-left-color: rgba(201, 169, 110, 0.2);
  color: #7f817f;
}

.pricing-header .nav-links a {
  color: #a4a6a5;
  font-size: 13px;
  font-weight: 600;
}

.pricing-header .nav-links a:hover,
.pricing-header .nav-links a[aria-current="page"] {
  color: var(--pricing-gold-light);
}

.pricing-page .button {
  min-height: 44px;
  border-radius: 8px;
  background: var(--pricing-gold);
  color: var(--pricing-ink);
  font-size: 13px;
  font-weight: 750;
}

.pricing-page .button:hover {
  background: #c99b62;
}

.pricing-header .button.secondary,
.pricing-hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ffffff;
}

.pricing-header .button.secondary:hover,
.pricing-hero .button.secondary:hover {
  border-color: rgba(201, 169, 110, 0.58);
  background: rgba(201, 169, 110, 0.08);
  color: var(--pricing-gold-light);
}

.pricing-page :focus-visible {
  outline-color: rgba(201, 169, 110, 0.9);
}

.pricing-hero {
  min-height: 410px;
  display: flex;
  align-items: center;
  padding: 74px 0 70px;
  border-bottom-color: rgba(201, 169, 110, 0.12);
  background-color: #1a1a1a;
  background-image:
    linear-gradient(rgba(201, 169, 110, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 110, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  color: #ffffff;
  isolation: isolate;
}

.pricing-hero::before {
  z-index: 0;
  background: none;
  mask-image: none;
}

.pricing-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.7fr);
  align-items: center;
  gap: clamp(42px, 7vw, 86px);
}

.pricing-hero .eyebrow {
  margin-bottom: 16px;
  color: var(--pricing-gold);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.pricing-hero h1 {
  max-width: 680px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.pricing-hero h1 span {
  color: var(--pricing-gold);
}

.pricing-hero .lede {
  max-width: 580px;
  color: #a9b2ad;
  font-size: 15px;
  line-height: 1.7;
}

.pricing-hero .hero-actions {
  margin-top: 28px;
}

.pricing-hero-summary {
  overflow: hidden;
  border: 1px solid rgba(232, 227, 220, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.pricing-summary-label {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--pricing-gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pricing-summary-fact {
  display: grid;
  gap: 2px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.pricing-summary-fact:last-child {
  border-bottom: 0;
}

.pricing-summary-fact strong {
  color: #f5f7f6;
  font-size: 13px;
}

.pricing-summary-fact span {
  color: #93a098;
  font-size: 11px;
}

.pricing-hero-geometry,
.pricing-hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.pricing-hero-geo {
  position: absolute;
  color: rgba(201, 169, 110, 0.78);
}

.pricing-hero-geo__line {
  opacity: 0.12;
}

.pricing-hero-geo__pulse {
  opacity: 0.1;
  will-change: opacity;
}

.pricing-hero-geo__pulse--1 { animation: pricingGeometryBlink 14.9s ease-in-out -4.2s infinite; }
.pricing-hero-geo__pulse--2 { animation: pricingGeometryBlink 19.7s ease-in-out -12.1s infinite; }
.pricing-hero-geo__pulse--3 { animation: pricingGeometryBlink 23.9s ease-in-out -8.6s infinite; }
.pricing-hero-geo__pulse--4 { animation: pricingGeometryBlink 29.3s ease-in-out -20.4s infinite; }
.pricing-hero-geo__pulse--5 { animation: pricingGeometryBlink 31.7s ease-in-out -13.7s infinite; }
.pricing-hero-geo__pulse--6 { animation: pricingGeometryBlink 37.1s ease-in-out -25.3s infinite; }
.pricing-hero-geo__pulse--7 { animation: pricingGeometryBlink 41.9s ease-in-out -31.6s infinite; }
.pricing-hero-geo__pulse--8 { animation: pricingGeometryBlink 47.3s ease-in-out -9.8s infinite; }

.pricing-hero-geo--north-west { width: min(31vw, 460px); left: -18px; top: 0; }
.pricing-hero-geo--north-east { width: min(24vw, 350px); right: 3%; top: 12%; }
.pricing-hero-geo--south-west { width: min(22vw, 320px); left: -12px; bottom: -12%; }
.pricing-hero-geo--south-east { width: min(34vw, 520px); right: -3%; bottom: -48%; }

.pricing-hero-glow {
  border-radius: 50%;
}

.pricing-hero-glow--left {
  width: 620px;
  height: 620px;
  inset: 6% auto auto -12%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 56%);
}

.pricing-hero-glow--right {
  width: 460px;
  height: 460px;
  inset: auto -4% -12% auto;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.045) 0%, transparent 56%);
}

@keyframes pricingGeometryBlink {
  0%, 30%, 47%, 72%, 88%, 100% { opacity: 0.1; }
  35%, 42% { opacity: 0.64; }
  77%, 84% { opacity: 0.42; }
}

.pricing-section {
  padding: 62px 0 78px;
  background: var(--pricing-page);
}

.pricing-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.pricing-section .section-head {
  margin-bottom: 0;
}

.pricing-section .eyebrow {
  margin-bottom: 10px;
  color: #7d572b;
}

.pricing-section h2 {
  margin-bottom: 8px;
  color: var(--pricing-ink);
  font-size: 34px;
}

.pricing-section .policy-date {
  margin: 0;
  color: var(--pricing-muted);
  font-size: 12px;
}

.pricing-shared-feature {
  max-width: 320px;
  margin: 0 0 2px;
  color: var(--pricing-dim);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.pricing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 11px 0;
  border-top: 1px solid var(--pricing-border);
  border-bottom: 1px solid var(--pricing-border);
}

.pricing-market-label {
  color: var(--pricing-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-section .language-switch {
  justify-content: flex-end;
  margin-top: 0;
}

.pricing-section .language-switch button {
  min-height: 44px;
  padding: 0 13px;
  border-color: var(--pricing-border);
  border-radius: 7px;
  background: var(--pricing-surface);
  color: var(--pricing-dim);
  font-size: 12px;
}

.pricing-section .language-switch button[aria-pressed="true"] {
  border-color: var(--pricing-gold);
  background: var(--pricing-gold);
  color: var(--pricing-ink);
}

.compact-price-grid {
  align-items: stretch;
  gap: 12px;
}

.compact-price-card {
  padding: 20px;
  border-color: var(--pricing-border);
  border-radius: 8px;
  background: var(--pricing-surface);
  box-shadow: 0 12px 34px -26px rgba(23, 32, 28, 0.58);
  font-size: 13px;
  line-height: 1.45;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.compact-price-card:hover {
  border-color: #b8c2bd;
  box-shadow: 0 18px 42px -28px rgba(23, 32, 28, 0.64);
}

.compact-price-card.recommended {
  border-color: var(--pricing-gold);
  background: #fffaf4;
  box-shadow: 0 0 0 1px rgba(185, 133, 69, 0.12), 0 18px 46px -30px rgba(125, 87, 43, 0.7);
}

.compact-price-card .plan-label h3 {
  margin: 0;
  color: var(--pricing-ink);
  font-size: 19px;
  letter-spacing: -0.02em;
}

.compact-price-card .pill {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(185, 133, 69, 0.13);
  color: #7d572b;
  font-size: 9px;
}

.compact-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 7px;
  margin: 17px 0 3px;
  color: var(--pricing-ink);
}

.compact-price-prefix {
  flex-basis: 100%;
  color: var(--pricing-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compact-price strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.compact-price > span:last-child {
  color: var(--pricing-muted);
  font-size: 11px;
  font-weight: 600;
}

.compact-annual {
  min-height: 34px;
  color: var(--pricing-muted);
  font-size: 11px;
  line-height: 1.4;
}

.compact-price-card .plan-summary {
  min-height: 0;
  margin: 11px 0 14px;
  color: var(--pricing-dim);
  font-size: 13px;
  line-height: 1.45;
}

.plan-limits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 13px;
  border: 1px solid var(--pricing-border);
  border-radius: 7px;
  background: var(--pricing-page);
}

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

.plan-limits > div {
  min-width: 0;
  padding: 9px 5px;
  border-left: 1px solid var(--pricing-border);
  text-align: center;
}

.plan-limits > div:first-child {
  border-left: 0;
}

.plan-limits strong,
.plan-limits span {
  display: block;
}

.plan-limits strong {
  color: var(--pricing-ink);
  font-size: 14px;
  line-height: 1.2;
}

.plan-limits span {
  overflow-wrap: anywhere;
  margin-top: 3px;
  color: var(--pricing-muted);
  font-size: 9px;
  line-height: 1.25;
}

.compact-feature-list {
  display: grid;
  gap: 0;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.compact-feature-list li {
  position: relative;
  padding: 6px 0 6px 17px;
  color: var(--pricing-dim);
  font-size: 12px;
  line-height: 1.35;
}

.compact-feature-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 4px;
  height: 7px;
  border-right: 1.5px solid #237d56;
  border-bottom: 1.5px solid #237d56;
  transform: rotate(45deg);
}

.compact-price-card .button {
  min-height: 44px;
  margin-top: auto;
  font-size: 12px;
}

.compact-price-card .button.secondary {
  border-color: #b8c2bd;
  background: transparent;
  color: var(--pricing-ink);
}

.compact-price-card .button.secondary:hover {
  border-color: var(--pricing-gold);
  background: rgba(185, 133, 69, 0.08);
}

.pricing-billing-note {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(185, 133, 69, 0.28);
  border-radius: 8px;
  background: rgba(185, 133, 69, 0.065);
  color: var(--pricing-dim);
  font-size: 12px;
  line-height: 1.55;
}

.feature-disclosure {
  margin-top: 12px;
  border: 1px solid var(--pricing-border);
  border-radius: 8px;
  background: var(--pricing-surface);
}

.feature-disclosure summary {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 15px;
  color: var(--pricing-ink);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.feature-disclosure summary::-webkit-details-marker {
  display: none;
}

.feature-disclosure summary::after {
  content: "+";
  color: #7d572b;
  font-size: 21px;
  font-weight: 400;
}

.feature-disclosure[open] summary {
  border-bottom: 1px solid var(--pricing-border);
}

.feature-disclosure[open] summary::after {
  content: "−";
}

.feature-comparison {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.comparison-plan {
  padding: 14px;
  border: 1px solid var(--pricing-border);
  border-radius: 7px;
  background: var(--pricing-page);
}

.comparison-plan h3 {
  margin-bottom: 7px;
  color: var(--pricing-ink);
  font-size: 16px;
}

.comparison-plan p,
.comparison-plan li {
  color: var(--pricing-dim);
  font-size: 11px;
  line-height: 1.45;
}

.comparison-plan p {
  margin: 0 0 9px;
}

.comparison-plan ul {
  margin: 0;
  padding-left: 17px;
}

.pricing-section .policy-links a {
  color: #7d572b;
}

@media (max-width: 1100px) {
  .pricing-page .compact-price-grid,
  .feature-comparison {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .pricing-hero {
    min-height: 0;
    padding: 64px 0 58px;
  }

  .pricing-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pricing-hero-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-summary-label {
    grid-column: 1 / -1;
  }

  .pricing-summary-fact {
    border-right: 1px solid rgba(255, 255, 255, 0.075);
    border-bottom: 0;
  }

  .pricing-summary-fact:last-child {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  .pricing-header .brand img {
    width: 96px;
  }

  .pricing-hero {
    padding: 54px 0 48px;
  }

  .pricing-hero h1 {
    font-size: 34px;
  }

  .pricing-hero .lede {
    font-size: 13px;
  }

  .pricing-hero-summary {
    display: none;
  }

  .pricing-hero-geo--north-west { width: 270px; left: -112px; top: 24px; }
  .pricing-hero-geo--north-east { width: 210px; right: -82px; top: 26%; }
  .pricing-hero-geo--south-west { width: 220px; left: -104px; bottom: 22%; }
  .pricing-hero-geo--south-east { width: 340px; right: -170px; bottom: -30px; }

  .pricing-section {
    padding: 48px 0 60px;
  }

  .pricing-heading-row,
  .pricing-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-heading-row {
    gap: 14px;
  }

  .pricing-section h2 {
    font-size: 29px;
  }

  .pricing-shared-feature {
    text-align: left;
  }

  .pricing-toolbar {
    gap: 8px;
  }

  .pricing-section .language-switch {
    justify-content: flex-start;
  }

  .pricing-page .compact-price-grid,
  .feature-comparison {
    grid-template-columns: 1fr;
  }

  .compact-price-card {
    padding: 18px;
  }

  .compact-price strong {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-hero-geo__pulse {
    animation: none !important;
    opacity: 0.18;
  }
}

@media (max-width: 620px) {
  .about-page .pricing-hero-summary,
  .contact-page .pricing-hero-summary {
    display: block;
  }

  .about-page .pricing-summary-fact,
  .contact-page .pricing-summary-fact {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  }

  .about-page .pricing-summary-fact:last-child,
  .contact-page .pricing-summary-fact:last-child {
    border-bottom: 0;
  }
}
