:root { color-scheme: light; }
.dark { color-scheme: dark; }
* { box-sizing: border-box; }
body { text-rendering: optimizeLegibility; }
::selection { background: #293cff; color: white; }
.page-section h1, .page-section h2, .page-section h3, .page-section p { overflow-wrap: break-word; }
.page-section section[id] { scroll-margin-top: 7rem; }
.iuview-hero-title { font-size: clamp(3.5rem, 8vw, 7.2rem); line-height: 1.2; letter-spacing: -.04em; }
.iuview-hero-title > span { display: inline-block; white-space: nowrap; }
.subscribe-section { padding: 4rem 1.5rem 0; }
.subscribe-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(6rem, .4fr) auto; gap: .75rem; align-items: center; }
.subscribe-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.subscribe-input { min-width: 0; width: 100%; min-height: 3.1rem; border: 1px solid #cbd5e1; border-radius: .85rem; padding: .85rem 1rem; background: #fff; color: #111827; font-size: .85rem; }
.subscribe-input:focus-visible { outline: 3px solid rgb(39 125 252 / .25); outline-offset: 2px; border-color: #277dfc; }
.subscribe-input[aria-invalid="true"] { border-color: #dc2626; }
.subscribe-button { justify-content: center; white-space: nowrap; min-height: 3.1rem; }
.subscribe-actions { display: flex; align-items: center; gap: 1rem; }
.subscribe-consent { display: inline-flex; align-items: flex-start; gap: .55rem; min-width: 0; max-width: 20rem; color: #475569; font-size: .8rem; line-height: 1.6; overflow-wrap: anywhere; cursor: pointer; }
.subscribe-consent input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .1rem; accent-color: #293cff; }
.subscribe-consent input:focus-visible { outline: 3px solid #277dfc; outline-offset: 3px; }
.subscribe-notice { margin-top: .85rem; color: #475569; font-size: .8rem; line-height: 1.8; overflow-wrap: anywhere; }
.subscribe-row :disabled { cursor: default; opacity: .6; }
.subscribe-button:disabled:hover { transform: none; }
.subscribe-error { margin-top: .75rem; color: #dc2626; font-size: .8rem; }
.dark .subscribe-input { border-color: rgb(255 255 255 / .15); background: #272e3b; color: #fff; }
.dark .subscribe-input[aria-invalid="true"] { border-color: #f87171; }
.dark .subscribe-error { color: #fca5a5; }
.dark .subscribe-consent, .dark .subscribe-notice { color: #cbd5e1; }
.dark .subscribe-consent input { accent-color: #7ba9ff; }
@media (max-width: 640px) {
  .subscribe-row { grid-template-columns: minmax(0, 1fr) 6rem; gap: .75rem .5rem; }
  .subscribe-actions { grid-column: 1 / -1; gap: .75rem; }
  .subscribe-input { padding: .65rem .5rem; font-size: .8rem; }
  .subscribe-button { padding: .65rem .75rem; font-size: .8rem; }
}

.noise { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }

.control-button { display: inline-flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: .75rem; border: 1px solid rgb(226 232 240 / .85); color: #475569; transition: .2s ease; }
.control-button.w-auto { width: auto; }
.control-button.forum-header-button { width: auto; flex-shrink: 0; gap: .45rem; padding-inline: .85rem; font-size: .75rem; font-weight: 700; }
.forum-header-button[aria-current="page"] { border-color: rgb(41 60 255 / .3); background: rgb(41 60 255 / .07); color: #293cff; }
.dark .forum-header-button[aria-current="page"] { border-color: rgb(123 169 255 / .4); background: rgb(123 169 255 / .1); color: #7ba9ff; }
@media (max-width: 1100px) { .forum-header-button span { display: none; } .control-button.forum-header-button { width: 2.75rem; padding-inline: 0; } }
@media (max-width: 480px) { header .control-button.forum-header-button { width: 2.25rem; padding-inline: 0; } }
@media (min-width: 640px) { #mobile-menu-toggle { display: none; } }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-200%); border-radius: .6rem; background: #293cff; color: white; padding: .8rem 1rem; font-weight: 700; }
.skip-link:focus { transform: translateY(0); outline: 3px solid #7ba9ff; outline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid #277dfc; outline-offset: 4px; }
.control-button:hover { border-color: rgb(41 60 255 / .4); color: #293cff; background: rgb(41 60 255 / .05); }
.dark .control-button { border-color: rgb(255 255 255 / .1); color: #cbd5e1; }
.dark .control-button:hover { border-color: rgb(123 169 255 / .45); color: #7ba9ff; background: rgb(255 255 255 / .05); }

.nav-link { color: #475569; }
.nav-link:hover { color: #293cff; }
.nav-link.active { color: #111827; background: white; box-shadow: 0 1px 5px rgb(15 23 42 / .08); }
.dark .nav-link { color: #94a3b8; }
.dark .nav-link:hover { color: white; }
.dark .nav-link.active { color: white; background: rgb(255 255 255 / .1); box-shadow: none; }
.mobile-nav-link { display: flex; align-items: center; justify-content: space-between; border-radius: .75rem; padding: .85rem 1rem; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.mobile-nav-link span { font-size: .65rem; font-weight: 600; letter-spacing: 0; color: #94a3b8; }
.mobile-nav-link.active { background: rgb(41 60 255 / .08); color: #293cff; }
.dark .mobile-nav-link.active { background: rgb(255 255 255 / .06); color: #7ba9ff; }
.language-option { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; border-radius: .55rem; padding: .6rem .7rem; text-align: left; font-size: .75rem; font-weight: 600; transition: .15s; }
.language-option:hover, .language-option.active { background: #f1f5f9; color: #293cff; }
.dark .language-option:hover, .dark .language-option.active { background: rgb(255 255 255 / .07); color: #7ba9ff; }
.language-option span { font-size: .6rem; color: #94a3b8; }

.gradient-text { background: linear-gradient(105deg, #293cff 5%, #1769da 70%, #3d7bcb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark .gradient-text { background-image: linear-gradient(105deg, #7ba9ff 5%, #8bbbff 70%, #b2d0ff); }
.primary-button { display: inline-flex; align-items: center; gap: .6rem; border-radius: 999px; background: linear-gradient(110deg, #293cff, #1769da); padding: .9rem 1.35rem; color: white; font-size: .85rem; font-weight: 750; box-shadow: 0 12px 30px rgb(41 60 255 / .22); transition: .25s ease; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgb(41 60 255 / .32); }
.secondary-button { border-radius: 999px; border: 1px solid #e2e8f0; padding: .9rem 1.35rem; font-size: .85rem; font-weight: 700; transition: .2s; }
.secondary-button:hover { border-color: #293cff; color: #293cff; }
.dark .secondary-button { border-color: rgb(255 255 255 / .12); }
.dark .secondary-button:hover { border-color: #7ba9ff; color: #7ba9ff; }
.license-purchase-buttons { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: .75rem; width: fit-content; max-width: 100%; }
.license-purchase-button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; color: #293cff; text-align: center; }
.dark .license-purchase-button { color: #7ba9ff; }
.license-platform-icon { display: block; flex: 0 0 1.25rem; width: 1.25rem; height: 1.25rem; background-color: currentColor; -webkit-mask: var(--platform-icon) center / contain no-repeat; mask: var(--platform-icon) center / contain no-repeat; }
@media (min-width: 640px) { .license-purchase-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hero-orb { position: absolute; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.hero-orb-one { width: 36rem; height: 36rem; right: -18rem; top: 2rem; background: radial-gradient(circle, rgb(39 125 252 / .13), transparent 68%); }
.hero-orb-two { width: 25rem; height: 25rem; left: -15rem; bottom: -5rem; background: radial-gradient(circle, rgb(41 60 255 / .1), transparent 68%); }
.visual-shell { position: relative; aspect-ratio: 1 / .9; overflow: hidden; border-radius: 2.25rem; background: linear-gradient(145deg, #293cff 0%, #1557b0 42%, #0f172a 125%); box-shadow: 0 35px 100px rgb(41 60 255 / .25); }
.visual-shell::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgb(255 255 255 / .12), transparent 45%, rgb(2 6 23 / .18)); }
.visual-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgb(255 255 255 / .4) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .4) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent); }
.focus-frame { position: absolute; inset: 23% 25%; z-index: 2; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .08); backdrop-filter: blur(8px); }
.focus-frame::before, .focus-frame::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgb(255 255 255 / .16); }
.focus-frame::before { inset: -18%; }
.focus-frame::after { inset: -42%; }
.corner { position: absolute; width: 24px; height: 24px; border-color: white; opacity: .8; }
.corner-tl { left: -18%; top: -18%; border-left: 2px solid; border-top: 2px solid; }
.corner-tr { right: -18%; top: -18%; border-right: 2px solid; border-top: 2px solid; }
.corner-bl { left: -18%; bottom: -18%; border-left: 2px solid; border-bottom: 2px solid; }
.corner-br { right: -18%; bottom: -18%; border-right: 2px solid; border-bottom: 2px solid; }

.section-label { display: flex; align-items: center; gap: .7rem; font-size: .68rem; font-weight: 800; letter-spacing: .18em; color: #94a3b8; }
.section-label span { color: #293cff; }
.dark .section-label span { color: #7ba9ff; }
.feature-card { position: relative; min-height: 340px; overflow: hidden; border: 1px solid rgb(255 255 255 / .1); border-radius: 1.5rem; padding: 1.5rem; background: rgb(255 255 255 / .035); transition: transform .3s ease, background .3s ease; }
.feature-card:hover { transform: translateY(-6px); background: rgb(255 255 255 / .065); }
.feature-card.featured { background: linear-gradient(145deg, #293cff, #277dfc); border-color: transparent; }
.feature-number { font-size: .65rem; font-weight: 700; letter-spacing: .15em; color: rgb(255 255 255 / .38); }
.feature-icon { margin-top: 4.5rem; display: grid; height: 3.25rem; width: 3.25rem; place-items: center; border-radius: 1rem; background: rgb(255 255 255 / .08); color: #75aaff; }
.featured .feature-icon { color: white; background: rgb(255 255 255 / .15); }
.feature-icon svg { width: 1.6rem; height: 1.6rem; }
.feature-card h3 { margin-top: 1.7rem; font-size: 1.15rem; font-weight: 750; }
.feature-card p { margin-top: .75rem; max-width: 17rem; font-size: .85rem; line-height: 1.7; color: rgb(255 255 255 / .48); }
.featured p { color: rgb(255 255 255 / .7); }
.why-card { position: relative; border: 1px solid #e2e8f0; border-radius: 1.75rem; padding: 1.75rem; background: linear-gradient(145deg, rgb(255 255 255 / .95), rgb(248 250 252 / .72)); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.why-card:hover { transform: translateY(-4px); border-color: rgb(41 60 255 / .25); box-shadow: 0 24px 70px rgb(15 23 42 / .08); }
.dark .why-card { border-color: rgb(255 255 255 / .09); background: linear-gradient(145deg, rgb(255 255 255 / .055), rgb(255 255 255 / .025)); }
.dark .why-card:hover { border-color: rgb(123 169 255 / .28); box-shadow: 0 24px 70px rgb(0 0 0 / .16); }
.why-icon { display: grid; width: 3.3rem; height: 3.3rem; place-items: center; border-radius: 1rem; background: rgb(41 60 255 / .08); color: #293cff; transition: transform .3s ease, background .3s ease; }
.why-card:hover .why-icon { transform: rotate(-4deg) scale(1.04); background: rgb(41 60 255 / .13); }
.dark .why-icon { color: #7ba9ff; background: rgb(123 169 255 / .1); }
.why-icon svg { width: 1.65rem; height: 1.65rem; }
.why-number { font-size: .68rem; font-weight: 800; letter-spacing: .18em; color: #cbd5e1; }
.dark .why-number { color: rgb(255 255 255 / .24); }
.tech-badge { border: 1px solid rgb(41 60 255 / .13); border-radius: 999px; background: rgb(41 60 255 / .045); padding: .48rem .72rem; color: #293cff; font-size: .65rem; font-weight: 750; letter-spacing: .02em; }
.dark .tech-badge { border-color: rgb(123 169 255 / .16); background: rgb(123 169 255 / .07); color: #8db5ff; }
.format-panel { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 1.15rem; background: rgb(255 255 255 / .78); box-shadow: 0 14px 38px rgb(15 23 42 / .06); }
.dark .format-panel { border-color: rgb(255 255 255 / .09); background: rgb(11 17 29 / .38); box-shadow: 0 14px 38px rgb(0 0 0 / .13); }
.format-panel-bar { display: flex; height: 2.7rem; align-items: center; gap: .38rem; border-bottom: 1px solid #e2e8f0; padding: 0 .85rem; background: #f8fafc; }
.dark .format-panel-bar { border-color: rgb(255 255 255 / .08); background: rgb(255 255 255 / .035); }
.format-panel-bar > span { width: .48rem; height: .48rem; flex: none; border-radius: 50%; background: #cbd5e1; }
.format-panel-bar > span:first-child { background: #ff6b66; }
.format-panel-bar > span:nth-child(2) { background: #f8c24e; }
.format-panel-bar > span:nth-child(3) { background: #4dc477; }
.format-panel-bar p { min-width: 0; flex: 1; overflow: hidden; padding-left: .35rem; color: #94a3b8; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.format-panel-bar strong { border-radius: 999px; background: rgb(41 60 255 / .08); padding: .2rem .5rem; color: #293cff; font-size: .6rem; }
.dark .format-panel-bar strong { background: rgb(123 169 255 / .1); color: #8db5ff; }
.format-groups { display: block; padding: .35rem; }
.format-group { display: grid; min-width: 0; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: start; border-bottom: 1px solid #eef2f7; padding: .8rem .9rem; }
.format-group:last-child { border-bottom: 0; }
.dark .format-group { border-color: rgb(255 255 255 / .06); }
.format-group > p { padding-top: .3rem; color: #94a3b8; font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.format-group > div { display: flex; min-width: 0; flex-wrap: wrap; gap: .32rem; }
.format-group code { border-radius: .38rem; background: #f1f5f9; padding: .3rem .42rem; color: #475569; font-size: .61rem; font-weight: 750; line-height: 1; text-transform: uppercase; transition: .15s ease; }
.format-group code:hover { background: rgb(41 60 255 / .09); color: #293cff; }
.dark .format-group code { background: rgb(255 255 255 / .055); color: #a8b3c5; }
.dark .format-group code:hover { background: rgb(123 169 255 / .11); color: #8db5ff; }
.format-group-raw { border-bottom: 0; }
.why-platform { overflow: hidden; }
.why-platform::before { content: ''; position: absolute; width: 25rem; height: 25rem; right: -12rem; bottom: -16rem; border-radius: 50%; background: radial-gradient(circle, rgb(39 125 252 / .14), transparent 68%); pointer-events: none; }
.platform-pill { position: relative; z-index: 1; display: flex; min-width: 10.5rem; align-items: center; gap: .75rem; border: 1px solid #e2e8f0; border-radius: 1rem; background: rgb(255 255 255 / .7); padding: .75rem 1rem; }
.dark .platform-pill { border-color: rgb(255 255 255 / .09); background: rgb(255 255 255 / .04); }
.platform-dot { width: .65rem; height: .65rem; flex: none; border-radius: 50%; box-shadow: 0 0 0 4px rgb(148 163 184 / .1); }
.platform-pill div { display: flex; flex-direction: column; }
.platform-pill b { font-size: .75rem; }
.platform-pill small { margin-top: .1rem; color: #94a3b8; font-size: .62rem; }
.orbit-dot { position: absolute; top: 47%; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: #277dfc; box-shadow: 0 0 24px #277dfc; }

.reveal { animation: reveal .8s cubic-bezier(.2,.7,.2,1) both; }
.company-hero .reveal, .page-section > section:first-child .reveal { animation: none; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
@keyframes reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 640px) { .visual-shell { border-radius: 1.5rem; } .feature-card { min-height: 300px; } .why-card { border-radius: 1.4rem; padding: 1.35rem; } .format-group { grid-template-columns: minmax(0, 1fr); gap: .55rem; padding: .8rem .7rem; } .format-group > p { padding-top: 0; } }

.page-section[hidden] { display: none !important; }
.footer-company { margin-top: 1.5rem; line-height: 1.8; overflow-wrap: anywhere; }
.footer-company-line { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .65rem; row-gap: .15rem; }
.footer-company-line > span { min-width: 0; }
.footer-company-line > span + span::before { content: '·'; display: inline-block; margin-right: .65rem; opacity: .6; }
.footer-company-name { font-weight: 750; }
.footer-company address { font-style: normal; }
.footer-copyright { margin-top: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem; }
.footer-links a { font-weight: 750; text-underline-offset: .2em; }
.footer-links a:hover { color: #293cff; text-decoration: underline; }
.footer-links a:focus-visible { outline: 3px solid rgb(39 125 252 / .35); outline-offset: 4px; border-radius: .2rem; }
.dark .footer-links a:hover { color: #8db5ff; }
footer .text-slate-400, .section-label, .why-number, .format-panel-bar p, .format-group > p, .platform-pill small, .language-option span, .mobile-nav-link span { color: #475569; }
.dark footer .text-slate-400, .dark .section-label, .dark .why-number, .dark .format-panel-bar p, .dark .format-group > p, .dark .platform-pill small, .dark .language-option span, .dark .mobile-nav-link span { color: #94a3b8; }
.feature-number { color: rgb(255 255 255 / .75); }
.feature-card p { color: rgb(255 255 255 / .8); }
.feature-card.featured { background: linear-gradient(145deg, #293cff, #1769da); }
.feature-card.featured p { color: white; }
.feature-card.featured .feature-number, .visual-shell [class*="text-white/"] { color: white; }
.section-label[class*="!text-white/"] span { color: inherit; }
.company-hero { padding: 11rem 1.5rem 6rem; }
.company-wordmark { color: #293CFF; font-size: .8rem; font-weight: 850; letter-spacing: .24em; }
.company-headline { margin-top: 2.25rem; font-size: clamp(3.2rem, 9.5vw, 8.5rem); font-weight: 850; letter-spacing: -.065em; line-height: 1.04; }
.company-intro { max-width: 46rem; margin: 3rem 0 0 auto; }
.company-intro > p, .philosophy-row > p { color: #475569; font-size: 1rem; line-height: 2; word-break: keep-all; }
.company-explore { display: inline-flex; align-items: center; gap: 1.5rem; margin-top: 2rem; padding: .5rem 0; color: #293CFF; font-size: .85rem; font-weight: 750; }
.company-explore:hover { color: #1769da; }
.company-explore:focus-visible { outline: 2px solid #277DFC; outline-offset: 5px; }
.company-philosophy { padding: 2rem 1.5rem 0; }
.company-section-title { max-width: 38rem; margin: 1.5rem 0 3.5rem; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.35; letter-spacing: -.04em; font-weight: 800; word-break: keep-all; }
.philosophy-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 3rem; padding: 3rem 0; border-top: 1px solid #e2e8f0; }
.philosophy-heading { display: flex; align-items: center; gap: .75rem; }
.philosophy-symbol { display: block; flex: 0 0 2rem; width: 2rem; height: 2rem; background-color: currentColor; color: #293CFF; -webkit-mask: var(--philosophy-symbol) center / contain no-repeat; mask: var(--philosophy-symbol) center / contain no-repeat; }
.philosophy-number { color: #293CFF; font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.philosophy-heading h3 { font-size: 1.75rem; font-weight: 750; letter-spacing: -.035em; }
.dark .company-wordmark, .dark .company-explore, .dark .philosophy-number, .dark .philosophy-symbol { color: #7BA9FF; }
.dark .company-intro > p, .dark .philosophy-row > p { color: #cbd5e1; }
.dark .philosophy-row { border-color: rgb(255 255 255 / .12); }
@media (max-width: 767px) {
  .company-hero { padding-top: 9rem; padding-bottom: 4rem; }
  .company-intro { margin-top: 2rem; }
  .philosophy-row { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 2rem 0; }
  .philosophy-heading { gap: .75rem; }
  .philosophy-heading h3 { font-size: 1.5rem; }
  .company-section-title { margin-bottom: 2.5rem; }
}

.auth-header-button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem .85rem; border-radius: .75rem; background: #293cff; color: #fff; font-size: .75rem; font-weight: 700; white-space: nowrap; transition: background .2s; }
.auth-header-button:hover { background: #2030d1; }
.auth-modal-open { overflow: hidden; }
.auth-modal { position: fixed; inset: 0; width: min(440px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 1.75rem; overflow-y: auto; border: 1px solid #e2e8f0; border-radius: 1.5rem; background: #fff; color: #111827; box-shadow: 0 24px 100px rgb(15 23 42 / .25); }
.auth-modal::backdrop { background: rgb(15 23 42 / .5); backdrop-filter: blur(6px); }
.auth-modal-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.auth-wordmark { color: #293cff; font-size: .85rem; font-weight: 850; letter-spacing: .2em; }
.auth-close { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .6rem; color: #64748b; }
.auth-close:hover { background: #f1f5f9; }
.auth-title { margin: 0; font-size: 1.75rem; font-weight: 800; letter-spacing: -.04em; }
.auth-intro { margin-top: .5rem; color: #64748b; font-size: .875rem; line-height: 1.6; }
.auth-form, .auth-code-fields { display: grid; gap: 1rem; }
.auth-form { margin-top: 1.5rem; }
.auth-field { display: grid; gap: .5rem; }
.auth-field label { font-size: .8rem; font-weight: 650; }
.auth-field input { width: 100%; min-width: 0; height: 3rem; padding: .7rem .9rem; border: 1px solid #cbd5e1; border-radius: .8rem; background: #fff; color: #111827; font-size: 1rem; }
.auth-field input:focus { outline: 3px solid rgb(41 60 255 / .15); border-color: #293cff; }
.auth-field input[aria-invalid="true"] { border-color: #e11d48; }
.auth-hint { color: #64748b; font-size: .75rem; line-height: 1.5; }
.auth-primary-button, .auth-secondary-button { display: flex; align-items: center; justify-content: center; gap: .65rem; width: 100%; min-height: 3rem; padding: .7rem 1rem; border-radius: .8rem; font-size: .875rem; font-weight: 700; }
.auth-primary-button { background: #293cff; color: #fff; }
.auth-primary-button:hover { background: #2030d1; }
.auth-secondary-button { border: 1px solid #cbd5e1; background: #fff; color: #334155; }
.auth-secondary-button:hover { background: #f8fafc; border-color: #94a3b8; }
.auth-modal button:disabled, .auth-field input:disabled { opacity: .55; cursor: default; }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.1rem 0; color: #94a3b8; font-size: .75rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
.auth-switch { display: block; margin: 1.25rem auto 0; color: #293cff; font-size: .8rem; font-weight: 700; }
.auth-agreement { margin-top: 1.25rem; color: #64748b; font-size: .7rem; line-height: 1.7; }
.auth-agreement a { text-decoration: underline; text-underline-offset: 2px; }
.auth-toast { position: fixed; inset: auto 1rem 1.5rem; z-index: 100; width: fit-content; max-width: min(480px, calc(100% - 2rem)); margin: auto; padding: .9rem 1.2rem; border: 1px solid rgb(255 255 255 / .15); border-radius: .9rem; background: #1f2937; color: #fff; box-shadow: 0 8px 32px rgb(15 23 42 / .2); font-size: .875rem; line-height: 1.6; overflow-wrap: anywhere; }
.auth-toast-error { background: #9f1239; }
.dark .auth-modal { border-color: rgb(255 255 255 / .12); background: #1f2531; color: #f8fafc; }
.dark .auth-wordmark, .dark .auth-switch { color: #8db5ff; }
.dark .auth-intro, .dark .auth-hint, .dark .auth-agreement, .dark .auth-close { color: #aab8cc; }
.dark .auth-field input, .dark .auth-secondary-button { border-color: rgb(255 255 255 / .2); background: #272e3b; color: #f8fafc; }
.dark .auth-close:hover, .dark .auth-secondary-button:hover { background: #323c4c; }
.dark .auth-divider::before, .dark .auth-divider::after { background: rgb(255 255 255 / .15); }
.auth-hint[data-status="available"] { color: #047857; }
.auth-hint[data-status="error"] { color: #be123c; }
.dark .auth-hint[data-status="available"] { color: #6ee7b7; }
.dark .auth-hint[data-status="error"] { color: #fda4af; }
@media (max-width: 380px) { .auth-header-button { padding-inline: .6rem; font-size: .7rem; } .auth-modal { padding: 1.25rem; } }
.auth-header-icon { display: none; }
@media (min-width: 640px) and (max-width: 1100px) { .desktop-nav { position: static; transform: none; } }
@media (min-width: 640px) and (max-width: 820px) {
  .desktop-nav { display: none; }
  #mobile-menu-toggle { display: inline-flex; }
  #mobile-menu { display: flex; }
}
@media (max-width: 639px) {
  .auth-header-icon { display: block; }
  #auth-header-label { display: none; }
  .auth-header-button { width: 2.25rem; min-height: 2.25rem; padding: 0; }
  header .control-button { width: 2.25rem; height: 2.25rem; }
  header .control-button.w-auto { width: auto; padding-inline: .5rem; }
}
@media (max-width: 380px) {
  #language-toggle.control-button { width: 2.25rem; padding-inline: 0; }
  #language-toggle #current-language, #language-toggle > svg:last-child { display: none; }
}
