/* Parallax Technologies, company site.
   Tokens follow General App Guidlines/design-language.md (tier A signatures,
   tier B defaults). Tier C declarations for this site: canvas #050505 with a
   masked dot grid, two eyes (HUMAN warm, MACHINE cool), Familjen Grotesk for
   every role, the pointer parallax as the depth gesture, the dictionary
   definition and the readout as the voice. */

@font-face {
  font-family: "Familjen Grotesk";
  src: url("fonts/FamiljenGrotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  src: url("fonts/FamiljenGrotesk-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* B1 neutral ladder, dark. Canvas is this site's tier C value. */
  --canvas: #050505;
  --surface: #141414;
  --elevated: #1b1b1b;
  --ink: #ededed;
  --ink-muted: #8b8b8b;
  --ink-faint: #5c5c5c;
  --hairline: rgba(255, 255, 255, 0.10);
  --hairline-strong: rgba(255, 255, 255, 0.16);

  /* the two eyes. Resting state is HUMAN, warm. */
  --warm: #ff5a1f;
  --cool: #35c4ff;
  --eye: var(--warm);
  --eye-soft: rgba(255, 90, 31, 0.15);
  --eye-glow: rgba(255, 90, 31, 0.35);

  /* A8 motion */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --fast: 200ms;
  --normal: 300ms;
  --slow: 500ms;

  /* B4 radius scale */
  --r-6: 6px; --r-10: 10px; --r-14: 14px; --r-20: 20px; --r-pill: 999px;

  --sans: "Familjen Grotesk", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, "JetBrains Mono", monospace;

  --page: min(1320px, calc(100vw - 56px));
  color-scheme: dark;
}
[data-eye="machine"] {
  --eye: var(--cool);
  --eye-soft: rgba(53, 196, 255, 0.15);
  --eye-glow: rgba(53, 196, 255, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

/* the eye is a view switch: content marked for the other eye is not rendered */
[data-eye="human"] [data-view="machine"], [data-eye="machine"] [data-view="human"] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--eye); color: #000; }
:focus-visible { outline: 2px solid var(--eye); outline-offset: 3px; border-radius: 3px; }

/* ---------- type roles (B3) ---------- */
.display { font-size: clamp(40px, 7.4vw, 116px); line-height: 0.95; letter-spacing: -0.02em; font-weight: 700; }
.title   { font-size: clamp(30px, 4vw, 54px);   line-height: 1.02; letter-spacing: -0.02em; font-weight: 700; }
.heading { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.01em; font-weight: 600; }
.sub     { font-size: 17px; line-height: 1.3; font-weight: 600; }
.lead    { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-muted); }
.body    { font-size: 16px; color: var(--ink-muted); }
.label   { font-size: 13px; color: var(--ink-muted); }
.num     { font-variant-numeric: tabular-nums; }

/* A2 eyebrow: the only uppercase text on the page */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.eyebrow.on { color: var(--eye); transition: color var(--normal) ease; }
.eyebrow i { font-style: normal; color: var(--ink-faint); }

/* ---------- layout ---------- */
.wrap { width: var(--page); margin: 0 auto; }
.section { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--hairline); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 880px; }
.section-head .lead { max-width: 640px; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px 28px;
  font-size: 13px;
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar.solid { background: color-mix(in srgb, var(--canvas) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); }
.brand { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.brand i { color: var(--eye); font-style: normal; transition: color var(--normal) ease; }
.nav { display: flex; gap: 22px; align-items: baseline; justify-self: end; color: var(--ink-muted); white-space: nowrap; font-weight: 500; }
.nav a { color: inherit; transition: color var(--fast) ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav sup { font-family: var(--mono); font-size: 9px; color: var(--ink-faint); margin-left: 2px; line-height: 1; position: relative; top: -0.4em; vertical-align: baseline; }
.online { position: relative; padding-left: 13px; color: var(--ink-muted); }
.online::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--eye); box-shadow: 0 0 10px var(--eye); transition: background var(--normal), box-shadow var(--normal); }

/* the eye switch */
.eye {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  height: 30px; width: 176px; border-radius: var(--r-pill);
  background: #101010; box-shadow: inset 0 0 0 1px var(--hairline);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  cursor: pointer; user-select: none;
}
.eye > span { display: grid; place-items: center; color: var(--ink-faint); }
.eye .thumb {
  position: absolute; top: 3px; left: 3px; width: calc(50% - 3px); height: 24px;
  border-radius: var(--r-pill); background: var(--eye);
  transition: transform 260ms var(--ease), background var(--normal);
}
[data-eye="machine"] .eye .thumb { transform: translateX(100%); }
.eye .lab {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr;
  pointer-events: none;
  clip-path: inset(3px 50% 3px 3px round 999px);
  transition: clip-path 260ms var(--ease);
}
.eye .lab span { display: grid; place-items: center; color: #000; }
[data-eye="machine"] .eye .lab { clip-path: inset(3px 3px 3px 50% round 999px); }

/* ---------- buttons (A6, B5) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; letter-spacing: 0;
  transition: transform 150ms var(--ease), opacity 150ms ease, background var(--fast) ease, color var(--fast) ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: #000; }
.btn-primary:hover { background: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline); }
.btn-secondary:hover { background: var(--elevated); }
.btn-tertiary { color: var(--ink-muted); padding: 0 6px; }
.btn-tertiary:hover { color: var(--ink); }
.btn .arrow { display: inline-block; transition: transform var(--normal) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.badge img { height: 44px; width: auto; }

/* ---------- cards (A4, A7, B5) ---------- */
.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-14);
  box-shadow: inset 0 0 0 1px var(--hairline);
  overflow: hidden;
  transition: box-shadow var(--normal) ease, transform var(--slow) var(--ease);
}
a.card:hover, .card.link:hover { box-shadow: inset 0 0 0 1px var(--hairline-strong); }
.card .lab {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-muted);
}
.card .lab i { font-style: normal; color: var(--eye); transition: color var(--normal); }
.card .lab .off { color: var(--ink-faint); }
.card .shot { aspect-ratio: 9 / 16; overflow: hidden; background: var(--elevated); }
.card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card .body-block { padding: 16px 16px 18px; display: grid; gap: 10px; }
.card .body-block .sub { color: var(--ink); }
.card .body-block .body { font-size: 15px; }
.card .row { display: flex; gap: 14px; align-items: center; margin-top: 4px; font-size: 14px; color: var(--ink-muted); }
.card .row a { color: var(--ink); }
.card .row a .arrow { display: inline-block; transition: transform var(--normal) var(--ease); }
.card .row a:hover .arrow { transform: translateX(3px); }
.card .icon { width: 44px; height: 44px; border-radius: var(--r-10); }
.card.dim .shot img { filter: grayscale(1) brightness(0.55); }
.card .tile { aspect-ratio: 9 / 16; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 40%, #171717, var(--surface) 70%); }
.card .tile img { width: 72px; height: 72px; border-radius: 18px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* feature tiles, no image, numbered eyebrow instead of an icon */
.tile-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile-item { background: var(--surface); border-radius: var(--r-14); box-shadow: inset 0 0 0 1px var(--hairline); padding: 22px 20px 24px; display: grid; gap: 10px; align-content: start; }
.tile-item .sub { color: var(--ink); }
.tile-item .body { font-size: 15px; }
@media (max-width: 960px) { .tile-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tile-list { grid-template-columns: 1fr; } }

/* stat row, A3 tabular */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 18px 0 0; border-top: 1px solid var(--hairline); display: grid; gap: 6px; }
.stat b { font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--ink-muted); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* rows (lab, contact, capabilities) */
.rows { display: grid; border-top: 1px solid var(--hairline); }
.row-item { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.row-item .sub { color: var(--ink); }
.row-item .body { font-size: 15px; }
.row-item .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
@media (max-width: 720px) { .row-item { grid-template-columns: 1fr; gap: 8px; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 22px 0 0; border-top: 1px solid var(--hairline); display: grid; gap: 10px; }
.step .eyebrow { font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; border-top: 1px solid var(--hairline); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; align-items: baseline; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--ink-faint); transition: transform var(--normal) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .body { padding: 0 0 22px; max-width: 700px; }
.faq .body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* guides list */
.guides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.guide { display: grid; gap: 8px; padding: 20px; background: var(--surface); border-radius: var(--r-14); box-shadow: inset 0 0 0 1px var(--hairline); transition: box-shadow var(--normal) ease; }
.guide:hover { box-shadow: inset 0 0 0 1px var(--hairline-strong); }
.guide .sub { color: var(--ink); }
.guide .body { font-size: 14px; }
@media (max-width: 720px) { .guides { grid-template-columns: 1fr; } }

/* product hero */
.p-hero { padding: 140px 0 60px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.p-hero .copy { display: grid; gap: 22px; }
.p-hero .copy .actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.p-hero .icon { width: 64px; height: 64px; border-radius: 16px; }
.p-shots { position: relative; display: flex; gap: 14px; justify-content: center; perspective: 1400px; transform-style: preserve-3d; }
.p-shots .card { width: 33%; transform: rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0px)); }
.p-shots .card .shot { aspect-ratio: 617 / 1334; }
@media (max-width: 960px) { .p-hero { grid-template-columns: 1fr; padding-top: 110px; } .p-shots .card { width: 31%; } }

/* CTA band */
.cta { padding: clamp(64px, 8vw, 110px) 0; border-top: 1px solid var(--hairline); display: grid; gap: 22px; justify-items: start; }
.cta .actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* footer */
footer { border-top: 1px solid var(--hairline); padding: 36px 0 44px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: baseline; font-size: 13px; color: var(--ink-faint); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer nav a { color: var(--ink-muted); }
footer nav a:hover { color: var(--ink); }

/* ---------- entrance (A8): rise 12px, 500ms, 60ms stagger ---------- */
.rise { opacity: 0; transform: translateY(12px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .eye .thumb, .eye .lab, .btn, .card { transition-duration: 1ms; }
}

/* ---------- platform marquee, HUMAN gorunumunde ---------- */
/* Ucuncu taraf markalarin tek renk isaretleri. Renk yok, sadece murekkep;
   tasarim dili A5 tek vurgu kuralini bozmasin diye bilerek siyah beyaz. */
.marquee { margin-top: clamp(44px, 5vw, 72px); }
.marquee > .eyebrow { margin-bottom: 22px; }
.marquee-window {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-row { display: flex; width: max-content; }
/* animasyon sadece JS ikinci sirayi kopyaladiktan sonra baslar, yoksa
   tek sira -50% kayinca ortada bosluk acilir */
.marquee-row.live { animation: marquee 52s linear infinite; }
.marquee-window:hover .marquee-row.live { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.track {
  display: flex; align-items: center; list-style: none; margin: 0;
  gap: clamp(36px, 4.5vw, 64px); padding: 6px clamp(18px, 2.2vw, 32px) 6px 0;
}
.track li { display: flex; align-items: center; gap: 11px; color: var(--ink-muted); white-space: nowrap; }
.track li svg { height: 23px; width: auto; flex: none; }
.track li.wide svg { height: 19px; }
.track li span { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
@media (prefers-reduced-motion: reduce) {
  .marquee-window { mask-image: none; -webkit-mask-image: none; }
  .marquee-row { width: auto; animation: none; }
  .track { flex-wrap: wrap; gap: 24px 38px; padding-right: 0; }
}
@media (max-width: 720px) {
  .track li svg { height: 20px; }
  .track li.wide svg { height: 17px; }
  .track li span { font-size: 14px; }
}

/* ---------- prose (legal, blog) ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 130px 0 100px; }
.prose h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.02em; line-height: 1.05; margin: 12px 0 18px; }
.prose h2 { font-size: 24px; letter-spacing: -0.01em; margin: 44px 0 14px; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; font-weight: 600; }
.prose p, .prose li { color: var(--ink-muted); font-size: 17px; line-height: 1.65; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--ink-faint); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-faint); }
.prose a:hover { text-decoration-color: var(--eye); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hairline); color: var(--ink-muted); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }
.prose .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-muted); }
.prose .lead { border-left: 2px solid var(--eye); padding-left: 16px; margin: 0 0 28px; }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 40px 0; }
.prose blockquote { margin: 0 0 18px; padding-left: 16px; border-left: 2px solid var(--hairline-strong); }
.prose code { font-family: var(--mono); font-size: 0.9em; background: var(--surface); padding: 2px 6px; border-radius: var(--r-6); }
.prose .toc { background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); border-radius: var(--r-14); padding: 18px 22px; margin: 0 0 28px; }
.prose .toc ul { margin: 0; padding-left: 18px; }
.prose .toc li { font-size: 15px; margin-bottom: 4px; }
.prose .card-box { background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); border-radius: var(--r-14); padding: 22px; margin: 26px 0; }
.prose .card-box p:last-child { margin: 0; }

@media (max-width: 720px) {
  :root { --page: calc(100vw - 40px); }
  .bar { grid-template-columns: 1fr auto; padding: 14px 20px; }
  .nav, .online { display: none; }
  .row-item .meta { white-space: normal; }
}
@media (max-width: 1100px) { .nav a[data-nav="lab"] { display: none; } }
