/* Fontlar Türkçe + Latin Extended-A kümesine indirgendi ve ağırlık ekseni kullanılan
   aralığa kırpıldı (178 KB -> 81 KB). Yeniden üretmek gerekirse orijinaller
   assets/fonts/original/ altında duruyor.
   Ağırlık aralığı 400-900: stil dosyalarında 700/760/800/900 değerleri kullanılıyor,
   eski 400-600 tanımı bunların hepsini 600'e kırpıyordu. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/assets/fonts/jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/assets/fonts/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-display: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-mono: "Inter", "Segoe UI", Arial, sans-serif;
  --font-brand: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-script: "Inter", "Segoe UI", Arial, sans-serif;
  --text-display-xl: clamp(2.65rem, 4.7vw, 4.9rem);
  --text-display-lg: clamp(2.35rem, 3.8vw, 4rem);
  --text-heading-lg: clamp(1.85rem, 2.8vw, 2.8rem);
  --text-heading-md: clamp(1.35rem, 2vw, 2rem);
  --text-body-lg: clamp(1rem, 1.15vw, 1.075rem);
  --text-body-md: 0.9375rem;
  --text-label: 0.8125rem;
  --text-caption: 0.75rem;
  --brand-blue: #3976d6;
  --brand-blue-strong: #245db8;
  --brand-blue-soft: rgba(57, 118, 214, 0.12);
  --brand-ink: #08101e;
  --brand-ease: cubic-bezier(.22, .72, .24, 1);
  --accent: #5f7fc7;
  --accent-2: #6ea5d7;
  --accent-3: #8073a3;
  --accent-soft: rgba(83, 122, 188, .12);
  --muted: #8994a5;
  --soft: #a7b0bf;
  --border: rgba(150, 169, 199, .11);
  --border-strong: rgba(151, 177, 216, .2);
  --ease-luxury: cubic-bezier(.16, 1, .3, 1);
  --glow-a: #7dd3fc;
  --glow-b: #a78bfa;
  font-family: var(--font-body);
}

@property --shine-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Premium dönen ışık halkası — birincil CTA'larda kullanılır (.navbar-cta, .solid-button.cta-glow).
   @property desteklemeyen taraycılarda halka sadece sabit kalır, buton yine tam işlevseldir. */
.navbar-cta,
.solid-button.cta-glow {
  position: relative;
  isolation: isolate;
}

.navbar-cta::before,
.solid-button.cta-glow::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--shine-angle), transparent 0 72%, var(--glow-a), var(--glow-b), transparent 92% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  animation: shineRotate 3.6s linear infinite;
}

.navbar-cta:hover::before,
.navbar-cta:focus-visible::before,
.solid-button.cta-glow:hover::before,
.solid-button.cta-glow:focus-visible::before {
  opacity: 1;
}

.solid-button.cta-glow:disabled::before,
.solid-button.cta-glow.incomplete::before {
  opacity: 0 !important;
}

/* Kart versiyonu — overflow:hidden taşıyan konteynerlerde (ör. .price-card) taşma
   yapmaması için halka kartın kendi kenarına yaslanır (inset: 0, negatif değer yok). */
.shine-card {
  position: relative;
  isolation: isolate;
}

.shine-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--shine-angle), transparent 0 68%, var(--glow-a), var(--glow-b), transparent 88% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: .85;
  animation: shineRotate 5s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .shine-card::after { animation: none; }
}

@keyframes shineRotate {
  to { --shine-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .navbar-cta::before,
  .solid-button.cta-glow::before { animation: none; }
}

/* Hero bölümlerinde yumuşak, yavaşça kayan ışık lekeleri — .hero-ambient-glow ile açılır */
.hero-ambient-glow { position: relative; isolation: isolate; }

.hero-ambient-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  opacity: .55;
  background:
    radial-gradient(38% 42% at 18% 22%, rgba(167, 139, 250, .16), transparent 68%),
    radial-gradient(34% 38% at 84% 78%, rgba(56, 189, 248, .13), transparent 70%);
  animation: ambientDrift 16s var(--ease-luxury) infinite alternate;
}

