:root {
  --bg: #070b14;
  --panel: #0e1521;
  --panel-soft: #0b111c;
  --cyan: #10d5d3;
  --gradient: linear-gradient(115deg, #8360ef 0%, #428fee 47%, #08d3cc 100%);
}
.brand .starmap-logo { width: 174px; height: auto; }
.nav-shell { gap: 24px; }
.main-nav { margin-left: 0; margin-inline-start: auto; gap: 24px; }
.nav-actions { margin-left: 0; gap: 13px; }
.main-nav a { font-size: 12px; }
.section-shell, .platform-strip { margin-left: 0; margin-inline-start: var(--rail-size); }
.skip-link { left: auto; inset-inline-start: 20px; }
.side-rail { left: auto; right: auto; inset-inline-start: 0; border-right: 0; border-inline-end: 1px solid var(--line); }
.announcement { background: linear-gradient(100deg, #077e85, #354ca0 60%, #6748ac); }
.announcement-close { right: auto; inset-inline-end: 17px; }
.language-switch { display: inline-flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid #244b55; border-radius: 999px; background: rgba(5, 33, 43, .6); flex-shrink: 0; }
.language-switch button { min-width: 33px; border: none; border-radius: 999px; padding: 7px 9px; background: transparent; color: #a9b6c9; font-size: 10px; line-height: 1.4; transition: color .2s, background .2s; }
.language-switch button[aria-pressed="true"] { background: #0b555c; color: #77ffff; box-shadow: inset 0 0 0 1px #1d7377; }
.language-switch button:hover { color: white; }
.language-warning { margin: 18px auto; width: min(1100px, calc(100% - 40px)); padding: 12px 16px; border: 1px solid #765839; border-radius: 8px; background: #302414; color: #f1d2a8; font-size: 12px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background: url("assets/starmap-grid.svg") center top / 1000px 740px repeat, linear-gradient(rgba(42, 151, 180, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 151, 180, .12) 1px, transparent 1px); background-size: 1000px 740px, 62px 62px, 62px 62px; mask-image: linear-gradient(black, transparent 90%); }
.hero-glow-purple { opacity: .11; }
.hero-glow-cyan { right: -300px; opacity: .15; }
.hero-description { max-width: 580px; margin-inline: auto; }
.hero-actions, .game-actions, .game-topline { flex-wrap: wrap; }
.hero-footnote { max-width: 660px; margin-inline: auto; }
.showcase-card { height: clamp(420px, 36vw, 525px); }
.game-copy h2 { overflow-wrap: break-word; }
.game-platform { line-height: 1.7; }
.game-english { line-height: 1.8; }
.concept-label { max-width: 100%; line-height: 1.6; }
.game-actions { gap: 12px 22px; }
.counter-label { margin-left: 0; margin-inline-start: 9px; }
.showcase-peek span { left: auto; inset-inline-start: 25px; }
.brand-section { border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 0 30%, rgba(0, 169, 185, .04), transparent 65%); }
.brand-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.brand-layout .section-heading { margin: 0; }
.brand-layout .section-heading > p:not(.section-tag) { max-width: 510px; }
.source-link { margin-top: 24px; color: #57d8da; }
.brand-pillars { display: grid; gap: 11px; }
.brand-pillars article { display: flex; align-items: center; gap: 15px; padding: 16px 19px; border: 1px solid #22313f; border-radius: 12px; background: #0d1620; }
.brand-pillars .icon-box { color: #64d6d8; background: #122b36; border-color: #204553; flex-shrink: 0; width: 37px; height: 37px; }
.brand-pillars h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.brand-pillars p { font-size: 11px; line-height: 1.9; color: #a0b1bf; }
.capability-card, .case-image { text-align: start; }
.card-top { padding-inline-end: 17px; }
.card-kicker { overflow-wrap: break-word; }
.corner-arrow { right: auto; inset-inline-end: 21px; }
.team-diagram .orbit-node { max-width: 32%; line-height: 1.6; text-align: center; }
.journey-grid > div + div { border-left: 0; border-inline-start: 1px solid var(--line); }
.case-image > span { left: auto; inset-inline-start: 20px; inset-inline-end: 20px; line-height: 1.8; }
.service-number { right: auto; inset-inline-end: 27px; }
.process-grid article:not(:last-child)::after { left: auto; right: auto; inset-inline-start: 63px; inset-inline-end: -15px; }
.faq-list details p { padding-right: 0; padding-inline-end: 22px; }
.official-contact { border: 1px solid #29414a; background: rgba(13, 29, 36, .6); border-radius: 12px; margin-top: 30px; padding: 22px; }
.official-contact-label { font-size: 10px; color: #70d4d7; letter-spacing: .6px; margin-bottom: 12px; }
.company-name { font-size: 12px; line-height: 1.9; color: #dbedf0; overflow-wrap: break-word; }
.official-contact dl { margin: 17px 0 0; display: grid; gap: 15px; }
.official-contact dt { margin-bottom: 5px; font-size: 9px; color: #8da4b1; }
.official-contact dd { margin: 0; font-size: 11px; color: #c7dbe0; line-height: 1.8; }
.official-contact a { display: inline-block; color: #72e5e3; }
.official-contact .company-address { font-size: 9px; letter-spacing: .4px; }
.demo-note { margin-top: 20px; }
.contact-copy, .contact-form, .field, .section-heading, .brand-layout > *, .bento-grid > * { min-width: 0; }
.form-heading { align-items: flex-start; }
.form-heading h3 { overflow-wrap: break-word; line-height: 1.5; }
.form-status[data-state="error"] { border-color: #70424b; background: #2b171e; color: #f4c3c8; }
.field [aria-invalid="true"] { border-color: #c86a82; }
.inline-button { padding-left: 0; padding-inline-start: 3px; }
.dialog-close { right: auto; inset-inline-end: 15px; }
.dialog-languages { position: absolute; z-index: 1; top: 15px; inset-inline-start: 15px; background: rgba(5, 21, 31, .88); }
.dialog-languages button { font-size: 9px; padding: 6px 8px; min-width: 29px; }
.dialog-image[hidden] + .dialog-content { padding-top: 70px; }
.dialog-content h2, .dialog-sections p, .dialog-intro { overflow-wrap: break-word; }
.dialog-content > .button { max-width: 100%; white-space: normal; text-align: center; }
html[dir="rtl"] { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] .eyebrow, html[dir="rtl"] .section-tag, html[dir="rtl"] .card-kicker,
html[dir="rtl"] .game-english, html[dir="rtl"] .game-platform, html[dir="rtl"] .small-label,
html[dir="rtl"] .case-label, html[dir="rtl"] .demo-badge, html[dir="rtl"] .rail-label,
html[dir="rtl"] .footer-top p, html[dir="rtl"] .footer-bottom, html[dir="rtl"] .official-contact-label { letter-spacing: normal; }
html[dir="rtl"] h1 { line-height: 1.45; }
html[dir="rtl"] .section-heading h2, html[dir="rtl"] .contact-copy h2 { line-height: 1.6; }
html[dir="rtl"] .hero-description { line-height: 2; }
html[dir="rtl"] .section-tag, html[dir="rtl"] .card-kicker { font-size: 10px; }
html[dir="rtl"] .game-copy h2 { font-size: 38px; line-height: 1.5; }
html[dir="rtl"] .game-copy > p:not(.game-english) { line-height: 2; }
html[dir="rtl"] .team-card h3 { line-height: 1.7; }
html[dir="rtl"] .service-card p, html[dir="rtl"] .process-grid p { line-height: 2.1; }
html[dir="rtl"] .button .icon, html[dir="rtl"] .link-button .icon, html[dir="rtl"] .text-button .icon,
html[dir="rtl"] .quick-brief button .icon, html[dir="rtl"] .corner-arrow, html[dir="rtl"] .announcement a .icon { transform: scaleX(-1); }
html[dir="rtl"] #previousSlide .icon { transform: none; }
html[dir="rtl"] #nextSlide .icon { transform: rotate(180deg); }
@media (max-width: 1170px) {
  .nav-shell { gap: 20px; }
  .main-nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 18px 25px; background: #0d1420; border-bottom: 1px solid #29414c; box-shadow: 0 15px 30px rgba(0, 0, 0, .3); }
  .main-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .main-nav a { padding: 13px; white-space: normal; }
  .nav-actions { margin-inline-start: auto; }
  .menu-toggle { display: flex; }
  .brand-layout { gap: 40px; }
}
@media (max-width: 900px) {
  .brand-layout { grid-template-columns: 1fr; gap: 30px; }
  .brand-pillars { grid-template-columns: 1fr 1fr; }
  .brand-pillars article:last-child { grid-column: 1 / -1; }
  .brand-pillars article { align-items: flex-start; }
  .brand-pillars h3 { line-height: 1.6; }
  .case-image > span { inset-inline-start: 14px; inset-inline-end: 14px; }
}
@media (max-width: 650px) {
  .announcement { padding: 8px 14px; padding-inline-end: 38px; font-size: 9px; line-height: 1.8; }
  .announcement-close { inset-inline-end: 12px; }
  .nav-shell { flex-wrap: wrap; padding: 17px 20px 10px; gap: 0 10px; }
  .brand .starmap-logo { width: 136px; height: auto; }
  .nav-actions { gap: 9px; }
  .button-nav { padding: 10px 13px; font-size: 11px; }
  .header-languages { flex-basis: 100%; justify-content: center; margin-top: 12px; border: 0; background: transparent; padding: 0; gap: 8px; }
  .header-languages button { min-width: 57px; font-size: 11px; padding: 7px 13px; border: 1px solid #263b47; }
  .header-languages button[aria-pressed="true"] { border-color: #25666b; }
  .hero { padding-top: 30px; }
  .hero-actions { gap: 10px; }
  .hero-description { max-width: 350px; }
  .eyebrow { font-size: 8px; line-height: 1.9; letter-spacing: 1px; }
  .showcase-card { height: 450px; }
  .game-topline { gap: 8px; }
  .game-platform { font-size: 8px; letter-spacing: .3px; }
  .game-copy { inset-inline: 22px; bottom: 25px; }
  .game-copy h2 { font-size: 29px; line-height: 1.4; }
  .game-actions { gap: 12px; }
  .game-actions .button { padding: 11px 14px; font-size: 10px; }
  .brand-pillars { grid-template-columns: 1fr; gap: 10px; }
  .brand-pillars article:last-child { grid-column: auto; }
  .brand-pillars article { padding: 15px 17px; }
  .brand-pillars h3 { font-size: 13px; }
  .brand-pillars p { font-size: 11px; }
  .capability-card { padding-inline: 17px; }
  .capability-card h3 { font-size: 15px; line-height: 1.7; }
  .capability-card p { font-size: 11px; }
  .card-top { padding-inline-end: 8px; }
  .corner-arrow { inset-inline-end: 17px; }
  .journey-grid > div:nth-child(3) { border-inline-start: none; }
  .case-image > span { inset-inline-start: 24px; inset-inline-end: 24px; }
  .service-number { inset-inline-end: 19px; }
  .process-grid article:not(:last-child)::after { inset-inline-start: 51px; inset-inline-end: -11px; }
  .official-contact { padding: 19px; }
  .form-heading h3 { font-size: 19px; }
  html[dir="rtl"] h1 { font-size: 34px; }
  html[dir="rtl"] .game-copy h2 { font-size: 30px; }
  html[dir="rtl"] .section-tag, html[dir="rtl"] .card-kicker { font-size: 9px; }
  html[dir="rtl"] .team-diagram .orbit-node { font-size: 10px; }
  html[dir="rtl"] .service-card h3, html[dir="rtl"] .process-grid h3 { line-height: 1.8; }
}
@media (max-width: 380px) {
  .nav-shell { padding-inline: 14px; }
  .brand .starmap-logo { width: 128px; }
  .game-copy { inset-inline: 19px; }
  .form-grid { grid-template-columns: 1fr; }
}
