:root {
  --ink: #17181b;
  --ink-2: #2a2b2f;
  --text: #2c2d31;
  --muted: #5d6068;
  --line: #e8e2d8;
  --paper: #ffffff;
  --sand: #faf6ef;
  --coral: #de785d;
  --orange: #e6972f;
  --gold: #eebf4f;
  --orange-ink: #a85f0c;
  --grad: linear-gradient(100deg, #de785d 0%, #e6972f 52%, #eebf4f 100%);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(23, 24, 27, .05), 0 8px 28px rgba(23, 24, 27, .07);
  --head: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.eyebrow { font-family: var(--head); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
.eyebrow-light { color: var(--gold); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: .95rem; text-decoration: none; border: 0; border-radius: 999px; padding: 14px 26px; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-grad { background: var(--grad); color: var(--ink); box-shadow: 0 6px 20px rgba(230, 151, 47, .35); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { font: 600 .75rem var(--head); letter-spacing: .04em; border: 0; background: none; color: var(--muted); padding: 6px 9px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 14, 16, .9) 0%, rgba(14, 14, 16, .72) 42%, rgba(14, 14, 16, .15) 80%), linear-gradient(0deg, rgba(14, 14, 16, .85) 0%, rgba(14, 14, 16, 0) 45%); }
.hero-inner { position: relative; padding: 120px 0 56px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 700; max-width: 13ch; margin-bottom: 22px; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 58ch; color: rgba(255, 255, 255, .86); margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 980px; }
.hero-facts li { border-top: 2px solid; border-image: var(--grad) 1; padding-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.hero-facts strong { font-family: var(--head); font-size: 1.15rem; color: #fff; }
.hero-facts span { font-size: .95rem; color: rgba(255, 255, 255, .72); }

/* sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.sand { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.intro { font-size: 1.15rem; color: var(--muted); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow); }
.card-num { display: inline-block; font: 700 .85rem var(--head); color: var(--ink); background: var(--grad); border-radius: 8px; padding: 5px 9px; margin-bottom: 20px; }
.card p { color: var(--muted); margin: 0; }

.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sol { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.sol:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sol img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; background: var(--sand); }
.sol-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.sub { font: 600 .74rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 8px; }
.sol p { color: var(--muted); font-size: 1rem; }
.tags { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .82rem; font-weight: 600; color: var(--ink-2); background: var(--sand); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }

/* technology */
.dark { background: radial-gradient(1200px 500px at 85% 0%, rgba(230, 151, 47, .14), transparent 60%), var(--ink); color: rgba(255, 255, 255, .78); }
.dark h2, .dark h3 { color: #fff; }
.dark .intro { color: rgba(255, 255, 255, .7); }
.tech-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.pillars { display: grid; gap: 18px; }
.pillar { display: flex; gap: 20px; padding: 26px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.pillar-num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: var(--ink); font: 700 1.1rem var(--head); display: grid; place-items: center; }
.pillar p { margin: 0; font-size: 1rem; }
.diagram { margin: 0; text-align: center; }
.diagram svg { width: 100%; max-width: 440px; height: auto; margin-inline: auto; }
.dg-node circle { fill: #222327; stroke: rgba(238, 191, 79, .7); stroke-width: 1.5; }
.dg-node text { fill: #fff; font: 600 11px var(--head); }
.dg-core { fill: var(--ink); font: 700 15px var(--head); }
.dg-core-sub { fill: var(--ink); font: 600 11px var(--head); }
.diagram figcaption { font-size: .9rem; color: rgba(255, 255, 255, .6); margin-top: 10px; }
.sys-title { margin: 80px 0 24px; font-size: 1.35rem; }
.sys-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.sys-grid li { background: var(--ink); padding: 24px 22px; display: flex; flex-direction: column; gap: 4px; }
.sys-grid strong { font-family: var(--head); color: #fff; font-size: 1rem; }
.sys-grid span { font-size: .93rem; color: rgba(255, 255, 255, .65); }

/* how */
.steps { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 11px; left: 12px; right: 12px; height: 2px; background: linear-gradient(90deg, var(--coral), var(--gold)); opacity: .5; }
.steps li { position: relative; counter-increment: step; }
.step-dot { display: block; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--orange); margin-bottom: 22px; position: relative; }
.steps h3::before { content: "0" counter(step) "  "; color: var(--orange-ink); white-space: pre; }
.steps p { color: var(--muted); font-size: 1rem; }
.models { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 36px; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); }
.models p { margin: 0; color: var(--muted); max-width: 70ch; }

/* about */
.about { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: start; }
.about-text p { color: var(--muted); }
.facts { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 28px; position: relative; overflow: hidden; }
.facts::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font: 600 .74rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }

/* contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list span { font: 600 .74rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list strong { font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--orange-ink); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 34px; display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.form input, .form select, .form textarea { font: 400 1rem var(--body); color: var(--text); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; width: 100%; transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(230, 151, 47, .18); }
.form .invalid { border-color: #c2412d; }
.form .check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; color: var(--muted); font-size: .9rem; }
.form .check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--orange); }
.form .check a { color: var(--orange-ink); }
.form .check.invalid span { color: #c2412d; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #1f7a4a; font-weight: 600; }
.form-status.err { color: #c2412d; }

/* footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .65); padding: 56px 0 40px; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; align-items: start; }
.logo-plate { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.logo-plate img { height: 45px; width: auto; }
.footer-nav { display: grid; gap: 8px; }
.footer-nav a, .footer-legal a { text-decoration: none; color: rgba(255, 255, 255, .8); }
.footer-nav a:hover, .footer-legal a:hover { color: var(--gold); }
.footer-legal p { margin: 0 0 6px; }

/* privacy dialog */
.privacy { max-width: 680px; width: calc(100% - 32px); border: 0; border-radius: 18px; padding: 36px; color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.privacy::backdrop { background: rgba(14, 14, 16, .6); }
.privacy h2 { font-size: 1.6rem; }
.privacy p { font-size: .98rem; color: var(--muted); }
.privacy strong { color: var(--ink); }
.privacy .close { position: absolute; top: 14px; right: 16px; border: 0; background: var(--sand); width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* responsive */
@media (max-width: 1080px) {
  .header-cta { display: none; }
  .nav { gap: 18px; }
  .sys-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .menu-toggle { display: flex; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 18px; display: none; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:last-child { border-bottom: 0; }
  .header-tools { margin-left: auto; }
  .cards-3, .sol-grid { grid-template-columns: 1fr 1fr; }
  .tech-layout, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 66px; gap: 12px; }
  .nav { top: 66px; }
  html { scroll-padding-top: 72px; }
  .brand img { height: 38px; }
  .lang button { padding: 5px 7px; }
  .hero { min-height: auto; }
  .hero-shade { background: linear-gradient(180deg, rgba(14, 14, 16, .55) 0%, rgba(14, 14, 16, .78) 45%, rgba(14, 14, 16, .92) 100%); }
  .hero-inner { padding: 96px 0 44px; }
  .hero-ctas { margin-bottom: 44px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: 1fr; gap: 18px; }
  .cards-3, .sol-grid, .steps, .sys-grid { grid-template-columns: 1fr; }
  .models { flex-direction: column; align-items: flex-start; padding: 26px; }
  .form { padding: 22px; }
  .form .row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .privacy { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}