@keyframes ambientDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(2%, -3%, 0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ambient-glow::after { animation: none; }
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
  font-synthesis: none;
}

html { container-type: inline-size; }

body {
  color: #f2f5fa;
  text-rendering: optimizeLegibility;
}

body[data-theme="midnight"] { color-scheme: dark; }

.app-frame { width: min(1220px, calc(100% - 40px)); }

body::after { opacity: .18; }

.cursor-glow {
  opacity: 0;
  background: radial-gradient(circle, rgba(74, 125, 201, .15), transparent 66%);
  filter: blur(24px);
  mix-blend-mode: screen;
}

body.has-pointer-glow .cursor-glow { opacity: .42; }

h1,
h2,
h3,
h4,
.package-credit,
.pricing-intro,
.section-copy {
  font-family: var(--font-display);
}

h1 { font-size: var(--text-display-lg); font-weight: 700; letter-spacing: 0; }
h2 { font-size: var(--text-heading-lg); font-weight: 700; letter-spacing: 0; }
h3 { font-weight: 650; letter-spacing: 0; }
p { line-height: 1.58; }

.eyebrow,
.settings-label,
.plan-label,
.wallet-label,
.mode-card .mode-badge,
.tryon-hero-status > span,
.tryon-model-card em,
.tryon-credit-grid span,
.tryon-generation-overlay li,
.navbar-credit > span,
.mobile-nav-links > a > span {
  font-family: var(--font-mono);
  font-weight: 500;
}

.eyebrow {
  color: #96a9c7;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  width: 5px;
  height: 5px;
  background: #5d94e6;
  box-shadow: none;
}

