/* Midnight Studio — a presentation layer over the established routes and UI. */
:root {
  color-scheme: dark;
  --paper: #0B0B0C; --white: #141416; --ink: #FFFFFF; --muted: #b0b0b7;
  --line: #2b2b30; --gold: #C6F432; --gold-dark: #C6F432; --dark: #0B0B0C;
  --blue: #C6F432; --bg: #0B0B0C; --soft: #18181b; --radius: 22px;
  --serif: Georgia, 'Times New Roman', serif;
}
html { scrollbar-color: #494a40 #0B0B0C; }
body { background: var(--bg); color: var(--ink); font-size: 16px; }
::selection { background: #C6F432; color: #0B0B0C; }
:is(a,button,input,select,textarea,summary):focus-visible { outline-color: var(--gold); outline-offset: 5px; }
main { overflow: clip; }
.wrap { width: min(1240px, calc(100% - 96px)); }
.section { padding-block: 108px; }
.section-first { padding-top: 0; }
.section-tint { background: #101012; border-block: 1px solid #202023; }
.section-dark { background: #0B0B0C; }
.eyebrow { color: var(--gold); font-size: 11px; letter-spacing: .14em; }
.section-heading { gap: 40px; margin-bottom: 48px; }
.section-heading h2, .about-teaser h2 { font-size: clamp(2.3rem, 4vw, 3.6rem); font-weight: 450; letter-spacing: -.05em; max-width: 760px; }
.section-heading p:not(.eyebrow) { font-size: 16px; line-height: 1.8; color: var(--muted); }
.text-link { font-size: 13px; gap: 16px; }
.text-link:hover { color: var(--gold); }
.button, .button.small { border-radius: 999px; min-height: 50px; padding: 15px 24px; font-size: 13px; gap: 22px; background: var(--gold); border-color: var(--gold); color: #0B0B0C; font-weight: 650; }
.button:hover { background: #d4ff51; border-color: #d4ff51; color: #0B0B0C; transform: translateY(-2px); }
.button.small { min-height: 44px; padding: 11px 18px; font-size: 12px; gap: 14px; }
.button.secondary, .button.outline, .button.outline-light { background: #ffffff04; color: #fff; border-color: #47474c; }
.button.secondary:hover, .button.outline:hover, .button.outline-light:hover { background: #222225; border-color: #777780; color: #fff; }
.button-row { gap: 14px; }
.skip { background: var(--gold); color: #0B0B0C; border-radius: 12px; }

/* A quiet, compact shell. All six established destinations remain available. */
.site-header { background: #0b0b0ce8; border-bottom: 1px solid #ffffff12; backdrop-filter: blur(18px); }
.site-header .nav-wrap { height: 86px; gap: 26px; }
.brand { font-size: 21px; color: #fff; letter-spacing: -.8px; }
.brand-symbol, .brand-period { color: var(--gold); }
.main-nav { gap: 23px; }
.main-nav a, .signin-link { color: #c5c5cb; font-size: 12px; }
.main-nav a:hover, .main-nav a[aria-current] { color: #fff; }
.main-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; }
.nav-actions { gap: 18px; }
.premium .language-control select { font-size: 11px; min-height: 44px; }
.language-control option { background: #171719; color: #fff; }
.menu-toggle { width: 44px; height: 44px; }

/* Centered editorial hero. No external images, fonts or animation framework. */
.studio-hero { position: relative; isolation: isolate; background: #0B0B0C; overflow: hidden; }
.hero-aura { position: absolute; z-index: -1; width: min(1400px, 130vw); height: 850px; left: 50%; top: 235px; margin-left: min(-700px, -65vw); background: radial-gradient(ellipse at 50% 55%, #b4ed241e 0, #b4ed2410 24%, #b4ed2405 45%, transparent 65%); pointer-events: none; }
.studio-hero::after { content: ''; position: absolute; inset: 440px 0 0; z-index: -1; opacity: .18; background-image: linear-gradient(#a9b47830 1px,transparent 1px),linear-gradient(90deg,#a9b47830 1px,transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at center,black,transparent 68%); pointer-events: none; }
.hero-grid { display: flex; flex-direction: column; gap: 55px; min-height: 0; padding-block: 94px 32px; }
.hero-copy { width: 100%; text-align: center; position: relative; }
.hero .eyebrow { justify-content: center; margin: 0 auto 25px; color: #d4d8c7; font-size: 10px; letter-spacing: .13em; }
.status-dot { width: 6px; height: 6px; background: var(--gold); box-shadow: 0 0 12px #c6f43280; }
.hero h1 { font-family: var(--serif); font-size: clamp(3.5rem, 6.4vw, 5.5rem); font-weight: 400; line-height: 1.09; letter-spacing: -.057em; margin-inline: auto; }
.hero h1 .hero-type-line { display: inline-block; vertical-align: top; white-space: nowrap; }
.hero h1 .hero-type-line:first-child { display: block; }
.hero h1 .hero-type-em { margin-inline-start: .15em; font-family: var(--serif); color: var(--gold); font-weight: 400; }
.hero h1 .type-ink { text-align: inherit; }
.hero-description { font-size: 16px; line-height: 1.85; max-width: 570px; margin: 25px auto 0; color: #b7b7be; text-wrap: pretty; }
.hero .button-row { justify-content: center; margin-top: 28px; }
.hero-footnote { justify-content: center; font-size: 11px; margin: 22px auto 0; color: #a4a4ac; }
.hero-footnote>span { background: var(--gold); }
.hero-system { position: relative; width: 100%; max-width: 880px; }
.hero-visual { width: 100%; max-width: none; margin: 0; padding: 0; position: relative; }
.hero-art { display: block; }
.hero-art .workspace { transform: none; max-width: none; min-height: 0; box-shadow: 0 40px 90px #0009, 0 0 90px #c6f43209; border-radius: 20px; }
.workspace { background: #111114; border-color: #393c31; color: #fff; border-radius: 16px; grid-template-columns: 60px 1fr; }
.workspace-sidebar { background: #0e0e10; border-color: #29292c; padding-block: 22px; gap: 28px; }
.workspace-sidebar>.icon, .sidebar-bottom { color: #9ca38b; }
.workspace-sidebar>.icon:nth-child(2), .workspace-logo { color: var(--gold); }
.hero-art .workspace-main { padding: 24px 28px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px 20px; }
.hero-art .workspace-top { grid-column: 1 / -1; padding-bottom: 15px; font-size: 11px; border-color: var(--line); }
.dim { color: #a9a9b1; }
.avatar { background: #282d1b; color: var(--gold); width: 25px; height: 25px; font-size: 10px; }
.hero-art .workspace-title { grid-column: 1/-1; margin: 2px 0 0; }
.hero-art .workspace-title strong { font-size: 24px; margin-top: 5px; }
.mini-kicker, .hero-art .mini-kicker { color: #a4a4af; font-size: 10px; }
.live-dot { background: var(--gold); box-shadow: 0 0 0 5px #c6f4320f, 0 0 16px #c6f43230; }
.hero-art .workspace-metrics { grid-column: 1/-1; gap: 12px; }
.workspace-metrics>div, .hero-art .workspace-metrics>div { border-color: #2e2e32; background: #1a1a1e; border-radius: 10px; padding: 13px 17px; }
.workspace-metrics>div>span, .hero-art .workspace-metrics>div>span { color: #b0b0ba; font-size: 10px; }
.workspace-metrics b, .hero-art .workspace-metrics b { font-size: 30px; line-height: 1.3; margin-block: 4px; }
.workspace-metrics b span { color: var(--gold); }
.workspace-metrics small { font-size: 8px; color: #a0a0aa; }
.hero-art .workspace-chart { margin: 0; border: 1px solid #2c2d30; border-radius: 12px; background: #141417; padding: 16px; }
.workspace-chart>div:first-child { font-size: 10px; }
.workspace-chart small { color: #a2a2ac; font-size: 8px; }
.hero-art .workspace-chart svg { height: 100px; margin-top: 15px; max-height: 130px; }
.chart-grid { stroke: #4a4b42; }
.chart-line { stroke: var(--gold); stroke-width: 2.2; }
.chart-area { fill: #c6f4320a; }
.chart-labels { color: #a1a1a8; font-size: 8px; }
.hero-art .workspace-task { margin: 0; padding: 24px; border-radius: 12px; border: 1px solid #373c28; background: radial-gradient(ellipse at top right,#c6f43213,transparent 80%),#181b13; flex-wrap: wrap; align-content: center; gap: 14px; }
.hero-art .workspace-task .icon { width: 30px; height: 30px; padding: 7px; color: var(--gold); background: #c6f43214; }
.hero-art .workspace-task strong { font-size: 13px; line-height: 1.5; }
.hero-art .workspace-task div>span { color: #b2b8a3; font-size: 10px; line-height: 1.6; margin-top: 6px; }
.floating-note { inset-inline-end: -50px; bottom: -17px; padding: 16px 20px; background: #20231b; border-color: #5a6538; border-radius: 14px; color: #fff; box-shadow: 0 20px 30px #0007; }
.floating-note .icon { color: var(--gold); background: #c6f43212; border-radius: 8px; }
.floating-note strong { font-size: 12px; }
.floating-note span { color: #b8bfa8; font-size: 10px; }
.visual-caption { margin-top: 36px; color: #9999a0; font-size: 9px; letter-spacing: .06em; }
.hero-companion-slot { position: absolute; inset-inline-start: -120px; bottom: 0; width: 230px; pointer-events: none; }
.hero-companion-slot .valid-stage-hello { height: 180px; margin: 0; }
.hero-companion-slot .valid-stage-caption { display: none; }
.capability-rail { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid #303127; border-radius: 16px; margin-top: 10px; background: #111210; }
.capability-rail a { display: flex; gap: 14px; align-items: center; padding: 24px; font-size: 12px; color: #dddde0; }
.capability-rail a+a { border-inline-start: 1px solid #303127; }
.capability-rail a>.icon:first-child { width: 19px; height: 19px; color: var(--gold); }
.capability-rail a>.icon:last-child { width: 15px; height: 15px; margin-inline-start: auto; color: #888e79; }
.capability-rail a:hover { color: var(--gold); }
.hero-bottom { border-color: #242426; padding-block: 23px; margin-top: 25px; color: #9898a1; font-size: 11px; }

/* Dark surfaces, with restrained lime details and more readable type. */
.service-card, .service-card.service-card-animated { border-color: #333339; background: linear-gradient(145deg,#1b1b1e,#121214); border-radius: 22px; padding: 28px; min-height: 395px; }
.service-card:hover { border-color: #6f8434; box-shadow: 0 15px 40px #0004; }
.card-top, .card-top>span { color: #adadb6; }
.service-card .icon { color: var(--gold); }
.service-card h3 { font-size: 21px; margin-bottom: 15px; }
.service-card p { font-size: 14px; line-height: 1.8; }
.service-card .text-link { font-size: 12px; }
.service-scene { color: var(--gold); }
.robot-body, .robot-hand { fill: #393c32; stroke: #939b7c; }
.robot-head { fill: #23281a; stroke: #a9bf76; }
.robot-face { fill: #0B0B0C; }
.robot-eyes, .robot-face~path { color: var(--gold); }
.robot-antenna, .robot-light { fill: var(--gold); }
.robot-chat, .build-browser, .software-modules>div, .product-sheet { background: #20231b; border-color: #4c5538; }
.build-browser-bar { background: #171a12; border-color: #39432a; }
.build-browser-bar>span, .build-web-tile { background: #363e28; }
.build-web-picture { background: linear-gradient(135deg,#65852e,#c6f432); }
.build-web-copy b, .sheet-front>span, .product-download { background: var(--gold); color: #111; }
.build-pointer, .software-ready { background: #c6f432; color: #111; border-color: #c6f432; }
.build-pointer .icon, .software-ready .icon, .product-download .icon { color: #111; }
.sheet-back { background: #343b28; }.sheet-middle { background: #2c3125; }.sheet-front { background: #20231b; }
.sheet-front .icon, .software-brace { color: #b7d97d; }
.project-image { border-color: #37373d; border-radius: 18px; }
.project-open { background: #171719; border-color: #55565b; color: #fff; }
.project-info { padding-top: 25px; }
.project-info h3 { font-size: 25px; }
.project-info>p { font-size: 15px; color: var(--muted); }
.project-meta, .project-meta>span:last-child { color: #b5b5bd; font-size: 10px; }
.technology-list span { border-color: #3b3b42; background: #17171a; color: #c2c2cb; border-radius: 7px; padding: 6px 10px; font-size: 10px; }
.section-note { color: #acacb5; font-size: 13px; }
.project-reel { background: #171719; border-color: #34343a; border-radius: 24px; box-shadow: 0 22px 60px #0003; }
.reel-copy { background: radial-gradient(ellipse at 100% 0,#c6f43209,transparent 70%),#161618; }
.reel-copy h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; }
.reel-description, .reel-status, .reel-index { color: #b3b3bc; }
.reel-index span { color: #91919c; }
.reel-status>span, .reel-progress:after { background: var(--gold); }
.reel-controls { border-color: #333339; }
.reel-selector, .reel-selector-number { color: #b3b3bd; }
.reel-selector[aria-pressed=true], .reel-selector:hover { color: var(--gold); }
.reel-selector:hover, .reel-transport button:hover { background: #22241c; }
.reel-progress { background: #3a3d31; }
.reel-transport button { color: #d3d3db; width: 44px; height: 44px; }
.reel-footer p { color: #adadb7; }
.problems-grid { gap: 24px; }
.problems-grid article { border: 1px solid var(--line); padding: 28px; border-radius: 18px; background: #121214; }
.problems-grid .icon { color: var(--gold); }
.problems-grid h3 { font-size: 20px; }
.problems-grid p { font-size: 14px; }
.section-dark .eyebrow, .section-dark .text-link { color: var(--gold); }
.section-dark p { color: var(--muted); font-size: 15px; }
.industry-card, .section-dark .industry-card { background: #151517; color: #eeeef1; border-color: #333338; border-radius: 16px; padding: 24px; }
.industry-card h3 { font-size: 14px; }
.industry-card p { font-size: 13px; }
.industry-card>.icon, .section-dark .industry-card>.icon { color: var(--gold); }
.industry-card:hover, .section-dark .industry-card:hover { background: #20221a; border-color: #6f8434; }
.industry-card>span { color: #c1c8b1; }
.process-grid li>span { color: var(--gold); }
.process-grid h3 { font-size: 19px; }
.process-grid p { color: var(--muted); font-size: 14px; }
.price-journey { border-color: #3b4030; border-radius: 24px; padding: 45px; background: radial-gradient(ellipse at 80% 70%,#c6f4320c,transparent 65%),#151614; }
.price-journey-copy h3 { font-family: var(--serif); font-size: 38px; font-weight: 400; }
.price-journey-copy p { font-size: 15px; }
.price-journey-copy>small { color: #a8ada0; font-size: 11px; }
.pricing-card { border-color: #36363b; background: #171719; border-radius: 22px; padding: 36px; }
.pricing-card.featured { background: radial-gradient(ellipse at top,#c6f43216,transparent 70%),#1b1e14; border-color: #8cae28; }
.pricing-card h3 { font-size: 22px; }.pricing-card>p { font-size: 14px; }
.pricing-card.featured p, .featured .price>span, .featured .price small { color: #c5cbb5; }
.plan-badge { background: var(--gold); color: #111; border-radius: 999px; padding: 6px 13px; font-size: 11px; }
.price>span, .price small { color: #b4b4bf; font-size: 12px; }
.price strong { font-size: 56px; }
.price .ils { font-size: 12px; }
.pricing-card ul, .pricing-card.featured ul { border-color: #3a3c32; }
.pricing-card li { font-size: 14px; }.pricing-card li .icon { color: var(--gold); }
.support-strip { border-color: #35353a; }
.support-strip strong, .support-strip>div>span { font-size: 14px; }
.support-strip small, .pricing-note { color: #b1b1bb; font-size: 12px; }
.pricing-faq summary { font-size: 16px; padding-block: 8px; }
.pricing-faq details p { font-size: 15px; }
.about-teaser>div>p { font-size: 16px; }
.cta-band { background: radial-gradient(ellipse at 50% 110%,#c6f43221,transparent 70%),#121410; padding-block: 90px; border-color: #303627; }
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem,4.7vw,4.3rem); letter-spacing: -.045em; }
.cta-band p:not(.eyebrow) { font-size: 15px; color: #b5bbab; max-width: 540px; }
.cta-band .button { color: #0B0B0C; background: var(--gold); border-color: var(--gold); }
.cta-band .button:hover { background: #d4ff51; }

/* Interior pages share the same editorial rhythm, including real account forms. */
.page-intro { padding-block: 90px 68px; }
.page-intro h1, .auth-story h1, .account-heading h1 { font-family: var(--serif); font-size: clamp(2.8rem,5vw,4.6rem); font-weight: 400; letter-spacing: -.04em; }
.intro-copy { color: #b6b6bf; font-size: 17px; }
.benefit-strip { border-color: #34343a; gap: 28px; }
.benefit-strip>span { font-size: 15px; }.benefit-strip .icon { color: var(--gold); }
.build-grid article { background: #171719; border-color: #36363b; border-radius: 18px; }
.build-grid article>span { color: var(--gold); }.build-grid h3 { font-size: 22px; }
.example-callout { background: #191c13; border-inline-start-color: var(--gold); border-radius: 0 15px 15px 0; padding: 32px; }
.example-callout p { color: #d7ddc9; }
.work-filters button { color: #ccc; border-color: #44444b; border-radius: 999px; min-height: 44px; padding: 10px 18px; font-size: 12px; }
.work-filters button[aria-pressed=true] { background: var(--gold); border-color: var(--gold); color: #111; }
.project-story p { font-size: 16px; }.project-story .form-note { font-size: 13px; }
.project-gallery figure { background: #141416; border-color: #35353c; border-radius: 18px; }
.project-gallery figcaption, .project-note, .real-project-note { color: #b7b7c0; }
.about-brand { background: radial-gradient(ellipse at 60% 50%,#c6f43212,transparent 70%),#161814; color: var(--gold); border: 1px solid #3b432b; border-radius: 24px; }
.about-brand>span { color: #d9e9ac; }.about-brand>small { color: #b6c399; }
.about-layout p { font-size: 16px; }.values-list li { font-size: 14px; }.values-list .icon { color: var(--gold); }
.legal p { font-size: 16px; }.legal a { color: var(--gold); }
.lead-form, .auth-panel, .account-card { background: #161618; border-color: #39393f; border-radius: 22px; padding: 36px; }
.form-heading h2, .auth-panel h2 { font-size: 28px; }
.form-heading p { font-size: 12px; }
.premium label { color: #e2e2e8; font-size: 13px; }
.premium input, .premium select, .premium textarea { background: #0f0f11; border-color: #4a4a52; color: #fff; border-radius: 9px; min-height: 48px; font-size: 15px; }
.premium input::placeholder, .premium textarea::placeholder { color: #a5a5af; opacity: 1; }
.premium input:autofill { box-shadow: inset 0 0 0 100px #20251a; -webkit-text-fill-color: #fff; }
.premium .language-control select { background: transparent; }
.premium .checkbox { color: #babac5; font-size: 12px; line-height: 1.8; }
.checkbox input { min-height: 18px; width: 18px; height: 18px; accent-color: var(--gold); }
.form-note { color: #a9a9b4; font-size: 12px; }
.form-status { color: #d0e9a1; font-size: 14px; }
.form-status[data-error=true] { color: #ffb5aa; }
.contact-aside h2 { font-family: var(--serif); font-size: 42px; font-weight: 400; }
.contact-aside>p:not(.eyebrow) { font-size: 15px; }
.email-link { color: var(--gold); font-size: 16px; overflow-wrap: anywhere; }
.contact-phone { font-variant-numeric: tabular-nums; margin-top: 18px; }
.contact-whatsapp { margin-top: 24px; }
.contact-monogram { color: #373d29; }.contact-monogram span { color: #9bb943; }
.auth-icon { background: #262c1a; border-color: #4c5a2c; color: var(--gold); border-radius: 12px; }
.auth-story>p:not(.eyebrow) { font-size: 16px; }
.auth-art>div { border-color: #586633; }.auth-art>div:nth-child(3) { border-color: var(--gold); }.auth-art>span { color: var(--gold); }
.auth-story>.auth-footnote { color: #aaaeb0; font-size: 12px!important; }
.password-field { border-color: #4a4a52; background: #0f0f11; border-radius: 9px; }
.password-field input { background: transparent; }
.password-field button { color: #cee0a3; min-width: 50px; font-size: 12px; }
.password-field:focus-within { outline-color: var(--gold); }
.auth-links>.text-link, .auth-links>p, .auth-links>p a { font-size: 13px; }
.account-banner { background: #1b2114; border: 1px solid #40502a; border-radius: 18px; }
.account-banner>.icon { color: var(--gold); background: #2a351c; }
.account-badge { color: #d0e4ab; }
.account-card>.icon { color: var(--gold); }
.status-pill { color: #d2dfb4; background: #2d3521; border-radius: 7px; }
.settings-panel p, .account-card p { font-size: 14px; }

/* Keep the working demos legible while preserving their individual examples. */
.page-demo .page-hero { background: #0B0B0C; }
.page-demo .demo-notice { background: #21261a; border-color: #485930; color: #d2dfba; }
.page-demo .demo-panel { background: #171719; border-color: #414147; }
.page-demo .result-box { background: #202719; border-color: #4e6133; color: #e3edcc; }
.page-demo .step-icon { background: #2b341c; color: var(--gold); border-color: #485b2a; }
.page-demo .form-status { color: #c7e49f; }

/* Valid stays in the page with all existing welcome, process and route actions. */
.valid-stage-caption, .hero .valid-stage-caption { color: #a5ad97; }
.valid-welcome { background: linear-gradient(120deg,#0b0b0cf5,#0b0b0cdd 45%,#26300c22); }
.valid-welcome .eyebrow { color: var(--gold); }.valid-welcome p { color: #c4c8b9; }
.valid-welcome button { border-color: #738344; background: #181c12; color: #fff; border-radius: 999px; }
.valid-bubble { background: #20251a; color: #f2f5e9; border-color: #75874c; }
.valid-touch:focus-visible { outline-color: var(--gold); }
.valid-stage-process .valid-floor>i { border-color: #a0c637; background: linear-gradient(#c6f43219,transparent); }
.valid-floor>i>span { color: #b4c792; }.valid-step-name { color: #e4efce; }
.valid-process-links { stroke: #9ebc50; }
.range-grid { border-color: #536236; background: repeating-linear-gradient(0deg,transparent,transparent 34px,#7d965b30 35px); }
.slide-rail-back { stroke: #3b452b; }.slide-rail { stroke: var(--gold); }
.valid-slide circle { fill: var(--gold); stroke: #161a12; }.slide-top-label { fill: var(--gold); }
.range-axis { color: #d4e8b6; }.range-axis>span:nth-child(2), .range-note { color: #b5c29f; }
.motion-tools { border-top: 1px solid #28282c; padding-top: 20px; }
.motion-tools button { color: #bbbcc5; border-color: #42424a; border-radius: 999px; }
.motion-tools button:hover { color: var(--gold); border-color: #8da62d; }

.site-footer { background: #0B0B0C; border-top: 1px solid #28282d; padding-top: 70px; }
.footer-grid { gap: 45px; }
.footer-grid .brand { color: #fff; }.footer-tagline { font-size: 14px; color: #aaaab4; }
.footer-grid h2 { color: #fff; font-size: 13px; }
.footer-grid>div>a:not(.brand) { font-size: 13px; }
.footer-link { color: #b5b5bf; margin-top: 14px; }
.footer-contact { display: block; color: #bfc1b6; margin-top: 10px; overflow-wrap: anywhere; }
.footer-whatsapp { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); }
.footer-whatsapp .icon { width: 17px; height: 17px; }
.footer-bottom { border-color: #29292e; color: #a7a7b0; font-size: 11px; }

/* Enhancements only run when the existing motion preference allows them. */
html[data-motion=on]:not([data-tab-active=false]) .hero-aura { animation: studio-breathe 12s ease-in-out infinite alternate; }
@keyframes studio-breathe { from { opacity: .65; scale: 1; } to { opacity: 1; scale: 1.09; } }
.studio-reveal { transition: opacity .65s ease, translate .65s cubic-bezier(.2,.7,.2,1); }
html[data-motion=on] .studio-reveal:not(.is-visible):not(:focus-within) { opacity: 0; translate: 0 18px; }
[data-studio-tilt] { transform: perspective(1200px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
@media(hover:hover) and (pointer:fine) {
  .service-card { position: relative; isolation: isolate; }
  .service-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; z-index: -1; background: radial-gradient(230px circle at var(--pointer-x,50%) var(--pointer-y,50%),#c6f43212,transparent 80%); transition: opacity .3s; }
  html[data-motion=on] .service-card:hover::before { opacity: 1; }
}
html[data-motion=off] .studio-reveal { opacity: 1; translate: none; transition: none; }
html[data-motion=off] [data-studio-tilt] { transform: none; transition: none; }
html[data-motion=off] .hero-aura { animation: none; }
html[data-tab-active=false] .hero-aura { animation-play-state: paused; }

[dir=rtl] .hero h1, [dir=rtl] .page-intro h1, [dir=rtl] .auth-story h1, [dir=rtl] .cta-band h2, [dir=rtl] .contact-aside h2, [dir=rtl] .price-journey-copy h3 { font-family: inherit; font-weight: 400; letter-spacing: -.025em; line-height: 1.35; }
[dir=rtl] .hero h1 { font-size: clamp(3rem,5.4vw,4.8rem); }
[dir=rtl] .hero h1 .hero-type-em { font-family: inherit; font-style: normal; font-weight: 400; }
[dir=rtl] .capability-rail a>.icon:last-child { transform: rotate(180deg); }
[dir=rtl] .example-callout { border-radius: 15px 0 0 15px; }
[dir=rtl] .email-link .icon { transform: none; }

@media(max-width:1180px) {
  .wrap { width: calc(100% - 64px); }
  .site-header .nav-wrap { gap: 20px; }.main-nav { gap: 16px; }.nav-actions { gap: 12px; }
  .hero-grid { gap: 48px; }.hero h1 { font-size: clamp(3.5rem,6.5vw,5rem); }
  .floating-note { inset-inline-end: -15px; }.hero-companion-slot { inset-inline-start: -55px; }
  .service-card, .service-card.service-card-animated { padding: 24px; }.service-card h3 { font-size: 19px; }
  .capability-rail a { gap: 10px; padding: 22px 18px; }
}
@media(max-width:1020px) {
  .main-nav { background: #141416; border-color: #35353a; padding: 26px 32px; }
  .main-nav a { font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
  .nav-actions { gap: 18px; }
  .hero-grid { padding-top: 70px; }.hero-system { max-width: 760px; }
  .hero-companion-slot { inset-inline-start: -20px; width: 170px; }
  .service-card, .service-card.service-card-animated { min-height: 375px; }
  .service-card h3 { font-size: 24px; }
  .section-heading h2 { font-size: 43px; }.industries-layout { gap: 42px; }
  .capability-rail a { padding: 19px 14px; font-size: 11px; }
  .capability-rail a>.icon:last-child { display: none; }
  .pricing-card { padding: 25px; }
}
@media(max-width:760px) {
  .wrap, .page-demo .container { width: calc(100% - 40px); }
  .site-header .nav-wrap { height: 72px; gap: 12px; }.nav-actions { gap: 12px; }
  .hero-grid { padding-block: 54px 22px; gap: 38px; }
  .hero .eyebrow { font-size: 9px; max-width: 320px; line-height: 1.7; margin-bottom: 22px; gap: 9px; }
  .hero h1, [dir=rtl] .hero h1 { font-size: clamp(2.9rem,9vw,4.4rem); line-height: 1.14; }
  [dir=rtl] .hero h1 { line-height: 1.4; font-size: clamp(2.4rem,8vw,3.7rem); }
  .hero h1 .hero-type-line { display: block; white-space: normal; letter-spacing: -.05em; }
  .hero h1 .hero-type-em { margin-inline-start: 0; }
  .hero-description { font-size: 15px; max-width: 440px; margin-top: 22px; }
  .hero .button { font-size: 13px; padding: 14px 20px; gap: 15px; }
  .hero-footnote { font-size: 10px; max-width: 330px; }
  .hero-art .workspace { grid-template-columns: 39px 1fr; border-radius: 15px; }
  .hero-art .workspace-main { padding: 16px; gap: 13px; grid-template-columns: 1fr; }
  .hero-art .workspace-top { font-size: 9px; padding-bottom: 10px; }
  .hero-art .workspace-sidebar { gap: 25px; padding-top: 20px; }
  .workspace-logo { font-size: 22px; }.hero-art .workspace-title strong { font-size: 18px; }
  .hero-art .workspace-metrics { gap: 7px; }.hero-art .workspace-metrics>div { padding: 9px; }
  .hero-art .workspace-metrics b { font-size: 25px; }.hero-art .workspace-metrics>div>span { font-size: 8px; }
  .workspace-metrics small { font-size: 7px; }.hero-art .workspace-chart { padding: 13px; }
  .hero-art .workspace-task { padding: 13px; gap: 9px; }.hero-art .workspace-task strong { font-size: 11px; }
  .hero-art .workspace-task div>span { font-size: 9px; }.hero-art .workspace-task .icon { width: 24px; height: 24px; padding: 5px; }
  .floating-note { position: relative; inset: auto; margin: 12px 0 0 auto; width: fit-content; max-width: calc(100% - 60px); padding: 12px 14px; border-radius: 12px; }
  .floating-note strong { font-size: 11px; }.floating-note span { font-size: 9px; }
  .visual-caption { margin-top: 20px; font-size: 8px; }
  .hero-companion-slot { inset-inline-start: -14px; bottom: 12px; width: 150px; }.hero-companion-slot .valid-stage-hello { height: 150px; }
  .capability-rail { grid-template-columns: repeat(2,minmax(0,1fr)); border-radius: 14px; margin-top: 0; }
  .capability-rail a { font-size: 11px; gap: 10px; padding: 19px 14px; min-height: 64px; }
  .capability-rail a:nth-child(3) { border-inline-start: 0; }.capability-rail a:nth-child(n+3) { border-top: 1px solid #303127; }
  .hero-bottom { margin-top: 20px; font-size: 10px; padding-block: 19px; }
  .section { padding-block: 72px; }.section-first { padding-top: 0; }
  .section-heading { margin-bottom: 30px; }.section-heading h2 { font-size: 34px; }.section-heading p:not(.eyebrow) { font-size: 15px; }
  .service-grid { gap: 14px; }.service-card, .service-card.service-card-animated { padding: 23px; min-height: 380px; }
  .service-card h3 { font-size: 20px; }.service-card p { font-size: 13px; }
  .problems-grid { gap: 14px; }.problems-grid article { padding: 23px; }.problems-grid h3 { font-size: 18px; }
  .industry-card, .section-dark .industry-card { padding: 20px 16px; gap: 12px; }.industry-card h3 { font-size: 13px; }
  .process-grid h3 { font-size: 18px; }.process-grid p { font-size: 13px; }
  .price-journey { padding: 28px; gap: 15px; border-radius: 20px; }.price-journey-copy h3 { font-size: 34px; }
  .pricing-card { padding: 30px; }.pricing-card h3 { font-size: 25px; }
  .page-intro { padding-block: 58px 45px; }.page-intro h1, .auth-story h1 { font-size: 43px; }
  .intro-copy { font-size: 16px; }.contact-aside h2 { font-size: 36px; }
  .lead-form, .auth-panel { padding: 26px; }.form-heading h2 { font-size: 25px; }
  .contact-aside { position: static; }.contact-monogram { font-size: 110px; }
  .cta-band { padding-block: 60px; }.cta-band h2 { font-size: 40px; }
  .footer-grid { gap: 35px; }.footer-bottom { font-size: 10px; }
  .motion-tools { padding-bottom: 26px; }
}
@media(max-width:520px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.service-card-animated { min-height: 0; padding: 28px; }
  .service-card h3 { font-size: 24px; }.service-card p { font-size: 15px; }
  .service-scene { max-width: 240px; height: 124px; margin-block: 8px 15px; }
  .problems-grid { grid-template-columns: 1fr; }.problems-grid article { padding: 25px; }
  .industry-grid { grid-template-columns: 1fr; }.industry-card h3 { font-size: 15px; }
  .reel-copy { padding: 26px; }.reel-copy>.text-link { gap: 9px; }.reel-copy h3 { font-size: 36px; }
  .reel-transport button { width: 40px; }.reel-controls { padding-inline: 8px; }
  .hero-art .workspace-main { padding: 12px; }.hero-art .workspace-metrics>div { padding: 8px 6px; }
  .hero-art .workspace-title strong { font-size: 16px; }.workspace-metrics b span { font-size: 10px; }
  .hero-art .workspace-task>span { display: none; }.floating-note { max-width: calc(100% - 42px); }
  .hero h1 { font-size: clamp(2.7rem,10vw,3.4rem); }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .hero-aura, .studio-reveal { animation: none!important; opacity: 1!important; translate: none!important; transition: none!important; }
  [data-studio-tilt] { transform: none!important; transition: none!important; }
  .service-card::before { display: none; }
}
