/* Indestera website. Dark by default, light on request (header toggle; the choice is kept in the browser).
   Brand: graphite neutrals, Signal Teal for structure and action, Loop Amber only where a person enters the process. */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/inter-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/inter-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("fonts/mono-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("fonts/mono-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokens: dark (default) ---------- */
:root {
  --bg: #080f14; --surface: #0f171d; --surface-2: #12191f; --subtle: #0c1319; --text: #f1f4f6; --muted: #9ca6ae; --dim: #7f8a93; --line: #232d34; --line-2: #3a444b;
  --brand: #00b4bc; --brand-fg: #04080c; --brand-hover: #61ced4; --brand-text: #61ced4; --brand-soft: #002022; --brand-soft-fg: #61ced4;
  --amber: #ffb135; --amber-fg: #ffc964; --amber-dot: #ffb135;
  --band-bg: linear-gradient(160deg, #002022, #080f14 70%); --band-text: #fff; --band-muted: #9ca6ae; --band-line: #004d51;
  --hdr-bg: rgb(8 15 20 / .82); --input-line: #717c84; --danger: #ffaba3; --success-bg: #0d2a18; --success-fg: #93e4a4; --danger-bg: #3a1513;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4); --shadow-md: 0 10px 30px -10px rgb(0 0 0 / .6);
  --screen-shadow: 0 40px 80px -40px rgb(0 0 0 / .8), 0 0 80px -30px rgb(0 180 188 / .25);
  --glow: 1;
  --r: 8px; --r-lg: 12px; --r-xl: 16px;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 32px);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif; --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
/* ---------- tokens: light ---------- */
:root[data-theme="light"] {
  --bg: #f8fafc; --surface: #ffffff; --surface-2: #ffffff; --subtle: #f1f4f6; --text: #12191f; --muted: #555f67; --dim: #646e76; --line: #e2e7eb; --line-2: #cdd5db;
  --brand: #008188; --brand-fg: #ffffff; --brand-hover: #00666c; --brand-text: #00666c; --brand-soft: #e6fafa; --brand-soft-fg: #00666c;
  --amber: #f29b1d; --amber-fg: #954d05; --amber-dot: #ffb135;
  --band-bg: #080f14; --band-text: #fff; --band-muted: #9ca6ae; --band-line: #080f14;
  --hdr-bg: rgb(248 250 252 / .86); --input-line: #869199; --danger: #c2272d; --success-bg: #e8f7ec; --success-fg: #137738; --danger-bg: #fdeeee;
  --shadow-sm: 0 1px 2px rgb(18 25 31 / .06); --shadow-md: 0 4px 12px rgb(18 25 31 / .08), 0 1px 2px rgb(18 25 31 / .05);
  --screen-shadow: 0 30px 60px -30px rgb(18 25 31 / .35), var(--shadow-md);
  --glow: 0;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--font); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.1; letter-spacing: -.025em; font-weight: 600; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.75rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: 1.125rem; letter-spacing: -.01em; line-height: 1.35; }
h1 em, h2 em { font-style: normal; color: var(--brand-text); }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: var(--brand-fg); padding: 10px 16px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; color: var(--brand-fg); }
main { position: relative; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }
.muted { color: var(--muted); }
.ic { width: 20px; height: 20px; flex: none; }
.ic--sm { width: 16px; height: 16px; }

/* backdrop: a quiet glow and grid at the top of the page; only in the dark theme */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--glow); }
.backdrop::before { content: ""; position: absolute; inset: -20% -10% auto; height: 80vh; background: radial-gradient(42% 50% at 72% 10%, rgb(0 180 188 / .16), transparent 70%), radial-gradient(36% 44% at 14% 20%, rgb(146 127 231 / .12), transparent 70%); filter: blur(12px); }
.backdrop::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%); }

/* type helpers */
.label { font: 600 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); margin: 0 0 20px; }
.kicker { font: 600 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.kicker--human { color: var(--amber-fg); }
.kicker--human::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber-dot); margin-right: 8px; vertical-align: 1px; }
.mini { font: 600 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; color: var(--muted); max-width: 58ch; }
.statement { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; max-width: 24ch; margin: clamp(40px, 6vw, 72px) 0 40px; color: var(--text); }
.statement::before { content: ""; display: block; width: 56px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--amber-dot)); margin-bottom: 24px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent; font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .15s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 38px; padding: 7px 14px; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: 13px 24px; font-size: 1rem; }
.btn--primary { background: var(--brand); color: var(--brand-fg); }
.btn--primary:hover { background: var(--brand-hover); color: var(--brand-fg); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { color: var(--text); border-color: var(--text); }
.btn--light { background: #fff; color: #080f14; }
.btn--light:hover { background: #61ced4; color: #080f14; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.more .ic { transition: transform .15s var(--ease); }
.more:hover .ic { transform: translateX(3px); }
.more-row { margin: 32px 0 0; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--hdr-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 1.125rem; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand .mark { width: 30px; height: 30px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: .925rem; }
.nav a:not(.btn):hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav .nav-cta { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 6px; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; cursor: pointer; font: 600 .78rem var(--mono); letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line); background: transparent; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--text); border-color: var(--line-2); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; margin: 0; padding: 6px; list-style: none; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-md); z-index: 60; }
.lang a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r); color: var(--text); text-decoration: none; font-size: .95rem; }
.lang a:hover { background: var(--subtle); color: var(--text); }
.lang a b { font: 600 .7rem var(--mono); padding: 2px 6px; border-radius: 4px; background: var(--subtle); color: var(--muted); }
.lang a[aria-current="true"] b { background: var(--brand-soft); color: var(--brand-soft-fg); }
.theme-btn, .menu-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.theme-btn:hover, .menu-btn:hover { color: var(--text); border-color: var(--line-2); }
.menu-btn { display: none; width: 42px; height: 42px; color: var(--text); }
.ic-close, .ic-sun { display: none; }
:root[data-theme="light"] .ic-sun { display: block; }
:root[data-theme="light"] .ic-moon { display: none; }
.theme-btn .ic { width: 18px; height: 18px; }

