/* Creator OS skin for the public pages that still use the shared site layout
   (pricing plans partial, use cases, CMS pages, blog, checkout, password pages).
   Markup and JS hooks stay as they are; only the look is remapped onto the Creator OS tokens. */

html.dark body { background: #0f1113 !important; color: #f7f7f8; font-family: "Inter", ui-sans-serif, system-ui, sans-serif; }
.cos-legacy { flex: 1 0 auto; }

/* ---------- Pricing: plan cards partial ---------- */
.cos-plans #sub-tabs { border: 1px solid #272b30 !important; background: rgba(255,255,255,.04); border-radius: 9999px !important; padding: 4px !important; gap: 2px; }
.cos-plans #sub-tabs li { border-radius: 9999px !important; background: transparent !important; }
.cos-plans #sub-tabs li a { border-radius: 9999px !important; color: #b7b9be !important; padding: 6px 18px !important; font-size: .875rem; }
.cos-plans #sub-tabs li.subscription-plan-tab-bg, .cos-plans #sub-tabs li.active { background: #332b0d !important; }
.cos-plans #sub-tabs li.subscription-plan-tab-bg a, .cos-plans #sub-tabs li.active a { color: #ffc700 !important; }

.cos-plans .check-billing { margin: 28px 0 8px !important; gap: 8px !important; }
.cos-plans .radio-container-payment { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #272b30; border-radius: 9999px; padding: 6px 14px; background: #15181b; }
.cos-plans .radio-container-payment input { accent-color: #ffc700; }
.cos-plans .radio-container-payment label { color: #f7f7f8 !important; font-size: .875rem; }

.cos-plans .plan-root { margin-top: 24px !important; margin-bottom: 56px !important; gap: 16px !important; padding: 0 !important; align-items: stretch; }
.cos-plans .plan-parent { background: transparent !important; border-radius: 24px !important; }
.cos-plans .plan-parent > div { height: 100%; background: #15181b !important; border: 1px solid #272b30 !important; border-radius: 24px !important;
  box-shadow: inset 0 1px 0 0 rgba(255,255,255,.05); padding: 28px !important; }
.cos-plans .plan-parent.card-border, .cos-plans .card-border { border: 0 !important; background: none !important; }
.cos-plans .plan-parent.card-border > div { border: 2px solid #ffc700 !important; background: linear-gradient(180deg, #332b0d 0%, #15181b 45%) !important; position: relative; }
.cos-plans .plan-parent.card-border > div::before { content: "Most popular"; position: absolute; top: 20px; right: 20px; background: #ffc700; color: #14151a;
  font-size: .75rem; font-weight: 600; padding: 2px 10px; border-radius: 9999px; }
.cos-plans .plan-parent p.text-24 { font-family: "Space Grotesk", "Inter", sans-serif !important; font-size: 1.25rem !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: -.02em; color: #f7f7f8 !important; }
.cos-plans .plan-parent p.text-36 { color: #f7f7f8 !important; font-family: "Space Grotesk", "Inter", sans-serif !important; margin-top: 8px !important; }
.cos-plans .plan-parent .text-48 { font-size: 2.75rem !important; letter-spacing: -.03em; }
.cos-plans .plan-parent .heading-1 { background: none !important; -webkit-text-fill-color: #ffc700 !important; color: #ffc700 !important; }
.cos-plans .plan-parent p.text-36 .text-18 { color: #9a9da3; font-family: "Inter", sans-serif; font-size: .9375rem !important; font-weight: 500; }
.cos-plans .plan-parent form button { width: 100%; justify-content: center; margin-top: 20px !important; height: 44px; padding: 0 20px !important;
  border-radius: 9999px !important; background: #ffc700 !important; color: #14151a !important; font-weight: 600 !important; font-size: .9375rem !important; }
.cos-plans .plan-parent form button:hover { background: #ffd43b !important; }
.cos-plans .plan-parent .flex.flex-col.gap-5 { gap: 12px !important; margin-top: 24px !important; padding-top: 20px; border-top: 1px solid #272b30; }
.cos-plans .plan-parent .flex.flex-col.gap-5 > div { color: #b7b9be !important; font-size: .9375rem !important; font-weight: 400 !important; }
.cos-plans .plan-parent .flex.flex-col.gap-5 svg path[fill="currentColor"] { fill: #4ade80; }
.cos-plans .plan-parent .flex.flex-col.gap-5 span.font-semibold { color: #f7f7f8 !important; }
.cos-plans .plan-parent .group .bg-white { background: #23272b !important; border-color: #272b30 !important; }
.cos-plans .plan-parent .group .bg-white li { background: #1d2023 !important; border-color: #272b30 !important; color: #f7f7f8 !important; }
.cos-plans .plan-parent .group .bg-white span { color: #9a9da3 !important; }
.cos-plans .plan-parent .sub-plan-rtl { padding: 28px !important; }

.cos-plans #plan-tab > div { margin-top: 24px !important; margin-bottom: 56px; gap: 16px !important; padding: 0 !important; }
.cos-plans .bg-small-package { background: #15181b !important; border: 1px solid #272b30 !important; border-radius: 24px !important; padding: 28px !important; }
.cos-plans .bg-small-package p.text-\[\#E22861\] { color: #ffc700 !important; font-size: .875rem !important; text-transform: uppercase; letter-spacing: .08em; }
.cos-plans .bg-small-package .text-\[36px\] { font-family: "Space Grotesk", sans-serif; }
.cos-plans .bg-small-package p { color: #b7b9be; }
.cos-plans .bg-small-package svg path[fill="#E22861"] { fill: #ffc700; }
.cos-plans .bg-small-package .magic-bg { background: #ffc700 !important; color: #14151a !important; border-radius: 9999px !important; width: 100% !important; }

@media (min-width: 1024px) { .cos-plans .pricing-width { width: calc(33.333% - 11px) !important; } }

/* Compare table */
.cos-table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 640px; }
.cos-table th, .cos-table td { padding: 14px 20px; border-bottom: 1px solid #272b30; text-align: center; }
.cos-table thead th { font-weight: 600; color: #f7f7f8; background: #1d2023; }
.cos-table thead th:first-child { border-top-left-radius: 24px; }
.cos-table thead th:last-child { border-top-right-radius: 24px; }
.cos-table tbody th { text-align: left; font-weight: 500; color: #f7f7f8; }
.cos-table tbody td { color: #b7b9be; }
.cos-table tbody tr:last-child th, .cos-table tbody tr:last-child td { border-bottom: 0; }
.cos-table tbody tr:hover { background: #1d2023; }
.cos-yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 9999px; background: #12301e; color: #4ade80; }
.cos-yes svg { width: 14px; height: 14px; }
.cos-no { color: #767b83; }

/* FAQ */
.cos-faq { display: grid; gap: 12px; }
@media (min-width: 768px) { .cos-faq { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; } }
.cos-faq .accordion { background: #15181b; border: 1px solid #272b30; border-radius: 24px; overflow: hidden; }
.cos-faq .accordion.faq-accordion-border { border-color: #767b83; }
.cos-faq .accordion-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 500; color: #f7f7f8; }
.cos-faq .accordion-header svg { width: 20px; height: 20px; flex-shrink: 0; color: #9a9da3; transition: transform .2s; }
.cos-faq .accordion-arrow.active { transform: rotate(180deg); color: #ffc700; }
.cos-faq .accordion-content { display: none; padding: 0 22px 20px; color: #b7b9be; font-size: .9375rem; }

/* ---------- Generic legacy content (use cases, CMS pages, blog, checkout, password pages) ---------- */
.cos-legacy .font-Figtree, .cos-legacy .font-DM-sans { font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important; }
.cos-legacy .font-RedHat { font-family: "Space Grotesk", "Inter", sans-serif !important; letter-spacing: -.03em; }
.cos-legacy h1.font-RedHat, .cos-legacy p.font-RedHat.font-bold, .cos-legacy .text-48.font-bold, .cos-legacy .text-36.font-bold { text-transform: uppercase; letter-spacing: -.04em; }

/* Backgrounds */
html.dark .cos-legacy .dark\:bg-color-14, html.dark .cos-legacy .dark\:bg-\[\#141414\], html.dark .cos-legacy .dark\:bg-\[\#333332\],
html.dark .cos-legacy .dark\:bg-color-33, html.dark .cos-legacy .dark\:bg-\[\#292929\] { background-color: #0f1113 !important; }
html.dark .cos-legacy .dark\:bg-color-29, html.dark .cos-legacy .dark\:bg-\[\#3A3A39\], html.dark .cos-legacy .dark\:bg-color-3A,
html.dark .cos-legacy .dark\:bg-\[\#434241\], html.dark .cos-legacy .dark\:bg-color-47, html.dark .cos-legacy .dark\:bg-\[\#474746\] { background-color: #15181b !important; }
html.dark .cos-legacy .dark\:border-color-47, html.dark .cos-legacy .dark\:border-\[\#474746\], html.dark .cos-legacy .dark\:border-color-3A,
html.dark .cos-legacy .dark\:border-color-89, html.dark .cos-legacy .border-color-89, html.dark .cos-legacy .border-color-DF { border-color: #272b30 !important; }
html.dark .cos-legacy .rounded-xl.dark\:bg-\[\#3A3A39\], html.dark .cos-legacy .rounded-2xl, html.dark .cos-legacy .rounded-\[30px\], html.dark .cos-legacy .rounded-\[20px\] { border-radius: 24px !important; }

/* Old hero banners and decorative backgrounds */
.cos-legacy .pricing-section-bg, .cos-legacy .use-case-bg, .cos-legacy .use-cases-bg, .cos-legacy .blog-bg, .cos-legacy .page-bg,
.cos-legacy [class*="section-bg"] { background: #0f1113 !important; background-image: none !important; }
.cos-legacy .-mt-\[74px\] { margin-top: 0 !important; }
.cos-legacy img[src*="background-one.png"], .cos-legacy img[src*="pricing-bg.png"], .cos-legacy img[src*="bg-two.png"], .cos-legacy img[src*="bg-three.png"],
.cos-legacy img[src*="bg-four.png"], .cos-legacy img[src*="dark-bg-two.png"], .cos-legacy img[src*="footer-bg.png"], .cos-legacy img[src*="floating-robot"] { display: none !important; }

/* Text */
html.dark .cos-legacy .dark\:text-white { color: #f7f7f8 !important; }
html.dark .cos-legacy .text-color-89, html.dark .cos-legacy .dark\:text-color-DF, html.dark .cos-legacy .dark\:text-color-89 { color: #b7b9be !important; }
.cos-legacy .heading-1, .cos-legacy .heading-gradient, .cos-legacy .text-gradient, .cos-legacy .feature-text { background: none !important; -webkit-text-fill-color: #ffc700 !important; color: #ffc700 !important; }
.cos-legacy .text-\[\#E22861\], html.dark .cos-legacy .dark\:text-\[\#FCCA19\] { color: #ffc700 !important; }
.cos-legacy a:not([class*="bg-"]):hover { color: #ffd43b; }

/* Buttons */
.cos-legacy .magic-bg, .cos-legacy .subscription-plan-tab-bg, .cos-legacy .bg-\[\#E22861\], .cos-legacy .bg-color-14.dark\:bg-white {
  background: #ffc700 !important; color: #14151a !important; border-radius: 9999px !important; box-shadow: none !important; }
.cos-legacy .magic-bg *, .cos-legacy .bg-color-14.dark\:bg-white * { color: #14151a !important; }
.cos-legacy .magic-bg:hover, .cos-legacy .bg-color-14.dark\:bg-white:hover { background: #ffd43b !important; }
.cos-legacy .get-started-for-free { background: #ffc700 !important; border-radius: 24px !important; }
.cos-legacy .get-started-for-free img { display: none !important; }
.cos-legacy .get-started-for-free a.bg-white { background: #14151a !important; border-radius: 9999px !important; }
.cos-legacy .get-started-for-free a.bg-white span { color: #fff !important; }
.cos-legacy .get-started-for-free a.bg-white path { fill: #fff; }
.cos-legacy .get-started-for-free .pb-10 { padding-bottom: 40px !important; }

/* Inputs */
html.dark .cos-legacy input:not([type="radio"]):not([type="checkbox"]), html.dark .cos-legacy textarea, html.dark .cos-legacy select {
  background-color: #1d2023 !important; border-color: #767b83 !important; color: #f7f7f8 !important; border-radius: 14px !important; }
html.dark .cos-legacy input:focus, html.dark .cos-legacy textarea:focus, html.dark .cos-legacy select:focus {
  border-color: #ffc700 !important; box-shadow: 0 0 0 3px rgba(255,199,0,.3) !important; outline: none !important; }
.cos-legacy input[type="radio"], .cos-legacy input[type="checkbox"] { accent-color: #ffc700; }

/* Long-form CMS / legal / blog content */
.cos-legacy .cms-content, .cos-legacy .blog-content, .cos-legacy .page-content, .cos-legacy .description { color: #b7b9be; line-height: 1.7; }
.cos-legacy .cms-content h1, .cos-legacy .cms-content h2, .cos-legacy .cms-content h3,
.cos-legacy .blog-content h1, .cos-legacy .blog-content h2, .cos-legacy .blog-content h3 { color: #f7f7f8; font-family: "Space Grotesk", "Inter", sans-serif; letter-spacing: -.02em; }
.cos-legacy .cms-content a, .cos-legacy .blog-content a { color: #ffc700; text-decoration: underline; }

/* Cards: hover lift used on use-cases and blog grids */
.cos-legacy .shadow-lg, .cos-legacy .dropdown-shadow, .cos-legacy .table-box-shadow { box-shadow: inset 0 1px 0 0 rgba(255,255,255,.05) !important; }

/* Fixes after visual review */
.cos-plans .plan-parent form button { display: flex !important; align-items: center !important; }
.cos-plans .card-border, .cos-plans .card-border::before, .cos-plans .card-border::after,
.cos-plans .plan-parent::before, .cos-plans .plan-parent::after { box-shadow: none !important; background-image: none !important; filter: none !important; }
.cos-plans .plan-parent.card-border::after, .cos-plans .plan-parent.card-border::before { display: none !important; }

/* ---------- CMS pages (About, Contact, Privacy, Terms, Refund, Digital Payments) ---------- */
.cos-page-hero { padding: 40px 0 40px; margin-bottom: 8px; border-bottom: 1px solid #272b30;
  background: radial-gradient(60rem 22rem at 85% -20%, rgba(255,199,0,.10), transparent 60%), #0f1113; }
@media (min-width: 768px) { .cos-page-hero { padding: 56px 0 56px; } }
.cos-crumbs { display: flex; gap: 8px; align-items: center; font-size: .8125rem; color: #9a9da3; }
.cos-crumbs a { color: #b7b9be; } .cos-crumbs a:hover { color: #ffc700; }
.cos-crumbs [aria-current] { color: #f7f7f8; }

.cos-doc-grid { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 1024px) { .cos-doc-grid { grid-template-columns: 17rem minmax(0, 1fr); gap: 24px; align-items: start; } }
.cos-doc-aside { display: grid; gap: 12px; }
@media (min-width: 1024px) { .cos-doc-aside { position: sticky; top: 80px; max-height: calc(100dvh - 100px); overflow: auto; scrollbar-width: thin; } }
.cos-doc-toc { padding: 16px; }
.cos-doc-toc .cos-eyebrow { padding: 0 8px; }
.cos-doc-toc ol { margin-top: 8px; display: grid; gap: 2px; counter-reset: toc; }
.cos-doc-toc li a { display: block; padding: 6px 8px; border-radius: 10px; font-size: .875rem; color: #b7b9be; line-height: 1.35; }
.cos-doc-toc li a:hover { background: rgba(255,255,255,.07); color: #f7f7f8; }
.cos-doc-toc li a[aria-current] { background: #332b0d; color: #ffc700; }
.cos-doc-link { display: block; padding: 8px; border-radius: 10px; font-size: .9375rem; color: #b7b9be; }
.cos-doc-link:hover { background: rgba(255,255,255,.07); color: #f7f7f8; }
.cos-doc-link[aria-current="page"] { background: #332b0d; color: #ffc700; font-weight: 500; }
@media (max-width: 1023px) { .cos-doc-toc { display: none; } }

/* Readable typography for page-builder content; overrides its inline styles. */
.cos-prose { padding: 28px 22px !important; color: #b7b9be; font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
@media (min-width: 768px) { .cos-prose { padding: 44px 48px !important; } }
.cos-prose * { background-color: transparent !important; color: inherit; font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
  max-width: 100%; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0; padding-right: 0; }
.cos-prose > *:first-child, .cos-prose > * > *:first-child { margin-top: 0 !important; }
.cos-prose p, .cos-prose div { margin: 0 0 14px; }
.cos-prose br + br { display: none; }
.cos-prose h1, .cos-prose h2, .cos-prose h3, .cos-prose h4, .cos-prose .cos-prose-heading {
  color: #f7f7f8 !important; font-family: "Space Grotesk", "Inter", sans-serif !important; font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
  margin: 36px 0 12px !important; padding-top: 24px !important; border-top: 1px solid #272b30; }
.cos-prose h1, .cos-prose h2, .cos-prose .cos-prose-heading { font-size: 1.375rem !important; }
.cos-prose h3, .cos-prose h4 { font-size: 1.125rem !important; }
.cos-prose > *:first-child h1:first-child, .cos-prose h1:first-child, .cos-prose .cos-prose-heading:first-child { border-top: 0; padding-top: 0 !important; margin-top: 0 !important; }
.cos-prose .cos-prose-heading strong { font-weight: 700; }
.cos-prose strong, .cos-prose b { color: #f7f7f8; font-weight: 600; }
.cos-prose a { color: #ffc700 !important; text-decoration: underline; text-underline-offset: 3px; }
.cos-prose ul, .cos-prose ol { margin: 0 0 16px 0 !important; padding-left: 1.25rem !important; list-style: disc; }
.cos-prose ol { list-style: decimal; }
.cos-prose li { margin: 6px 0; padding-left: 4px; }
.cos-prose li::marker { color: #ffc700; }
.cos-prose img { border-radius: 14px; height: auto; }
.cos-prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9375rem; }
.cos-prose th, .cos-prose td { border: 1px solid #272b30; padding: 10px 12px; text-align: left; }
.cos-prose hr { border: 0; border-top: 1px solid #272b30; margin: 24px 0; }

/* Contact */
.cos-contact-grid { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 768px) { .cos-contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cos-contact-card { display: flex; flex-direction: column; min-height: 13rem; padding: 28px !important; transition: filter .15s, transform .15s; }
a.cos-contact-card:hover { filter: brightness(1.12); transform: translateY(-2px); }
.cos-contact-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #ffc700; }
.cos-contact-icon svg { width: 22px; height: 22px; }
.cos-contact-value { font-size: 1.25rem; font-weight: 600; color: #f7f7f8; margin-top: 4px; overflow-wrap: anywhere; }
