:root {
  --ink: #141714;
  --paper: #f3efe5;
  --acid: #c8f85a;
  --blue: #4357e8;
  --orange: #ff6b3d;
  --line: rgba(20, 23, 20, .18);
  --muted: #66695f;
  --restaurant-ink: #241a16;
  --restaurant-paper: #f5eee8;
  --restaurant-coral: #ee493e;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}


*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--acid); outline-offset: 4px; }
::selection { background: var(--ink); color: var(--acid); }

.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .75rem 1rem; border-radius: 99px; background: var(--ink); color: white; transform: translateY(-180%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.page { position: relative; isolation: isolate; }
.page::before { content: ""; position: fixed; z-index: -2; inset: 0; background-image: linear-gradient(to right, rgba(20,23,20,.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(20,23,20,.045) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 86%); }

.nav { width: min(100% - 3rem, 1480px); min-height: 88px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { text-decoration: none; font-weight: 950; font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -.025em; }
.nav-meta { display: flex; align-items: center; gap: 1rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.status { display: flex; align-items: center; gap: .55rem; }
.status::before { content: ""; width: .6rem; height: .6rem; border: 1px solid var(--ink); border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(200,248,90,.28); }
.language { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid; border-radius: 50%; text-decoration: none; transition: .2s ease; }
.language:hover { background: var(--ink); color: var(--paper); transform: rotate(-8deg); }

.eyebrow, .section-kicker, .metric-label, .phone-eyebrow { margin: 0; font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .8rem; }
.eyebrow::before { content: ""; width: 2.8rem; height: 2px; background: currentColor; }
.studio-hero { width: min(100% - 3rem, 1480px); min-height: calc(100svh - 88px); margin: auto; padding: clamp(3.5rem, 8vw, 8rem) 0 3rem; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .55fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); }
.studio-hero h1 { max-width: 10ch; margin: 1.6rem 0 2rem; font-size: clamp(4.6rem, 9.4vw, 10rem); line-height: 1.04; letter-spacing: -.025em; font-weight: 800; }
.locale-ru .studio-hero h1 { max-width: 11ch; font-size: clamp(4rem, 8vw, 8.6rem); line-height: 1.04; letter-spacing: -.025em; }
.studio-hero h1 span, .studio-hero h1 em { display: block; }
.studio-hero h1 em { margin-top: .08em; color: var(--blue); letter-spacing: -.025em; font-weight: 700; font-style: normal; }
.intro { max-width: 650px; margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.65rem); line-height: 1.45; letter-spacing: -.025em; }
.hero-foot { max-width: 720px; margin-top: clamp(3rem, 7vw, 6rem); padding-top: 1.25rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); }
.hero-foot p { max-width: 39ch; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.hero-actions { display: flex; flex: none; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; }
.text-link { flex: none; padding: .2rem 0; border: 0; border-bottom: 1px solid; background: transparent; text-decoration: none; cursor: pointer; font-size: .76rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.hero-panel { min-height: 520px; padding: clamp(1.6rem, 3vw, 2.7rem); display: flex; flex-direction: column; justify-content: space-between; background: var(--blue); color: white; border-radius: 2rem; transform: rotate(2deg); box-shadow: 0 28px 70px rgba(20,23,20,.16); }
.hero-panel__index { margin: 0; font-size: clamp(6rem, 13vw, 12rem); line-height: .75; letter-spacing: -.025em; font-weight: 950; }
.hero-panel__copy { max-width: 28ch; margin: 0; font-size: 1rem; line-height: 1.55; }
.hero-panel__tag { align-self: flex-start; margin: 0; padding: .55rem .8rem; border: 1px solid; border-radius: 99px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.studio-categories { margin: 1.4rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.45); }
.studio-categories li { padding: .72rem 0; border-bottom: 1px solid rgba(255,255,255,.45); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.prototype { padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100vw - 1480px) / 2)); background: var(--ink); color: var(--paper); }
.section-head { margin-bottom: clamp(3rem, 6vw, 5.5rem); display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.section-head h2 { max-width: 12ch; margin: .9rem 0 0; font-size: clamp(3.4rem, 7vw, 7.5rem); line-height: 1.04; letter-spacing: -.025em; }
.section-count { margin: 0; color: var(--acid); font-size: clamp(2rem, 4vw, 4.5rem); font-weight: 850; letter-spacing: -.025em; }
.prototype-grid { display: grid; grid-template-columns: minmax(260px, .54fr) minmax(560px, 1fr); gap: clamp(2rem, 7vw, 8rem); align-items: start; }
.prototype-copy { position: sticky; top: 2rem; }
.prototype-copy > p { max-width: 42ch; margin: 0; color: rgba(243,239,229,.72); font-size: 1.05rem; line-height: 1.7; }
.feature-list { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(243,239,229,.22); }
.feature-list li { padding: .9rem 0; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(243,239,229,.22); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.feature-list span:last-child { color: var(--acid); }
.device-stage { min-width: 0; padding: 28px 16px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; background: var(--acid); border-radius: 28px; }
.device-shell { width: 100%; max-width: 393px; aspect-ratio: 393 / 820; border: 8px solid #222; border-radius: 48px; overflow: hidden; display: grid; grid-template-rows: 42px minmax(0, 1fr) 20px; background: #f4eee8; color: #211a17; box-shadow: 0 0 0 2px #777, 0 20px 36px #14171433; }
.device-status { display:flex; align-items:center; justify-content:space-between; padding: 0 22px; position:relative; font: 600 13px/1 system-ui; }
.device-status i { position:absolute; width:96px; height:26px; top:5px; left:50%; transform:translateX(-50%); background:#151515; border-radius:20px; }
.app-runtime { display:block; width:100%; height:100%; min-height:0; border:0; background:#f4eee8; }
.device-home { display:grid; place-items:center; background:#f7eae4; }
.device-home::after { content:""; width:110px; height:4px; border-radius:4px; background:#211a17; }
.runtime-open { color:var(--ink); font-size:14px; line-height:1.4; font-weight:700; text-underline-offset:4px; padding:8px; text-align:center; }
.runtime-hint { color:#374323; max-width:36ch; margin:0; font-size:12px; line-height:1.5; text-align:center; }

.packages { padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100vw - 1480px) / 2)); background: var(--paper); color: var(--ink); }
.packages .section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.packages .section-count { color: var(--blue); }
.package-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(1rem, 2.2vw, 2rem); align-items: stretch; }
.package-card { min-height: 620px; padding: clamp(1.5rem, 3vw, 2.6rem); display: flex; flex-direction: column; gap: 2rem; border: 1px solid var(--ink); border-radius: 2rem; background: rgba(243,239,229,.72); }
.package-card--featured { background: var(--acid); box-shadow: 0 24px 60px rgba(20,23,20,.12); }
.package-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid currentColor; font-size: .7rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.package-card h3 { max-width: 11ch; margin: 0 0 1rem; font-size: clamp(2.3rem, 4.5vw, 4.9rem); line-height: 1.04; letter-spacing: -.025em; }
.package-lead { max-width: 42ch; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.package-card--featured .package-lead { color: rgba(20,23,20,.7); }
.package-price { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.package-price__values { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.package-price s { color: rgba(20,23,20,.58); font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 850; line-height: 1; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
.package-price strong { font-size: clamp(2.5rem, 5.4vw, 6rem); line-height: .82; letter-spacing: -.025em; white-space: nowrap; }
.package-price span { padding-bottom: .25rem; font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.package-breakdown { margin: -1rem 0 0; padding: .8rem 1rem; border: 1px solid rgba(20,23,20,.28); border-radius: 99px; font-size: .76rem; font-weight: 750; line-height: 1.4; text-align: center; }
.package-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.package-list li { padding: .8rem 0; border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.package-note { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.package-card--featured .package-note { color: rgba(20,23,20,.72); }
.package-terms { margin-top: 2rem; padding-top: 1.25rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); }
.package-terms p { max-width: 78ch; margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.65; }

.workflow { width: min(100% - 3rem, 1480px); margin: auto; padding: clamp(6rem, 12vw, 12rem) 0; }
.workflow-grid { display: grid; grid-template-columns: minmax(260px, .45fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 8rem); align-items: start; }
.workflow-title h2 { max-width: 8ch; margin: 1rem 0 1.5rem; font-size: clamp(3.5rem, 7.5vw, 8rem); line-height: 1.06; letter-spacing: -.025em; }
.workflow-title p { max-width: 36ch; margin: 0; color: var(--muted); line-height: 1.65; }
.workflow-board { border-top: 1px solid var(--line); }
.workflow-step { width: 100%; padding: 1.35rem 0; display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left; }
.workflow-step span { color: var(--muted); font-size: .7rem; font-weight: 850; letter-spacing: .1em; }
.workflow-step strong { font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -.025em; }
.workflow-step small { font-size: .7rem; font-weight: 850; text-transform: uppercase; }
.workflow-step[aria-selected="true"] { padding-left: 1rem; padding-right: 1rem; background: var(--blue); color: white; }
.workflow-step[aria-selected="true"] span { color: var(--acid); }
.workflow-detail { min-height: 160px; margin-top: 1rem; padding: 1.4rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; background: var(--acid); }
.workflow-detail p { max-width: 48ch; margin: 0; line-height: 1.6; }
.workflow-detail strong { font-size: 3rem; letter-spacing: -.025em; }

.guardrail { padding: clamp(5rem, 8vw, 8rem) max(1.5rem, calc((100vw - 1480px) / 2)); background: var(--blue); color: white; }
.guardrail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .48fr); gap: clamp(2rem, 7vw, 8rem); align-items: end; }
.guardrail h2 { max-width: 11ch; margin: 1rem 0 0; font-size: clamp(3.2rem, 6.6vw, 7rem); line-height: 1.04; letter-spacing: -.025em; }
.guardrail-copy { padding: 1.5rem; border: 1px solid rgba(255,255,255,.5); border-radius: 1.5rem; }
.guardrail-copy p { margin: 0; font-size: 1rem; line-height: 1.65; }
.guardrail-copy p + p { margin-top: 1rem; color: rgba(255,255,255,.72); }

footer { padding: 2rem max(1.5rem, calc((100vw - 1480px) / 2)); background: var(--orange); }
.footer-inner { min-height: 190px; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.footer-wordmark { margin: 0; font-size: clamp(4rem, 11vw, 11rem); line-height: .72; letter-spacing: .01em; font-kerning: none; font-weight: 950; }
.footer-meta { text-align: right; font-size: .7rem; line-height: 1.65; letter-spacing: .1em; text-transform: uppercase; }
.footer-meta p { margin: 0; }
.footer-links { margin-top: .75rem; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .4rem 1rem; }
.footer-links a { padding-bottom: .12rem; border-bottom: 1px solid; text-decoration: none; }

dialog { width: min(100% - 2rem, 420px); padding: 0; border: 0; border-radius: 1.5rem; background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
dialog::backdrop { background: rgba(20,23,20,.72); }
.dialog-inner { padding: 1.5rem; }
.dialog-inner h2 { margin: .5rem 0 1rem; font-size: 2rem; line-height: .95; letter-spacing: -.025em; }
.dialog-inner p { color: var(--muted); line-height: 1.55; }

@media (max-width: 980px) {
  .studio-hero, .prototype-grid, .workflow-grid, .guardrail-grid { grid-template-columns: 1fr; }
  .package-grid { grid-template-columns: 1fr; }
  .studio-hero { min-height: auto; }
  .hero-panel { min-height: 390px; }
  .prototype-copy { position: static; }
  .device-stage { min-height: 0; }
  .package-card { min-height: 0; }
}

@media (max-width: 620px) {
  .nav, .studio-hero, .workflow { width: min(100% - 2rem, 1480px); }
  .nav { min-height: 72px; }
  .status { display: none; }
  .studio-hero { padding-top: 4rem; }
  .locale-ru .studio-hero h1 { font-size: clamp(2.2rem, 12.4vw, 4.6rem); line-height: 1.08; }
  .studio-hero h1 { font-size: clamp(3.6rem, 18vw, 6rem); }
  .hero-foot, .section-head, .package-terms, .footer-inner { align-items: flex-start; flex-direction: column; }
  .hero-actions { justify-content: flex-start; }
  .hero-panel { min-height: 320px; border-radius: 1.4rem; transform: none; }
  .section-head h2 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .prototype { padding-left: 1rem; padding-right: 1rem; }
  .packages { padding-left: 1rem; padding-right: 1rem; }
  .package-card { padding: 1.35rem; border-radius: 1.4rem; }
  .package-card h3 { font-size: clamp(2.3rem, 12vw, 3.5rem); }
  .package-price { align-items: flex-start; flex-direction: column; }
  .package-price strong { font-size: clamp(2.7rem, 13vw, 4.5rem); }
  .package-breakdown { border-radius: 1rem; text-align: left; }
  .device-stage { padding: 20px 8px 16px; border-radius: 1.4rem; }
  .device-shell { border-width: 6px; border-radius: 38px; }
  .workflow-step { grid-template-columns: 2rem minmax(0, 1fr); }
  .workflow-step small { grid-column: 2; }
  .workflow-detail { grid-template-columns: 1fr; }
  .workflow-title h2, .guardrail h2 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .footer-inner { min-height: 150px; }
  .footer-meta { text-align: left; }
  .footer-wordmark { font-size: clamp(2rem, 11vw, 4rem); }
  .footer-links { justify-content: flex-start; }
}

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