/* archesign.studio — brand stylesheet (robots section + shared shell)
   Language: drafting paper + ink, one drawing blue, one checking red.
   Fonts: Geist (text/headings) + Geist Mono (drawing annotations). */

:root {
  --paper: #f4f3ee;
  --paper-2: #ebe9e2;
  --card: #fbfaf7;
  --ink: #111417;
  --ink-2: #353a41;
  --mute: #646a73;
  --rule: #d4d1c7;
  --rule-2: #e3e0d7;
  --blue: #2340a8;
  --blue-2: #1a2f82;
  --blue-soft: #e1e6f5;
  --red: #d2432a;
  --red-soft: #f7e2dc;
  --dark: #0f1216;
  --dark-2: #171b21;
  --dark-rule: #2b313a;
  --dark-text: #c9ced6;

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --max: 1200px;
  --gut: 24px;
  --r: 4px;
  --sec: clamp(56px, 8vw, 104px);
  --head-h: 64px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.12; }
h1 { font-size: clamp(38px, 5.6vw, 72px); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.menu-open { overflow: hidden; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--f-mono); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r);
  text-decoration: none; font-size: 14px;
}
.skip:focus { top: 12px; }

/* label used everywhere: mono, caps, small square marker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--blue); flex: none; }
.eyebrow--red::before { background: var(--red); }
.eyebrow--plain { text-transform: none; letter-spacing: 0.04em; font-size: 13px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--mute); }
.small { font-size: 14px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 500 15px/1 var(--f-sans); letter-spacing: -0.005em;
  border: 1px solid var(--ink); border-radius: var(--r);
  background: transparent; color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.btn--light { border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn .arr { font-family: var(--f-mono); transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.textlink:hover { color: var(--ink); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.scrolled .site-header { background: var(--card); }
.head-in { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { width: 30px; height: 30px; }
.brand__txt { display: inline-flex; align-items: baseline; }
.brand__word { font-weight: 600; font-size: 19px; letter-spacing: -0.03em; }
.brand__tld { font-family: var(--f-mono); font-size: 12px; color: var(--mute); letter-spacing: 0.02em; margin-left: 1px; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  font-size: 15px; text-decoration: none; color: var(--ink-2);
  padding: 8px 12px; border-radius: var(--r);
}
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.site-nav .nav-cta { margin-left: 10px; background: var(--ink); color: var(--paper); padding: 9px 16px; }
.site-nav .nav-cta:hover { background: var(--blue); color: #fff; }
.lang {
  display: inline-flex; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; margin-left: 8px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em;
}
.lang a, .lang span { padding: 6px 9px; text-decoration: none; color: var(--mute); }
.lang [aria-current="true"] { background: var(--ink); color: var(--paper); }
.lang a:hover { color: var(--ink); }
.menu-btn {
  display: none; margin-left: auto; position: relative; z-index: 120;
  width: 46px; height: 46px; border: 1px solid var(--rule); border-radius: var(--r);
  background: var(--card); cursor: pointer; color: var(--ink);
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  position: absolute; left: 50%; width: 20px; height: 1.6px; background: currentColor; content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.menu-btn span { top: 50%; transform: translate(-50%, -50%); }
.menu-btn span::before { left: 0; top: -6px; }
.menu-btn span::after { left: 0; top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- section shell */
.sec { padding: var(--sec) 0; }
.sec--tight { padding: calc(var(--sec) * .6) 0; }
.sec--paper2 { background: var(--paper-2); }
.sec--line { border-top: 1px solid var(--rule); }
.sec--dark {
  background-color: var(--dark); color: var(--dark-text);
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark .eyebrow { color: #8d95a1; }
.sec--dark .eyebrow::before { background: #6f8cff; }

/* section heading = a dimension line: |——— 03 · LABEL ———| */
.dim-head { margin-bottom: clamp(32px, 4vw, 56px); }
.dim {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute);
}
.dim::before, .dim::after { content: ""; height: 9px; flex: 1; background:
  linear-gradient(currentColor, currentColor) left center / 100% 1px no-repeat,
  linear-gradient(currentColor, currentColor) left center / 1px 9px no-repeat; opacity: .55; }
.dim::after { background:
  linear-gradient(currentColor, currentColor) left center / 100% 1px no-repeat,
  linear-gradient(currentColor, currentColor) right center / 1px 9px no-repeat; }
.dim b { color: var(--blue); font-weight: 500; }
.sec--dark .dim b { color: #8ea4ff; }
.dim-head__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; }
.dim-head__row p { margin: 0; color: var(--ink-2); }
.sec--dark .dim-head__row p { color: var(--dark-text); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--rule);
  background-image:
    linear-gradient(var(--rule-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-2) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__text { min-width: 0; }
.hero h1 { margin: 20px 0 22px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { margin-bottom: 30px; }
.crumbs { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--mute); margin-bottom: 26px; }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { margin: 0 8px; opacity: .6; }
.rno {
  display: inline-block; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em;
  border: 1px solid var(--ink); padding: 3px 8px; border-radius: 2px; background: var(--card);
}

/* title block (antet) — metadata grid */
.tblock {
  display: grid; grid-template-columns: repeat(var(--tb, 4), minmax(0, 1fr));
  border: 1px solid var(--ink); background: var(--card); margin-top: 34px;
}
.tblock > div { padding: 10px 14px 12px; border-left: 1px solid var(--rule); min-width: 0; }
.tblock > div:first-child { border-left: 0; }
.tblock dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.tblock dd { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }

/* drawing sheet frame for generated output images */
.sheet {
  position: relative; margin: 0; background: var(--card);
  border: 1px solid var(--ink); padding: 10px;
}
.sheet::before, .sheet::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 0 solid var(--blue);
}
.sheet::before { top: -5px; left: -5px; border-top-width: 2px; border-left-width: 2px; }
.sheet::after { bottom: -5px; right: -5px; border-bottom-width: 2px; border-right-width: 2px; }
.sheet img { width: 100%; aspect-ratio: var(--ar, 1.414); object-fit: contain; background: #fff; border: 1px solid var(--rule-2); }
.sheet figcaption {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute);
  padding: 10px 2px 0;
}
.sheet figcaption b { color: var(--ink); font-weight: 500; }
.hero .sheet { box-shadow: 10px 10px 0 var(--paper-2); }

/* ---------------------------------------------------------------- hub: how-it-works strip */
.flow4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); counter-reset: f; }
.flow4 li { list-style: none; padding: 26px 26px 6px 0; position: relative; counter-increment: f; }
.flow4 li::before {
  content: "0" counter(f); display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--blue); margin-bottom: 18px;
}
.flow4 li::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--paper); border: 1px solid var(--ink); border-radius: 50%; }
.flow4 li.is-eng::before { color: var(--red); }
.flow4 li.is-eng::after { border-color: var(--red); background: var(--red); }
.flow4 h3 { margin-bottom: 10px; }
.flow4 p { color: var(--ink-2); font-size: 16px; }
.sec--dark .flow4 { border-color: #59616d; }
.sec--dark .flow4 li::after { background: var(--dark); border-color: #8d95a1; }
.sec--dark .flow4 p { color: var(--dark-text); }

/* ---------------------------------------------------------------- hub: filter + robot cards */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font: 500 14px/1 var(--f-sans); padding: 10px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rule); background: var(--card); color: var(--ink-2);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip small { font-family: var(--f-mono); font-size: 11px; opacity: .7; margin-left: 4px; }

.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rcard {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r);
  text-decoration: none; color: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rcard:hover { border-color: var(--ink); box-shadow: 6px 6px 0 var(--paper-2); }
.rcard__img { border-bottom: 1px solid var(--rule); background: #fff; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.rcard__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.rcard:hover .rcard__img img { transform: scale(1.03); }
.rcard__body { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rcard__top { display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.rcard__top .rno { font-size: 11.5px; padding: 2px 6px; }
.rcard__id { display: inline-flex; align-items: center; gap: 8px; }
/* status badges: ready = drawing blue, testing = amber, in training = dashed */
.st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 8px; border: 1px solid; border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; white-space: nowrap; vertical-align: middle; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.st--hazir { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }
.st--sinama { color: #8a5a00; border-color: #d9b46a; background: #fbf1dc; }
.st--egitim { color: var(--mute); border-color: var(--rule); border-style: dashed; background: transparent; }
.st--egitim::before { background: transparent; border: 1.5px solid currentColor; width: 5px; height: 5px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: -10px 0 26px; font-size: 14.5px; color: var(--ink-2); }
.legend > span { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.st-note { margin: -8px 0 28px; padding: 11px 14px; border-left: 3px dashed var(--mute); background: var(--card); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); max-width: 54ch; }
.st-note b { color: var(--ink); }
.tblock dd .st { font-size: 10.5px; }
.rcard h3 { font-size: 22px; }
.rcard p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.rcard__io {
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--rule);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; color: var(--ink-2);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px;
}
.rcard__io dt { color: var(--mute); }
.rcard__io dd { margin: 0; overflow-wrap: anywhere; }
.rcard__go { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }

/* principles list (hub) */
.prin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.prin li { list-style: none; padding: 26px 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--card); }
.prin .k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--red); display: block; margin-bottom: 14px; }
.prin h3 { font-size: 19px; margin-bottom: 8px; }
.prin p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* studio note */
.studio { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.studio__fig { border: 1px solid var(--dark-rule); background: var(--dark-2); padding: 10px; }
.studio__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.studio blockquote { margin: 0 0 24px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; letter-spacing: -0.02em; color: #fff; }
.studio ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.studio li { list-style: none; border-top: 1px solid #59616d; padding-top: 12px; }
.studio li b { display: block; font-size: 30px; font-weight: 600; color: #fff; letter-spacing: -0.03em; }
.studio li span { font-size: 14px; color: #9aa2ad; }

/* ---------------------------------------------------------------- robot page: what it does */
.what { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); }
.what__text p { font-size: 18px; color: var(--ink-2); }
.what__text p:first-child { font-size: 21px; color: var(--ink); letter-spacing: -0.01em; line-height: 1.5; }
.spec { border: 1px solid var(--ink); background: var(--card); align-self: start; }
.spec h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 12px 16px; border-bottom: 1px solid var(--ink); background: var(--paper-2); }
.spec dl { margin: 0; }
.spec dl > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); border-bottom: 1px solid var(--rule); }
.spec dl > div:last-child { border-bottom: 0; }
.spec dt { padding: 11px 16px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); border-right: 1px solid var(--rule); }
.spec dd { margin: 0; padding: 10px 16px; font-size: 15px; overflow-wrap: anywhere; }

/* input -> robot -> output */
.io { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1.25fr); gap: 0; align-items: stretch; }
.io__col h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.io__list li {
  list-style: none; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 14px 0; border-top: 1px solid var(--rule);
}
.io__list li:last-child { border-bottom: 1px solid var(--rule); }
.fmt {
  display: inline-block; text-align: center; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em;
  padding: 5px 0; border: 1px solid var(--ink); border-radius: 2px; background: var(--card);
}
.fmt--out { background: var(--blue); color: #fff; border-color: var(--blue); }
.io__list li > .fmt { display: inline-block; color: var(--ink); font-size: 11.5px; margin: 0; }
.io__list li > .fmt--out { color: #fff; }
.io__list b { display: block; font-weight: 600; font-size: 16px; line-height: 1.35; }
.io__list span { display: block; color: var(--mute); font-size: 14.5px; line-height: 1.45; margin-top: 2px; }
.io__core { position: relative; display: flex; align-items: center; justify-content: center; }
.io__core::before { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; border-top: 1px dashed var(--ink); }
.io__core::after { content: ""; position: absolute; right: 8px; top: calc(50% - 5px); border: 5px solid transparent; border-left: 8px solid var(--ink); border-right: 0; }
.io__chip {
  position: relative; z-index: 1; width: 92px; height: 92px; display: grid; place-items: center; text-align: center;
  background: var(--ink); color: #fff; border-radius: 50%;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
}
.io__chip b { display: block; font-size: 18px; letter-spacing: .02em; }

/* process steps (timeline) */
.steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; counter-reset: s; }
.step { list-style: none; position: relative; padding: 0 0 30px 64px; counter-increment: s; break-inside: avoid; }
.step::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 13px; border: 1px solid var(--ink); border-radius: 50%; background: var(--card);
}
.step::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; border-left: 1px dashed var(--rule); }
.step.is-eng::before { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.step h3 { font-size: 18px; margin: 9px 0 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.tag {
  display: inline-block; vertical-align: 2px; margin-left: 8px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 2px; background: var(--blue-soft); color: var(--blue);
}
.is-eng .tag { background: var(--red-soft); color: var(--red); }

/* gallery of sample outputs */
.gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.gal .sheet:first-child { grid-column: 1 / -1; }
.gal--3 .sheet:first-child { grid-column: auto; }
.gal--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gal--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gal { align-items: start; }
.gal .sheet:not(:first-child) img { aspect-ratio: 1.6; object-fit: contain; }
.gal-note { margin-top: 22px; font-size: 14px; color: var(--mute); }

/* rules checklist */
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.rules li { list-style: none; position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--rule); font-size: 16px; color: var(--ink-2); }
.rules li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.rules b { color: var(--ink); font-weight: 600; }

/* excel preview table */
.xls { border: 1px solid var(--ink); background: #fff; }
.xls__bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 9px 12px; border-bottom: 1px solid var(--ink); background: var(--paper-2);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; }
.xls__bar b { font-weight: 500; }
.xls__bar span { color: var(--mute); }
.xls__tabs { display: flex; gap: 0; border-top: 1px solid var(--rule); font-family: var(--f-mono); font-size: 11.5px; overflow-x: auto; }
.xls__tabs span { padding: 7px 14px; border-right: 1px solid var(--rule); white-space: nowrap; color: var(--mute); }
.xls__tabs span:first-child { background: #fff; color: var(--ink); box-shadow: inset 0 2px 0 var(--blue); }
.tscroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.xls table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 13.5px; }
.xls th, .xls td { border: 1px solid var(--rule-2); padding: 7px 10px; text-align: left; white-space: nowrap; }
.xls th { background: #f3f4f7; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; color: var(--ink-2); text-transform: uppercase; }
.xls td.n { text-align: right; font-family: var(--f-mono); font-size: 13px; }
.xls td.code { font-family: var(--f-mono); font-size: 12.5px; color: var(--blue); }
.xls td.flag { color: var(--red); font-family: var(--f-mono); font-size: 12px; }
.xls tr.tot td { font-weight: 600; background: #f8f8f5; }

/* time saving */
.time { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.bars { display: grid; gap: 22px; }
.bar__label { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 8px; }
.bar__label b { font-family: var(--f-mono); font-weight: 500; font-size: 14px; }
.bar__track { height: 30px; border: 1px solid var(--ink); background:
  repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--rule-2) calc(10% - 1px) 10%), var(--card); }
.bar__fill { height: 100%; width: var(--w); background: repeating-linear-gradient(45deg, var(--ink-2) 0 2px, transparent 2px 7px); border-right: 2px solid var(--ink); }
.bar--robot .bar__fill { background: var(--blue); border-right-color: var(--blue-2); }
.time__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.time__stats div { background: var(--card); padding: 20px 18px; }
.time__stats b { display: block; font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.03em; font-weight: 600; line-height: 1.05; }
.time__stats span { font-size: 14px; color: var(--mute); }
.time__note { margin-top: 18px; font-size: 13.5px; color: var(--mute); }

/* audience */
.aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.aud li { list-style: none; border-top: 2px solid var(--ink); padding-top: 18px; }
.aud .k { font-family: var(--f-mono); font-size: 12px; color: var(--blue); letter-spacing: .08em; }
.aud h3 { font-size: 18px; margin: 10px 0 8px; }
.aud p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ---------------------------------------------------------------- demo form */
.demo { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.demo__aside h2 { margin-bottom: 18px; }
.demo__aside p { color: var(--dark-text); }
.demo__list { margin: 26px 0 0; display: grid; gap: 0; }
.demo__list li { list-style: none; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--dark-rule); font-size: 15.5px; }
.demo__list li span:first-child { font-family: var(--f-mono); font-size: 12px; color: #8ea4ff; padding-top: 3px; }
.form { background: var(--card); color: var(--ink); border: 1px solid var(--ink); padding: clamp(20px, 3vw, 34px); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label:not(.drop):not(.check), .field .lbl { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; font: 400 16px/1.4 var(--f-sans); color: var(--ink);
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.drop {
  position: relative; display: block; border: 1.5px dashed var(--rule); border-radius: var(--r); background: #fff;
  padding: 22px 18px; text-align: center; cursor: pointer; transition: border-color .18s ease, background .18s ease;
}
.drop:hover, .drop.is-over { border-color: var(--blue); background: var(--blue-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop { font-family: var(--f-sans); text-transform: none; letter-spacing: 0; color: var(--ink); }
.drop strong { display: block; font-size: 16px; font-weight: 500; }
.drop span { display: block; font-size: 13.5px; color: var(--mute); margin-top: 4px; }
.drop__files { margin-top: 10px; font-family: var(--f-mono); font-size: 12.5px; color: var(--blue); overflow-wrap: anywhere; }
.check { font-family: var(--f-sans); text-transform: none; letter-spacing: 0; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form__foot .small { color: var(--mute); max-width: 36ch; }
.form-note { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--blue); background: var(--blue-soft); font-size: 15px; overflow-wrap: anywhere; }
.form-note.is-ok { border-left-color: #2f8a57; background: #e2f1e8; }
.form-note.is-err { border-left-color: var(--red); background: var(--red-soft); }
.btn[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); }
.faq__list details { border-top: 1px solid var(--rule); }
.faq__list details:last-child { border-bottom: 1px solid var(--rule); }
.faq__list summary {
  display: block; position: relative; list-style: none; cursor: pointer;
  padding: 20px 46px 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.4;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 50%;
  font-family: var(--f-mono); font-size: 16px; line-height: 26px; text-align: center;
}
.faq__list details[open] summary::after { content: "−"; background: var(--ink); color: var(--paper); }
.faq__list details p { margin: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* ---------------------------------------------------------------- other robots */
.others { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--rule); }
.others a { display: block; padding: 18px 16px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; background: var(--card); min-width: 0; }
.others a:hover { background: var(--ink); color: var(--paper); }
.others a:hover span { color: #9aa2ad; }
.others span { display: block; font-family: var(--f-mono); font-size: 11.5px; color: var(--mute); letter-spacing: .06em; margin-bottom: 6px; }
.others b { font-weight: 500; font-size: 15.5px; line-height: 1.3; }
.others a[aria-current="page"] { background: var(--blue-soft); }

.pn { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; }
.pn a { text-decoration: none; display: flex; flex-direction: column; gap: 4px; max-width: 48%; }
.pn a:last-child { text-align: right; margin-left: auto; }
.pn span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.pn b { font-weight: 600; font-size: 19px; letter-spacing: -0.015em; }
.pn a:hover b { color: var(--blue); }

/* ---------------------------------------------------------------- home doors */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.door { display: flex; flex-direction: column; border: 1px solid var(--ink); background: var(--card); text-decoration: none; color: inherit; min-width: 0; }
.door img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; border-bottom: 1px solid var(--ink); background: #fff; }
.door__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.door h2 { font-size: clamp(26px, 2.6vw, 34px); }
.door p { margin: 0; color: var(--ink-2); }
.door .textlink { align-self: flex-start; margin-top: auto; }
.door:hover { box-shadow: 8px 8px 0 var(--paper-2); }
.door .soon { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }

/* ---------------------------------------------------------------- CTA band */
.band { background: var(--blue); color: #fff; padding: clamp(48px, 6vw, 80px) 0; }
.band__in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.band h2 { color: #fff; max-width: 22ch; }
.band p { margin: 10px 0 0; color: #d7defa; max-width: 52ch; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--dark); color: #9aa2ad; padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-rule); }
.site-footer .brand { color: #fff; }
.site-footer .brand__tld { color: #8d95a1; }
.site-footer p { margin: 16px 0 0; max-width: 34ch; }
.site-footer h4 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul li { list-style: none; margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: #b7bec8; }
.site-footer a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; }

/* ---------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .others { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .prin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  :root { --head-h: 60px; }
  .menu-btn { display: inline-block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 110; margin: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: calc(var(--head-h) + 24px) var(--gut) 32px;
    background: var(--paper); overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease;
  }
  .menu-open .site-nav { visibility: visible; opacity: 1; }
  .site-nav a { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .site-nav a:hover { background: transparent; color: var(--blue); }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--blue); }
  .site-nav .nav-cta { margin: 24px 0 0; text-align: center; font-size: 17px; padding: 16px; border-radius: var(--r); border: 0; }
  .site-nav .lang { margin: 22px 0 0; align-self: flex-start; }
  .site-nav .lang a, .site-nav .lang span { font-size: 14px; padding: 10px 14px; border: 0; }

  .hero__grid, .what, .time, .demo, .faq, .studio, .dim-head__row { grid-template-columns: minmax(0, 1fr); }
  .io { grid-template-columns: minmax(0, 1fr); }
  .io__core { height: 120px; }
  .io__core::before { left: 50%; right: auto; top: 8px; bottom: 8px; border-top: 0; border-left: 1px dashed var(--ink); }
  .io__core::after { right: auto; left: calc(50% - 5px); top: auto; bottom: 6px; border: 5px solid transparent; border-top: 8px solid var(--ink); border-bottom: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .flow4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal--3 .sheet:first-child { grid-column: 1 / -1; }
  .gal--4 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .brand__tld { display: none; }
  .rgrid, .gal, .gal--3, .rules, .aud, .prin, .doors, .form__grid, .flow4 { grid-template-columns: minmax(0, 1fr); }
  .gal .sheet:first-child, .gal--3 .sheet:first-child { grid-column: auto; }
  .tblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tblock > div:nth-child(3) { border-left: 0; }
  .tblock > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .spec dl > div { grid-template-columns: 104px minmax(0, 1fr); }
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio ul { grid-template-columns: minmax(0, 1fr); }
  .time__stats { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .faq__list summary { font-size: 17px; }
  .hero .sheet { box-shadow: 6px 6px 0 var(--paper-2); }
  .pn a { max-width: 50%; }
  .pn b { font-size: 16px; }
  .btn-row .btn { flex: 1 1 100%; }
}
