:root {
  --red: #ef1723;
  --red-dark: #c80e18;
  --ink: #0b0c0f;
  --ink-2: #121419;
  --paper: #f5f5f2;
  --white: #fff;
  --muted: #6f737d;
  --line: rgba(15, 17, 21, .12);
  --shell: min(1240px, calc(100% - 64px));
  --radius: 22px;
  --shadow: 0 28px 80px rgba(6, 8, 12, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; transform: translateY(-150%); padding: 12px 16px; color: #fff; background: var(--red); border-radius: 10px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 1500; inset: 0 0 auto; height: 88px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.14); transition: background .3s ease, height .3s ease, box-shadow .3s ease; }
.site-header.scrolled { height: 74px; background: rgba(9,10,12,.94); backdrop-filter: blur(16px); box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.header-inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 44px; }
.brand img { width: 154px; height: auto; }
.main-nav { justify-self: center; display: flex; align-items: center; gap: 34px; }
.main-nav a { position: relative; padding: 12px 0; font-size: 14px; font-weight: 740; color: rgba(255,255,255,.78); transition: color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--red); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 14px; font-weight: 800; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.header-cta:hover { transform: translateY(-2px); background: var(--red); border-color: var(--red); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: #fff; }

.hero { position: relative; min-height: 840px; height: 100svh; max-height: 980px; overflow: hidden; color: #fff; background: #08090b; }
.hero-media, .hero-media img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 54% center; transform: scale(1.035); animation: heroZoom 9s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(5,6,8,.94) 0%, rgba(5,6,8,.8) 34%, rgba(5,6,8,.28) 63%, rgba(5,6,8,.08) 100%), linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.46)); }
.hero-grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: center; padding-top: 82px; }
.hero-copy { max-width: 760px; padding-bottom: 74px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-kicker span { width: 42px; height: 2px; background: var(--red); }
.hero h1 { margin: 0; max-width: 860px; font-size: clamp(58px, 6.4vw, 98px); line-height: .95; letter-spacing: -.055em; font-weight: 880; }
.hero h1 em { color: #fff; font-style: normal; -webkit-text-stroke: 1px rgba(255,255,255,.72); color: transparent; }
.hero-lead { max-width: 680px; margin: 30px 0 0; color: rgba(255,255,255,.78); font-size: clamp(18px, 1.45vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 25px; border: 0; border-radius: 999px; font-weight: 850; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 14px 34px rgba(239,23,35,.32); }
.button-primary:hover { background: #ff2731; box-shadow: 0 18px 44px rgba(239,23,35,.4); }
.button-glass { color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.button-glass span { margin-left: 12px; }
.hero-side { justify-self: end; display: grid; gap: 2px; width: 150px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.25); }
.hero-side span { font-size: 54px; line-height: 1; font-weight: 900; letter-spacing: -.06em; }
.hero-side small { color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.hero-proof { position: absolute; z-index: 3; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); color: #fff; border: 1px solid rgba(255,255,255,.15); background: rgba(8,9,11,.82); backdrop-filter: blur(18px); box-shadow: 0 18px 70px rgba(0,0,0,.26); }
.hero-proof > div { min-height: 116px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 12px; padding: 20px 24px; border-right: 1px solid rgba(255,255,255,.12); }
.hero-proof > div:last-child { border-right: 0; }
.hero-proof b { grid-row: 1 / 3; color: var(--red); font-size: 13px; letter-spacing: .12em; }
.hero-proof strong { font-size: 16px; }
.hero-proof span { color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.45; }
.hero-enter { opacity: 0; transform: translateY(22px); animation: heroIn .8s .15s ease forwards; }
.hero-proof.hero-enter { animation-delay: .45s; }

.section { padding: 118px 0; }
.eyebrow { margin: 0 0 20px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: #ff454f; }
.intro-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 9vw; align-items: end; }
.intro h2, .section-top h2, .system-copy h2, .workflow-copy h2, .process-copy h2, .contact-copy h2 { margin: 0; font-size: clamp(48px, 5vw, 78px); line-height: 1.02; letter-spacing: -.05em; }
.intro-copy { max-width: 580px; }
.intro-copy p { margin: 0; color: #4f535b; font-size: 20px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 13px; margin-top: 25px; font-size: 15px; font-weight: 900; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.text-link-light { color: #fff; }
.benefit-rail { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 76px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit { min-height: 260px; padding: 28px 28px 34px; border-right: 1px solid var(--line); transition: background .25s ease, transform .25s ease; }
.benefit:last-child { border-right: 0; }
.benefit:hover { background: #fff; transform: translateY(-6px); }
.benefit-no { color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.benefit h3 { margin: 74px 0 12px; font-size: 24px; letter-spacing: -.03em; }
.benefit p { margin: 0; color: var(--muted); line-height: 1.6; }

.section-dark { color: #fff; background: var(--ink); }
.system { overflow: hidden; }
.system-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 8vw; align-items: center; }
.system-media { position: relative; min-height: 760px; overflow: hidden; border-radius: var(--radius); background: #1c1f25; }
.system-media picture, .system-media img { width: 100%; height: 100%; }
.system-media img { min-height: 760px; object-fit: cover; object-position: center 58%; filter: saturate(.95) contrast(1.03); }
.system-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(0,0,0,.48)); pointer-events: none; }
.system-badge { position: absolute; z-index: 2; right: 24px; bottom: 24px; display: grid; place-items: center; width: 138px; height: 138px; text-align: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(8,9,11,.5); backdrop-filter: blur(12px); }
.system-badge span { display: block; font-size: 38px; font-weight: 900; line-height: 1; }
.system-badge small { display: block; max-width: 80px; color: rgba(255,255,255,.65); line-height: 1.2; }
.system-copy { max-width: 650px; }
.system-lead { margin: 28px 0 34px; color: rgba(255,255,255,.66); font-size: 20px; line-height: 1.65; }
.system-tabs { border-top: 1px solid rgba(255,255,255,.14); }
.system-tab { width: 100%; display: grid; grid-template-columns: 52px 1fr; gap: 15px; padding: 22px 0; text-align: left; color: #fff; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); background: transparent; cursor: pointer; opacity: .5; transition: opacity .2s ease, padding-left .2s ease; }
.system-tab:hover, .system-tab.active { opacity: 1; padding-left: 10px; }
.system-tab span { color: var(--red); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.system-tab strong { display: block; font-size: 22px; }
.system-tab small { display: block; margin-top: 4px; color: rgba(255,255,255,.55); font-size: 14px; }
.system-detail { min-height: 78px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.6; }

.section-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8vw; align-items: end; margin-bottom: 56px; }
.section-top > p { margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.use-grid { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: repeat(2, 380px); gap: 18px; }
.use-card { position: relative; overflow: hidden; border-radius: var(--radius); background: #111; }
.use-card-large { grid-row: 1 / 3; }
.use-card picture, .use-card img { width: 100%; height: 100%; }
.use-card img { object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.use-card:hover img { transform: scale(1.045); }
.use-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(0,0,0,.82)); }
.use-overlay { position: absolute; z-index: 2; inset: auto 0 0; padding: 30px; color: #fff; }
.use-overlay span { color: #ff424c; font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.use-overlay h3 { margin: 10px 0 8px; font-size: 34px; letter-spacing: -.035em; }
.use-overlay p { max-width: 480px; margin: 0; color: rgba(255,255,255,.68); line-height: 1.5; }

.workflow { color: #fff; background: #0c0d10; }
.workflow-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 7vw; align-items: center; }
.workflow-copy > p:not(.eyebrow):not(.workflow-detail) { color: rgba(255,255,255,.64); font-size: 19px; line-height: 1.65; }
.workflow-list { margin-top: 34px; border-top: 1px solid rgba(255,255,255,.14); }
.workflow-item { width: 100%; display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 20px 0; text-align: left; color: #fff; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); background: transparent; cursor: pointer; opacity: .46; transition: opacity .2s ease, padding-left .2s ease; }
.workflow-item:hover, .workflow-item.active { opacity: 1; padding-left: 10px; }
.workflow-item span { color: var(--red); font-size: 12px; font-weight: 900; }
.workflow-item strong { font-size: 19px; }
.workflow-detail { min-height: 82px; margin: 26px 0 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.6; }
.workflow-media { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.workflow-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.workflow-live { position: absolute; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(8,9,11,.72); backdrop-filter: blur(12px); font-size: 13px; font-weight: 800; }
.workflow-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(239,23,35,.16); animation: pulse 1.7s infinite; }

.section-soft { background: #ebece8; }
.process-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: center; }
.process-media { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: 0 22px 70px rgba(17,20,25,.1); }
.process-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
.process-steps { display: grid; gap: 0; margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.process-steps span { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--red); border-radius: 50%; font-size: 13px; font-weight: 900; }
.process-steps strong { font-size: 19px; }
.process-steps p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }

.contact { position: relative; overflow: hidden; color: #fff; background: var(--red); }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 8%, rgba(255,255,255,.2), transparent 34%), linear-gradient(120deg, var(--red), #a80812); }
.contact-glow { position: absolute; right: -180px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.04), 0 0 0 140px rgba(255,255,255,.03); }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: start; }
.contact-copy > p:not(.eyebrow) { max-width: 570px; color: rgba(255,255,255,.78); font-size: 20px; line-height: 1.65; }
.contact-direct { display: grid; gap: 14px; margin-top: 42px; }
.contact-direct a { display: grid; gap: 4px; width: fit-content; }
.contact-direct small { color: rgba(255,255,255,.62); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-direct strong { font-size: 22px; }
.contact-form { display: grid; gap: 16px; padding: 30px; color: var(--ink); background: #fff; border-radius: var(--radius); box-shadow: 0 30px 90px rgba(70,0,7,.25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 8px; color: #353841; font-size: 13px; font-weight: 850; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 15px; color: var(--ink); border: 1px solid #d8dae0; border-radius: 12px; background: #fafaf9; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(239,23,35,.1); }
.button-dark { color: #fff; background: var(--ink); }
.form-note { margin: -4px 0 0; color: #7b7e86; font-size: 12px; }

.site-footer { color: #fff; background: #08090b; }
.footer-main { display: grid; grid-template-columns: 1fr auto auto; gap: 70px; align-items: start; padding: 64px 0 48px; }
.footer-main img { width: 164px; }
.footer-links, .footer-contact { display: grid; gap: 12px; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.64); font-size: 14px; transition: color .2s ease; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 22px 0 28px; color: rgba(255,255,255,.42); border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.footer-bottom div { display: flex; gap: 20px; }
.mobile-actions { display: none; }
.to-top { position: fixed; z-index: 1200; right: 24px; bottom: 24px; width: 48px; height: 48px; color: #fff; border: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.22); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease; }
.to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1.035); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(239,23,35,.28); } 50% { box-shadow: 0 0 0 9px rgba(239,23,35,0); } }

@media (max-width: 1040px) {
  :root { --shell: min(100% - 40px, 900px); }
  .site-header { height: 76px; background: rgba(9,10,12,.84); backdrop-filter: blur(12px); }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 20px; }
  .menu-toggle { display: block; justify-self: end; }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; display: grid; gap: 0; max-height: 0; overflow: hidden; padding-inline: max(20px, calc((100% - 900px) / 2)); background: rgba(9,10,12,.98); transition: max-height .28s ease, padding .28s ease; }
  .main-nav.open { max-height: 420px; padding-block: 12px 22px; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav a::after { display: none; }
  .header-cta { display: none; }
  .hero { min-height: 820px; max-height: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .hero-proof { width: var(--shell); }
  .intro-grid, .system-grid, .workflow-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-grid { gap: 34px; }
  .benefit-rail { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .system-media { min-height: 620px; max-width: 760px; }
  .system-media img { min-height: 620px; }
  .system-copy { max-width: none; }
  .section-top { grid-template-columns: 1fr; gap: 28px; }
  .workflow-media { order: -1; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 2; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 24px); --radius: 16px; }
  body { padding-bottom: 62px; }
  .brand img { width: 136px; }
  .hero { height: auto; min-height: 840px; }
  .hero-media img { object-position: 62% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,6,8,.5), rgba(5,6,8,.92) 65%, rgba(5,6,8,.98)); }
  .hero-grid { min-height: 840px; align-items: end; padding: 124px 0 250px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(48px, 15vw, 67px); line-height: .96; }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-proof { bottom: 14px; grid-template-columns: 1fr; }
  .hero-proof > div { min-height: 68px; grid-template-columns: 38px 1fr; padding: 12px 16px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero-proof > div:last-child { border-bottom: 0; }
  .hero-proof span { display: none; }
  .section { padding: 82px 0; }
  .intro h2, .section-top h2, .system-copy h2, .workflow-copy h2, .process-copy h2, .contact-copy h2 { font-size: 43px; }
  .intro-copy p, .section-top > p, .system-lead, .contact-copy > p:not(.eyebrow) { font-size: 17px; }
  .benefit-rail { grid-template-columns: 1fr; margin-top: 50px; }
  .benefit { min-height: auto; padding: 26px 22px 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit h3 { margin-top: 34px; }
  .system-media { min-height: 560px; }
  .system-media img { min-height: 560px; object-position: center 55%; }
  .system-badge { width: 112px; height: 112px; }
  .system-badge span { font-size: 30px; }
  .use-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .use-card, .use-card-large { grid-row: auto; min-height: 390px; }
  .workflow-grid, .process-grid { gap: 44px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .mobile-actions { position: fixed; z-index: 1800; inset: auto 0 0; display: grid; grid-template-columns: 1fr; min-height: 62px; box-shadow: 0 -12px 30px rgba(0,0,0,.15); }
  .mobile-actions a { display: grid; place-items: center; color: #fff; background: var(--red); font-weight: 900; }
  .to-top { right: 12px; bottom: 76px; }
}

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