/* Mariave — style.css */
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --bg-2: #F6F6F4;
  --bg-3: #EFEFEC;
  --ink: #0F0F12;
  --ink-2: #55555E;
  --muted: #8B8B93;
  --line: #E8E8E5;
  --dark: #0F0F12;
  --dark-2: #1A1A1F;
  --on-dark: #F5F5F3;
  --on-dark-2: #A1A1AA;
  --ok: #1F8A4C;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 68px;
  --r-lg: 12px;
  --r-md: 8px;
  --shadow: 0 1px 2px rgba(15,15,18,.04), 0 12px 32px -12px rgba(15,15,18,.16);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; font-feature-settings: "cv11", "ss01"; }
img, video { display: block; max-width: 100%; height: auto; }
.nw { white-space: nowrap; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h1, .h2 { font-weight: 600; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.h1 { font-size: clamp(38px, 4.5vw, 60px); line-height: 1.03; }
.h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.06; }
.h1 em, .h2 em { font-style: normal; color: var(--muted); }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 14px; letter-spacing: .01em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 6px; font: 500 15px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }

.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #26262C; }
.btn-ghost, .btn-line { color: var(--ink); background: transparent; border-color: var(--line); }
.btn-ghost:hover, .btn-line:hover { background: var(--bg-2); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255,255,255,.78); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 26px; width: auto; }
.brand-word { font-size: 12px; font-weight: 500; letter-spacing: .42em; margin-right: -.42em; }
.brand-rule { display: none; }
.nav { display: flex; gap: 32px; }
.nav a { font-size: 14px; font-weight: 450; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; }
.lang button { border: 0; background: transparent; font: 500 12px/1 var(--sans); color: var(--muted); padding: 7px 8px; border-radius: 4px; cursor: pointer; transition: color .2s, background .2s; }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fff; position: relative; cursor: pointer; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-toggle span:first-child { top: 16px; } .menu-toggle span:last-child { top: 22px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { display: grid; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-size: 20px; font-weight: 500; letter-spacing: -.02em; padding: 14px 0; text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px)); background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; padding-bottom: clamp(56px, 7vw, 88px); }



.hero .h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 28px; font-size: 14px; color: var(--ink-2); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); margin-right: 14px; }

