/* Final accessibility and state overrides. Keep this file loaded after all workspace styles. */
.registration-form [data-business-field][hidden],
.registration-form [data-company-title][hidden] {
  display: none !important;
}

/* Public-site refresh: readable actions and artwork-led presentation. */
:is(.page-home,.page-themes,.page-partner,.page-about,.page-faq,.page-contact,.page-privacy) {
  background:#0c0e13;
}
:is(.page-home,.page-themes,.page-partner,.page-about,.page-faq,.page-contact,.page-privacy) .ambient {
  display:none;
}
.page-home .hero h1 {
  font-size:clamp(2.6rem,4.7vw,4.5rem);
  line-height:1.08;
  letter-spacing:-.035em;
  max-width:13ch;
  white-space:normal;
}
.page-home .hero-copy>p {max-width:35rem;color:#c4c9d3;line-height:1.7}
.page-home .hero .orbit,.page-home .glass-chip {display:none}
.page-home .hero .phone-main {transform:rotate(2deg)}
.page-home .section-heading h2 {font-size:clamp(1.9rem,3.5vw,3rem);max-width:22ch}
.page-home .section-heading {align-items:center}
.page-home .story h2,.footer h2 {font-size:clamp(2rem,3.8vw,3.5rem)}
.page-home .section-index {display:none}
/* White on #294f91: approximately 8:1 contrast, including the registration CTA. */
:is(.page-home,.page-themes,.page-partner,.page-about,.page-faq,.page-contact,.page-privacy,.page-partner-register,.page-partner-login,.page-partner-forgot,.page-partner-reset) .button.primary,
.page-partner .partner-hero-actions .partner-cta-create,
.partner-registration-card .button.primary {
  background:#294f91!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:1px solid #7194cc!important;
  box-shadow:none!important;
  text-shadow:none!important;
  font-weight:750;
}
:is(.page-home,.page-themes,.page-partner,.page-about,.page-faq,.page-contact,.page-privacy,.page-partner-register,.page-partner-login,.page-partner-forgot,.page-partner-reset) .button.primary:hover,
.page-partner .partner-hero-actions .partner-cta-create:hover,
.partner-registration-card .button.primary:hover {
  background:#365f9f!important;color:#fff!important;
}
.button:focus-visible,.text-link:focus-visible,.nav-pill a:focus-visible {
  outline:3px solid #dce8ff;outline-offset:4px;
}
.partner-registration-card :is(p,small) {color:#bbc1cd}
.partner-registration-card .button {min-height:3.5rem;font-size:1rem;line-height:1.4}
.partner-registration-card {border-radius:1.25rem}
:is(.page-home,.page-themes,.page-partner,.page-about,.page-faq,.page-contact,.page-privacy) .orb-link {
  width:auto;height:auto;min-height:3.5rem;padding:1rem 1.5rem;display:flex;gap:1rem;
  border-radius:.9rem;background:#294f91;color:#fff;box-shadow:none;
}
.footer .orb-link:hover {transform:none;background:#365f9f}
@media(max-width:760px) {
  .page-home .hero h1 {font-size:clamp(2.35rem,9vw,3.5rem);max-width:14ch}
  .page-home .hero .phone-main {transform:none}
  .page-home .section-heading h2 {max-width:100%}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto!important}
  .reveal {opacity:1!important;transform:none!important;transition:none!important}
}


/* SamsungOne: actual webfonts, not a device-dependent local-font placeholder. */
@font-face {
  font-family:"EiD SamsungOne";
  src:url("../fonts/SamsungOneLatin-400.woff2") format("woff2");
  font-style:normal;font-weight:100 500;font-display:swap;
}
@font-face {
  font-family:"EiD SamsungOne";
  src:url("../fonts/SamsungOneLatin-700.woff2") format("woff2");
  font-style:normal;font-weight:600 900;font-display:swap;
}
:root {
  --site-font:"EiD SamsungOne","SamsungOne","Samsung One",sans-serif;
  --one-ui:var(--site-font);
  --public-h2:clamp(1.85rem,2.8vw,2.5rem);
}
body,body *,body *::before,body *::after {font-family:var(--site-font)!important}
/* Older fixed fades covered text and buttons at both viewport edges. */
.mobile-edge-fade {display:none!important}
body:after {display:none}
:is(.page-home,.page-themes,.page-partner,.page-about,.page-faq,.page-contact,.page-privacy) :is(h1,h2) span,
.page-home .hero h1 .hero-eid,
:is(.page-home,.page-themes,.page-partner,.page-about,.page-faq,.page-contact,.page-privacy) .footer h2 span {
  background:linear-gradient(110deg,#08d9df 0%,#438cff 43%,#9b65ff 72%,#e34ae9 100%);
  background-clip:text;-webkit-background-clip:text;
  color:transparent;-webkit-text-fill-color:transparent;
  box-decoration-break:clone;-webkit-box-decoration-break:clone;
}
/* Content sets section height; no viewport-sized spacers or forced single lines. */
:is(.page-home,.page-themes,.page-partner,.page-about,.page-faq,.page-contact,.page-privacy) .section {
  padding-top:2.5rem!important;padding-bottom:2.5rem!important;
}
.page-home .hero {
  min-height:0!important;
  padding:6.5rem 2rem 1.5rem!important;
  grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);
  gap:2rem;align-items:center;
}
.page-home .hero-copy {min-width:0;padding:0!important}
.page-home .hero h1 {
  max-width:100%!important;white-space:normal!important;
  font-size:clamp(2.4rem,4.1vw,3.8rem)!important;
  line-height:1.12!important;font-weight:700!important;letter-spacing:-.035em;
  margin:1rem 0 1.1rem!important;padding:0!important;text-wrap:pretty;
}
.page-home .hero h1 .hero-eid {font-size:inherit;display:inline}
.page-home .hero-copy>p {max-width:36rem;margin-bottom:0;font-size:1.05rem;line-height:1.65}
.page-home .hero .actions {margin-top:1.5rem;gap:1.2rem;flex-wrap:wrap}
.page-home .hero-visual {height:28rem!important;min-width:0}
.page-home .hero .phone-main {width:15.2rem!important;height:auto!important;aspect-ratio:9/19.5;animation:none!important;transform:scale(.84) rotate(2deg)!important}
:is(.page-home,.page-themes,.page-partner,.page-about,.page-faq,.page-contact,.page-privacy) .section-heading {
  display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;
  margin-bottom:1.5rem!important;
}
:is(.page-home,.page-themes,.page-partner,.page-about,.page-faq,.page-contact,.page-privacy) .section-heading h2 {
  font-size:var(--public-h2)!important;line-height:1.16!important;
  max-width:100%!important;margin:0!important;text-align:left!important;
  white-space:normal!important;text-wrap:pretty;
}
.page-home .featured-name {margin-bottom:1rem}
.page-home .featured-name h3 {white-space:normal!important;font-size:clamp(1.4rem,2.2vw,2rem);line-height:1.25}
.page-home .featured-grid {max-height:none;grid-template-columns:minmax(0,1.45fr) minmax(220px,.55fr)}
.page-home .featured-art {min-height:22rem;max-height:26rem}
.page-home .featured-copy {padding:1.5rem}
.page-home .story {grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:2.5rem;align-items:center}
.page-home .story-logo {min-height:0!important;height:17rem!important}
.page-home .story-logo img {width:100%;height:100%;object-fit:contain}
.page-home .story h2 {white-space:normal!important;line-height:1.15!important;margin:.5rem 0 1rem}
.page-home .home-partner-promo {gap:2rem;padding-inline:2rem;margin-block:1rem}
.page-home .home-partner-promo h2 {font-size:clamp(2rem,3.2vw,3rem);line-height:1.1;margin:.75rem 0 1rem}
.page-home .timeline article {padding-top:1.5rem}
.page-home .timeline h3 {margin-top:1rem}
:is(.page-themes,.page-about,.page-faq,.page-contact,.page-privacy) .page-hero {
  min-height:0;padding-top:6.5rem!important;padding-bottom:1.25rem!important;
}
:is(.page-themes,.page-about,.page-faq,.page-contact,.page-privacy) .page-hero h1 {
  font-size:clamp(2.4rem,4.8vw,4rem)!important;line-height:1.1!important;margin:1rem 0!important;
}
.page-partner .partner-hero {padding-top:6.5rem!important;padding-bottom:2rem!important;gap:2.5rem}
.page-partner .partner-hero-copy h1 {font-size:clamp(2.6rem,4.5vw,4rem)!important;line-height:1.08!important}
.page-partner .partner-share-card {margin-top:1.5rem;padding:1.5rem}
.page-partner :is(.partner-payout-preview,.partner-application) {gap:2.5rem;align-items:start}
.page-partner :is(.partner-payout-copy,.partner-application-copy) h2 {font-size:clamp(2rem,3vw,2.8rem)!important;line-height:1.16!important;margin:.75rem 0 1rem}
.page-partner .partner-registration-card {margin:0;padding:1.75rem}
.page-partner .partner-registration-card h3 {font-size:clamp(1.7rem,2.5vw,2.25rem);line-height:1.2}
.page-partner .partner-type-grid article {min-height:0}
.page-partner .partner-type-grid h3 {margin-top:1.5rem}
.page-partner .partner-steps h3 {margin-top:1.25rem}
.page-partner .payout-card-head strong {font-size:1.7rem;line-height:1.25}
.page-faq .faq-group {padding-block:1.5rem;gap:2rem}
.page-contact .contact-grid {gap:2.5rem;align-items:start}
.footer {margin-top:1.5rem!important;padding-top:2.5rem!important;padding-bottom:1.5rem!important}
.footer h2 {font-size:var(--public-h2)!important;line-height:1.15!important}
.footer-bottom {margin-top:2rem!important;padding-top:1.25rem;gap:1rem}
.footer-bottom,.footer-links a {color:#b6bdcb}
.scroll-controls {right:.6rem!important;bottom:1rem!important;padding:.2rem!important;border-radius:.8rem!important}
.scroll-controls button {width:2rem!important;height:2rem!important;min-height:2rem!important}
[id] {scroll-margin-top:6rem}
@media(max-width:900px) {
  .page-home .hero {grid-template-columns:minmax(0,1fr) minmax(0,.65fr);gap:1.25rem}
  .page-home .hero h1 {font-size:clamp(2rem,4.5vw,3rem)!important}
  .page-home .hero-visual {height:25rem!important}
  .page-home .hero .phone-main {width:15.2rem!important;transform:scale(.75)!important}
  .page-partner .partner-hero {grid-template-columns:1fr}
  .page-partner .partner-share-card {margin-top:0}
}
@media(max-width:600px) {
  :is(.page-home,.page-themes,.page-partner,.page-about,.page-faq,.page-contact,.page-privacy) .section {padding:1.75rem 1.25rem!important}
  .page-home .hero {grid-template-columns:1fr;padding:6rem 1.25rem 1rem!important;gap:1.5rem}
  .page-home .hero h1 {font-size:clamp(2rem,8.5vw,2.8rem)!important;line-height:1.12!important}
  .page-home .hero-visual {height:25rem!important}
  .page-home .hero .phone-main {width:15.2rem!important;transform:scale(.75)!important}
  .page-home .hero .actions {display:grid;gap:1rem}
  .page-home .hero-copy>.eyebrow {font-size:.62rem;letter-spacing:.1em}
  .page-home .featured-grid {grid-template-columns:1fr}
  .page-home .featured-art {min-height:0;max-height:none}
  .page-home .featured-copy {padding:1.25rem}
  .page-home .story {grid-template-columns:1fr;gap:1.25rem}
  .page-home .story-logo {height:12rem!important}
  .page-home .home-partner-promo {grid-template-columns:1fr;gap:1.5rem;margin-block:.5rem}
  .page-partner .partner-hero {padding:6rem 1.25rem 1.5rem!important;gap:1.5rem}
  .page-partner .partner-hero-copy h1 {font-size:2.8rem!important}
  .page-partner :is(.partner-payout-preview,.partner-application) {grid-template-columns:1fr;gap:1.5rem}
  .page-partner .partner-registration-card {padding:1.25rem}
  .page-faq .faq-group {grid-template-columns:1fr;gap:1rem}
  .footer {padding:2rem 1.25rem 1.25rem!important}
  .footer-top {gap:1.5rem;flex-wrap:wrap}
  .footer-bottom {margin-top:1.5rem!important}
  .footer-links {flex-wrap:wrap}
}

/* Theme detail pages follow the same readable scale as the collection. */
.page-themes .detail-hero {
  min-height:0;padding:7rem max(1.25rem,calc((100vw - var(--max))/2 + 2rem)) 2rem;
  gap:2.5rem;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}
.page-themes .detail-copy {min-width:0}
.page-themes .detail-copy h1 {font-size:clamp(2rem,3.5vw,3.2rem)!important;line-height:1.13!important;overflow-wrap:anywhere;margin:1rem 0 1.5rem}
.page-themes .detail-art {min-height:0;max-height:30rem}
.page-themes .detail-art img {height:auto;max-height:30rem;object-fit:contain}
.page-themes .specs h2 {font-size:2rem;line-height:1.15}
@media(max-width:760px) {
  .page-themes .detail-hero {grid-template-columns:1fr;padding-top:6.5rem;gap:1.5rem}
  .page-themes .detail-copy h1 {font-size:2.2rem!important}
}

/* Requested heading case and consistent, readable gradient actions. */
body :is(h1,h2,h3,h4,h5,h6) {
  text-transform:uppercase;
  white-space:normal!important;
  overflow-wrap:break-word;
}
:root {
  --action-gradient:linear-gradient(110deg,#08758a 0%,#365ac4 48%,#8735bd 100%);
}
body .button.primary,
body .partner-hero-actions .partner-cta-create,
body .partner-registration-card .button.primary,
body .button.store-button,
body .footer .orb-link {
  background:var(--action-gradient)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  border:1px solid rgba(255,255,255,.3)!important;
  box-shadow:0 5px 18px rgba(79,68,177,.2)!important;
  text-shadow:none!important;
  font-weight:700;
}
body .button.primary:hover,
body .partner-hero-actions .partner-cta-create:hover,
body .partner-registration-card .button.primary:hover,
body .button.store-button:hover,
body .footer .orb-link:hover {
  background:linear-gradient(110deg,#066577 0%,#2c4eae 48%,#762ba9 100%)!important;
  color:#fff!important;
}
body .button.store-button i,
body .footer .orb-link>svg {
  color:#fff!important;
  background:rgba(255,255,255,.12)!important;
  border:1px solid rgba(255,255,255,.2);
  box-shadow:none!important;
}
body .footer .orb-link {
  display:inline-flex;align-items:center;justify-content:space-between;
  gap:1.25rem;min-width:13rem;min-height:3.75rem;
  width:auto;height:auto;padding:.55rem .65rem .55rem 1.2rem;
  border-radius:1rem;white-space:nowrap;text-align:left;
}
body .footer .orb-link>span {white-space:nowrap;line-height:1.2}
body .footer .orb-link>svg {width:2.65rem;height:2.65rem;padding:.75rem;border-radius:.8rem;flex-shrink:0}
.footer-top {gap:2rem}
.footer-top>div:first-child {min-width:0;flex:1}
.footer-top .footer-store {flex:0 0 auto}
.footer h2 {max-width:24ch;text-wrap:balance}
@media(max-width:760px) {
  .footer-top {flex-direction:column;align-items:flex-start;gap:1.5rem}
  .footer-top .footer-store {justify-items:start}
  .footer-store small {text-align:left;max-width:20rem}
  .page-home .hero h1 {font-size:clamp(1.9rem,8vw,2.75rem)!important}
}

/* Fluent scroll transitions are opt-in and keep no-JS content visible. */
html.fluent-motion .reveal {
  opacity:0!important;
  transform:translate3d(0,12px,0)!important;
  transition:opacity .65s cubic-bezier(.22,1,.36,1),transform .75s cubic-bezier(.22,1,.36,1)!important;
}
html.fluent-motion .reveal.fluent-visible,
html.fluent-motion .reveal:focus-within {
  opacity:1!important;transform:translate3d(0,0,0)!important;
}
html.fluent-motion .mobile-edge-fade {
  display:block!important;pointer-events:none!important;
  opacity:0;transition:opacity .45s ease!important;
}
html.fluent-motion .mobile-edge-fade-top {
  height:5.5rem!important;
  background:linear-gradient(180deg,rgba(12,14,19,.58),rgba(12,14,19,.18) 60%,transparent)!important;
}
html.fluent-motion .mobile-edge-fade-bottom {
  height:2.25rem!important;
  background:linear-gradient(0deg,rgba(12,14,19,.4),transparent)!important;
}
html.fluent-top .mobile-edge-fade-top,
html.fluent-bottom .mobile-edge-fade-bottom {opacity:1}
@media(prefers-reduced-motion:reduce) {
  html.fluent-motion .reveal {opacity:1!important;transform:none!important;transition:none!important}
  html.fluent-motion .mobile-edge-fade {display:none!important}
}
