/* ALMO — graphite stage, warm-white cards, wide display type, cobalt + orange */
:root {
  --stage: #1a1a1a;
  --stage-2: #222224;
  --card: #faf8f4;
  --card-2: #f1eee7;
  --ink: #1a1a1a;
  --ink-2: #55555a;
  --ink-3: #8b8b90;
  --on-stage: #f4f2ee;
  --on-stage-2: #a6a6ab;
  --rule: #e2ded5;
  --cobalt: #2038e2;
  --orange: #ff5a00;
  --grad: linear-gradient(100deg, #2038e2 0%, #7a3fc9 45%, #ff5a00 100%);
  --display: "Unbounded", system-ui, sans-serif;
  --text: "Manrope", system-ui, sans-serif;
  --r: 22px;
  --gut: clamp(16px, 3vw, 44px);
  --max: 1320px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--stage); color: var(--on-stage); font-family: var(--text); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.cap { font-size: 13px; color: var(--on-stage-2); }
.card .cap { color: var(--ink-3); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- card ---------- */
.card { background: var(--card); color: var(--ink); border-radius: var(--r); padding: clamp(24px, 4.4vw, 64px); position: relative; overflow: hidden; }

/* ---------- interlude (between cards, on the stage) ---------- */
.inter { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; padding: clamp(56px, 8vw, 104px) 0 clamp(28px, 4vw, 44px); }
.inter .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; font-size: 13px; color: var(--on-stage-2); }
.inter h2 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -.02em; }
.inter p { color: var(--on-stage-2); max-width: 56ch; font-size: 17px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-or { background: var(--orange); color: #fff; box-shadow: 0 10px 28px -10px rgba(255, 90, 0, .7); }
.btn-or:hover { box-shadow: 0 14px 34px -10px rgba(255, 90, 0, .85); }
.btn-ln { border: 1.5px solid currentColor; }
.arrow { display: inline-block; transition: transform .2s; }
a:hover .arrow { transform: translate(3px, -3px); }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 3; }
.logo { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 10px; }
.logo i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.nav .links { display: flex; gap: 30px; font-size: 15px; }
.nav .links a { color: var(--ink-2); transition: color .15s; }
.nav .links a:hover { color: var(--ink); }
.lang { position: relative; font-size: 13px; }
.lang summary { list-style: none; cursor: pointer; padding: 7px 12px; border-radius: 10px; border: 1.5px solid var(--rule); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.lang[open] summary { background: var(--ink); color: var(--card); border-color: var(--ink); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; background: #fff; color: var(--ink); border-radius: 14px; padding: 8px; min-width: 200px; display: grid; box-shadow: 0 24px 48px -18px rgba(0,0,0,.45); }
.lang-menu a { display: flex; gap: 12px; align-items: baseline; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.lang-menu a b { width: 22px; font-size: 11px; color: var(--ink-3); }
.lang-menu a:hover { background: var(--card-2); }
.lang-menu a.on { background: var(--ink); color: var(--card); }
.lang-menu a.on b { color: var(--on-stage-2); }
.lang-menu a.all { justify-content: center; color: var(--ink-3); border-top: 1px solid var(--rule); border-radius: 0 0 8px 8px; margin-top: 4px; }
.burger { display: none; background: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; }

/* ---------- hero ---------- */
.hero { padding-bottom: clamp(24px, 4vw, 48px); background: radial-gradient(120% 90% at 85% 10%, #ffe9db 0%, rgba(255,233,219,0) 55%), radial-gradient(90% 70% at 0% 100%, #e3e7ff 0%, rgba(227,231,255,0) 60%), var(--card); }
.hero-word { font-family: var(--display); font-weight: 800; font-size: clamp(72px, 20.5vw, 290px); line-height: .84; letter-spacing: -.06em; color: var(--cobalt); margin: clamp(28px, 4vw, 52px) 0 0 -.04em; user-select: none; }
.hero-shot { height: auto; position: absolute; z-index: 2; right: clamp(20px, 3.4vw, 52px); top: clamp(240px, 24vw, 340px); width: min(48%, 640px); border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(26, 26, 26, .55); transform: rotate(-2.5deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hero:hover .hero-shot { transform: rotate(-1deg) translateY(-6px); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 44%) 1fr; gap: 32px; align-items: end; margin-top: clamp(28px, 3vw, 44px); position: relative; z-index: 3; min-height: clamp(200px, 22vw, 300px); }
.hero-bottom .left { display: grid; gap: 14px; align-content: end; }
.hero-bottom .tag { font-weight: 700; font-size: 14px; color: var(--cobalt); letter-spacing: .02em; }
.hero-bottom h1 { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; letter-spacing: -.01em; }
.hero-bottom p { color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 6px; }
.link-u { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); }
.link-u:hover { color: var(--ink); }

/* ---------- index ---------- */
.idx { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.idx h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 18px; }
.idx-list { border-top: 1px solid var(--rule); }
.idx-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 14px 10px; border-bottom: 1px solid var(--rule); cursor: pointer; border-radius: 12px; transition: background .15s, color .15s, padding .2s; }
.idx-row .n { font-family: var(--display); font-size: 13px; color: var(--ink-3); }
.idx-row .q { font-weight: 600; }
.idx-row .t { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--card-2); color: var(--ink-2); }
.idx-row:hover { background: var(--card-2); }
.idx-row.on { background: var(--ink); color: var(--card); padding-left: 16px; }
.idx-row.on .n { color: var(--orange); }
.idx-row.on .t { background: var(--cobalt); color: #fff; }
.idx-view { position: sticky; top: 24px; }
.idx-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--stage); box-shadow: 0 30px 60px -30px rgba(26,26,26,.45); }
.idx-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.02); transition: opacity .35s, transform .6s; }
.idx-frame img.on { opacity: 1; transform: none; }
.idx-cap { margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; }
.idx-cap p { color: var(--ink-2); max-width: 60ch; }

/* ---------- product cards ---------- */
.prod-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.prod-head h3 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); }
.prod-head p { max-width: 44ch; color: var(--ink-2); font-size: 15px; }
.prods { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prod { background: radial-gradient(120% 120% at 100% 0%, #2a2f6a 0%, #121318 55%); color: var(--on-stage); border-radius: 18px; padding: 24px; display: grid; grid-template-columns: .9fr 1.2fr; gap: 18px; align-items: end; min-height: 300px; overflow: hidden; position: relative; transition: transform .25s; }
.prod:hover { transform: translateY(-4px); }
.prod.wide { grid-column: 1 / -1; background: radial-gradient(120% 140% at 100% 100%, #7a2f10 0%, #121318 55%); }
.prod .txt { display: grid; gap: 8px; position: relative; z-index: 2; }
.prod h4 { font-family: var(--display); font-weight: 600; font-size: 20px; }
.prod .sub { font-size: 12px; color: var(--on-stage-2); }
.prod p { font-size: 14px; color: #cfcfd4; }
.prod .more { font-size: 14px; font-weight: 700; margin-top: 6px; display: inline-flex; gap: 8px; }
.prod .price { color: var(--orange); }
.prod img { border-radius: 10px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); transform: rotate(-3deg) translateY(10px); transition: transform .4s; }
.prod:hover img { transform: rotate(-1deg) translateY(0); }

/* ---------- more than software ---------- */
.mts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.mts .words { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 7vw, 104px); line-height: .98; letter-spacing: -.04em; }
.mts h3 { font-family: var(--display); font-weight: 500; font-size: 26px; margin-bottom: 18px; }
.mts ul { list-style: none; display: grid; gap: 18px; }
.mts li b { display: block; font-size: 17px; }
.mts li span { color: var(--ink-3); font-size: 14px; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.calc h3 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 10px; }
.calc .lead { color: var(--ink-2); margin-bottom: 26px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field .top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.field output { font-family: var(--display); font-size: 14px; color: var(--cobalt); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--card-2); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--cobalt); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(32,56,226,.5); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--cobalt); border: 3px solid #fff; cursor: pointer; }
.out { background: var(--stage); color: var(--on-stage); border-radius: 18px; padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: start; min-width: 0; }
.out .big { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 4.6vw, 64px); line-height: 1; letter-spacing: -.03em; }
.out .big.txt { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; overflow-wrap: break-word; hyphens: auto; } /* words instead of a price */
.out .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.out .g2 div { background: var(--stage-2); border-radius: 12px; padding: 14px; font-size: 13px; color: var(--on-stage-2); }
.out .g2 b { display: block; color: var(--on-stage); font-family: var(--display); font-weight: 500; font-size: 18px; margin-top: 4px; }
.out .f { font-size: 12px; color: var(--on-stage-2); }

/* ---------- case ---------- */
.case { display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px; align-items: stretch; }
.case .stack { display: grid; gap: 12px; }
.case > *, .case .stack > *, .inter > * { min-width: 0; }
.case .blk { background: var(--stage); color: var(--on-stage); border-radius: 16px; padding: 22px; }
.case .blk h4 { font-family: var(--display); font-weight: 500; font-size: 20px; margin-bottom: 8px; }
.case .blk p, .case .blk li { color: #cfcfd4; font-size: 15px; }
.case .blk ul { list-style: none; display: grid; gap: 6px; }
.case .blk li::before { content: "— "; color: var(--orange); }
.case .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.case .facts span { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--stage-2); color: var(--on-stage); }
.case .pic { border-radius: 16px; overflow: hidden; background: radial-gradient(110% 90% at 30% 0%, #2a3cff 0%, #121318 60%); display: grid; place-items: center; padding: 28px; position: relative; }
.case .pic img { border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.case .pic .note { position: absolute; left: 22px; bottom: 18px; font-size: 12px; color: var(--on-stage-2); }

/* ---------- process ---------- */
.proc { display: grid; grid-template-columns: 120px 1fr; gap: clamp(16px, 3vw, 40px); }
.proc .vert { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7vw, 108px); line-height: 1; letter-spacing: -.04em; justify-self: center; }
.zig { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 56px; position: relative; }
.zig .st { border: 1.5px solid var(--rule); border-radius: 16px; padding: 20px; background: #fff; position: relative; transition: border-color .2s, transform .2s; }
.zig .st:hover { border-color: var(--cobalt); transform: translateY(-3px); }
.zig .st:nth-child(odd) { grid-column: 1; }
.zig .st:nth-child(even) { grid-column: 2; margin-top: 56px; }
.zig .st::after { content: ""; position: absolute; top: 50%; width: 56px; height: 1.5px; background: var(--rule); }
.zig .st:nth-child(odd)::after { right: -57px; }
.zig .st:nth-child(even)::after { left: -57px; }
.zig .st:last-child::after { display: none; }
.zig h4 { font-family: var(--display); font-weight: 500; font-size: 18px; margin-bottom: 6px; display: flex; justify-content: space-between; gap: 8px; }
.zig h4 span { color: var(--ink-3); font-size: 13px; }
.zig p { color: var(--ink-2); font-size: 14.5px; }
.zig .pay { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; color: #fff; background: var(--cobalt); padding: 4px 10px; border-radius: 999px; }

/* ---------- ownership ---------- */
.own { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.own > div { border-radius: 16px; padding: 22px; background: var(--card-2); }
.own > div.hl { background: var(--cobalt); color: #fff; }
.own h4 { font-family: var(--display); font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.own p { font-size: 14.5px; color: var(--ink-2); }
.own .hl p { color: #dfe3ff; }
.own .price { font-family: var(--display); font-size: 28px; font-weight: 700; margin: 6px 0; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 64px); }
.contact h2 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 70px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.contact .lead { color: var(--ink-2); margin: 22px 0; max-width: 44ch; }
.contact .slogan { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.chan { border-left: 1px solid var(--rule); padding-left: clamp(16px, 3vw, 44px); }
.chan a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.chan a:last-child { border-bottom: 0; }
.chan b { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); text-transform: uppercase; display: inline-flex; gap: 12px; align-items: center; }
.chan small { color: var(--ink-3); font-size: 13px; grid-row: 1; grid-column: 2; }
.chan span { color: var(--ink-2); font-size: 14px; }
.chan a:hover b { color: var(--cobalt); }
.foot-big { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--ink); padding-top: 22px; }
.status { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-weight: 700; }
.status .dot { display: inline-flex; align-items: center; gap: 10px; }
.status .dot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,90,0,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,90,0,.55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(255,90,0,0); } }
.status small { display: block; font-weight: 400; color: var(--ink-3); margin-left: 22px; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-top: 18px; }
.foot-nav .btn { white-space: nowrap; }
.foot-word { font-family: var(--display); font-weight: 800; font-size: clamp(80px, 15.5vw, 230px); line-height: .82; letter-spacing: -.06em; }
.foot-nav { display: grid; gap: 14px; justify-items: start; font-size: 14px; }
.foot-nav a:not(.btn) { color: var(--ink-2); }
.foot-nav a:not(.btn):hover { color: var(--ink); }
.foot-line { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; border-top: 1px solid var(--ink); padding-top: 16px; font-size: 13px; color: var(--ink-3); }
.foot-line a:hover { color: var(--ink); }
.closing { padding: clamp(56px, 8vw, 104px) 0 clamp(80px, 10vw, 120px); }
.closing h2 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.15; max-width: 22ch; }

/* ---------- mobile bar ---------- */
.mbar { display: none; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .status .dot::before { animation: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav .links { display: none; }
  .nav.open .links { display: grid; position: absolute; top: 44px; right: 0; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); gap: 14px; }
  .burger { display: block; }
  .hero-shot { position: relative; right: auto; top: auto; width: 100%; margin-top: -8vw; transform: rotate(-2deg); }
  .hero:hover .hero-shot { transform: rotate(-1deg); }
  .hero-bottom, .idx, .calc, .case, .mts, .contact, .inter { grid-template-columns: 1fr; }
  .hero-bottom .right { justify-self: start; }
  .idx-view { position: static; order: -1; }
  .prods { grid-template-columns: 1fr; }
  .prod { grid-template-columns: 1fr; }
  .own { grid-template-columns: 1fr; }
  .chan { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .proc { grid-template-columns: 1fr; }
  .proc .vert { writing-mode: horizontal-tb; transform: none; justify-self: start; }
  .zig { grid-template-columns: 1fr; }
  .zig .st:nth-child(even) { grid-column: 1; margin-top: 0; }
  .zig .st::after { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .card { border-radius: 18px; }
  .idx-row { grid-template-columns: 28px 1fr; }
  .idx-row .t { display: none; }
  .out .g2 { grid-template-columns: 1fr; }
  .nav { gap: 12px; }
  .nav .logo { margin-right: auto; }
  .nav .btn-or { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; inset: auto 10px 10px 10px; z-index: 60; }
  .mbar a { padding: 14px; text-align: center; border-radius: 12px; font-weight: 700; background: var(--card); color: var(--ink); }
  .mbar a:first-child { background: var(--orange); color: #fff; }
  .closing { padding-bottom: 110px; }
}
