/* AUREN. Product-site language: near-black ground, off-white type, AUREN lime for action,
   neon green / red only for positive and negative signals. Readable first: 18px body, high contrast. */

@font-face {
  font-family: 'Onest';
  src: url('/assets/fonts/onest.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #10110f;
  --bg-deep: #0b0c0a;
  --panel: #181916;
  --panel-2: #20211d;
  --panel-3: #2a2b26;
  --line: rgb(245 243 237 / 0.09);
  --line-2: rgb(245 243 237 / 0.16);
  --fg: #f5f3ed;
  --fg-2: #cfcdc6;
  --fg-3: #9d9c95;
  --lime: #d8ff52;
  --lime-hover: #e5ff85;
  --lime-ink: #10110f;
  --lime-soft: rgb(216 255 82 / 0.12);
  --pos: #2bff88;
  --pos-soft: rgb(43 255 136 / 0.12);
  --neg: #ff4d5e;
  --neg-soft: rgb(255 77 94 / 0.13);
  --paper: #f5f3ed;

  --font: 'Onest', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(96px, 11vw, 160px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-color: var(--panel-3) var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 18px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--lime);
}
::selection { background: var(--lime); color: var(--lime-ink); }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 200; padding: 12px 16px; border-radius: var(--r-sm); background: var(--lime); color: var(--lime-ink); font-weight: 600; transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.muted { color: var(--fg-3); }
.i { width: 18px; height: 18px; flex: none; }

/* ---------- type ---------- */
.h-hero, .h-xl, .h-l, .h-s { font-weight: 600; text-wrap: balance; color: var(--fg); }
.h-hero { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -0.04em; }
.h-hero-sm { font-size: clamp(38px, 4.6vw, 66px); }
.h-xl { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.06; letter-spacing: -0.035em; }
.h-l { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; letter-spacing: -0.025em; }
.h-s { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--fg-2); max-width: 46ch; }
p { text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 22px; border-radius: 12px;
  font: 600 16px/1 var(--font); letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out);
}
.btn .i { transition: transform 260ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--lime); color: var(--lime-ink); }
.btn-secondary { background: var(--panel-2); color: var(--fg); border-color: var(--line-2); }
.btn-ink { background: var(--lime-ink); color: var(--paper); }
.btn-sm { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14.5px; gap: 8px; }
.btn-sm .i { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--lime-hover); }
  .btn-secondary:hover { background: var(--panel-3); }
  .btn-ink:hover { background: #262721; }
  .btn:hover .i { transform: translate(2px, -2px); }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; color: var(--fg); padding: 10px 2px; }
.textlink .i { transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .textlink:hover .i { transform: translateX(4px); } .textlink:hover { color: var(--lime); } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 12px; z-index: 50; margin-top: 12px; }
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 62px; padding: 0 10px 0 14px;
  background: rgb(24 25 22 / 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-tile { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--lime); color: var(--lime-ink); }
.brand-tile .mark { width: 19px; height: 19px; }
.brand-word { font-weight: 650; font-size: 16px; letter-spacing: 0.2em; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 9px 14px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--fg-2); transition: color 160ms ease, background-color 160ms ease; }
.nav a.is-current { color: var(--fg); background: rgb(245 243 237 / 0.07); }
.nav .nav-cta { display: none; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--fg); background: rgb(245 243 237 / 0.06); } }
.bar-end { display: flex; align-items: center; gap: 8px; }
.lang { display: grid; place-items: center; height: 40px; min-width: 44px; padding: 0 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--fg-2); border: 1px solid var(--line-2); transition: color 160ms ease, background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .lang:hover { color: var(--fg); background: var(--panel-2); } }
.menu-btn { display: none; position: relative; width: 44px; height: 40px; padding: 0; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel-2); cursor: pointer; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: var(--fg); transition: transform 280ms var(--ease-sheet); }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn[aria-expanded='true'] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded='true'] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px);
    flex-direction: column; gap: 2px; padding: 10px;
    background: rgb(24 25 22 / 0.96);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border: 1px solid var(--line-2); border-radius: 16px;
    transform-origin: top right;
    visibility: hidden; opacity: 0; transform: translateY(-6px) scale(0.98);
    transition: opacity 180ms ease, transform 240ms var(--ease-out), visibility 0s 240ms;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity 180ms ease, transform 240ms var(--ease-out); }
  .nav a { padding: 14px 14px; font-size: 17px; }
  .nav .nav-cta { display: flex; justify-content: center; margin-top: 8px; background: var(--lime); color: var(--lime-ink); font-weight: 600; }
}
@media (max-width: 640px) { .bar-end .btn-header { display: none; } }

/* ---------- hero + stage ---------- */
.hero { padding-top: clamp(56px, 8vw, 112px); }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy .h-hero { max-width: 13.2em; }
.hero .actions { margin-top: 8px; }

.stage {
  margin-top: clamp(48px, 6vw, 80px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(14px, 1.6vw, 22px);
}
.stage-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 2px 4px 16px; }
.stage-top figcaption { font-size: 14.5px; color: var(--fg-3); }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-deep); border: 1px solid var(--line); isolation: isolate; }
.seg-btn { position: relative; z-index: 1; height: 38px; padding: 0 18px; border: 0; border-radius: 9px; background: none; font-size: 15px; font-weight: 600; color: var(--fg-3); cursor: pointer; transition: color 200ms ease; }
.seg-btn[aria-pressed='true'] { color: var(--fg); }
.seg-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: var(--w, 80px); border-radius: 9px; background: var(--panel-3); transform: translateX(var(--x, 4px)); transition: transform 420ms var(--ease-sheet), width 420ms var(--ease-sheet); }