/* stage — everything scales with its width (cqw) */
.stage { position: relative; aspect-ratio: 1.18 / 1; container-type: inline-size; }
.hx { position: absolute; background: #fff; border-radius: 1cqw; box-shadow: 0 0 0 1px rgba(15,15,18,.07), 0 2.4cqw 6cqw -2.4cqw rgba(15,15,18,.28); overflow: hidden; }

.bbar { display: flex; align-items: center; gap: .9cqw; height: 4.2cqw; padding: 0 1.6cqw; background: #F4F4F2; border-bottom: 1px solid var(--line); }
.bbar i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #D7D7D3; }
.bbar span { margin-left: 1.6cqw; font-size: 1.25cqw; color: var(--muted); background: #fff; border-radius: .7cqw; padding: .35cqw 1.6cqw; min-width: 30%; }

.hx-browser { left: 0; top: 4%; width: 80%; animation-delay: -1s; }
.ms-nav { display: flex; align-items: center; gap: 2.4cqw; padding: 2cqw 3cqw; font-size: 1.2cqw; color: var(--ink-2); }
.ms-nav b { font-size: 1.4cqw; letter-spacing: .3em; color: var(--ink); margin-right: auto; font-weight: 600; }
.ms-nav em { font-style: normal; color: var(--ink); }
.ms-hero { display: grid; grid-template-columns: 1fr 1fr; height: 38cqw; }
.ms-copy { padding: 3.6cqw 3cqw; display: flex; flex-direction: column; align-items: flex-start; gap: 1.6cqw; }
.ms-copy small { font-size: 1.1cqw; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ms-copy strong { font-family: var(--serif); font-weight: 400; font-size: 5.6cqw; line-height: .98; letter-spacing: -.02em; }
.ms-copy p { font-size: 1.3cqw; color: var(--ink-2); line-height: 1.5; max-width: 22cqw; }
.ms-btn { margin-top: .6cqw; font-size: 1.2cqw; font-weight: 500; color: #fff; background: var(--ink); border-radius: .4cqw; padding: 1cqw 2.2cqw; }
.ms-hero img { width: 100%; height: 100%; object-fit: cover; }

.hx-phone { right: 0; top: 23%; width: 27%; aspect-ratio: 9 / 19; border-radius: 3.6cqw; border: .8cqw solid var(--ink); padding: 1.4cqw; display: flex; flex-direction: column; gap: 1.2cqw; animation-delay: -3s; }
.ph-notch { position: absolute; top: .9cqw; left: 50%; width: 8cqw; height: 2cqw; margin-left: -4cqw; background: var(--ink); border-radius: 999px; }
.ph-top { margin-top: 3.2cqw; display: flex; justify-content: space-between; font-size: 1.7cqw; font-weight: 600; letter-spacing: -.02em; }
.ph-top span { font-weight: 400; }
.ph-card { position: relative; aspect-ratio: 1 / 1.08; border-radius: 1cqw; overflow: hidden; background: var(--bg-2); }
.ph-card img { width: 100%; height: 100%; object-fit: cover; }
.ph-tag { position: absolute; left: 1cqw; top: 1cqw; font-size: 1cqw; font-weight: 600; background: #fff; border-radius: .3cqw; padding: .4cqw 1cqw; }
.ph-info { display: flex; justify-content: space-between; font-size: 1.35cqw; }
.ph-info b { font-weight: 600; } .ph-info span { color: var(--ink-2); }
.ph-chips { display: flex; gap: .7cqw; }
.ph-chips span { flex: 1; text-align: center; font-size: 1.1cqw; padding: .6cqw 0; border: 1px solid var(--line); border-radius: .3cqw; }
.ph-chips .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ph-cta { margin-top: auto; text-align: center; font-size: 1.3cqw; font-weight: 500; background: var(--ink); color: #fff; border-radius: .6cqw; padding: 1.3cqw; }

.hx-code { left: -2%; top: 51%; width: 50%; background: #121216; color: #E4E4E7; animation-delay: -5s; }
.hx-code .bbar { background: #1B1B21; border-color: #26262D; }
.hx-code .bbar i { background: #3A3A42; }
.hx-code .bbar span { background: #26262D; color: #8B8B93; }
.hx-code pre { padding: 2cqw 2.4cqw 2.4cqw; font: 1.35cqw/1.75 var(--mono); white-space: pre; }
.hx-code .k { color: #C4B5FD; font-weight: 400; } .hx-code .t { color: #FCD34D; font-weight: 400; } .hx-code .f { color: #86EFAC; font-weight: 400; }
.hx-code .ln { display: inline; }
.caret { display: inline-block; width: .6cqw; height: 1.6cqw; margin-left: .3cqw; vertical-align: -.25cqw; background: #E4E4E7; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hx-ai { right: 5%; top: 0; width: 33%; padding: 1.8cqw; animation-delay: -2s; }
.ai-head { display: flex; align-items: center; gap: .8cqw; font-size: 1.35cqw; font-weight: 600; letter-spacing: -.01em; }
.ai-bar { height: .5cqw; margin: 1.4cqw 0; background: var(--bg-3); border-radius: 0; overflow: hidden; }
.ai-bar span { display: block; height: 100%; width: 0; background: var(--ink); border-radius: inherit; animation: gen 4.5s var(--ease) infinite; }
@keyframes gen { 0% { width: 0; } 70%, 100% { width: 100%; } }
.ai-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8cqw; }
.ai-thumbs img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: .4cqw; }



/* ---------- sections ---------- */
.section { padding: clamp(80px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-2); }
.head { display: grid; grid-template-columns: 1fr; margin-bottom: clamp(36px, 4.5vw, 56px); max-width: 880px; }
.head-lead { margin-top: 16px; font-size: 17px; color: var(--ink-2); max-width: 36em; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cell { grid-column: span 2; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid #EDEDEA; border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.cell:hover { border-color: #DCDCD8; }
.c-software { grid-column: span 4; }
.c-auto, .c-brand { grid-column: span 3; }
.vis { position: relative; height: 248px; overflow: hidden; }
.txt { padding: 20px 24px 24px; }
.txt h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.txt p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.more { margin-top: 28px; text-align: center; color: var(--ink-2); font-size: 15px; }
.more a { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }

.win { background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(15,15,18,.06), 0 16px 40px -18px rgba(15,15,18,.3); overflow: hidden; }

/* dashboard */
.ui-dash { position: absolute; left: 28px; top: 28px; right: -24px; bottom: -24px; display: grid; grid-template-columns: 56px 1fr; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(15,15,18,.06), 0 16px 40px -18px rgba(15,15,18,.3); overflow: hidden; }
.ui-dash aside { background: #FAFAF9; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; }
.ui-dash aside img { width: 26px; height: auto; margin-bottom: 8px; }
.ui-dash aside i { width: 24px; height: 6px; border-radius: 3px; background: #E3E3E0; }
.ui-dash aside i.on { background: var(--ink); }
.d-main { padding: 16px 20px; }
.d-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; margin-bottom: 12px; }
.d-top b { font-weight: 600; } .d-top span { color: var(--muted); font-size: 12px; }
.d-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.d-kpis div { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; display: grid; gap: 2px; }
.d-kpis small { font-size: 11px; color: var(--muted); }
.d-kpis b { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.d-kpis em { font-style: normal; font-size: 11px; color: var(--ok); font-weight: 500; }
.d-chart { display: flex; align-items: flex-end; gap: 7px; height: 92px; margin-top: 14px; }
.d-chart i { flex: 1; height: var(--h); background: #E4E4E0; border-radius: 2px 2px 0 0; transform-origin: bottom; transform: scaleY(.05); transition: transform 1s var(--ease); }
.d-chart i:nth-child(n+10) { background: var(--ink); }
.cell.in .d-chart i { transform: none; }
.d-chart i:nth-child(2) { transition-delay: .04s } .d-chart i:nth-child(3) { transition-delay: .08s } .d-chart i:nth-child(4) { transition-delay: .12s }
.d-chart i:nth-child(5) { transition-delay: .16s } .d-chart i:nth-child(6) { transition-delay: .2s } .d-chart i:nth-child(7) { transition-delay: .24s }
.d-chart i:nth-child(8) { transition-delay: .28s } .d-chart i:nth-child(9) { transition-delay: .32s } .d-chart i:nth-child(10) { transition-delay: .36s }
.d-chart i:nth-child(11) { transition-delay: .4s } .d-chart i:nth-child(12) { transition-delay: .44s }

/* website */
.ui-web { position: absolute; left: 24px; top: 24px; right: -24px; bottom: -24px; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(15,15,18,.06), 0 16px 40px -18px rgba(15,15,18,.3); overflow: hidden; container-type: inline-size; }
.ui-web .bbar { height: 30px; gap: 6px; padding: 0 12px; }
.ui-web .bbar i { width: 8px; height: 8px; }
.ui-web .bbar span { font-size: 10px; margin-left: 10px; padding: 3px 10px; }
.w-hero { position: relative; height: 100%; }
.w-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.w-copy { position: relative; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.w-copy small { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.w-copy b { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1; letter-spacing: -.02em; max-width: 8em; }
.w-copy span { font-size: 11px; font-weight: 500; background: var(--ink); color: #fff; border-radius: 4px; padding: 6px 14px; margin-top: 4px; }

/* phones */
.ui-phones { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; padding-top: 26px; }
.mph { width: 124px; height: 252px; background: #fff; border: 5px solid var(--ink); border-radius: 20px; padding: 10px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 18px 40px -18px rgba(15,15,18,.4); position: relative; z-index: 2; transform: rotate(4deg) translateX(18px); }
.mph.back { z-index: 1; transform: rotate(-8deg) translate(26px, 14px); background: #fff; }
.mph-img { height: 124px; border-radius: 6px; overflow: hidden; background: var(--bg-2); }
.mph-img img { width: 100%; height: 100%; object-fit: cover; }
.mph b { font-size: 11px; font-weight: 600; } .mph span { font-size: 10px; color: var(--ink-2); }
.mph i { font-style: normal; margin-top: auto; text-align: center; font-size: 9.5px; font-weight: 500; background: var(--ink); color: #fff; border-radius: 4px; padding: 7px; }
.mph .r { height: 26px; border-radius: 4px; background: var(--bg-2); }
.mph .r.s { width: 60%; }
.mph .btnx { margin-top: auto; height: 26px; border-radius: 4px; background: var(--bg-3); }

/* video */
.ui-video { position: absolute; left: 24px; right: 24px; top: 24px; background: #121216; border-radius: 8px; overflow: hidden; box-shadow: 0 16px 40px -18px rgba(15,15,18,.45); }
.v-screen { position: relative; aspect-ratio: 16 / 9; background: #222; }
.v-screen video { width: 100%; height: 100%; object-fit: cover; }
.v-rec { position: absolute; left: 10px; top: 10px; font-size: 9.5px; font-weight: 600; letter-spacing: .08em; color: #fff; background: rgba(0,0,0,.45); border-radius: 3px; padding: 4px 8px 4px 18px; }
.v-rec::before { content: ""; position: absolute; left: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #EF4444; }
.v-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: #fff; font-size: 11px; }
.v-play { font-size: 10px; }
.v-time { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.v-time i { display: block; height: 100%; width: 40%; background: #fff; animation: vt 8s linear infinite; }
@keyframes vt { from { width: 0; } to { width: 100%; } }
.v-bar small { color: #A1A1AA; font-size: 10.5px; }

/* AI photo */
.ui-gen { position: absolute; inset: 22px 22px auto; }
.g-prompt { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 6px; padding: 6px 6px 6px 12px; box-shadow: 0 0 0 1px rgba(15,15,18,.06), 0 8px 24px -12px rgba(15,15,18,.3); font-size: 12px; }
.g-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.g-prompt b { font-size: 11px; font-weight: 500; background: var(--ink); color: #fff; border-radius: 4px; padding: 6px 12px; }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.g-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }

/* chat */
.ui-chat { position: absolute; left: 50%; top: 24px; width: min(360px, calc(100% - 48px)); transform: translateX(-50%); background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(15,15,18,.06), 0 16px 40px -18px rgba(15,15,18,.3); padding-bottom: 12px; }
.c-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.c-head b { font-weight: 600; } .c-head small { color: var(--muted); font-size: 11px; margin-left: auto; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22A55B; }
.c-msg { font-size: 12.5px; line-height: 1.45; padding: 8px 12px; border-radius: 8px; max-width: 78%; margin: 10px 14px 0; }
.c-msg.you { background: var(--bg-2); margin-left: auto; }
.c-msg.ai { background: var(--ink); color: #fff; }
.c-typing { display: inline-flex; gap: 4px; margin: 10px 14px 0; padding: 10px 12px; background: var(--bg-2); border-radius: 8px; }
.c-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.c-typing i:nth-child(2) { animation-delay: .15s; } .c-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }

/* brand */
.ui-brand { position: absolute; inset: 28px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; }
.ui-brand > div { background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(15,15,18,.06), 0 12px 30px -18px rgba(15,15,18,.3); display: flex; align-items: center; justify-content: center; }
.b-logo img { width: 72px; height: auto; }
.b-type { flex-direction: column; gap: 6px; }
.b-type span { font-family: var(--serif); font-size: 56px; line-height: 1; }
.b-type small { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.4; }
.b-sw { display: grid !important; grid-template-columns: 1fr 1fr; padding: 10px; gap: 8px; }
.b-sw { grid-template-rows: 1fr 1fr; align-items: stretch !important; justify-content: stretch !important; }
.b-sw i { display: block; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(15,15,18,.08); }

/* ---------- case ---------- */
.case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid #EDEDEA; border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); }
.case-meta { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.case-meta span + span::before { content: "·"; margin-right: 10px; }
.case h3 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.035em; margin-bottom: 12px; }
.case p { color: var(--ink-2); font-size: 16px; margin-bottom: 22px; }
.case-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 28px; font-size: 14.5px; }
.case-list li { display: flex; gap: 10px; align-items: flex-start; }
.case-list li::before { content: ""; flex: none; width: 10px; height: 1px; margin-top: .8em; background: var(--ink); }
.case-shot { border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px rgba(15,15,18,.08), 0 30px 60px -30px rgba(15,15,18,.45); }
.case-shot .bbar { height: 32px; gap: 6px; padding: 0 12px; }
.case-shot .bbar i { width: 9px; height: 9px; }
.case-shot .bbar span { font-size: 11px; padding: 3px 12px; margin-left: 10px; }
.case-shot img { width: 100%; height: auto; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--bg-2); border: 1px solid #EDEDEA; border-radius: var(--r-lg); padding: 26px 24px 28px; }
.step-n { font-size: 13px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin: 14px 0 6px; }
.steps p { font-size: 15px; color: var(--ink-2); }

/* ---------- contact ---------- */
.contact { background: var(--dark); color: var(--on-dark); padding: clamp(80px, 9vw, 120px) 0; position: relative; overflow: hidden; }

.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact .eyebrow { color: var(--on-dark-2); }
.contact .h2 { color: #fff; }
.contact .lead { color: var(--on-dark-2); margin: 18px 0 30px; }
.next { display: grid; gap: 14px; margin-bottom: 34px; }
.next li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: #E4E4E7; }
.next li span:first-child { font-size: 13px; font-weight: 500; color: var(--on-dark-2); min-width: 14px; font-variant-numeric: tabular-nums; }
.mail { font-size: 17px; font-weight: 500; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; transition: border-color .2s; }
.mail:hover { border-color: #fff; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.field { display: grid; gap: 6px; }
.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; font: 400 15px/1.4 var(--sans); color: var(--ink); background: #FAFAF9; border: 1px solid var(--line); border-radius: 6px; padding: 11px 13px; transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%230F0F12' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; padding-right: 34px; cursor: pointer; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(15,15,18,.08); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #C2410C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.form-foot { display: grid; gap: 10px; }
.form-status { font-size: 14px; color: var(--ink-2); min-height: 1px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #C2410C; }
.form.sending button { opacity: .6; pointer-events: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-2); border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand img { height: 22px; width: auto; }
.footer-legal { letter-spacing: .01em; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .nav { gap: 22px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { max-width: 680px; }
  .stage { max-width: 760px; width: 100%; margin: 8px auto 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell, .c-auto, .c-brand { grid-column: span 1; }
  .c-software { grid-column: 1 / -1; }
  .case, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .brand-word { display: none; }
  .hero-ctas .btn { flex: 1 1 auto; }
    .bento, .steps { grid-template-columns: 1fr; }
  .c-software { grid-column: auto; }
  .vis { height: 230px; }
  .ui-dash { grid-template-columns: 44px 1fr; left: 18px; top: 18px; }
  .d-kpis { grid-template-columns: 1fr 1fr; }
  .d-kpis div:nth-child(3) { display: none; }
  .case-list { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .d-chart i { transform: none; }
  }
