:root {
  --ink: #101218;
  --paper: #f7f8fa;
  --white: #fff;
  --muted: #6c7280;
  --line: #dfe3e8;
  --cyan: #59e6f2;
  --blue: #2784ff;
  --violet: #8667ff;
  --orange: #ff8a32;
  --red: #ff3158;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 Inter, "Segoe UI", Arial, sans-serif; }
body.menu-open { overflow: hidden; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif; letter-spacing: -.045em; line-height: 1.04; }
h1 { font-size: clamp(3.4rem, 7.6vw, 8.3rem); font-weight: 600; }
h2 { font-size: clamp(2.2rem, 4vw, 4.35rem); font-weight: 550; }
h3 { font-size: 1.45rem; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.wrap { width: min(var(--max), 90%); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 1000; padding: 10px 14px; background: white; }
.skip:focus { top: 14px; }
.spectrum { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--red), var(--orange), #ffe329, #38e58b, var(--cyan), var(--blue), var(--violet)); }
.kicker, .section-index { margin: 0 0 18px; font-size: .76rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.kicker { color: #147d89; }
.kicker.light { color: #b6ecf1; }
.section-index { color: #64707d; }

.site-header { height: 92px; padding: 0 4.5%; display: flex; align-items: center; gap: 34px; background: rgba(255,255,255,.96); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(18,22,29,.09); backdrop-filter: blur(16px); }
.brand { width: 172px; height: 67px; overflow: hidden; position: relative; flex: 0 0 auto; }
.brand img { position: absolute; width: 190px; max-width: none; left: -9px; top: -61px; }
.site-header nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: .86rem; font-weight: 620; }
.site-header nav a { padding: 33px 0 28px; position: relative; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 21px; height: 2px; background: var(--ink); transition: right .25s; }
.site-header nav a:hover::after, .site-header nav a[aria-current]::after { right: 0; }
.legal-menu { position: relative; }
.legal-menu summary { padding: 33px 18px 28px 0; position: relative; cursor: pointer; list-style: none; white-space: nowrap; }
.legal-menu summary::-webkit-details-marker { display: none; }
.legal-menu summary::before { content: ""; position: absolute; right: 1px; top: 39px; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.legal-menu[open] summary::before { transform: translateY(4px) rotate(225deg); }
.legal-menu.current summary { box-shadow: inset 0 -2px var(--ink); }
.legal-submenu { position: absolute; top: 72px; right: 0; width: 250px; padding: 10px; background: white; border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(16,18,24,.14); }
.site-header nav .legal-submenu a { display: block; padding: 11px 13px; border-radius: 3px; }
.site-header nav .legal-submenu a::after { display: none; }
.site-header nav .legal-submenu a:hover, .site-header nav .legal-submenu a[aria-current] { background: #eef2f5; }
.app-shortcut { display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid #cdd3da; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.app-shortcut svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.app-shortcut:hover { border-color: transparent; color: white; background: var(--ink); }
.menu-toggle { display: none; }

.hero { min-height: calc(100svh - 92px); position: relative; overflow: hidden; color: white; background: #080a0e; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.9) contrast(1.05); }
.hero-shade { background: linear-gradient(90deg, rgba(4,6,10,.93) 0%, rgba(6,8,12,.76) 42%, rgba(5,7,10,.08) 79%), linear-gradient(0deg, rgba(4,6,9,.65), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(1240px, 90%); margin: auto; padding: clamp(85px, 12vh, 150px) 0 155px; }
.hero-content h1 { max-width: 900px; margin-bottom: 30px; }
.hero-content .hero-slogan { max-width: 1050px; font-size: clamp(3.2rem, 6.5vw, 7.2rem); }
.hero-content h1 em, .page-hero h1 em { font-style: normal; color: var(--cyan); }
.hero-lead { max-width: 650px; margin-bottom: 38px; color: #d1d8df; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 23px; border: 1px solid transparent; border-radius: 2px; font-size: .88rem; font-weight: 720; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #071014; background: var(--cyan); }
.button.primary:hover { background: white; }
.button.ghost { color: white; border-color: rgba(255,255,255,.5); background: rgba(0,0,0,.08); }
.button.ghost:hover { background: white; color: var(--ink); }
.button.dark { color: white; background: var(--ink); }
.button.outline { border-color: #aeb6bf; }
.hero-signature { position: absolute; z-index: 2; left: 5%; right: 5%; bottom: 30px; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.25); font-size: .77rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-signature strong { font-weight: 500; color: #e3e9ee; }

.intro { padding: 120px 0; display: grid; grid-template-columns: .45fr 1fr 1fr; gap: 45px; align-items: start; scroll-margin-top: 108px; }
.intro h2 { margin: 0; }
.intro > div:last-child { max-width: 570px; color: #4f5662; font-size: 1.03rem; }
.text-link { display: inline-block; margin-top: 12px; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: var(--ink); font-size: .87rem; font-weight: 720; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 55px; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 390px; margin: 0; color: #777f8b; }

.method { padding: 120px 0; scroll-margin-top: 108px; }
.method-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: steps; }
.method-track article { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: white; }
.method-track figure { height: 220px; margin: 0; overflow: hidden; background: #dfe4e8; }
.method-track figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.method-track article:hover figure img { transform: scale(1.035); }
.method-copy { min-height: 245px; padding: 26px 26px 30px; }
.method-track b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: white; font-size: .72rem; }
.method-track h3 { margin: 38px 0 12px; }
.method-track p { color: var(--muted); font-size: .91rem; }
.image-story { display: grid; grid-template-columns: 1.18fr .82fr; min-height: 620px; margin-top: 60px; background: white; }
.story-image { overflow: hidden; }
.story-image img { height: 100%; object-fit: cover; }
.story-copy { padding: 90px max(6vw, 55px); align-self: center; }
.story-copy p:not(.kicker) { margin: 28px 0 34px; color: var(--muted); }
.app-icon-hero { display: grid; place-items: center; color: white; background: linear-gradient(145deg, #141820, #292f3b); }
.app-icon-hero svg { width: 38px; fill: none; stroke: var(--cyan); stroke-width: 1.5; }
.final-cta { padding: 110px 0; color: white; background: #0a0c11; text-align: center; }
.final-cta h2 { margin: 0 auto 38px; }

.page-hero { min-height: 520px; padding: 90px 5%; display: flex; align-items: end; color: white; background: radial-gradient(circle at 78% 28%, #1a4f64 0%, transparent 30%), linear-gradient(135deg, #080a0f, #171b23); }
.page-hero > div { width: min(var(--max), 100%); margin: auto; }
.page-hero h1 { margin-bottom: 25px; font-size: clamp(3.2rem, 6.4vw, 7rem); }
.page-hero > div > p:last-child { max-width: 630px; color: #b9c4cf; font-size: 1.1rem; }
.about-hero { background: linear-gradient(90deg, rgba(5,7,10,.92), rgba(6,8,12,.25)), url('/assets/hero.webp') center/cover; }
.advice-hero { background: radial-gradient(circle at 82% 38%, rgba(106,80,255,.55), transparent 25%), radial-gradient(circle at 70% 65%, rgba(37,214,232,.3), transparent 30%), #090b10; }
.service-list { padding: 70px 0 100px; }
.service-row { display: grid; grid-template-columns: 80px 1fr .9fr; gap: 50px; padding: 58px 0; border-bottom: 1px solid #cdd3da; }
.service-row > span { font-size: .8rem; font-weight: 760; color: #1c7e89; }
.service-row h2 { font-size: clamp(2rem, 3vw, 3.35rem); }
.service-row > div:last-child { color: var(--muted); }
.service-row ul { padding: 0; margin: 24px 0 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.service-row li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: .88rem; }
.sector-band { padding: 75px 0; color: white; background: #151922; }
.sector-band .wrap > div { display: flex; flex-wrap: wrap; gap: 14px; }
.sector-band span { padding: 11px 17px; border: 1px solid #4b5260; border-radius: 99px; }

.about-intro { padding: 110px 0; display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; }
.about-intro > div:last-child { color: var(--muted); font-size: 1.05rem; }
.portrait-band { display: grid; grid-template-columns: 1.1fr .9fr; background: #0d1016; color: white; }
.portrait-band img { height: 620px; object-fit: cover; }
.portrait-band > div { padding: 80px 8%; align-self: center; }
.portrait-band > div > p:last-child { color: #aeb7c2; }
.quote-section { padding: 110px 5%; text-align: center; background: white; }
.quote-section blockquote { max-width: 1000px; margin: auto; font: 500 clamp(2rem, 4vw, 4rem)/1.15 "Arial Narrow", Arial, sans-serif; letter-spacing: -.04em; }
.quote-section p { margin: 30px 0 0; color: var(--muted); font-size: .78rem; letter-spacing: .14em; }

.articles { padding: 100px 0; }
.article-feature { padding: 75px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; border-bottom: 1px solid #cdd3da; scroll-margin-top: 110px; }
.article-feature.reverse .article-visual { order: 2; }
.article-feature h2 { font-size: clamp(2.1rem, 3.6vw, 3.9rem); }
.article-feature p, .article-feature li { color: var(--muted); }
.article-feature ol { padding-left: 22px; }
.article-feature li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.article-visual { aspect-ratio: 4/3; display: flex; align-items: end; justify-content: space-between; padding: 34px; color: white; background: #0e1117; }
.article-visual.warm { background: linear-gradient(110deg, #bd641f, #342113 48%, #d9b87f); }
.article-visual.warm span { font-size: 1.5rem; font-weight: 700; }
.article-visual.technical { align-items: center; justify-content: center; flex-direction: column; background: repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.06) 40px), #151a23; }
.article-visual.technical b { font-size: 8rem; line-height: 1; color: var(--cyan); }
.article-visual.technical small { letter-spacing: .15em; text-transform: uppercase; }
.article-visual.color { align-items: center; justify-content: center; background: radial-gradient(circle, #4ae8ef, #4f54fa 35%, #ad34df 58%, #13151a 70%); }
.article-visual.color i { width: 42%; aspect-ratio: 1; border: 1px solid white; border-radius: 50%; box-shadow: 0 0 50px rgba(255,255,255,.5); }

.contact-hero { padding: 90px 6%; display: grid; grid-template-columns: 1.4fr .6fr; gap: 70px; color: white; background: #0b0e14; }
.contact-hero h1 { margin-bottom: 24px; font-size: clamp(3.4rem, 6vw, 6.8rem); }
.contact-hero > div > p:last-child { max-width: 650px; color: #aeb8c4; }
.contact-hero aside { padding: 35px; align-self: end; border: 1px solid #343b47; }
.contact-hero aside span { display: block; margin-bottom: 25px; color: #8f9ba9; font-size: .7rem; letter-spacing: .15em; }
.contact-hero aside a { color: var(--cyan); font-size: 1.05rem; }
.contact-hero aside p { margin: 22px 0 0; color: #c5cbd3; }
.contact-layout { padding: 100px 0; display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.contact-guidance h2 { font-size: 2.7rem; }
.contact-guidance ul { padding: 0; margin-top: 35px; list-style: none; }
.contact-guidance li { padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); }
.contact-form { padding: 45px; background: white; border: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
label { display: block; margin-bottom: 22px; font-size: .86rem; font-weight: 650; }
input, select, textarea { display: block; width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid #c7cdd4; border-radius: 0; background: #fbfcfd; color: var(--ink); font-size: 1rem; }
textarea { resize: vertical; }
.form-note, .form-status { font-size: .79rem; color: var(--muted); }
.form-status { color: #167983; font-weight: 650; }

.client-app-page { min-height: calc(100svh - 92px); padding: 80px 6%; display: grid; grid-template-columns: 1fr .9fr; gap: 7vw; align-items: center; color: white; background: radial-gradient(circle at 80% 30%, rgba(32,146,159,.25), transparent 28%), #090b10; overflow: hidden; }
.client-app-copy h1 { margin: 0 0 30px; font-size: clamp(3rem, 5.3vw, 6.4rem); }
.client-app-copy h1 em { color: var(--cyan); font-style: normal; }
.client-app-copy > p:not(.kicker) { max-width: 680px; color: #b6c0cb; }
.app-icon-hero { width: 92px; height: 92px; margin-bottom: 40px; border-radius: 23px; box-shadow: 0 0 45px rgba(80,226,242,.15); }
.coming-soon { display: block; width: max-content; margin: 30px 0; padding: 9px 14px; border: 1px solid #47505e; border-radius: 99px; color: var(--cyan); font-size: .8rem; }
.client-app-benefits { max-width: 680px; margin: 0 0 34px; padding: 0; list-style: none; border-top: 1px solid #343b47; }
.client-app-benefits li { padding: 15px 0; display: grid; grid-template-columns: 155px 1fr; gap: 22px; border-bottom: 1px solid #343b47; }
.client-app-benefits strong { color: white; }
.client-app-benefits span { color: #9ea9b5; }
.client-app-visuals { display: flex; align-items: flex-start; justify-content: center; gap: 26px; }
.client-app-visuals figure { width: min(280px, 45%); margin: 0; }
.client-app-visuals figure:nth-child(2) { margin-top: 70px; }
.client-app-visuals img { border: 1px solid #39434f; border-radius: 24px; box-shadow: 0 32px 65px rgba(0,0,0,.5); }
.client-app-visuals figcaption { margin-top: 14px; color: #8995a2; font-size: .74rem; text-align: center; letter-spacing: .08em; text-transform: uppercase; }

.site-footer { padding: 70px 5% 25px; background: white; }
.footer-main { display: grid; grid-template-columns: 1.3fr .8fr; gap: 80px; max-width: var(--max); margin: auto; }
.site-footer .brand { display: block; margin-bottom: 10px; }
.site-footer p, .site-footer a { color: #5e6671; font-size: .84rem; }
.footer-main > div > a:not(.brand) { display: block; margin-bottom: 8px; }
.footer-label { display: block; margin-bottom: 20px; font-size: .7rem; font-weight: 760; letter-spacing: .14em; text-transform: uppercase; }
.footer-bottom { max-width: var(--max); margin: 50px auto 0; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: #7c8490; font-size: .72rem; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; }
.legal-links a { color: #59626d; text-decoration: underline; text-decoration-color: #c0c6cd; text-underline-offset: 4px; }
.legal-links a:hover { color: var(--ink); }

.legal-hero { padding: 105px 0 85px; color: white; background: radial-gradient(circle at 83% 25%, rgba(36,183,200,.22), transparent 27%), #0a0d12; }
.legal-hero h1 { margin: 0 0 22px; font-size: clamp(3.2rem, 7vw, 7.4rem); }
.legal-hero p:not(.kicker) { max-width: 740px; margin: 0; color: #aeb9c5; font-size: 1.15rem; }
.legal-page { padding: 90px 0 125px; }
.legal-alert { margin-bottom: 70px; padding: 28px 32px; border-left: 4px solid var(--cyan); background: #eef4f5; }
.legal-alert strong { display: block; margin-bottom: 8px; font-size: 1.05rem; }
.legal-alert p { max-width: 970px; margin: 0; color: var(--muted); }
.legal-content { max-width: 980px; }
.legal-content article { padding: 0 0 42px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.legal-content article:last-child { margin-bottom: 0; }
.legal-content h2 { margin: 0 0 18px; font-size: clamp(1.65rem, 2.7vw, 2.45rem); }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content p { max-width: 900px; }
.legal-content ul { margin: 18px 0 0; padding-left: 22px; }
.legal-content li { margin: 8px 0; }
.legal-content a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .site-header { gap: 18px; }
  .site-header nav { gap: 17px; font-size: .78rem; }
  .app-shortcut span { display: none; }
  .intro { grid-template-columns: 1fr 1fr; }
  .intro > .section-index { grid-column: span 2; }
  .service-row { grid-template-columns: 60px 1fr 1fr; gap: 30px; }
}

@media (max-width: 820px) {
  .site-header { height: 78px; padding-inline: 5%; }
  .brand { width: 150px; height: 62px; }
  .brand img { width: 165px; top: -51px; }
  .menu-toggle { display: flex; margin-left: auto; gap: 10px; align-items: center; border: 0; background: transparent; font-weight: 650; }
  .menu-toggle i, .menu-toggle i::after { display: block; width: 22px; height: 2px; background: var(--ink); content: ""; transition: .2s; }
  .menu-toggle i::after { transform: translateY(6px); }
  .menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::after { transform: rotate(-90deg); }
  .site-header nav { position: fixed; inset: 78px 0 0; display: none; padding: 45px 7%; flex-direction: column; align-items: stretch; gap: 0; background: white; font-size: 1.2rem; }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .site-header nav a::after { display: none; }
  .legal-menu { border-bottom: 1px solid var(--line); }
  .legal-menu summary { padding: 18px 28px 18px 0; }
  .legal-menu summary::before { top: 24px; right: 4px; }
  .legal-menu.current summary { box-shadow: none; }
  .legal-submenu { position: static; width: 100%; padding: 0 0 12px 18px; border: 0; box-shadow: none; }
  .site-header nav .legal-submenu a { padding: 12px 0; border-bottom: 0; color: var(--muted); font-size: 1rem; }
  .app-shortcut { padding: 9px; }
  .hero { min-height: 760px; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,6,10,.91), rgba(5,7,10,.32)), linear-gradient(0deg, rgba(4,6,9,.8), transparent 55%); }
  .hero-content { padding-top: 95px; }
  .hero-content h1 { font-size: clamp(3.6rem, 12vw, 6.2rem); }
  .hero-content .hero-slogan { font-size: clamp(3.1rem, 9vw, 5.5rem); }
  .intro, .image-story, .portrait-band, .about-intro, .article-feature, .contact-hero, .contact-layout, .client-app-page { grid-template-columns: 1fr; }
  .intro > .section-index { grid-column: auto; }
  .method-track { grid-template-columns: 1fr 1fr; }
  .method-track figure { height: 250px; }
  .story-image img { height: 460px; }
  .article-feature.reverse .article-visual { order: 0; }
  .article-feature { gap: 45px; }
  .contact-hero { padding: 70px 7%; }
  .contact-layout { gap: 45px; }
  .client-app-page { padding-top: 70px; }
  .client-app-visuals { margin-top: 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .site-header { padding-inline: 4%; }
  .menu-toggle span, .app-shortcut { display: none; }
  .hero { min-height: 720px; }
  .hero-content { width: 92%; }
  .hero-content h1 { font-size: 3.7rem; }
  .hero-content .hero-slogan { font-size: clamp(2.7rem, 13vw, 3.7rem); }
  .hero-signature { align-items: flex-start; flex-direction: column; gap: 7px; }
  .intro, .method, .articles, .service-list, .about-intro, .contact-layout { padding-top: 75px; padding-bottom: 75px; }
  .intro, .method-track, .footer-main, .field-row { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .method-track figure { height: 235px; }
  .method-copy { min-height: 0; }
  .story-image img, .portrait-band img { height: 340px; }
  .story-copy, .portrait-band > div { padding: 55px 6%; }
  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .service-row ul { grid-template-columns: 1fr; }
  .article-feature { padding: 55px 0; }
  .contact-form { padding: 25px; }
  .client-app-benefits li { grid-template-columns: 1fr; gap: 4px; }
  .client-app-visuals { gap: 12px; }
  .client-app-visuals figure { width: 48%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .legal-links { justify-content: flex-start; }
  .legal-hero { padding: 75px 0 60px; }
  .legal-page { padding: 65px 0 90px; }
  .legal-alert { margin-bottom: 50px; padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