/* product screens */
.screen { margin: 0; border-radius: var(--r-xl); border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-md); }
.screen--dark { background: #0b1217; border-color: #232d34; }
.screen-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--subtle); }
.screen--dark .screen-bar { background: #0f171d; border-bottom-color: #232d34; }
:root[data-theme="light"] .screen:not(.screen--dark) .screen-bar { background: #f1f4f6; border-bottom-color: #e2e7eb; }
.screen:not(.screen--dark) { background: #fff; }
.screen:not(.screen--dark) .screen-bar { background: #eef1f4; border-bottom-color: #dfe4e8; }
.screen-dots { display: inline-flex; gap: 6px; }
.screen-dots i { width: 9px; height: 9px; border-radius: 50%; background: #c8d0d6; }
.screen--dark .screen-dots i { background: #3a444b; }
.screen-dots i:nth-child(3) { background: var(--amber-dot) !important; }
.screen-label { font: 500 .72rem var(--mono); letter-spacing: .04em; color: #4d5860; }
.screen--dark .screen-label { color: #9ca6ae; }
.screen-tag { margin-left: auto; font: 500 .62rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #4d5860; padding: 2px 7px; border: 1px solid #c9d0d6; border-radius: 999px; white-space: nowrap; }
.screen--dark .screen-tag { color: #9ca6ae; border-color: #3a444b; }
.screen-body { position: relative; }
.screen-body img { width: 100%; cursor: zoom-in; }
.screen-zoom { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; border: 1px solid #3a444b; background: rgb(8 15 20 / .85); color: #fff; cursor: zoom-in; opacity: 0; transition: opacity .15s; }
.screen:hover .screen-zoom, .screen-zoom:focus-visible { opacity: 1; }
@media (hover: none) { .screen-zoom { opacity: .9; } }
.phone { width: min(240px, 50vw); border-radius: 34px; padding: 8px; background: #12191f; border: 1px solid #3a444b; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .7); position: relative; }
.phone img { border-radius: 27px; }
.phone-notch { position: absolute; top: 14px; left: 50%; width: 64px; height: 16px; margin-left: -32px; border-radius: 10px; background: #12191f; z-index: 1; }

/* sections */
.stories, .trust, .sec, .integ { padding: clamp(72px, 10vw, 140px) 0 0; }
.sec--tight, .stories--tight { padding-top: clamp(32px, 5vw, 64px); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }

/* cards */
.cards { display: grid; gap: 16px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow-sm); }
.card h3 { margin-top: 16px; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.card p.big { color: var(--text); font-size: 1.2rem; line-height: 1.45; }
.card-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-soft-fg); flex: none; }
.card--list ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--text); font-size: .95rem; }
.card--list li { padding-left: 14px; position: relative; }
.card--list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.trust { background: var(--subtle); padding-bottom: clamp(72px, 10vw, 140px); margin-top: clamp(72px, 10vw, 140px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .card { box-shadow: none; background: var(--surface-2); }

/* closing band */
.band { margin-top: clamp(72px, 10vw, 140px); padding: clamp(72px, 10vw, 140px) 0; background: var(--band-bg); color: var(--band-text); border-top: 1px solid var(--band-line); }
.band-inner { text-align: center; }
.band h2 { color: #fff; max-width: 20ch; margin: 0 auto .4em; }
.band p { color: var(--band-muted); font-size: 1.15rem; max-width: 52ch; margin: 0 auto 32px; }
.trust + .band { margin-top: 0; }

/* sub-page hero */
.phero { padding: clamp(56px, 8vw, 110px) 0 clamp(8px, 2vw, 24px); }
.phero h1 { max-width: 17ch; font-size: clamp(2.25rem, 1.3rem + 3.8vw, 4rem); }
.phero--404 { min-height: 60vh; display: grid; align-items: center; text-align: center; }
.phero--404 h1, .phero--404 .lead { margin-inline: auto; }
.toc { margin-top: 36px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 500; }
.toc a:hover { border-color: var(--text); color: var(--text); }

/* security */
.arch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.arch-zone { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 24px; }
.arch-zone--1 { border-style: dashed; }
.arch-zone--2 { border-color: var(--brand); }
.arch-zone h3 { font-size: 1.25rem; margin-bottom: 4px; }
.arch-zone ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.arch-zone li { padding: 10px 12px; border-radius: var(--r); background: var(--subtle); font-size: .95rem; }
.arch-zone--2 li { background: var(--brand-soft); color: var(--brand-soft-fg); }
.arch-note { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; color: var(--muted); font-size: .95rem; }
.arch-note .ic { color: var(--brand-text); margin-top: 4px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.split .sec-head { margin-bottom: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.checks .ic { color: var(--brand-text); margin-top: 3px; }

/* steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: s; position: relative; padding-top: 40px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 600 .78rem var(--mono); color: var(--brand-text); padding: 5px 7px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); }
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.steps--v { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.steps--v li { padding: 0 0 0 46px; }
.steps--v li::before { top: 2px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 40px); scroll-margin-top: 90px; }
.form h2 { font-size: 1.4rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.req { color: var(--danger); margin-left: 3px; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--input-line); background: var(--bg); color: var(--text); font: 400 1rem/1.4 var(--font); transition: border-color .15s, box-shadow .15s; }
.field select option { background: var(--surface-2); color: var(--text); }
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(0 180 188 / .25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; margin: 6px 0 0; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand); }
.field--check label { font-weight: 400; font-size: .92rem; color: var(--muted); margin: 0; }
.field--check .field-error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-hint { color: var(--muted); font-size: .85rem; margin: 0; }
.form-status { margin-top: 16px; }
.form-status:empty { display: none; }
.form-status.is-ok, .form-status.is-err { padding: 14px 16px; border-radius: var(--r); font-weight: 500; }
.form-status.is-ok { background: var(--success-bg); color: var(--success-fg); }
.form-status.is-err { background: var(--danger-bg); color: var(--danger); }
.mailto { margin-top: 18px; padding: 20px; border-radius: var(--r-lg); border: 1px dashed var(--brand); background: var(--brand-soft); }
.mailto h3 { display: flex; gap: 8px; align-items: center; margin-top: 0; }
.mailto p { color: var(--muted); }
.aside { display: grid; gap: 16px; }
.aside h2 { font-size: 1.1rem; letter-spacing: -.01em; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ic { color: var(--brand-text); margin-top: 2px; }
.contact-list span { display: block; font-size: .85rem; color: var(--muted); }
.contact-list a { font-weight: 600; word-break: break-word; }
.contact-list address { font-style: normal; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); color: var(--muted); font-size: .9rem; }
.note .ic { color: var(--brand-text); margin-top: 3px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose p { color: var(--text); }

/* footer */
.ftr { border-top: 1px solid var(--line); padding: 56px 0 24px; font-size: .92rem; background: var(--subtle); }
.band + .ftr { border-top: 0; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.ftr-brand p { color: var(--muted); margin-top: 14px; max-width: 34ch; }
.ftr-langs { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ftr h2 { font: 600 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a:not(.brand) { color: var(--text); text-decoration: none; }
.ftr a:not(.brand):hover { color: var(--brand-text); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.ftr-bottom p { margin: 0; }

/* ---------- hero: word-by-word headline, aurora, tilted live flow ---------- */
.hero { position: relative; isolation: isolate; overflow-x: clip; padding: clamp(48px, 8vw, 112px) 0 0; }
.hero-glow { position: absolute; z-index: -1; inset: -12% -10% auto; height: 820px; pointer-events: none; opacity: var(--glow);
  background: radial-gradient(38% 46% at 72% 18%, rgb(0 180 188 / .22), transparent 70%), radial-gradient(30% 40% at 18% 28%, rgb(146 127 231 / .14), transparent 70%), radial-gradient(24% 32% at 56% 62%, rgb(255 177 53 / .07), transparent 70%);
  filter: blur(24px); animation: aurora 16s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate3d(-5%, 4%, 0) scale(1.1) rotate(4deg); } }
.hero-title { max-width: 16ch; }
.hero-title .w { display: inline-block; }
.motion .hero-title .w { opacity: 0; transform: translateY(.42em); filter: blur(8px); animation: word-in .9s var(--ease) forwards; }
.w1 { animation-delay: .05s; } .w2 { animation-delay: .11s; } .w3 { animation-delay: .17s; } .w4 { animation-delay: .23s; } .w5 { animation-delay: .29s; } .w6 { animation-delay: .35s; }
.w7 { animation-delay: .44s; } .w8 { animation-delay: .5s; } .w9 { animation-delay: .56s; } .w10 { animation-delay: .62s; } .w11 { animation-delay: .68s; } .w12 { animation-delay: .74s; }
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }
.motion .hero-in { opacity: 0; transform: translateY(14px); animation: fade-up .9s var(--ease) .5s forwards; }
.motion .hero-in--2 { animation-delay: .75s; } .motion .hero-in--3 { animation-delay: .9s; } .motion .hero-in--4 { animation-delay: 1.05s; }
@keyframes fade-up { to { opacity: 1; transform: none; } }
.hero .lead { margin-top: 8px; max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.hero-stage { margin-top: clamp(44px, 6vw, 76px); perspective: 1800px; }
.motion .hero-stage .run { transform: rotateX(calc(var(--tilt, 0) * 16deg)) scale(calc(1 - var(--tilt, 0) * .06)); transform-origin: 50% 0; will-change: transform; }

/* ---------- run strip: the real Studio canvas with the flow lighting up ---------- */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.run { margin: 0; }
.run-frame { position: relative; }
.run--hero .run-frame { box-shadow: 0 50px 120px -50px rgb(0 180 188 / .45), var(--screen-shadow); }
.run--hero .run-frame::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 60%, rgb(0 180 188 / .95) 72%, rgb(255 177 53 / .9) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 7s linear infinite; }
@keyframes spin { to { --a: 360deg; } }
.run-live { display: inline-flex; align-items: center; gap: 7px; font: 500 .7rem var(--mono); letter-spacing: .04em; color: #c8d0d6; padding: 2px 9px; border-radius: 999px; background: #12191f; border: 1px solid #232d34; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.run-live i { width: 7px; height: 7px; border-radius: 50%; background: #3a444b; flex: none; }
.run.is-live .run-live i { background: #00b4bc; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.run-btn { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 999px; border: 1px solid #3a444b; background: transparent; color: #c8d0d6; cursor: pointer; }
.run-btn:hover { color: #fff; border-color: #9ca6ae; }
.run-btn .ic-play, .run-btn[aria-pressed="true"] .ic-pause { display: none; }
.run-btn[aria-pressed="true"] .ic-play { display: block; }
.run-view { position: relative; height: clamp(200px, 22vw, 290px); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; background: #0b1217; scrollbar-width: thin; scrollbar-color: #3a444b transparent; }
.run--hero .run-view { height: clamp(230px, 26vw, 330px); }
.run.is-live .run-view { overflow: hidden; }
.run-track { position: relative; height: 100%; width: max-content; transition: transform 1.5s var(--ease); will-change: transform; }
.run-track img { height: 100%; width: auto; max-width: none; }
.run-ov { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.rn { fill: rgb(0 180 188 / .06); stroke: #00b4bc; stroke-width: 2; opacity: 0; transition: opacity .5s var(--ease); }
.rn.on { opacity: 1; filter: drop-shadow(0 0 9px rgb(0 180 188 / .75)); }
.rn.done { opacity: .55; filter: none; }
.rn--h { stroke: #ffb135; fill: rgb(255 177 53 / .1); }
.rn--h.on { filter: drop-shadow(0 0 12px rgb(255 177 53 / .85)); animation: ask 1.1s ease-in-out infinite; }
.rn--h.done { animation: none; opacity: .8; }
@keyframes ask { 50% { stroke-width: 4; } }
.re { fill: none; stroke: #00b4bc; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; opacity: 0; filter: drop-shadow(0 0 4px rgb(0 180 188 / .9)); }
.re.on { opacity: 1; animation: draw .9s var(--ease) forwards; }
.re.done { opacity: .55; stroke-dashoffset: 0; filter: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.run.is-paused * { animation-play-state: paused !important; }
.run-cap { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 10px; }
.run-cap li { position: relative; flex: 1 1 130px; padding: 12px 2px 0 0; border-top: 2px solid var(--line); font-size: .84rem; line-height: 1.35; color: var(--muted); transition: color .3s; }
.run-cap li span { display: block; font: 600 .68rem var(--mono); color: var(--muted); margin-bottom: 4px; }
.run-cap li::before { content: ""; position: absolute; left: 0; top: -2px; width: 0; height: 2px; background: var(--brand); }
.run-cap li.is-on, .run-cap li.done { color: var(--text); }
.run-cap li.done::before { width: 100%; }
.run.is-live .run-cap li.is-on::before { animation: fill 1.8s linear forwards; }
.run.is-live .run-cap li.is-human.is-on::before { animation-duration: 2.8s; }
.run-cap li.is-human span { color: var(--amber-fg); }
.run-cap li.is-human::before { background: var(--amber-dot); }
@keyframes fill { to { width: 100%; } }

/* ---------- platform and connectivity map ---------- */
.pmap-sec { padding: clamp(80px, 11vw, 150px) 0 0; scroll-margin-top: 72px; }
.pmap-sec--tight { padding-top: clamp(48px, 7vw, 96px); }
.pmap { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) clamp(48px, 7vw, 110px) minmax(0, 1.05fr) clamp(48px, 7vw, 110px) minmax(0, .85fr); grid-template-rows: auto 1fr; align-items: stretch; }
.pmap-h { grid-row: 1; margin: 0 0 14px; font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pmap-h--in { grid-column: 1; }
.pmap-h--out { grid-column: 5; }
.pmap-col { grid-row: 2; list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; }
.pmap-in { grid-column: 1; }
.pmap-out { grid-column: 5; }
.pnode { display: flex; align-items: center; gap: 12px; margin: 6px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color .25s, transform .3s var(--ease); }
.pnode:hover { border-color: rgb(0 180 188 / .5); transform: translateX(3px); }
.pnode-ic { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--brand-soft); color: var(--brand-soft-fg); }
.pnode-ic .ic { width: 18px; height: 18px; }
.pnode-txt { display: grid; gap: 6px; min-width: 0; }
.pnode-txt b { font-size: .95rem; font-weight: 600; letter-spacing: -.01em; }
.pnode-sub { font-size: .85rem; color: var(--muted); line-height: 1.35; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chips span { padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-2); font: 500 .68rem/1.5 var(--mono); color: var(--muted); white-space: nowrap; }
.pmap-wires { grid-row: 2; width: 100%; height: 100%; overflow: visible; }
.pmap-wires--in { grid-column: 2; }
.pmap-wires--out { grid-column: 4; }
.pw-base { fill: none; stroke: var(--line-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.pw-flow { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 10 90; stroke-dashoffset: 100; opacity: 0; }
.motion .pmap.is-drawn .pw-flow { opacity: 1; animation: pw 3.2s linear infinite; filter: drop-shadow(0 0 4px rgb(0 180 188 / .8)); }
.pmap-wires--out .pw-flow { stroke: var(--amber-dot); filter: drop-shadow(0 0 4px rgb(255 177 53 / .7)); }
.pw-d1 { animation-delay: -.65s !important; } .pw-d2 { animation-delay: -1.3s !important; } .pw-d3 { animation-delay: -1.95s !important; } .pw-d4 { animation-delay: -2.6s !important; }
@keyframes pw { to { stroke-dashoffset: 0; } }
.pmap-core { grid-column: 3; grid-row: 2; align-self: center; position: relative; isolation: isolate; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-xl); border: 1px solid rgb(0 180 188 / .45);
  background: radial-gradient(120% 90% at 50% 0%, rgb(0 180 188 / .14), transparent 60%), var(--surface); box-shadow: 0 30px 80px -40px rgb(0 180 188 / .55); }
.pmap-core::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 62%, rgb(0 180 188 / .9) 74%, rgb(255 177 53 / .8) 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 8s linear infinite; }
.pcore-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pcore-head .mark { width: 42px; height: 42px; flex: none; }
.pcore-head b { display: block; font-size: 1.25rem; letter-spacing: -.02em; }
.pcore-head span { display: block; font-size: .85rem; color: var(--muted); }
.pmods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pmods li { display: grid; gap: 2px; padding: 12px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--subtle); }
.pmods b { font-size: .95rem; }
.pmods span:last-child { font-size: .82rem; color: var(--muted); }
.pmod-ic { display: inline-flex; color: var(--brand-text); margin-bottom: 4px; }
.pmods li:nth-child(3) .pmod-ic { color: var(--amber-fg); }
.pcore-base { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.pcore-base .ic { color: var(--brand-text); }
@media (max-width: 899px) {
  .pmap { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 0; }
  .pmap-h, .pmap-col, .pmap-core { grid-column: 1; grid-row: auto; }
  .pmap-h--in { order: 1; } .pmap-in { order: 2; } .pmap-core { order: 3; } .pmap-h--out { order: 4; } .pmap-out { order: 5; }
  .pmap-wires { display: none; }
  .pmap-col { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 0 10px; }
  .pmap-core { margin: 34px 0; }
  .pmap-core::before, .pmap-h--out::before { content: ""; display: block; width: 2px; height: 26px; margin: 0 auto 8px; background: linear-gradient(var(--brand), var(--amber-dot)); opacity: .7; }
  .pmap-core::before { position: absolute; left: 50%; top: -32px; margin: 0 0 0 -1px; }
  .pmap-h--out::before { margin: -34px auto 12px; }
  .pmap-h--out { margin-top: 0; }
}
@media (max-width: 599px) {
  .pmap-col { grid-template-columns: minmax(0, 1fr); }
  .pmods { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- journey: one story across four product screens, sticky stage ---------- */
.journey { padding: clamp(80px, 11vw, 150px) 0 0; scroll-margin-top: 72px; }
.jr { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.jr-steps { list-style: none; margin: 0; padding: 0; }
.jr-step { position: relative; padding: 28px 0 28px 26px; border-left: 2px solid var(--line); }
.jr-step::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 0; background: var(--brand); transition: height .6s var(--ease); }
.jr-step.is-on::before { height: 100%; }
.jr-step:has(.kicker--human).is-on::before { background: var(--amber-dot); }
.jr-n { font: 600 .72rem var(--mono); color: var(--brand-text); margin-right: 10px; }
.jr-step h3 { font-size: clamp(1.4rem, 1rem + 1.3vw, 1.95rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 10px; }
.jr-step p:not(.kicker) { color: var(--muted); max-width: 40ch; margin: 0; }
.jr-inline { margin-top: 22px; }
.jr-stage { display: none; }
.jr-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(22px) scale(.97); transition: opacity .6s var(--ease), transform .9s var(--ease); pointer-events: none; }
.jr-slide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.jr-slide .media { height: 100%; }
.jr-slide .screen { height: 100%; display: flex; flex-direction: column; box-shadow: var(--screen-shadow); }
.jr-slide .screen-body { flex: 1; min-height: 0; overflow: hidden; }
.jr-slide .screen-body img { height: 100%; object-fit: cover; object-position: top left; }
.jr-slide .media.has-phone { padding-bottom: 0; }
.jr-slide .media.has-phone .phone { bottom: -28px; right: -22px; width: min(210px, 30%); }

/* ---------- media: a screen, optionally with a phone in front ---------- */
.media { position: relative; }
.media.has-phone { padding-bottom: 48px; }
.media.has-phone .phone { position: absolute; right: -8px; bottom: 0; width: min(200px, 32%); }
.solo-phone { display: flex; justify-content: center; }
.solo-phone .phone { width: min(280px, 72vw); }
.shot-caption { margin: 12px 0 0; font-size: .92rem; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.shot-caption span { font: 600 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-fg); white-space: nowrap; }
.shot-caption span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-dot); margin-right: 6px; vertical-align: 1px; }

/* ---------- story cards (home) with a pointer spotlight ---------- */
.stories-home, .platform { padding: clamp(80px, 11vw, 150px) 0 0; }
.scards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scard, .tile { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.scard::before, .tile::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -10%), rgb(0 180 188 / .16), transparent 45%); }
.scard:hover::before, .tile:hover::before { opacity: 1; }
.scard:hover, .tile:hover { border-color: rgb(0 180 188 / .5); box-shadow: 0 24px 60px -30px rgb(0 0 0 / .6); }
.scard:hover { transform: translateY(-4px); color: var(--text); }
.scard { display: flex; flex-direction: column; }
.scard-media { aspect-ratio: 16 / 10; overflow: hidden; background: #f1f4f6; border-bottom: 1px solid var(--line); }
.scard-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .9s var(--ease); }
.scard:hover .scard-media img { transform: scale(1.05); }
.scard-body { position: relative; flex: 1; padding: 20px 22px 24px; }
.scard .kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.scard-ic { display: inline-flex; color: var(--brand-text); }
.scard h3 { font-size: 1.2rem; margin: 0 0 6px; padding-right: 26px; }
.scard-body > p:last-of-type { color: var(--muted); font-size: .95rem; margin: 0; }
.scard-go { position: absolute; right: 20px; top: 18px; color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.scard:hover .scard-go { color: var(--brand-text); transform: translate(3px, -3px); }

/* ---------- platform bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; min-height: 300px; background: linear-gradient(180deg, var(--surface), var(--subtle)); }
.tile-copy { position: relative; z-index: 1; padding: 24px 24px 0; }
.tile h3 { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; margin: 0 0 6px; }
.tile p { color: var(--muted); font-size: .95rem; margin: 0; max-width: 42ch; }
.tile-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-dot); }
.tile-media { margin-top: auto; padding: 22px 0 0 24px; }
.tile-media > img { width: 100%; height: 200px; object-fit: cover; object-position: top left; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; transition: transform .9s var(--ease); }
.tile:hover .tile-media > img { transform: translate(-8px, -8px); }
.tile--studio, .tile--manage { grid-column: span 2; }
.tile--studio .tile-media > img { height: 320px; }
.tile--engage { grid-row: span 2; }
.tile--engage .tile-media { display: flex; justify-content: center; padding: 26px 24px 0; }
.tile--engage .phone { width: min(230px, 80%); margin-bottom: -70px; transition: transform .9s var(--ease); }
.tile--engage:hover .phone { transform: translateY(-10px); }

/* ---------- product page blocks ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 72px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.stories .story:first-child { border-top: 0; }
.story--flip .story-copy { order: 2; }
.story--wide { grid-template-columns: minmax(0, 1fr); }
.story--wide .story-copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(28px, 5vw, 72px); align-items: start; }
.story--wide .story-copy .points { margin: 0; grid-row: span 3; grid-column: 2; }
.story-copy h2 { max-width: 16ch; }
.story-copy > p { color: var(--muted); max-width: 48ch; }
.story-media { position: relative; }
.points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.points .ic { color: var(--brand-text); margin-top: 5px; }

/* ---------- use cases page ---------- */
.case { padding: clamp(22px, 3.5vw, 40px); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); scroll-margin-top: 90px; }
.case + .case { margin-top: 24px; }
.case-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.case-head .kicker { margin-bottom: 6px; }
.case-head h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); margin: 0 0 4px; }
.case-sum { color: var(--muted); margin: 0; }
.case-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; margin-top: 28px; align-items: start; }
.case-grid--phone { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.case-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.case-flow li { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.case-flow p:last-child { margin: 0; font-size: .95rem; }
.case-with { border-color: var(--brand) !important; background: var(--brand-soft); }
.case-with .mini { color: var(--brand-soft-fg); }
.case-with p:last-child { color: var(--text); }
.case-result { background: var(--subtle); }
.case-result p:last-child { font-weight: 500; }
.case-shot .screen { box-shadow: none; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pills li { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); }
.usecases { padding-top: clamp(32px, 5vw, 64px); }
.sectors { padding: clamp(72px, 10vw, 140px) 0; }

/* company page */
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.manifesto-text p { font-size: clamp(1.125rem, 1rem + .5vw, 1.35rem); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.manifesto-text p:first-child { color: var(--text); }

/* closing band: slow rotating light */
.band { position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -60%; width: 1000px; height: 1000px; margin-left: -500px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from var(--a), transparent, rgb(0 180 188 / .3), rgb(255 177 53 / .18), transparent 70%); filter: blur(90px); animation: spin 20s linear infinite; }

/* staggered reveals */
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* ---------- manufacturing (MES) ---------- */
.mes-home { padding: clamp(80px, 11vw, 150px) 0 0; }
.mes-feature { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--r-xl); background: radial-gradient(80% 90% at 100% 0%, rgb(0 180 188 / .12), transparent 60%), var(--surface); }
.mes-copy h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); max-width: 18ch; }
.mes-copy .lead { font-size: 1.05rem; }
.mes-copy .points { margin-bottom: 26px; }
.mes-media { position: relative; padding-bottom: 40px; }
.mes-media .phone { position: absolute; right: -6px; bottom: 0; width: min(170px, 28%); }
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mode { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
.mode-copy { padding: clamp(22px, 3vw, 30px); }
.mode-copy h3 { font-size: 1.35rem; margin: 16px 0 8px; }
.mode-copy > p { color: var(--muted); }
.mode-media { margin-top: auto; padding: 0 clamp(22px, 3vw, 30px) clamp(22px, 3vw, 30px); }
.mode-media .screen-body { aspect-ratio: 16 / 9; overflow: hidden; background: #0b1217; display: grid; place-items: center; }
.mode-media .screen-body img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mode-media .screen--dark .screen-body img { object-fit: contain; }
.mode-media .screen { box-shadow: none; }
.mscreens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mscreen { margin: 0; }
.mscreen .screen { box-shadow: none; }
.mscreen figcaption { display: grid; gap: 4px; margin-top: 14px; }
.mscreen figcaption b { font-size: 1.05rem; }
.mscreen figcaption span { color: var(--muted); font-size: .95rem; }
#senaryolar .case + .case, #senaryolar .sec-head + .case { margin-top: 24px; }
@media (max-width: 899px) {
  .mes-feature, .modes, .mscreens { grid-template-columns: minmax(0, 1fr); }
  .mes-media { padding-bottom: 0; }
  .mes-media .phone { position: relative; right: auto; margin: -60px 10px 0 auto; width: 140px; }
}

/* lightbox */
.lightbox { width: min(96vw, 1600px); max-height: 94vh; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface-2); overflow: auto; }
.lightbox::backdrop { background: rgb(0 0 0 / .75); }
.lightbox img { width: 100%; }
.lightbox-close { position: sticky; top: 8px; float: right; margin: 8px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); cursor: pointer; z-index: 1; }

/* reveal (progressive; without JS everything is visible) */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1099px) {
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .cards--3, .cards--2, .arch, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .story { gap: 24px; }
  .story--flip .story-copy { order: 0; }
}
@media (max-width: 599px) {
  body { font-size: 1rem; }
  .lang summary span { display: none; }
  .cards--4, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { width: 100%; }
  .screen-tag { display: none; }
  .card, .form { padding: 20px; }
  .ftr-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 900px) {
  .js .jr-stage { display: block; position: sticky; top: max(96px, calc(50vh - 260px)); aspect-ratio: 16 / 11; }
  .js .jr-step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; }
  .js .jr-step:not(.is-on) h3, .js .jr-step:not(.is-on) .kicker { color: var(--muted); }
  .js .jr-step:not(.is-on) p:not(.kicker) { color: var(--dim); }
  .js .jr-step h3, .js .jr-step p { transition: color .5s var(--ease); }
  .js .jr-inline { display: none; }
}
@media (max-width: 1099px) {
  .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--manage { grid-column: span 2; }
}
@media (max-width: 899px) {
  .jr, .story, .story--wide .story-copy, .case-grid, .case-grid--phone, .manifesto-grid { grid-template-columns: minmax(0, 1fr); }
  .story--wide .story-copy .points { grid-column: auto; grid-row: auto; margin-top: 16px; }
  .story--flip .story-copy { order: 0; }
  .jr-step { padding-left: 20px; }
  .media.has-phone { padding-bottom: 0; }
  .media.has-phone .phone { position: relative; right: auto; margin: -64px 10px 0 auto; width: 150px; }
  .run-cap li { flex-basis: calc(50% - 5px); }
}
@media (max-width: 699px) {
  .run.is-live .run-cap li:not(.is-on) { display: none; }
  .run.is-live .run-cap li { flex-basis: 100%; }
  .run-live { max-width: 46vw; }
  .run-frame .screen-label { display: none; }
}
@media (max-width: 599px) {
  .scards, .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--studio, .tile--manage { grid-column: auto; }
  .tile--engage { grid-row: auto; }
  .tile--studio .tile-media > img { height: 220px; }
  .tile { min-height: 0; }
}
/* contact form captcha (WEB-18): self-hosted proof-of-work check shown as a checkbox */
.captcha-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 380px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.captcha-check { display: inline-flex; align-items: center; gap: 12px; min-height: 36px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; cursor: pointer; text-align: left; }
.captcha-mark { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border: 2px solid var(--input-line); border-radius: 6px; background: var(--bg); color: transparent; transition: background-color .2s, border-color .2s; }
.captcha-check:hover .captcha-mark { border-color: var(--brand-text); }
.captcha.is-verifying .captcha-mark { border-color: var(--line-2); border-top-color: var(--brand-text); border-radius: 50%; animation: captcha-spin .8s linear infinite; }
.captcha.is-verified .captcha-mark { background: var(--brand); border-color: var(--brand); color: var(--brand-fg); }
.captcha.is-verified .captcha-check { cursor: default; }
.captcha.is-error .captcha-box { border-color: var(--danger); }
.captcha-brand { display: inline-flex; color: var(--brand-text); }
.captcha-note { margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
@keyframes captcha-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .captcha.is-verifying .captcha-mark { animation-duration: 2.4s; } }
/* sectors (WEB-17): header disclosure, day-in-the-life timeline, link cards and link pills */
.nav-sub { position: relative; }
.navsub > summary { list-style: none; display: flex; align-items: center; gap: 4px; padding: 8px 10px 8px 12px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .925rem; cursor: pointer; white-space: nowrap; }
.navsub > summary::-webkit-details-marker { display: none; }
.navsub > summary:hover, .navsub[open] > summary, .navsub > summary.is-current { color: var(--text); background: var(--surface-2); }
.navsub-caret { transition: transform .2s var(--ease); }
.navsub[open] .navsub-caret { transform: rotate(180deg); }
.navsub-panel { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); width: 640px; padding: 10px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-md); z-index: 60; }
.nav .navsub-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav .navsub-panel a:not(.btn) { display: flex; white-space: normal; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: var(--r); color: var(--text); font-size: .95rem; }
.nav .navsub-panel a:not(.btn):hover, .nav .navsub-panel a[aria-current="page"] { background: var(--subtle); color: var(--text); }
.navsub-ic { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-soft-fg); }
.navsub-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.navsub-txt b { font-weight: 600; }
.navsub-txt small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.nav .navsub-panel a.navsub-all { align-items: center; gap: 8px; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); color: var(--brand-text); font-weight: 600; }

.sstory { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sstory-media { position: sticky; top: 96px; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 75px; top: 10px; bottom: 24px; width: 2px; background: linear-gradient(var(--brand-text), var(--line)); opacity: .5; }
.tl-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 40px; padding-bottom: 30px; }
.tl-step::before { content: ""; position: absolute; left: 70px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--brand-text); }
.tl-step.is-human::before { background: var(--amber-dot); border-color: var(--amber-dot); box-shadow: 0 0 0 5px rgb(255 177 53 / .18); }
.tl-time { font: 600 .9rem/1.4 var(--mono); color: var(--muted); text-align: right; }
.tl-body .kicker { margin: 0 0 6px; }
.tl-body p:last-child { margin: 0; font-size: 1.02rem; }

.card--link { position: relative; display: block; color: var(--text); text-decoration: none; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.card--link:hover { color: var(--text); border-color: rgb(0 180 188 / .5); transform: translateY(-3px); box-shadow: 0 20px 50px -30px rgb(0 0 0 / .6); }
.card--link h3 { padding-right: 24px; }
.card-go { position: absolute; right: 20px; top: 22px; color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.card--link:hover .card-go { color: var(--brand-text); transform: translate(3px, -3px); }

.pills--links li { padding: 0; background: none; border: 0; }
.pills--links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); text-decoration: none; transition: border-color .2s; }
.pills--links a:hover { border-color: var(--brand-text); color: var(--text); }
.pills--links .ic { color: var(--brand-text); }
.others { text-align: center; }
.others .label { margin-bottom: 16px; }

@media (min-width: 1100px) and (max-width: 1279px) {
  .nav a:not(.btn), .navsub > summary { padding-left: 8px; padding-right: 8px; font-size: .86rem; }
  .hdr-in { gap: 10px; }
}
@media (max-width: 899px) {
  .sstory { grid-template-columns: minmax(0, 1fr); }
  .sstory-media { position: static; }
}
@media (max-width: 599px) {
  .tl::before { left: 59px; }
  .tl-step { grid-template-columns: 44px minmax(0, 1fr); gap: 32px; }
  .tl-step::before { left: 54px; }
  .tl-time { font-size: .8rem; }
}
/* header: the full menu needs ≥1100px (seven items + language, theme and demo); below that it folds into the menu button */
@media (max-width: 1099px) {
  .menu-btn { display: inline-grid; }
  .hdr-actions { margin-left: auto; }
  .hdr-cta { display: none; }
  .nav { position: fixed; inset: 64px 0 auto 0; margin: 0; padding: 12px var(--gutter) 24px; background: var(--surface-2); border-bottom: 1px solid var(--line); display: none; max-height: calc(100dvh - 64px); overflow-y: auto; box-shadow: var(--shadow-md); }
  .hdr.is-open .nav { display: block; }
  .hdr.is-open .ic-open { display: none; }
  .hdr.is-open .ic-close { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); }
  .nav a[aria-current="page"] { background: none; color: var(--brand-text); }
  .nav .nav-cta { display: flex; width: 100%; margin-top: 16px; }
  .navsub > summary { justify-content: space-between; padding: 14px 4px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); }
  .navsub > summary:hover, .navsub[open] > summary, .navsub > summary.is-current { background: none; }
  .navsub > summary.is-current { color: var(--brand-text); }
  .navsub-panel { position: static; transform: none; width: auto; padding: 4px 0 10px; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .nav .navsub-panel ul { grid-template-columns: minmax(0, 1fr); }
  .nav .navsub-panel a:not(.btn) { padding: 10px 4px; border-bottom: 0; font-size: 1rem; }
  .nav .navsub-panel a.navsub-all { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media (forced-colors: active) { .btn, .card, .screen, .usecase { border: 1px solid CanvasText; } h1 em, h2 em { color: CanvasText; } }
@media print { .hdr, .band, .screen-zoom, .lightbox, .backdrop, .hero-glow, .run-btn { display: none !important; } }