.stage-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: stretch; }
.browser { border-radius: var(--r); overflow: hidden; background: var(--paper); color: #10110f; min-height: 420px; display: flex; flex-direction: column; }
.browser-bar { height: 40px; position: relative; display: grid; place-items: center; background: #e7e5de; border-bottom: 1px solid #d6d4cc; }
.url { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 8px; background: #f5f3ed; font-size: 12.5px; color: #55554f; }
.url .i { width: 13px; height: 13px; }
.load { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.load span { display: block; height: 100%; transform-origin: left; background: var(--neg); transform: scaleX(0.3); animation: crawl 3.2s var(--ease-out) infinite; }
.pages { position: relative; flex: 1; display: grid; }
.page { grid-area: 1 / 1; padding: 18px 26px 22px; display: flex; flex-direction: column; gap: 18px; transition: opacity 480ms var(--ease-out), filter 480ms var(--ease-out), transform 620ms var(--ease-sheet); }
/* before: a dated page */
.page-before { font-family: Georgia, 'Times New Roman', serif; color: #55554f; }
.pb-nav { display: flex; align-items: baseline; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid #d6d4cc; }
.pb-nav b { font-size: 15px; font-weight: 700; color: #3d3d39; }
.pb-nav span { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-left: auto; }
.pb-nav i { font-style: normal; font-size: 11px; color: #73726b; text-decoration: underline; }
.pb-main { display: grid; gap: 12px; justify-items: center; text-align: center; }
.pb-h { font-size: 19px; color: #73726b; }
.pb-p { font-size: 12.5px; line-height: 1.5; max-width: 52ch; color: #73726b; }
.pb-img { width: 72%; height: 110px; display: grid; place-items: center; background: #e2e0d8; border: 1px solid #d3d1c9; }
.pb-img span { display: inline-flex; align-items: center; gap: 6px; font: 12px/1 var(--font); color: #73726b; }
.pb-img .i { width: 14px; height: 14px; }
.pb-link { font-size: 12px; color: #73726b; text-decoration: underline; }
/* after: a clear page */
.page-after { font-family: var(--font); color: #10110f; }
.pa-nav { display: flex; align-items: center; gap: 18px; }
.pa-nav b { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; margin-right: auto; }
.pa-logo { width: 18px; height: 18px; border-radius: 5px; background: #23441a; }
.pa-nav span { display: flex; gap: 16px; }
.pa-nav i { font-style: normal; font-size: 12.5px; color: #3d3d39; font-weight: 500; }
.pa-nav em, .pa-actions em { font-style: normal; font-size: 12.5px; font-weight: 650; padding: 8px 12px; border-radius: 8px; background: #10110f; color: var(--paper); }
.pa-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: center; flex: 1; }
.pa-copy { display: grid; gap: 12px; }
.pa-h { font-size: clamp(20px, 2.2vw, 30px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.08; }
.pa-p { font-size: 13.5px; line-height: 1.5; color: #3d3d39; max-width: 38ch; }
.pa-actions { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.pa-actions span { font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pa-art { align-self: stretch; display: grid; place-items: center; border-radius: 14px; background: #23441a; padding: 18px; }
.doc { width: 100%; max-width: 230px; display: grid; gap: 8px; padding: 14px; border-radius: 10px; background: var(--paper); box-shadow: 0 10px 30px -12px rgb(0 0 0 / 0.5); }
.doc-t { font-size: 12px; font-weight: 650; color: #55554f; margin-bottom: 2px; }
.doc-r { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; padding: 6px 0; border-top: 1px solid #e2e0d8; }
.doc-r .i { width: 15px; height: 15px; color: #10813f; }
.doc-badge { justify-self: start; margin-top: 4px; font-size: 11.5px; font-weight: 650; padding: 4px 9px; border-radius: 999px; background: #d4f5df; color: #0c6b33; }
.pa-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pa-cards div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 9px; background: #ebe9e2; }
.pa-cards b { font-size: 12.5px; font-weight: 650; }
.pa-cards span { font-size: 11.5px; color: #55554f; }
/* state */
.stage .page-after { opacity: 0; filter: blur(8px); transform: scale(0.985); pointer-events: none; }
.stage.is-after .page-before { opacity: 0; filter: blur(8px); transform: scale(1.015); }
.stage.is-after .page-after { opacity: 1; filter: none; transform: none; }
.stage.is-after .load span { background: var(--pos); animation: none; transform: scaleX(1); transition: transform 600ms var(--ease-out); }
@keyframes crawl { 0% { transform: scaleX(0.05); } 100% { transform: scaleX(0.42); } }

.flags { display: grid; align-content: center; padding: 0 6px; }
.flag { position: relative; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.flag:last-child { border-bottom: 0; }
.flag-icon { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--neg-soft); color: var(--neg); transition: background-color 300ms ease, color 300ms ease; }
.flag-icon .i { grid-area: 1 / 1; width: 18px; height: 18px; transition: opacity 260ms ease, transform 360ms var(--ease-out); }
.flag-icon .i:last-child { opacity: 0; transform: scale(0.6) rotate(-20deg); }
.flag-before, .flag-after { grid-column: 2; grid-row: 1; font-size: 16px; font-weight: 550; line-height: 1.3; transition: opacity 300ms var(--ease-out), transform 420ms var(--ease-out), filter 300ms ease; }
.flag-after { opacity: 0; transform: translateY(8px); filter: blur(4px); }
.flag-2 * { transition-delay: 70ms; }
.flag-3 * { transition-delay: 140ms; }
.stage.is-after .flag-icon { background: var(--pos-soft); color: var(--pos); }
.stage.is-after .flag-icon .i:first-child { opacity: 0; transform: scale(0.6) rotate(20deg); }
.stage.is-after .flag-icon .i:last-child { opacity: 1; transform: none; }
.stage.is-after .flag-before { opacity: 0; transform: translateY(-8px); filter: blur(4px); }
.stage.is-after .flag-after { opacity: 1; transform: none; filter: none; }

/* entrance: content is visible without JS; with JS it rises once */
html.js:not(.ready) [data-rise] { opacity: 0; transform: translateY(18px); filter: blur(6px); animation: failsafe 0s 1.2s forwards; }
html.js [data-rise] { transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out), filter 700ms var(--ease-out); }
html.js [data-reveal]:not(.in) { opacity: 0; transform: translateY(22px); }
html.js [data-reveal] { transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
@keyframes failsafe { to { opacity: 1; transform: none; filter: none; } }

/* ---------- section heads ---------- */
.situations, .services, .models, .process, .about, .faq, .contact, .who, .includes, .related { margin-top: var(--section); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 820px; }
.sec-head-sm { margin-top: clamp(64px, 7vw, 96px); margin-bottom: 28px; }
.sec-sub { font-size: clamp(18px, 1.45vw, 21px); color: var(--fg-2); max-width: 52ch; }

/* ---------- situations ---------- */
.sit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sit { display: grid; gap: 20px; align-content: start; padding: 0 0 24px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.sit > p { padding: 0 22px; font-size: 18px; line-height: 1.45; font-weight: 500; color: var(--fg); }
.viz { position: relative; height: 180px; background: var(--bg-deep); border-bottom: 1px solid var(--line); overflow: hidden; }
.tag { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tag .i { width: 14px; height: 14px; }
.tag-neg { color: var(--neg); background: var(--neg-soft); }
.old-site { position: absolute; left: 22px; right: 34px; top: 18px; padding: 12px 14px; background: #e9e6da; transform: rotate(-2deg); font-family: Georgia, serif; color: #4d4c45; border: 2px outset #cfccbf; }
.old-t { font-size: 18px; font-weight: 700; color: #2f4f8f; }
.old-l { font-size: 11.5px; margin-top: 4px; }
.old-c { display: inline-block; margin-top: 6px; padding: 2px 6px; font: 11px/1.4 'Courier New', monospace; background: #10110f; color: #9dff7a; }
.viz-unclear .blur-line { position: absolute; left: 20px; height: 12px; border-radius: 6px; background: #4a4b44; filter: blur(3px); }
.viz-unclear .l1 { top: 26px; width: 70%; }
.viz-unclear .l2 { top: 50px; width: 52%; }
.viz-unclear .l3 { top: 74px; width: 62%; }
.viz-chart svg { position: absolute; left: 14px; top: 16px; width: calc(100% - 28px); height: 98px; overflow: visible; }
.viz-chart .ln { fill: none; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ln-up { stroke: var(--fg-2); }
.ln-flat { stroke: var(--neg); }
.legend { position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-2); font-weight: 500; }
.legend i { width: 10px; height: 3px; border-radius: 2px; }
.legend .k-down { margin-left: 8px; }
.k-up { background: var(--fg-2); }
.k-down { background: var(--neg); }
.launch-page { position: absolute; left: 22px; right: 22px; top: 18px; bottom: 18px; display: grid; gap: 6px; align-content: start; padding: 14px 16px; border-radius: 10px; background: var(--paper); color: #10110f; }
.lp-tag { justify-self: start; font-size: 11px; font-weight: 650; padding: 3px 8px; border-radius: 999px; background: #d4f5df; color: #0c6b33; }
.lp-h { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.lp-p { font-size: 12.5px; color: #55554f; }
.lp-cta { justify-self: start; font-style: normal; font-size: 12px; font-weight: 650; padding: 7px 11px; border-radius: 7px; background: #10110f; color: var(--paper); margin-top: 4px; }
html.js .sit:not(.in) .launch-page > * { opacity: 0; transform: translateY(8px); }
.launch-page > * { transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
.launch-page > :nth-child(2) { transition-delay: 300ms; } .launch-page > :nth-child(3) { transition-delay: 450ms; } .launch-page > :nth-child(4) { transition-delay: 600ms; } .launch-page > :nth-child(1) { transition-delay: 150ms; }

/* ---------- services ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(14px, 1.6vw, 22px); padding-right: clamp(22px, 3.4vw, 48px);
  border-radius: var(--r-xl); background: var(--panel); border: 1px solid var(--line);
}
.feature-copy { display: grid; gap: 18px; align-content: center; padding: 18px 0; }
.feature-copy > p { color: var(--fg-2); }
.types { display: grid; border-top: 1px solid var(--line); }
.types li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; }
.types h4 { font-size: 16.5px; font-weight: 600; }
.types p { font-size: 16px; line-height: 1.5; color: var(--fg-3); }
.feature .actions { margin-top: 6px; }

.app-win { display: grid; grid-template-columns: 150px 1fr; min-height: 400px; border-radius: var(--r); overflow: hidden; background: var(--bg-deep); border: 1px solid var(--line); }
.app-side { display: grid; gap: 2px; align-content: start; padding: 14px 10px; border-right: 1px solid var(--line); }
.app-side span { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--fg-3); }
.app-side span .i { width: 15px; height: 15px; }
.app-side span.on { background: rgb(245 243 237 / 0.07); color: var(--fg); }
.app-canvas { margin: 14px; padding: 16px; border-radius: 12px; background: var(--paper); display: grid; gap: 12px; align-content: start; }
.ar-nav { display: flex; align-items: center; gap: 12px; }
.ar-nav b { font-size: 13px; font-weight: 650; color: #10110f; margin-right: auto; }
.ar-nav span { display: flex; gap: 12px; }
.ar-nav i { font-style: normal; font-size: 11.5px; color: #3d3d39; }
.ar-hero { display: grid; gap: 6px; padding: 18px 0 6px; }
.ar-h { font-size: clamp(20px, 2vw, 28px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.05; color: #10110f; }
.ar-p { font-size: 12.5px; color: #55554f; }
.ar-cta { justify-self: start; font-style: normal; font-size: 12px; font-weight: 650; padding: 7px 11px; border-radius: 7px; background: #10110f; color: var(--paper); margin-top: 6px; }
.ar-art { width: 100%; height: auto; aspect-ratio: 320 / 120; border-radius: 9px; margin-top: 6px; }
html.js .feature:not(.in) .app-canvas > * { opacity: 0; transform: translateY(10px); }
.feature .app-canvas > * { transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out); }
.feature .app-canvas > :nth-child(2) { transition-delay: 140ms; }
.feature .app-canvas > :nth-child(3) { transition-delay: 280ms; }

.included { display: grid; gap: 16px; margin-top: 18px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.included-h { font-size: 17px; font-weight: 600; }
.included ul { display: flex; flex-wrap: wrap; gap: 10px; }
.included li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: var(--panel-2); font-size: 15.5px; color: var(--fg); }
.included li .i { width: 16px; height: 16px; color: var(--pos); }

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento .tile-seo, .bento .tile-automation, .bento .tile-consulting { grid-column: span 2; }
.bento-3 .tile { grid-column: auto !important; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: 0 0 24px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color 220ms ease, background-color 220ms ease, transform 160ms var(--ease-out);
}
.tile:active { transform: scale(0.99); }
.tile-text { display: grid; gap: 6px; padding: 0 22px; padding-right: 72px; }
.tile-text h4, .tile-text h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.tile-text p { font-size: 16.5px; line-height: 1.5; color: var(--fg-2); }
.tile-go { position: absolute; right: 22px; bottom: 24px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--fg); transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.tile-go .i { transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { border-color: var(--line-2); background: #1c1d1a; }
  .tile:hover .tile-go { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
  .tile:hover .tile-go .i { transform: translateX(2px); }
}

/* widgets */
.w { position: relative; height: 190px; background: var(--bg-deep); border-bottom: 1px solid var(--line); padding: 20px 22px; overflow: hidden; }
.svc-visual .w { border: 0; border-radius: var(--r); }
.w-cap { font-size: 13px; font-weight: 600; color: var(--fg-3); }
.w-seo { display: grid; gap: 14px; align-content: center; }
.w-row { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 8px 0 14px; border-radius: 10px; background: var(--panel-2); font-size: 14.5px; color: var(--fg-2); }
.w-row .pos { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--pos-soft); color: var(--pos); }
.w-row .pos .i { width: 15px; height: 15px; }
.w-meter { display: grid; grid-template-columns: 7em 1fr; align-items: center; gap: 12px; font-size: 13.5px; color: var(--fg-2); }
.w-meter i { height: 8px; border-radius: 4px; background: var(--pos); transform-origin: left; transform: scaleX(var(--v)); transition: transform 1000ms var(--ease-out) 200ms; }
html.js .tile:not(.in) .w-meter i, html.js .svc-visual:not(.in) .w-meter i { transform: scaleX(0.05); }
.w-copy { display: grid; gap: 12px; align-content: center; }
.w-copy p { display: grid; gap: 4px; font-size: 17px; line-height: 1.3; font-weight: 600; }
.w-copy .lbl { font-size: 12.5px; font-weight: 600; }
.w-copy .neg .lbl { color: var(--neg); }
.w-copy .neg s { color: var(--fg-3); font-weight: 500; text-decoration-color: var(--neg); text-decoration-thickness: 1.5px; }
.w-copy .pos .lbl { color: var(--pos); }
.w-copy .pos { color: var(--fg); }
.w-ads { display: grid; grid-template-rows: auto 1fr; gap: 10px; }
.bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; align-items: end; }
.bars i { height: 100%; border-radius: 5px 5px 2px 2px; background: var(--panel-3); transform-origin: bottom; transform: scaleY(var(--v)); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i) * 60ms); }
.bars i:nth-child(n + 6) { background: var(--pos); }
html.js .tile:not(.in) .bars i, html.js .svc-visual:not(.in) .bars i { transform: scaleY(0.04); }
.w-flow { display: flex; align-items: center; justify-content: center; }
.node { flex: none; padding: 10px 14px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
.node:last-child { background: var(--pos-soft); color: var(--pos); border-color: rgb(43 255 136 / 0.3); }
.wire { position: relative; flex: 1; max-width: 90px; min-width: 24px; height: 2px; background: var(--line-2); margin: 0 6px; overflow: hidden; }
.wire i { position: absolute; top: 0; left: 0; width: 30%; height: 100%; background: var(--fg); animation: travel 2.4s var(--ease-io) infinite; }
.wire:nth-child(4) i { animation-delay: 1.2s; }
@keyframes travel { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }
.w-list { display: grid; gap: 8px; align-content: center; }
.w-list p { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.w-list .i { width: 16px; height: 16px; }
.w-list .pos .i { color: var(--pos); }
.w-list .neg { color: var(--fg-3); }
.w-list .neg span { text-decoration: line-through; text-decoration-color: var(--neg); }
.w-list .neg .i { color: var(--neg); }
.w-cal { display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; align-content: center; }
.cal i { aspect-ratio: 1; max-height: 44px; border-radius: 7px; background: var(--panel-2); }
.cal i.on { background: var(--fg-2); }
.w-sites { padding: 0; }
.w-sites .app-win { min-height: 0; height: 100%; border: 0; border-radius: 0; grid-template-columns: 110px 1fr; }
.w-sites .app-canvas { margin: 10px; padding: 12px; gap: 8px; }
.w-sites .ar-art, .w-sites .ar-nav span { display: none; }
.w-sites .ar-hero { padding-top: 8px; }


/* ---------- special services ---------- */
.sec-head-special h3 { color: var(--lime); }
.special {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-bottom: 16px; padding: clamp(14px, 1.6vw, 20px); padding-left: clamp(24px, 3.4vw, 48px);
  border-radius: var(--r-xl); background: var(--panel); border: 1px solid rgb(216 255 82 / 0.35);
}
.special-copy { display: grid; gap: 18px; padding: 18px 0; }
.special-copy > p { color: var(--fg-2); }
.special-benefits { display: grid; gap: 10px; }
.special-benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; font-weight: 500; }
.special-benefits .i { color: var(--pos); margin-top: 3px; }
.special-visual .w { height: 300px; border: 0; border-radius: var(--r); }
/* CRM widget */
.w-crm { display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.crm-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--fg-3); }
.crm-label { font-weight: 500; }
.crm-board { --gap: 10px; --pad: 10px; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.crm-col { display: grid; align-content: start; gap: 8px; padding: var(--pad); border-radius: 12px; background: var(--panel-2); min-height: 100%; }
.crm-board { align-items: stretch; }
.crm-h { font-size: 12.5px; font-weight: 600; color: var(--fg-2); margin-bottom: 2px; }
.crm-card { display: grid; gap: 2px; padding: 9px 10px; border-radius: 9px; background: var(--panel-3); border: 1px solid var(--line); }
.crm-card b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm-card span { font-size: 11.5px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm-card.is-won { border-color: rgb(43 255 136 / 0.35); }
.crm-mover { position: absolute; left: var(--pad); top: 34px; width: calc((100% - 2 * var(--gap)) / 3 - 2 * var(--pad)); display: grid; gap: 6px; z-index: 1;
  animation: crm-move 7s var(--ease-io) infinite; animation-play-state: paused; }
.crm-mover .crm-card { background: var(--fg); border-color: var(--fg); box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.8); }
.crm-mover .crm-card b { color: var(--bg); }
.crm-mover .crm-card span { color: #55554f; }
.crm-won { justify-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--pos-soft); color: var(--pos); font-style: normal; font-size: 11.5px; font-weight: 650; opacity: 0; animation: crm-won 7s ease infinite; animation-play-state: paused; }
.crm-won .i { width: 12px; height: 12px; }
@keyframes crm-move {
  0% { transform: translate(0, 70px); opacity: 0; }
  6%, 20% { transform: translate(0, 70px); opacity: 1; }
  34%, 52% { transform: translate(calc(100% + 2 * var(--pad) + var(--gap)), 0); opacity: 1; }
  66%, 92% { transform: translate(calc(200% + 4 * var(--pad) + 2 * var(--gap)), 70px); opacity: 1; }
  100% { transform: translate(calc(200% + 4 * var(--pad) + 2 * var(--gap)), 70px); opacity: 0; }
}
@keyframes crm-won { 0%, 68% { opacity: 0; transform: translateY(4px); } 74%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.special.in .crm-mover, .special.in .crm-won, .tile.in .crm-mover, .tile.in .crm-won, .svc-visual.in .crm-mover, .svc-visual.in .crm-won { animation-play-state: running; }
.tile .w-crm .crm-card span, .tile .w-crm .crm-label { display: none; }
@media (prefers-reduced-motion: reduce) {
  .crm-mover { animation: none !important; transform: translate(calc(200% + 4 * var(--pad) + 2 * var(--gap)), 70px); }
  .crm-won { animation: none !important; opacity: 1; }
}

/* ---------- models ---------- */
.models-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); background: var(--panel); border: 1px solid var(--line);
}
.models-left { display: grid; gap: 28px; align-content: start; min-width: 0; }
.models-right { display: grid; gap: 24px; align-content: start; min-width: 0; }
.mv { position: relative; display: grid; min-height: 230px; border-radius: var(--r); background: var(--bg-deep); border: 1px solid var(--line); padding: 22px; }
.mv-layer { grid-area: 1 / 1; display: grid; gap: 12px; align-content: start; opacity: 0; filter: blur(6px); transform: translateY(8px); transition: opacity 420ms var(--ease-out), filter 420ms var(--ease-out), transform 520ms var(--ease-out); pointer-events: none; }
.mv[data-tab='0'] .mv-create, .mv[data-tab='1'] .mv-improve, .mv[data-tab='2'] .mv-support { opacity: 1; filter: none; transform: none; }
.mv-t { font-size: 14px; font-weight: 600; color: var(--fg-3); }
.mv-row { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 550; }
.mv-row .i { width: 18px; height: 18px; color: var(--pos); }
.mv-bar { position: relative; flex: none; width: 90px; height: 8px; border-radius: 4px; background: var(--panel-3); overflow: hidden; }
.mv-bar i { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(var(--v)); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i) * 120ms); }
.mv:not([data-tab='0']) .mv-bar i { transform: scaleX(0); }
.mv-swap { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--neg-soft); color: var(--neg); transition: background-color 300ms ease, color 300ms ease; transition-delay: calc(400ms + var(--i) * 200ms); }
.mv-swap .i { grid-area: 1 / 1; width: 16px; height: 16px; color: inherit; transition: opacity 260ms ease; transition-delay: inherit; }
.mv-swap .i:last-child { opacity: 0; }
.mv[data-tab='1'] .mv-swap { background: var(--pos-soft); color: var(--pos); }
.mv[data-tab='1'] .mv-swap .i:first-child { opacity: 0; }
.mv[data-tab='1'] .mv-swap .i:last-child { opacity: 1; }
.mv-trend { display: flex; align-items: flex-end; gap: 8px; margin-top: 6px; color: var(--pos); }
.mv-trend svg { width: min(160px, 60%); height: 44px; }
.mv-trend path { fill: none; stroke: var(--pos); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border-radius: 14px; background: var(--bg-deep); border: 1px solid var(--line); isolation: isolate; }
.tabs button { position: relative; z-index: 1; height: 48px; border: 0; border-radius: 10px; background: none; font-size: 16.5px; font-weight: 600; color: var(--fg-2); cursor: pointer; transition: color 220ms ease; }
.tabs button[aria-selected='true'] { color: var(--bg); }
.tab-thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 10px; background: var(--fg); transform: translateX(calc(var(--t, 0) * 100%)); transition: transform 440ms var(--ease-sheet); }
.tab-panel { display: grid; gap: 18px; padding-top: 8px; min-height: 9.5em; align-content: start; }
.tab-panel .need { font-size: clamp(22px, 2vw, 27px); line-height: 1.3; font-weight: 550; letter-spacing: -0.015em; }
.tab-panel .shape { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; color: var(--fg-2); }
.tab-panel .shape .i { color: var(--pos); margin-top: 4px; }
.tab-panel[hidden] { display: none; }
.tab-panel:not([hidden]) { animation: panel-in 420ms var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.steps { display: grid; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); cursor: default; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--fg-2); font-weight: 650; font-size: 17px; transition: background-color 260ms ease, color 260ms ease; }
.step.is-on .step-num { background: var(--fg); color: var(--bg); }
.step h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.step p { font-size: 16.5px; line-height: 1.55; color: var(--fg-2); }
.pc { display: grid; gap: 18px; padding: 22px; border-radius: var(--r-xl); background: var(--panel); border: 1px solid var(--line); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-top b { font-size: 16px; font-weight: 600; }
.pc-step { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--panel-2); font-size: 14px; font-weight: 600; }
.pc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-2); }
.pc[data-step='3'] .pc-dot { background: var(--pos); }
.pc-body { position: relative; display: grid; min-height: 230px; padding: 20px; border-radius: var(--r); background: var(--bg-deep); }
.pc-layer { grid-area: 1 / 1; display: grid; gap: 10px; align-content: center; opacity: 0; filter: blur(6px); transform: translateY(8px); transition: opacity 420ms var(--ease-out), filter 420ms var(--ease-out), transform 520ms var(--ease-out); }
.pc[data-step='0'] .pc-chat, .pc[data-step='1'] .pc-proposal, .pc[data-step='2'] .pc-build, .pc[data-step='3'] .pc-live { opacity: 1; filter: none; transform: none; }
.bubble { max-width: 80%; padding: 12px 14px; border-radius: 14px; font-size: 15.5px; line-height: 1.4; }
.bubble.in { justify-self: start; background: var(--panel-3); border-bottom-left-radius: 4px; }
.bubble.out { justify-self: end; background: var(--paper); color: var(--bg); border-bottom-right-radius: 4px; }
.pc-proposal p { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 550; }
.pc-proposal p:last-child { border-bottom: 0; }
.pc-proposal .i { color: var(--pos); }
.pc-build p { display: grid; grid-template-columns: 9em 1fr; align-items: center; gap: 12px; font-size: 15px; font-weight: 550; }
.pc-bar { height: 8px; border-radius: 4px; background: var(--panel-3); overflow: hidden; }
.pc-bar i { display: block; height: 100%; background: var(--fg); transform-origin: left; transform: scaleX(0); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i) * 160ms); }
.pc[data-step='2'] .pc-bar i { transform: scaleX(1); }
.pc-live { justify-items: center; gap: 14px; }
.pc-badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--pos-soft); color: var(--pos); font-size: 20px; font-weight: 650; }
.pc-badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--pos); }
.pc-url { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--fg-2); }
.pc-url .i { width: 14px; height: 14px; }
.pc-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pc-track span { height: 4px; border-radius: 2px; background: var(--panel-3); transition: background-color 300ms ease; }
.pc-track span.on { background: var(--fg); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-copy { display: grid; gap: 18px; }
.about-copy h2 { margin-bottom: 8px; }
.about-copy p { color: var(--fg-2); max-width: 54ch; }
.about-side { display: grid; gap: 28px; }
.sv { position: relative; height: 270px; border-radius: var(--r-xl); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.sv-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sv-lines path { fill: none; stroke: var(--line-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js .about-side:not(.in) .sv-lines path { stroke-dashoffset: 1; }
.sv-lines path { transition: stroke-dashoffset 1200ms var(--ease-out); }
.sv-part { position: absolute; z-index: 1; padding: 9px 14px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 15px; font-weight: 600; transform: translate(-50%, -50%); }
.sv-p1 { left: 22%; top: 17%; } .sv-p2 { left: 78%; top: 17%; } .sv-p3 { left: 22%; top: 83%; } .sv-p4 { left: 78%; top: 83%; }
.sv-center { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: var(--paper); color: var(--bg); font-size: 16px; font-weight: 650; box-shadow: 0 16px 40px -16px rgb(0 0 0 / 0.7); }
.principles { display: grid; border-top: 1px solid var(--line); }
.principles li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 13em 1fr; gap: 16px; }
.principles h3 { font-size: 17px; font-weight: 600; }
.principles p { font-size: 16.5px; color: var(--fg-2); line-height: 1.5; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); transition: border-color 200ms ease; }
.faq-item[open] { border-color: var(--line-2); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; line-height: 1.35; border-radius: var(--r); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--panel-2); transition: background-color 200ms ease, color 200ms ease; }
.faq-icon .i { transition: transform 300ms var(--ease-out); }
.faq-item[open] .faq-icon { background: var(--fg); color: var(--bg); }
.faq-item[open] .faq-icon .i { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 22px; font-size: 17px; color: var(--fg-2); max-width: 66ch; }

/* ---------- contact ---------- */
.contact-panel {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(32px, 5.4vw, 76px); border-radius: var(--r-xl);
  background: var(--lime); color: var(--lime-ink);
}
.contact-copy { display: grid; gap: 18px; }
.contact-panel .h-xl { color: var(--lime-ink); max-width: 14ch; }
.contact-copy p { font-size: 19px; color: #2b2e1c; max-width: 40ch; }
.contact-side { display: grid; gap: 22px; justify-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 550; }
.contact-list .i { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: rgb(16 17 15 / 0.1); }
.contact-note { font-size: 15px; color: #2b2e1c; }
.contact-note a { font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.contact-panel :focus-visible { outline-color: var(--lime-ink); }

/* ---------- footer ---------- */
.site-footer { margin-top: var(--section); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.footer-brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.footer-brand p { color: var(--fg-3); font-size: 16px; max-width: 36ch; }
.footer-h { font-size: 14px; font-weight: 600; color: var(--fg-3); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; font-size: 16px; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); transition: color 160ms ease; }
.site-footer ul a .i { width: 15px; height: 15px; }
.site-footer ul a:focus-visible { color: var(--fg); }
@media (hover: hover) and (pointer: fine) { .site-footer ul a:hover, .footer-base a:hover { color: var(--fg); } }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-3); }

/* ---------- service pages ---------- */
.hero-service { padding-top: clamp(32px, 5vw, 64px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14.5px; color: var(--fg-3); margin-bottom: clamp(24px, 3vw, 40px); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--fg-3); opacity: 0.6; }
.crumbs a:hover { color: var(--fg); }
.svc-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-hero .h-hero { max-width: 14ch; }
.svc-visual { padding: clamp(12px, 1.4vw, 18px); border-radius: var(--r-xl); background: var(--panel); border: 1px solid var(--line); }
.svc-visual .w { height: 300px; padding: 26px; }
.svc-visual .w-copy p { font-size: 22px; }
.svc-visual .w-list p { font-size: 17px; }
.svc-visual .app-win { min-height: 360px; }
.types-section { margin-top: clamp(48px, 5vw, 72px); }
.types-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 0; gap: 0 clamp(24px, 3vw, 40px); }
.types-wide li { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; border-bottom: 0; }
.types-wide p { font-size: 16.5px; color: var(--fg-2); }
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 40px); border-top: 1px solid var(--line-2); }
.who-grid li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.who-grid .i { color: var(--pos); margin-top: 4px; }
.who-grid p { font-size: 18px; font-weight: 500; line-height: 1.45; }
.inc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 40px); }
.inc-item { padding: 26px 0; border-top: 1px solid var(--line-2); display: grid; gap: 8px; align-content: start; }
.inc-item dt { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.inc-item dd { font-size: 16.5px; color: var(--fg-2); line-height: 1.55; }

.answer { margin-top: clamp(48px, 5vw, 72px); }
.answer-box { display: grid; gap: 12px; max-width: 880px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: var(--panel); border: 1px solid var(--line); }
.answer-label { font-size: 14px; font-weight: 600; color: var(--fg-3); }
.answer-box > p:last-child { font-size: 19px; line-height: 1.6; color: var(--fg); max-width: 70ch; }
.contact-form { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.contact-form .contact-panel { grid-template-columns: 1fr; position: sticky; top: 96px; }
.contact-panel-cta { grid-template-columns: 1fr; }
.contact-panel-cta .contact-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 72px); align-items: center; }
.contact-panel-cta .contact-copy > * { grid-column: 2; }
.contact-panel-cta .contact-copy > h2 { grid-column: 1; grid-row: 1 / span 4; }
.contact-copy { justify-items: start; }
.contact-copy .btn-ink { margin-top: 6px; }
.form-panel { padding: clamp(20px, 3vw, 40px); border-radius: var(--r-xl); background: var(--panel); border: 1px solid var(--line); min-height: 600px; }
.form-panel iframe { display: block; width: 100%; border: 0; color-scheme: dark; }
.form-fallback { margin-top: 12px; font-size: 14.5px; }
.form-fallback a { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-3); }
.form-fallback a:hover { color: var(--fg); }
.form-fallback .i { width: 14px; height: 14px; }
.contact-note b { font-weight: 650; }

/* 404 */
.nf { min-height: 100dvh; display: grid; align-content: center; gap: 48px; padding: 48px 0; }
.nf .brand { justify-self: start; }
.nf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.nf-cols > div { display: grid; gap: 18px; justify-items: start; }
.nf-cols p { color: var(--fg-2); }

/* ---------- intro (first visit per session, home only) ---------- */
.intro { display: none; }
html.intro-on { overflow: hidden; }
html.intro-on .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  animation: intro-out 560ms var(--ease-out) 1400ms forwards;
}
html.intro-skip .intro { animation: intro-out 300ms var(--ease-io) 0ms forwards; }
.intro-stage { display: flex; align-items: center; gap: 18px; }
.intro-tile { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--lime); color: var(--lime-ink); opacity: 0; transform: scale(0.6); filter: blur(8px); animation: tile-in 700ms var(--ease-out) 80ms forwards; }
.intro-tile .mark { width: 38px; height: 38px; }
.intro-tile path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 700ms var(--ease-out) 420ms forwards; }
.intro-word { font-size: 34px; font-weight: 650; letter-spacing: 0.24em; }
.intro-word b { font-weight: inherit; display: inline-block; opacity: 0; transform: translateY(10px); filter: blur(6px); animation: letter 560ms var(--ease-out) calc(560ms + var(--i) * 55ms) forwards; }
html.intro-on .intro-skip-btn { position: absolute; right: var(--gutter); bottom: var(--gutter); height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--fg-2); font-size: 14px; font-weight: 600; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { html.intro-on .intro-skip-btn:hover { color: var(--fg); } }
@keyframes tile-in { to { opacity: 1; transform: none; filter: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes letter { to { opacity: 1; transform: none; filter: none; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .stage-body { grid-template-columns: 1fr; }
  .flags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: 1fr; padding-right: clamp(14px, 1.6vw, 22px); }
  .feature-copy { padding: 6px 10px 14px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .special { grid-template-columns: 1fr; padding-left: clamp(14px, 1.6vw, 20px); }
  .special-copy { padding: 10px 10px 4px; }
  .bento .tile-seo, .bento .tile-automation, .bento .tile-consulting { grid-column: auto; }
  .models-panel { grid-template-columns: minmax(0, 1fr); }
  .models-panel h2 { grid-row: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .about, .faq, .contact-panel, .svc-hero, .contact-form { grid-template-columns: 1fr; }
  .contact-form .contact-panel { position: static; }
  .contact-panel-cta .contact-copy { grid-template-columns: 1fr; }
  .contact-panel-cta .contact-copy > * { grid-column: 1 !important; grid-row: auto !important; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .inc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .site-header { top: 8px; margin-top: 8px; }
  .bar { height: 58px; }
  .hero { padding-top: 40px; }
  .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .actions .btn { width: 100%; }
  .actions .textlink { align-self: flex-start; }
  .form-panel { padding: 14px 10px; }
  .special-visual .w { height: 300px; padding: 16px 14px; }
  .crm-board { --gap: 6px; --pad: 6px; }
  .crm-h { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .stage-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .browser { min-height: 0; }
  .page { padding: 14px 16px 18px; gap: 12px; }
  .flags { grid-template-columns: 1fr; }
  .sit-grid, .bento, .types-wide, .who-grid, .inc-grid { grid-template-columns: minmax(0, 1fr); }
  .types-wide li { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .node { padding: 8px 10px; font-size: 13px; }
  .wire { margin: 0 4px; }
  .types li { grid-template-columns: 1fr; gap: 4px; }
  .app-win { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .tabs button { font-size: 15px; height: 44px; }
  .pa-hero { grid-template-columns: 1fr; }
  .pa-art { display: none; }
  .pa-nav span, .pb-nav span { display: none; }
  .pa-cards { grid-template-columns: 1fr 1fr 1fr; }
  .pb-img { height: 70px; }
  .principles li { grid-template-columns: 1fr; gap: 4px; }
  .sv { height: 240px; }
  .sv-part { font-size: 13px; padding: 7px 10px; }
  .pc-build p { grid-template-columns: 7.5em 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nf-cols { grid-template-columns: 1fr; }
  .svc-visual .w { height: 240px; padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  html.js:not(.ready) [data-rise], html.js [data-reveal]:not(.in) { opacity: 1; transform: none; filter: none; }
  .wire i { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .bar, .nav { background: var(--panel); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
