/* OMR Sheet Designer — unified design system, November 2026
   Visual layer only: never changes forms, links, entitlement or JS behaviour.
   Inspired by contemporary content-first gallery layouts, not a CapCut clone.
*/
body.osd-site {
  --red: #C74378;
  --red-dark: #AD3166;
  --pink: #CF5A8A;
  --pink-soft: #FFF0F6;
  --sky: #D6E9EF;
  --sky-soft: #F1F7FA;
  --ink: #20242C;
  --muted: #697381;
  --line: #E7E9ED;
  --white: #FFFFFF;
  --page-gray: #F7F8FA;
  --page: #F7F8FA;
  --cyan: #D6E9EF;
  --radius: 20px;
  --osd-elev: 0 8px 30px rgba(26, 36, 50, .055);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: #F7F8FA;
  -webkit-font-smoothing: antialiased;
}
body.osd-site *, body.osd-site *::before, body.osd-site *::after {box-sizing: border-box;}
body.osd-site a {text-underline-offset: .2em;}
body.osd-site :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 3px solid #5A92AF; outline-offset: 3px;
}
body.osd-site :is(.container,.wrap) {max-width: 1210px;}
body.osd-site :is(h1,h2,h3) {letter-spacing: -.025em; color: #20242C;}
body.osd-site :is(p,.hero-copy,.section-head p) {color: #697381;}
body.osd-site :is(.site-header,header:not(.brand),.topbar) {
  background: rgba(255,255,255,.96);
  border-color: #E9EBEF;
  box-shadow: 0 1px 0 rgba(23,31,43,.025);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body.osd-site :is(.nav,.navbar,.site-nav,.top-inner){min-height: 76px;}
body.osd-site :is(.brand,.site-nav .brand) {font-weight: 750;letter-spacing: -.02em;}
body.osd-site :is(.brand-logo,.brand-mark,.mark){border-radius: 12px;}
body.osd-site :is(.navlinks,.nav-links,.site-links,nav) a {transition: color .15s ease;}
body.osd-site :is(.navlinks,.nav-links,.site-links,nav) a:hover {color: #AD3166;}
body.osd-site :is(.navlinks,.nav-links,.site-links,nav) a.active {color:#AD3166;}
body.osd-site :is(select,input,textarea) {accent-color:#C74378;}
body.osd-site :is(.language-picker select,.picker,.langselect,.account-language select) {
  border: 1px solid #E2E6EB; background:#fff; color:#293445;
  border-radius: 11px; box-shadow: none;
}
body.osd-site :is(.button,.btn,.download-btn,.desktop-download,.btn-primary,.primary-btn) {
  min-height: 45px; border-radius: 11px;
  font-weight: 700; letter-spacing: -.01em;
  box-shadow: none; text-decoration: none;
  transition: background-color .15s ease,border-color .15s ease,transform .15s ease;
}
body.osd-site :is(.button-red,.btn-red,.desktop-download,.download-btn:not(.secondary)) {
  background: #20242C; color: white; border-color: #20242C;
}
body.osd-site :is(.button-red,.btn-red,.desktop-download,.download-btn:not(.secondary)):hover {
  background:#393E49; border-color:#393E49; color:#fff;
}
body.osd-site :is(.button-pink,.download-btn.secondary){background:#C74378;color:#fff;}
body.osd-site :is(.button-white,.btn-outline){background:#fff;color:#273140;border:1px solid #E0E3E9;}
body.osd-site :is(.button-sky,.btn-cyan){background:#F2F5F8;color:#263447;border:1px solid #E2E7ED;}
body.osd-site :is(.label,.eyebrow,.overline,.account-kicker,.mode) {
  background:#FFF1F7;color:#AA3D6C;border-color:#F5DCE6;
  border-radius: 100px;font-weight:750;letter-spacing:.01em;
}
body.osd-site :is(.section-head,.page-hero) h2 {font-weight:750;}
body.osd-site :is(.hero,.page-hero) {background:#fff;}
body.osd-site .hero h1 {font-size:clamp(37px,4.7vw,60px);line-height:1.17;font-weight:790;}
body.osd-site .hero h1 span {color:#C74378;}
body.osd-site .hero :is(.hero-copy,p) {line-height:1.75;}
body.osd-site :is(.feature,.ad-card,.showcase-hero,.step,.price-card,.release,.choice-card,.editor-card,.platform-card,.work-step,.content-card,.account-card,.auth-panel,.faq-items details) {
  border: 1px solid #E6E9EE;
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--osd-elev);
}
body.osd-site :is(.feature,.step,.price-card,.choice-card,.editor-card,.platform-card,.work-step) {border-top-width:1px;}
body.osd-site :is(.feature,.ad-card,.price-card,.choice-card,.platform-card){transition:transform .16s ease,box-shadow .16s ease;}
body.osd-site :is(.feature,.ad-card,.price-card,.choice-card,.platform-card):hover {transform:translateY(-3px);box-shadow:0 15px 36px rgba(25,35,49,.09);}
body.osd-site :is(.feature,.price-card,.release.latest,.choice-card:nth-child(1),.choice-card:nth-child(2)) {border-top-color:#E6E9EE;}
body.osd-site :is(.features,.pricing,.how,.showcase,.section-pink,.grade-section,.model-section) {background:#F7F8FA;}
body.osd-site :is(.feature-grid,.ad-card-grid,.steps,.price-grid) {gap:20px;}
body.osd-site :is(.feature h3,.ad-card h3,.step h3,.price-card h3) {font-weight:730;}
body.osd-site :is(.feature-icon,.symbol,.card-icon) {
  display:grid;place-items:center;width:62px;height:62px;
  border-radius:16px;background:#F4F6F8;color:#253145;
  border:1px solid #E9EDF1;font-size:0;letter-spacing:0;
}
body.osd-site :is(.feature-icon,.symbol,.card-icon) img {
  display:block;width:40px;height:40px;object-fit:contain;
}
body.osd-site .feature:nth-child(n) .feature-icon {background:#F4F6F8;color:#273447;}
body.osd-site .step-number {background:#20242C;color:#fff;border-radius:13px;}
body.osd-site .step:nth-child(n) .step-number {background:#20242C;color:#fff;}
body.osd-site .price-card :is(.price,.amount),body.osd-site .counter b {color:#20242C;}
body.osd-site .showcase {padding-block:68px;}
body.osd-site .showcase-hero {display:grid;grid-template-columns: minmax(0, .82fr) minmax(0,1.18fr);padding:24px;gap:28px;overflow:hidden;}
body.osd-site .showcase-hero img {display:block;width:100%;min-height:0;max-height:380px;object-fit:contain;border-radius:13px;background:#F6F7F9;}
body.osd-site .showcase-copy {padding:12px 16px;}
body.osd-site .ad-card {overflow:hidden;}
body.osd-site .ad-card-image {height:215px;background:#F4F6F9;overflow:hidden;padding:9px;}
body.osd-site .ad-card-image img {width:100%;height:100%;object-fit:contain;border-radius:11px;}
body.osd-site .ad-card-copy {padding:20px 22px 24px;}
body.osd-site .sheet-stage,body.osd-landing .hero-art {
  border:1px solid #E6E9EE;
  border-radius:23px;
  background:#FFF url('/assets/images/desktop-designer.webp') center/contain no-repeat;
  box-shadow:0 22px 50px rgba(27,36,49,.09);
  overflow:hidden;
  min-height:350px;
  transform:none;
}
body.osd-home .sheet-stage > .sheet,body.osd-home .sheet-stage > .floating,body.osd-landing .hero-art > .mock-window {display:none!important;}
body.osd-landing .hero::before {display:none;}
body.osd-landing .hero-art {min-height:380px;}
body.osd-site :is(.choices,.editor-grid,.platform-grid,.workflow,.model-cards){gap:19px;}
body.osd-landing :is(.choice-card,.editor-card,.work-step,.platform-card){box-shadow:var(--osd-elev);}
body.osd-landing .choice-card:nth-child(n){border-top:1px solid #E6E9EE;}
body.osd-landing .card-tag{color:#AD416D;}
body.osd-landing .editor-art {background:#F7F8FA;border:1px solid #E8EBF0;border-radius:14px;}
body.osd-landing .editor-card:nth-child(1) .editor-art {
  background:#F7F8FA url('/assets/images/question-bank.webp') center/contain no-repeat;
}
body.osd-landing .editor-card:nth-child(2) .editor-art {
  background:#F7F8FA url('/assets/images/bubble-wizard.webp') center/contain no-repeat;
}
body.osd-landing .editor-art :is(.art-paper,.art-bubbles){visibility:hidden;}
body.osd-landing .platform-card .symbol {font-size:0;}
body.osd-landing .model-flag,body.osd-landing .chip {background:#F5F6F8;color:#45566C;border:1px solid #EBEDF0;}
body.osd-site :is(.faq details,.faq-items details){border:1px solid #E6E9EE;border-radius:15px;background:#fff;}
body.osd-site :is(.faq details,.faq-items details) summary {font-weight:680;}
body.osd-site :is(.cta-panel,.final-cta .cta-panel){background:#fff;border:1px solid #E7E9EE;box-shadow:var(--osd-elev);border-radius:22px;}
body.osd-site :is(.notice,.account-notice){background:#F4F8FB;border:1px solid #E1ECF3;color:#496071;border-radius:13px;}
body.osd-site :is(.site-footer,.foot,footer:not(.brand)) {background:#fff;border-color:#E7E9EE;}
body.osd-site :is(.site-footer,.foot) a:hover {color:#AD3166;}

/* Download: clean product-release cards, not red advertising panels */
body.osd-downloads .hero {padding-top:61px;padding-bottom:39px;}
body.osd-downloads .release.latest {border:1px solid #E5E8EF;box-shadow:0 9px 28px rgba(24,32,45,.075);}
body.osd-downloads :is(.pill,.latest-pill) {background:#FFF0F6;color:#AC3567;border:0;}
body.osd-downloads .download-column {gap:13px;}
body.osd-downloads .download-btn.secondary {background:#C74378;}

/* Static content pages */
body.osd-site .page-hero {padding:64px 0 53px;border-bottom:1px solid #E7E9EE;}
body.osd-site .page-hero .eyebrow {padding:5px 11px;}
body.osd-site .page-main {background:#F7F8FA;}
body.osd-site .content-card {box-shadow:var(--osd-elev);padding:clamp(22px,3vw,38px);}
body.osd-site .guide-grid {gap:18px;}
body.osd-site .content-card img {max-width:100%;height:auto;border-radius:14px;}

/* Account and subscription, respect JS display state and input semantics */
body.osd-account .account-main {background:#F7F8FA;}
body.osd-account .account-hero h1 {color:#20242C;}
body.osd-account :is(.account-card,.auth-panel){border-color:#E7E9EE;box-shadow:var(--osd-elev);}
body.osd-account .auth-art {background:#F5F6F8;}
body.osd-account .account-kicker {background:#FFF0F6;color:#AD416D;}
body.osd-account .account-dot {background:#C74378;}
body.osd-account .account-tab[aria-selected="true"],body.osd-account .account-tab.active {border-bottom-color:#C74378;color:#A63768;}
body.osd-account :is(input,select,textarea){border-radius:10px;}
body.osd-account :is(.card-icon,.account-card .card-icon) {font-size:0;}

/* Checkout: same visual language, but leave Paddle flow untouched */
body.osd-checkout {background:#F7F8FA;}
body.osd-checkout header.brand {background:transparent!important;border-bottom:1px solid #E4E7EB!important;box-shadow:none!important;}
body.osd-checkout main.card {border:1px solid #E7E9EE;box-shadow:0 15px 45px rgba(26,35,47,.065);border-radius:22px;}
body.osd-checkout .mode {background:#FFF0F6;color:#AD416D;}
body.osd-checkout .brand-bubbles {background:#F4F6F8;color:#C74378;}
body.osd-checkout .actions button {background:#20242C;border-color:#20242C;}
body.osd-checkout .actions a {background:#fff;border-color:#E4E7EB;color:#394557;}

/* Private analytics: light variant, with unchanged layout, charts and actions */
body.osd-analytics {
  color-scheme:light;
  --bg:#F7F8FA;--side:#FFFFFF;--surface:#FFFFFF;--line:#E6E9EF;
  --text:#232A36;--muted:#68778A;--accent:#C74378;--accent2:#577C9D;
  --shadow:0 12px 33px rgba(22,32,48,.065);
  background:#F7F8FA;color:#232A36;
}
body.osd-analytics .auth-body {background:#F7F8FA;}
body.osd-analytics.auth-body {background:#F7F8FA;}
body.osd-analytics .auth-panel,body.osd-analytics .stat,body.osd-analytics .panel {
  background:#FFF;border-color:#E6E9EF;box-shadow:var(--shadow);
}
body.osd-analytics .auth-panel{border-radius:22px;}
body.osd-analytics .sidebar {background:#fff;border-color:#E6E9EF;}
body.osd-analytics .top {background:#fff;border-color:#E6E9EF;}
body.osd-analytics :is(input,select,textarea){background:#fff;color:#273341;border:1px solid #DDE3EA;border-radius:10px;}
body.osd-analytics .btn {background:#20242C;color:#fff;}
body.osd-analytics :is(.eyebrow,.brand span) {color:#AC3567;}
body.osd-analytics :is(.notice.good,.stat .change) {background:#EFF9F3;color:#25754C;}

/* Responsive rhythm & accessibility */
@media (max-width:900px) {
  body.osd-site .showcase-hero{grid-template-columns:1fr;}
  body.osd-site .showcase-hero img{max-height:320px;}
  body.osd-site .sheet-stage,body.osd-landing .hero-art{min-height:290px;}
  body.osd-site :is(.container,.wrap){width:min(100% - 32px,1210px);}
}
@media (max-width:620px) {
  body.osd-site .hero h1{font-size:clamp(31px,8vw,43px);}
  body.osd-site :is(.feature,.step,.price-card,.choice-card,.editor-card){border-radius:16px;}
  body.osd-site .showcase-hero{padding:13px;}
  body.osd-site .ad-card-image{height:190px;}
  body.osd-site .showcase-copy{padding:16px;}
  body.osd-site .sheet-stage,body.osd-landing .hero-art{min-height:235px;}
}
@media (prefers-reduced-motion:reduce){body.osd-site *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}}

@media(max-width:620px){
  body.osd-home .hero-grid, body.osd-landing .hero-grid{display:flex;flex-direction:column;}
  body.osd-home .hero-grid > .sheet-stage,body.osd-landing .hero-grid > .hero-art{order:1;width:100%;}
  body.osd-home .hero-grid > :first-child,body.osd-landing .hero-grid > :first-child{order:0;}
}