.brand {
  gap: 10px;
  color: inherit;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(124, 166, 230, 0.26);
  border-radius: 10px;
  color: #f7faff;
  overflow: hidden;
  background: #030919;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 20px rgba(9, 35, 77, .2);
  transition: border-color 200ms ease, background-color 200ms ease, transform 200ms var(--brand-ease);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand:hover .brand-mark {
  border-color: rgba(149, 188, 245, .42);
  background: #071127;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 9px 22px rgba(9, 35, 77, .26);
  transform: translateY(-1px);
}

.brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand-copy strong {
  display: flex;
  align-items: baseline;
  color: #d8deea;
  font-family: var(--font-brand);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.brand-copy strong b {
  color: #fff;
  font-weight: 700;
}

.brand-copy strong > span { color: #3d84f5; }

.brand-copy small {
  color: #7f8ba0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.app-frame > .topbar,
.app-frame > .topbar.is-scrolled {
  width: 100cqw;
  margin-left: calc((100% - 100cqw) / 2);
  background: rgba(7, 11, 19, .955);
  border-bottom-color: rgba(125, 151, 191, .13);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: none;
}

.app-frame > .topbar.is-scrolled {
  background: rgba(7, 11, 19, .985);
  border-bottom-color: rgba(125, 151, 191, .2);
  box-shadow: 0 12px 32px rgba(2, 7, 16, .18);
}

.topbar .topbar-inner {
  grid-template-columns: minmax(210px, 1fr) auto minmax(310px, 1fr);
  width: min(1220px, calc(100% - 40px));
  min-height: 72px;
}

.topbar .brand-mark,
.mobile-nav-drawer .brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  color: #fff;
  background: #030919;
}

.topbar .brand-mark i,
.mobile-nav-drawer .brand-mark i { display: none; }

.topbar .brand-copy strong,
.mobile-nav-drawer .brand-copy strong {
  font-family: var(--font-brand);
  font-size: 1.08rem;
  letter-spacing: -.01em;
}

.topbar .brand-copy small,
.mobile-nav-drawer .brand-copy small {
  color: #7f8ba0;
  font-size: 0.76rem;
}

.topbar .main-nav { gap: 5px; }

.topbar .main-nav a {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: #8e9bb0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 550;
  transition: color 200ms ease, background-color 200ms ease, transform 200ms var(--brand-ease);
}

.topbar .main-nav a::after {
  right: 50%;
  bottom: 4px;
  left: auto;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6d9fe8;
  transform: translateX(50%) scale(.4);
}

.topbar .main-nav a:hover {
  color: #e7ebf3;
  background: rgba(81, 123, 188, .07);
  text-shadow: none;
  transform: translateY(-1px);
}

.topbar .main-nav a.active {
  color: #fff;
  background: rgba(81, 123, 188, .1);
}

.topbar .main-nav a.active::after { transform: translateX(50%) scale(1); }

.topbar .main-nav .tryon-nav-link small,
.mobile-nav-links small {
  padding: 3px 5px;
  border: 1px solid rgba(116, 157, 222, .3);
  border-radius: 4px;
  color: #cfe0f8;
  font-family: var(--font-mono);
  font-size: 0.4375rem;
  font-weight: 500;
  letter-spacing: .05em;
  background: #213d68;
  box-shadow: none;
}

.topbar .navbar-login-button,
.topbar .navbar-cta,
.navbar-theme-button,
.navbar-menu-button {
  border-radius: 9px;
  font-family: var(--font-body);
  font-weight: 600;
}

.topbar .navbar-theme-button {
  width: 42px;
  height: 42px;
}

.topbar .navbar-login-button { min-height: 42px; }
.topbar .navbar-cta { min-height: 44px; }

.topbar .navbar-cta,
.solid-button {
  border-color: #326bc6;
  color: #fff;
  background: #326bc6;
  box-shadow: 0 8px 20px rgba(22, 70, 140, .22), inset 0 1px 0 rgba(255,255,255,.12);
}

.mobile-nav-drawer .navbar-cta {
  min-height: 48px;
  border-color: #326bc6;
  border-radius: 11px;
  color: #fff;
  background: #326bc6;
  box-shadow: none;
  font-family: var(--font-body);
  font-weight: 600;
}

.mobile-nav-drawer .navbar-cta:hover {
  border-color: #3d76ce;
  background: #376fc9;
  box-shadow: none;
  transform: translateY(-1px);
}

.topbar .navbar-cta:hover,
.solid-button:hover {
  border-color: #3d76ce;
  background: #376fc9;
  box-shadow: 0 10px 24px rgba(22, 70, 140, .28), inset 0 1px 0 rgba(255,255,255,.14);
  transform: translateY(-1px);
}

.solid-button:disabled {
  color: #768398;
  border-color: rgba(126, 145, 176, .12);
  background: rgba(94, 108, 132, .12);
  box-shadow: none;
  transform: none;
}

.ghost-button,
.solid-button {
  min-height: 40px;
  border-radius: 9px;
  padding-inline: 16px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  transition: transform 180ms var(--brand-ease), border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.ghost-button:active,
.solid-button:active,
.navbar-cta:active { transform: translateY(0) scale(.98); }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #78a9eb;
  outline-offset: 3px;
}

.gradient-text,
.hero-title-accent {
  position: relative;
  color: #8db5ee;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-content .gradient-text,
.hero-content .hero-title-accent {
  display: block;
  margin: .05em 0 .08em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
}

.hero-content {
  min-height: 560px;
  padding: clamp(44px, 4vw, 52px);
  border-color: rgba(151, 174, 207, .14);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(48, 77, 122, .13), transparent 42%),
    linear-gradient(180deg, rgba(15, 20, 31, .98), rgba(8, 12, 19, .99));
  box-shadow: 0 24px 64px rgba(2, 7, 16, .24), inset 0 1px 0 rgba(255, 255, 255, .035);
}

.hero-content h1 {
  max-width: 590px;
  font-size: clamp(3.35rem, 3.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.hero-content h1 > span { display: block; }

.hero-content > p:not(.cta-microcopy):not(.trust-note) {
  max-width: 540px;
  margin-top: 22px;
  color: #b0bac9;
  font-size: 1.02rem;
  line-height: 1.65;
}

.hero-content .hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.hero-content .hero-actions .large {
  min-height: 48px;
  min-width: 0;
  padding-inline: 20px;
  border-radius: 11px;
  font-size: .9rem;
  font-weight: 600;
}

.hero-content .cta-microcopy {
  margin-top: 12px !important;
  color: #8f9bad !important;
  font-size: .76rem !important;
  line-height: 1.45 !important;
}

.hero-content .trust-note {
  width: auto;
  margin-top: 22px !important;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid rgba(151, 174, 207, .12);
  border-bottom: 1px solid rgba(151, 174, 207, .12);
  border-radius: 0;
  color: #9aa6b8 !important;
  background: transparent;
  box-shadow: none;
  font-size: .75rem !important;
  line-height: 1.55 !important;
}

.hero-content .metric-row {
  gap: 10px;
  margin-top: 22px;
}

.hero-content .metric-row > div {
  min-height: 138px;
  padding: 16px;
  border-color: rgba(151, 174, 207, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .022);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.hero-content .metric-row > div:hover {
  border-color: rgba(141, 182, 239, .3);
  background: rgba(57, 118, 214, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
  transform: none;
}

.hero-content .metric-row i {
  width: 32px;
  height: 32px;
  margin-bottom: 13px;
  border-color: rgba(141, 182, 239, .22);
  border-radius: 9px;
  color: #8db6ef;
  background: rgba(57, 118, 214, .11);
}

.hero-content .metric-row i svg { width: 17px; height: 17px; }

.hero-content .metric-row strong {
  font-family: var(--font-display);
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.28;
}

.hero-content .metric-row span {
  margin-top: 7px;
  color: #8995a7;
  font-size: .75rem;
  line-height: 1.5;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: #245db8;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

#examples { scroll-margin-top: 88px; }

.mobile-nav-drawer { overscroll-behavior: contain; }

.metric-row strong,
.trust-band strong,
.workflow-grid h3,
.feature-copy h3 { font-family: var(--font-display); }

.site-footer .footer-brand { padding-left: 0; }
.site-footer .brand-mark { width: 38px; height: 38px; }

.tryon-hero {
  padding: clamp(26px, 3vw, 38px);
  border-color: rgba(120, 149, 191, .16);
  border-radius: 20px;
  background:
    linear-gradient(120deg, rgba(44, 70, 109, .19), transparent 48%),
    linear-gradient(150deg, #111722 0%, #090d15 78%);
  box-shadow: 0 24px 60px rgba(2, 7, 16, .28);
}

.tryon-hero::after {
  opacity: .12;
  background-image: linear-gradient(90deg, transparent, rgba(105, 145, 204, .16), transparent);
  background-size: 100% 1px;
  mask-image: linear-gradient(90deg, #000, transparent 65%);
}

.tryon-hero h1 {
  max-width: 760px;
  margin: 11px 0 13px;
  font-size: var(--text-display-lg);
  /* Turkce aksanli harfler (Ü, Ö, Ş) 1.02'de ust satira degiyor. */
  line-height: 1.08;
  /* Display boyutunda varsayilan takip cok gevsek durur. */
  letter-spacing: -.025em;
}

.tryon-hero h1 > span {
  color: #c6cfdd;
  font-weight: 600;
}

.tryon-hero h1 > strong {
  display: inline-block;
  color: #fff;
  /* Jakarta'nin degisken ekseni 600-800; 800 gercek kontrast verir,
     700 ile 600 arasindaki fark display boyutunda okunmuyor. */
  font-weight: 800;
}

.tryon-hero > div > p {
  color: #a8b2c2;
  font-size: var(--text-body-md);
  line-height: 1.65;
}

.tryon-trust-list { gap: 8px; margin-top: 20px; }

.tryon-trust-list span {
  min-height: 32px;
  border-radius: 8px;
  color: #b8c1cf;
  background: rgba(255,255,255,.025);
  font-size: 0.75rem;
  font-weight: 500;
}

.tryon-trust-list span::before {
  width: 4px;
  height: 12px;
  border-radius: 2px;
  /* Tek noturs aksan. Once her rozet farkli renkteydi (mavi/mor/turuncu);
     renkler hicbir anlam tasimadigi icin dikkati basliktan caliyordu. */
  background: #5a85c4;
  box-shadow: none;
}

.tryon-hero-status {
  min-height: 176px;
  border-color: rgba(90, 133, 196, .24);
  border-radius: 14px;
  background: rgba(20, 34, 54, .72);
  backdrop-filter: none;
}

.tryon-hero-status > span {
  color: #91b5e7;
  font-size: 0.625rem;
  letter-spacing: .1em;
}

.tryon-hero-status strong {
  margin: 9px 0;
  font-family: var(--font-display);
  /* Kredi rakami baslikla ayni boyuttaydi (51px vs 49px) ve goz once
     rakama gidiyordu. Ikincil bir istatistik, h1'in altinda kalmali. */
  font-size: clamp(1.9rem, 2.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.03em;
}

.tryon-hero-status small {
  color: #a0abba;
  font-size: 0.75rem;
  line-height: 1.55;
}

.tryon-stepper,
.tryon-settings-panel,
.tryon-credit-dock { backdrop-filter: blur(8px); }

.tryon-stepper button {
  color: #8390a3;
  font-size: 0.75rem;
  font-weight: 600;
  transition: color 200ms ease, background-color 200ms ease;
}

.tryon-stepper button i {
  font-family: var(--font-mono);
  font-size: 0.625rem;
}

.tryon-stepper button.active i {
  border-color: #4a82d2;
  background: #3976d6;
  box-shadow: none;
}

.tryon-preview-toolbar strong { font-size: 0.875rem; font-weight: 600; }

.tryon-settings-group summary > span {
  font-size: 0.8125rem;
  font-weight: 600;
}

.tryon-settings-group summary i,
.tryon-settings-group summary b,
.tryon-model-card em {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
}

.tryon-field-label,
.tryon-control-block > label {
  color: #c3cad5;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.tryon-control-block > label span,
.tryon-slider-row label { font-size: 0.6875rem; }

.tryon-select,
.tryon-settings-content textarea {
  color: #edf1f7;
  font-size: 0.75rem;
  line-height: 1.5;
}

.tryon-select { height: 42px; }

.tryon-garment-dropzone {
  min-height: 150px;
  border-color: rgba(95, 142, 211, .34);
  border-radius: 12px;
  background: rgba(53, 91, 148, .035);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms var(--brand-ease);
}

.tryon-garment-dropzone.dragging,
.tryon-garment-dropzone:hover {
  border-color: #5b8ed7;
  background: rgba(57, 118, 214, .07);
}

.tryon-garment-dropzone > span { color: #78a9eb; }
.tryon-garment-dropzone strong { margin-top: 7px; font-size: 0.8125rem; font-weight: 600; }
.tryon-garment-dropzone small { margin-top: 6px; color: #9ba6b7; font-size: var(--text-caption); line-height: 1.5; }
.tryon-garment-dropzone em b { font-size: 0.625rem; }

.tryon-switch-row strong { font-size: 0.75rem; font-weight: 600; }
.tryon-switch-row small { color: #9ba6b7; font-size: var(--text-caption); line-height: 1.45; }
.tryon-switch input:checked + span { background: #3976d6; }

.tryon-model-card strong,
.tryon-upload-card strong,
.tryon-uploaded-model strong,
.tryon-layer-item strong { font-size: 0.75rem; }

.tryon-model-card small,
.tryon-upload-card small,
.tryon-uploaded-model small,
.tryon-layer-item small { color: #929daf; font-size: 0.6875rem; line-height: 1.4; }

.tryon-segmented button {
  min-height: 38px;
  border-radius: 8px;
  font-size: 0.6875rem;
  font-weight: 550;
}

.tryon-segmented button.active {
  border-color: rgba(91, 142, 215, .46);
  background: rgba(57, 118, 214, .1);
  box-shadow: none;
}

.tryon-segmented button small { color: #a9b9d0; font-size: 0.625rem; }

.tryon-credit-grid span { color: #8e9bad; font-size: 0.625rem; }
.tryon-credit-grid strong { font-size: 0.75rem; font-weight: 600; }
.tryon-credit-dock > p { color: #9ba6b7; font-size: var(--text-caption); line-height: 1.45; }
.tryon-generation-overlay li,
.tryon-history-item small { font-size: 0.6875rem; }
.tryon-history-item strong { font-size: 0.75rem; }

.credit-wallet strong,
.package-credit strong,
.navbar-credit b,
.icon-rail-credit { font-family: var(--font-display); }

body[data-theme="clean"] .brand-mark,
body[data-theme="clean"] .topbar .brand-mark,
body[data-theme="clean"] .mobile-nav-drawer .brand-mark {
  color: #fff;
  background: #030919;
}

body[data-theme="clean"] .brand-copy strong { color: #2d6fd4; }
body[data-theme="clean"] .brand-copy strong > span { color: #2d6fd4; }
body[data-theme="clean"] .brand-copy strong b { color: #0b1628; }
body[data-theme="clean"] .brand-copy small { color: #687991; }

@media (max-width: 1320px) and (min-width: 1181px) {
  .topbar .topbar-inner { width: min(1220px, calc(100% - 32px)); }
}

@media (max-width: 1180px) and (min-width: 1061px) {
  .topbar .topbar-inner { width: calc(100% - 32px); }
  .topbar .main-nav a { padding-inline: 9px; font-size: 0.75rem; }
}

@media (max-width: 1060px) and (min-width: 681px) {
  .topbar .topbar-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    width: calc(100% - 40px);
  }
  .topbar .main-nav,
  .topbar .navbar-theme-button,
  .topbar .navbar-login-button,
  .topbar .session-chip,
  .topbar #logoutButton { display: none !important; }
  .topbar .navbar-menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    border-radius: 9px;
  }
  .hero-content .hero-title-accent { font-size: .88em; }
}

@media (max-width: 1024px) {
  .app-frame > .topbar,
  .app-frame > .topbar.is-scrolled { transform: none; }
  .topbar .topbar-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .mobile-nav-links a { font-family: var(--font-body); font-weight: 600; }
}

@media (max-width: 680px) {
  .app-frame { width: min(1220px, calc(100% - 20px)); }
  .app-frame > .topbar,
  .app-frame > .topbar.is-scrolled {
    width: 100cqw;
    margin-left: calc((100% - 100cqw) / 2);
  }
  .topbar .topbar-inner { width: calc(100% - 20px); }
  .topbar .brand-copy strong { font-size: 1rem; }
  .topbar .brand-copy small { font-size: 0.7rem; }
  .hero-content {
    min-height: auto;
    padding: 28px 22px 26px;
    border-radius: 20px;
  }
  .hero-content h1 {
    font-size: clamp(2.15rem, 9.8vw, 2.85rem);
    line-height: 1.04;
    letter-spacing: -.018em;
  }
  .hero-content .gradient-text,
  .hero-content .hero-title-accent {
    margin: .12em 0 .13em;
    font-size: .91em;
    line-height: 1.02;
    white-space: normal;
  }
  .hero-content > p:not(.cta-microcopy):not(.trust-note) {
    margin-top: 20px;
    font-size: .95rem;
    line-height: 1.62;
  }
  .hero-content .hero-actions { margin-top: 24px; }
  .hero-content .hero-actions .large { width: 100%; }
  .hero-content .trust-note { padding: 13px 0; }
  .hero-content .metric-row { gap: 8px; }
  .hero-content .metric-row > div {
    min-height: auto;
    padding: 15px;
  }
  .tryon-hero { padding: 22px; }
  .tryon-hero h1 { font-size: clamp(2.25rem, 10.5vw, 3rem); line-height: 1.08; letter-spacing: -.02em; }
  .tryon-trust-list { grid-template-columns: 1fr; }
  .tryon-hero-status { min-height: 150px; }
  .tryon-stepper button { font-size: 0.6875rem; }
  .tryon-settings-group summary > span { font-size: 0.8125rem; }
}

@media (max-width: 390px) {
  .topbar .brand-mark { width: 40px; height: 40px; }
  .topbar .brand-copy strong { font-size: 0.9rem; }
  .hero-content { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
