/* USYS: tokens follow CLAUDE-REFERANS-ANALIZI.md (pure white, Apple structure, World Labs serif display, Runway mega menu) */

/* Turkish letters missing from the latin files (ğ Ğ İ ş Ş) live in tiny -tr files, preloaded on Turkish pages */
@font-face { font-family: 'Gilda Display'; font-style: normal; font-weight: 400; font-display: optional; src: url(assets/fonts/GildaDisplay-tr.woff2) format('woff2'); unicode-range: U+011E-011F, U+0130, U+015E-015F; }
@font-face { font-family: 'Gilda Display'; font-style: normal; font-weight: 400; font-display: optional; src: url(assets/fonts/GildaDisplay-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/Inter-tr.woff2) format('woff2'); unicode-range: U+011E-011F, U+0130, U+015E-015F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/Inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/JetBrainsMono-tr.woff2) format('woff2'); unicode-range: U+011E-011F, U+0130, U+015E-015F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/JetBrainsMono-latin.woff2) format('woff2'); 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; }

/* Metric-matched fallbacks so text does not shift when the web fonts finish loading */
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); size-adjust: 107.64%; ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; }
@font-face { font-family: 'Gilda Fallback'; src: local('Times New Roman'); size-adjust: 111.58%; ascent-override: 79.94%; descent-override: 25.54%; line-gap-override: 0%; }

:root {
  color-scheme: only light;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --dark: #0b0b0c;
  --on-dark: #f5f5f7;
  --on-dark-2: #8e8e93;
  --accent: #c2481a;

  --serif: 'Gilda Display', 'Gilda Fallback', 'Times New Roman', serif;
  --sans: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(20px, 5vw, 80px);
  --max: 1320px;
  --radius: 24px;
  --section: clamp(96px, 12vw, 176px);
  --nav-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Smooth page-to-page and language transitions (View Transitions API) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: ease; }
.nav { view-transition-name: site-nav; }
::view-transition-group(site-nav) { animation: none; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.53 var(--sans);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
h1, h2, h3, .company__big { text-wrap: balance; }
p, li { text-wrap: pretty; }
main:focus { outline: none; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-3); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; transition: top .25s var(--ease); }
.skip:focus { top: 12px; }

/* Buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 500 16px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pill:active { transform: scale(0.98); }
.pill--sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.pill--dark { background: var(--ink); color: #fff; }
.pill--dark:hover { background: #000; }
.pill--soft { background: var(--bg-2); color: var(--ink); }
.pill--soft:hover { background: #e8e8ed; }
.pill--light { background: var(--on-dark); color: var(--dark); }
.pill--light:hover { background: #fff; }
.pill--ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
.pill--ghost:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }

/* Icons: thin line, no container (1000.com.tr style) */
.icon { width: 44px; height: 44px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 32px; height: 32px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.nav.is-scrolled, .nav.has-mega { border-bottom-color: var(--line); }
.nav.has-mega { background: #fff; }
.nav__inner { position: relative; display: flex; align-items: center; gap: 32px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; min-height: 44px; line-height: 0; color: #000; }
.logo__svg { display: block; width: 85px; height: 16px; }
.logo--footer .logo__svg { width: 117px; height: 22px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: 14px; color: #515154; }
.nav__trigger, .nav__link { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px; border-radius: 999px; transition: color .2s ease, background-color .2s ease; }
.nav__trigger:hover, .nav__link:hover, .nav__trigger[aria-expanded="true"] { color: var(--ink); background: var(--bg-2); }
.nav__trigger.is-current, .nav__link.is-current { color: var(--ink); }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.nav__trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; align-items: center; height: 36px; padding: 0 10px; border-radius: 999px; font: 500 13px/1 var(--mono); color: #515154; transition: color .2s ease, background-color .2s ease; }
.lang:hover { color: var(--ink); background: var(--bg-2); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 999px; position: relative; }
.menu-btn__bar { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .25s ease; }
.menu-btn__bar:first-child { top: 16px; }
.menu-btn__bar:nth-child(2) { top: 23px; }
.menu-btn[aria-expanded="true"] .menu-btn__bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bar:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Mega menu (Runway style) */
.mega {
  position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 48px;
  padding: 36px; border-radius: 20px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -24px rgba(0, 0, 0, 0.18);
  animation: mega-in .22s var(--ease) both;
}
.mega[hidden] { display: none; }
.mega { max-height: calc(100vh - var(--nav-h) - 24px); max-height: calc(100dvh - var(--nav-h) - 24px); overflow-y: auto; overscroll-behavior: contain; }
.mega.is-closing { animation: mega-out .16s ease forwards; pointer-events: none; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes mega-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-4px); } }
.mega__list a[aria-current="page"] { background: var(--bg-2); }
.mega__list a[aria-current="page"] strong::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: middle; border-radius: 50%; background: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); }
.mega__title { font: 400 30px/1.1 var(--serif); letter-spacing: -0.03em; }
.mega__desc { margin-top: 12px; max-width: 24em; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.mega__list a { display: flex; align-items: flex-start; gap: 14px; padding: 14px; border-radius: 14px; transition: background-color .15s ease; }
.mega__list a:hover, .mega__list a:focus-visible { background: var(--bg-2); }
.mega__list .icon { width: 28px; height: 28px; margin-top: 1px; }
.mega__list strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.mega__list small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.mega__bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 12px; background: var(--bg-2); font-size: 14px; color: var(--ink-2); }
.mega__bar a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; }
.nav__foot { display: none; }
.nav-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.08); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.nav.has-mega + .nav-scrim { opacity: 1; pointer-events: auto; }

/* Hero */
.hero { padding-top: clamp(72px, 11vw, 160px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero__title { font: 400 clamp(36px, 10.4vw, 112px)/0.98 var(--serif); letter-spacing: -0.045em; overflow-wrap: break-word; }
.hero--page { padding-top: clamp(56px, 8vw, 120px); }
.hero--page .hero__title { font-size: clamp(34px, 9vw, 96px); }
.hero__line { display: block; }
.hero__line--muted { color: var(--ink-3); }
.hero__lead { max-width: 36em; margin-top: clamp(24px, 3vw, 36px); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 24px; }
.eyebrow a { display: inline-block; padding-block: 6px; margin-block: -6px; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, 0.2); text-underline-offset: 4px; transition: color .2s ease, text-decoration-color .2s ease; }
.eyebrow a:hover { color: var(--ink); text-decoration-color: currentColor; }

.js .hero .eyebrow, .js .hero__line, .js .hero__lead, .js .hero__actions { animation: rise .55s var(--ease) both; }
.js .hero__line--muted { animation-delay: .06s; }
.js .hero__lead { animation-delay: .12s; }
.js .hero__actions { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Vision */
.vision { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-block: var(--section); }
.vision h2 { font: 400 clamp(40px, 4.8vw, 68px)/1.04 var(--serif); letter-spacing: -0.04em; }
.vision__text { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; padding-top: 10px; }

/* Areas: 1000 style columns with vertical hairlines */
.areas-section, .caps-section { padding-bottom: var(--section); }
.caps-section { padding-top: var(--section); }
.areas-title, .needs__title, .section-head h2, .vision h2, .company__title, .cta__title { overflow-wrap: break-word; }
.areas-title { font: 400 clamp(44px, 5.6vw, 80px)/1.02 var(--serif); letter-spacing: -0.04em; margin-bottom: clamp(40px, 5vw, 72px); }
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.areas--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.area { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 112px); padding: 32px 28px 8px; border-left: 1px solid var(--line); }
/* Equal-height columns: description on top, the "İncele" link pinned to the bottom of every column */
.area__body { flex: 1; display: flex; flex-direction: column; }
.area__body .more { margin-top: auto; padding-top: 24px; align-self: flex-start; }
.area:first-child { border-left: 0; padding-left: 0; }
.area h3 { font: 600 20px/1.25 var(--sans); letter-spacing: -0.02em; }
.area p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

/* Needs list on solution pages */
.needs { padding-top: var(--section); }
.needs__title { font: 400 clamp(32px, 3.6vw, 52px)/1.08 var(--serif); letter-spacing: -0.035em; margin-bottom: clamp(28px, 3vw, 44px); }
.needs__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); }
.needs__list li { position: relative; padding: 22px 0 22px 22px; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.45; }
.needs__list li::before { content: ''; position: absolute; left: 0; top: calc(22px + 0.62em); width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; font-size: 14px; font-weight: 500; }
.more, .mega__bar a, .product-card .more > span:first-child { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
.more:hover, .mega__bar a:hover, .product-card:hover .more > span:first-child { text-decoration-color: currentColor; }
.arrow { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
a:hover > .arrow { transform: translateX(2px); }

/* Related solutions */
.related { padding-bottom: var(--section); }
.related__title { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 20px; }
.related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related__card { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius); background: var(--bg-2); transition: background-color .2s ease; }
.related__card:hover { background: #ececf0; }
.related__card .icon { margin-bottom: 28px; }
.related__card strong { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.related__card span { font-size: 14.5px; color: var(--ink-2); }
.related__card:hover span { color: #5e5e63; }

/* Products: cards on the home page, one section per product on the products page */
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.products-section { padding-bottom: var(--section); }
.product-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: clamp(300px, 27vw, 400px); padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius); background: var(--bg-2); transition: background-color .2s ease; }
.product-card:hover { background: #ececf0; }
.product-card__name { margin-top: auto; padding-top: 48px; font: 400 clamp(44px, 5vw, 72px)/1 var(--serif); letter-spacing: -0.04em; }
.product-card__tag { font: 600 clamp(19px, 1.6vw, 22px)/1.3 var(--sans); letter-spacing: -0.02em; }
.product-card__text { max-width: 30em; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.product-card .more { margin-top: 14px; }
.product { padding-top: var(--section); }
.product--next { border-top: 1px solid var(--line); }
.product__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-bottom: clamp(40px, 5vw, 72px); }
.product__name { margin-top: 20px; font: 400 clamp(52px, 8vw, 112px)/0.98 var(--serif); letter-spacing: -0.045em; overflow-wrap: break-word; }
.product__tagline { font: 400 clamp(26px, 2.6vw, 38px)/1.22 var(--serif); letter-spacing: -0.03em; }
.product__text { margin-top: 18px; max-width: 34em; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-2); }
.product__actions { margin-top: 28px; }
.product__features { padding-top: clamp(48px, 6vw, 88px); padding-bottom: var(--section); }
@media (max-width: 960px) { .product__head, .product-cards { grid-template-columns: 1fr; } }

/* Process (Apple tiles) */
.process { padding-bottom: var(--section); }
.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { font: 400 clamp(44px, 5.6vw, 80px)/1.02 var(--serif); letter-spacing: -0.04em; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--bg-2); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 48px); min-height: clamp(220px, 22vw, 300px); display: flex; flex-direction: column; }
.tile h3 { margin-top: auto; padding-top: 48px; font: 600 clamp(24px, 2.2vw, 30px)/1.15 var(--sans); letter-spacing: -0.025em; }
.tile p { margin-top: 10px; max-width: 26em; color: var(--ink-2); }
.tile .tile__out { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.tile__out span:first-child { margin-right: 8px; font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }

/* Frequently asked questions (native disclosure, works without JavaScript) */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: var(--section); }
.faq__title { font: 400 clamp(40px, 4.8vw, 68px)/1.04 var(--serif); letter-spacing: -0.04em; overflow-wrap: break-word; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 22px 40px 22px 0; cursor: pointer; list-style: none; font: 600 clamp(17px, 1.4vw, 19px)/1.4 var(--sans); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; max-width: 40em; color: var(--ink-2); line-height: 1.6; }
/* Motion: the answer fades in as the row slides open (main.js animates the height) */
.faq summary { transition: color .2s ease; }
.faq summary:hover { color: #000; }
.faq summary:hover::after { border-color: #000; }
.faq details p { transition: opacity .24s ease, transform .24s ease; }
.faq details[open] p { animation: faq-in .42s var(--ease) both; }
.faq details.is-closing p { opacity: 0; transform: translateY(-4px); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .faq { grid-template-columns: 1fr; } }

/* Dark band */
.dark { background: var(--dark); color: var(--on-dark); }
.dark .muted { color: var(--on-dark-2); }
.company { padding-top: var(--section); padding-bottom: clamp(72px, 9vw, 128px); }
.company__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.company__title { font: 400 clamp(40px, 4.8vw, 68px)/1.04 var(--serif); letter-spacing: -0.04em; }
.company__big { font: 400 clamp(26px, 2.6vw, 38px)/1.22 var(--serif); letter-spacing: -0.03em; }
.company__link { margin-top: 32px; }

.meta { border-top: 1px solid var(--line); }
.meta div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.meta dt { font: 500 12px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.meta--dark, .meta--dark div { border-color: rgba(255, 255, 255, 0.12); }
.meta--dark dt { color: var(--on-dark-2); }
.meta--dark a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }

.cta { padding-top: clamp(72px, 9vw, 128px); padding-bottom: var(--section); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.dark > .cta:first-child { border-top: 0; padding-top: var(--section); }
.cta__title { font: 400 clamp(56px, 10vw, 148px)/0.98 var(--serif); letter-spacing: -0.05em; }
.cta__title span { display: block; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: clamp(32px, 4vw, 56px); }

/* Contact page */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px; padding-bottom: var(--section); }
.contact__card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius); background: var(--bg-2); min-height: 320px; }
.contact__card .icon { margin-bottom: auto; }
.contact__label { margin-top: 56px; font: 500 12px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.contact__mail { margin-top: 8px; font: 400 clamp(22px, 3.6vw, 52px)/1.1 var(--serif); letter-spacing: -0.03em; overflow-wrap: normal; }
.contact__mail { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; text-decoration-thickness: 1px; transition: text-decoration-color .25s ease; }
.contact__mail:hover { text-decoration-color: currentColor; }
.contact__value { margin-top: 8px; font: 400 clamp(26px, 2.6vw, 36px)/1.15 var(--serif); letter-spacing: -0.03em; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.copy-btn { position: relative; overflow: hidden; }
.copy-btn__label, .copy-btn__done { transition: opacity .22s ease, transform .32s var(--ease); }
.copy-btn__done { position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; opacity: 0; transform: translateY(70%); }
.copy-btn.is-copied .copy-btn__label { opacity: 0; transform: translateY(-70%); }
.copy-btn.is-copied .copy-btn__done { opacity: 1; transform: none; }
.copy-btn.is-copied { background: var(--ink); color: #fff; }
.copy-btn__check { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .35s .12s var(--ease); }
.copy-btn.is-copied .copy-btn__check { stroke-dashoffset: 0; }
/* Read out by screen readers every time; visible only when copying failed */
.copy-status { min-height: 1.5em; margin-top: 12px; font-size: 14px; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s var(--ease); }
.copy-status.is-shown { opacity: 1; transform: none; }

/* Toast: slides up from the bottom (used when a mail link could not open a mail app) */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; width: max-content; max-width: min(560px, calc(100% - 32px)); padding: 12px 12px 12px 20px; border-radius: 20px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1.4; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.45); opacity: 0; transform: translate(-50%, 14px); pointer-events: none; transition: opacity .3s ease, transform .4s var(--ease); }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast:empty { display: none; }
.toast__text { flex: 1 1 260px; }
.toast__text strong { display: block; font-weight: 600; }
.toast__btn { min-height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; transition: background-color .2s ease; }
.toast__btn:hover { background: #e8e8ed; }
.toast__close { width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: 20px; line-height: 1; opacity: .7; transition: opacity .2s ease, background-color .2s ease; }
.toast__close:hover { opacity: 1; background: rgba(255, 255, 255, 0.12); }

/* Legal pages: a readable text column */
.legal { padding-bottom: var(--section); }
.legal > * { max-width: 44rem; }
.legal__updated { font: 500 12px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.legal h2 { margin-top: 48px; font: 600 21px/1.3 var(--sans); letter-spacing: -0.015em; }
.legal p, .legal ul { margin-top: 14px; line-height: 1.6; }
.legal ul { list-style: disc; padding-left: 1.25em; }
.legal li + li { margin-top: 6px; }
.legal li::marker { color: var(--ink-3); }
.legal a, .contact__note a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 0, 0, 0.25); }
.legal a, .contact__note a { transition: text-decoration-color .2s ease; }
.legal a:hover, .contact__note a:hover { text-decoration-color: currentColor; }
.contact__note { margin-top: 20px; max-width: 32em; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* Imprint (künye) on the contact page */
.imprint { padding-bottom: var(--section); }
.imprint__title { font: 400 clamp(32px, 3.6vw, 52px)/1.08 var(--serif); letter-spacing: -0.035em; margin-bottom: clamp(28px, 3vw, 44px); }
.imprint .meta div { grid-template-columns: 14em 1fr; }

/* Details that only exist after company registration; the production build reports any left */
.todo { color: var(--ink-3); font-style: italic; }

/* Footer (Apple style) */
.footer { background: var(--bg); color: var(--ink-2); font-size: 14px; padding-block: 64px 40px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__cols { display: flex; flex-wrap: wrap; gap: clamp(40px, 7vw, 112px); }
.footer__cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer__cols ul { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__head { font: 500 12px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.footer__cols a, .footer__lang { transition: color .2s ease; }
.footer__cols a:hover, .footer__lang:hover { color: var(--ink); }
.footer__lang[aria-current="true"], .footer__cols a[aria-current="page"] { color: var(--ink); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: 12px; }

/* Scroll reveal: only after main.js has prepared it (reveal-ready), so text is never stuck hidden.
   Short and without blur so text is readable almost immediately. */
.reveal-ready [data-reveal] { transition: opacity .45s ease, transform .45s var(--ease); }
.reveal-ready [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(12px); }
.reveal-ready [data-reveal]:focus-within { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .areas:not(.areas--3) .area:nth-child(3) { border-left: 0; padding-left: 0; }
  .areas:not(.areas--3) .area:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .mega { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .company__grid, .vision, .contact { grid-template-columns: 1fr; }
  .tiles, .related__grid { grid-template-columns: 1fr; }
  .areas--3 { grid-template-columns: 1fr; }
  .areas--3 .area { border-left: 0; padding-left: 0; padding-right: 0; gap: 28px; }
  .areas--3 .area + .area { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .nav__links {
    display: none; position: fixed; inset: var(--nav-h) 0 0 0; overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gutter) calc(40px + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    background: #fff; font-size: 24px; color: var(--ink);
  }
  /* backdrop-filter makes the nav the containing block for fixed children, so drop it while the menu is open */
  .nav.is-open { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.is-open .nav__links { display: flex; }
  .nav.menu-closing .nav__links { animation: menu-out .2s ease forwards; }
  @keyframes menu-out { to { opacity: 0; transform: translateY(-8px); } }
  .nav__group { border-bottom: 1px solid var(--line); }
  .nav__trigger, .nav__link { width: 100%; height: auto; justify-content: space-between; padding: 18px 0; border-radius: 0; background: none !important; color: var(--ink); }
  .nav__link { border-bottom: 1px solid var(--line); }
  .chev { width: 18px; height: 18px; }
  .mega { position: static; display: block; max-height: none; overflow: visible; padding: 0 0 16px; box-shadow: none; border-radius: 0; animation: mega-in .2s var(--ease) both; }
  .mega[hidden] { display: none; }
  .mega__intro, .mega__bar { display: none; }
  .mega__list { grid-template-columns: 1fr; }
  .mega__list a { padding: 12px 0; }
  .nav-scrim { display: none; }
  .js .nav.is-open .nav__links > * { animation: rise .45s var(--ease) both; }
  .nav.is-open .nav__links > :nth-child(2) { animation-delay: .04s; }
  .nav.is-open .nav__links > :nth-child(3) { animation-delay: .08s; }
  .nav.is-open .nav__links > :nth-child(4) { animation-delay: .12s; }
  .nav.is-open .nav__links > :nth-child(5) { animation-delay: .16s; }
  /* Contact shortcut at the foot of the full-screen menu */
  .nav__foot { display: flex; flex-direction: column; gap: 16px; margin-top: auto; padding-top: 32px; }
  .nav__foot .pill { width: 100%; }
  .nav__mail { align-self: center; padding: 8px; font-size: 15px; color: var(--ink-2); }
  .nav__actions { margin-left: auto; }
  .nav__actions .pill { display: none; }
  .menu-btn { display: block; }
  .hero__actions .pill { flex: 1 1 auto; }
  .needs__list { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .area, .areas:not(.areas--3) .area { border-left: 0; padding-left: 0; padding-right: 0; gap: 28px; }
  .area + .area { border-top: 1px solid var(--line); }
  .meta div, .imprint .meta div { grid-template-columns: 1fr; gap: 4px; }
  .cta__actions .pill { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* Isometric scenes (tools/iso.py): monochrome, three face tones, seamless loops only.
   Movement along paths, scrolling lists, streaming charts and drifting values are SMIL inside the SVG;
   the rules below cover the CSS-driven loops. Every loop returns to its first frame, so nothing restarts. */
.iso { position: relative; margin-inline: clamp(12px, 1.4vw, 20px); border-radius: var(--radius); background: var(--bg-2); padding: clamp(12px, 3vw, 48px) clamp(8px, 2vw, 32px); }
.iso svg { display: block; width: 100%; max-width: clamp(900px, 55vw, 1100px); max-height: clamp(460px, 28vw, 560px); height: auto; margin-inline: auto; }
/* Very wide screens: stop the panel at a sensible width instead of running edge to edge */
@media (min-width: 1800px) { .iso { max-width: 1760px; margin-inline: auto; } }
.iso svg * { vector-effect: non-scaling-stroke; }
.iso.is-paused * { animation-play-state: paused !important; }
.iso__toggle { position: absolute; right: clamp(10px, 1.6vw, 20px); bottom: clamp(10px, 1.6vw, 20px); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--ink); box-shadow: 0 0 0 1px var(--line); opacity: .7; transition: opacity .2s ease, background-color .2s ease, transform .15s ease; }
.iso__toggle:hover, .iso__toggle:focus-visible, .iso:hover .iso__toggle { opacity: 1; background: #fff; }
.iso__toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.iso__toggle .iso__play, .iso__toggle .iso__pause { transform-box: fill-box; transform-origin: center; transition: opacity .2s ease, transform .25s var(--ease); }
.iso__toggle .iso__play { fill: currentColor; stroke: none; opacity: 0; transform: scale(.4); }
.iso__toggle.is-stopped .iso__play { opacity: 1; transform: none; }
.iso__toggle.is-stopped .iso__pause { opacity: 0; transform: scale(.4); }
.iso__toggle:active { transform: scale(.94); }

.iso-route { stroke: var(--ink); stroke-width: 1.25; stroke-dasharray: 3 7; opacity: .45; animation: iso-dash 1.2s linear infinite; }
.iso-route--flow { opacity: .7; animation-duration: .9s; }
@keyframes iso-dash { to { stroke-dashoffset: -20; } }
.iso-pipe { stroke: #c7c7cc; stroke-width: 6; stroke-linecap: round; }
.iso-grid { stroke: #e5e5ea; stroke-width: 1; }
.iso-thin { stroke: var(--ink-3); stroke-width: .75; }
.iso-tick { fill: none; stroke: var(--ink); stroke-linejoin: round; }

/* status lights: each light gets its own period inline, so they never blink together */
.iso-led { animation: iso-led 2s ease-in-out infinite; }
@keyframes iso-led { 0%, 100% { opacity: 1; } 45% { opacity: 1; } 55% { opacity: .18; } 90% { opacity: .18; } }

/* building windows: lights slowly come on and fade, each window on its own period */
.iso-glow { opacity: 0; animation: iso-glow 6s ease-in-out infinite; }
@keyframes iso-glow { 0%, 100% { opacity: 0; } 40%, 60% { opacity: .85; } }

/* scan beam flashes once per pass of the scan line (the line sweeps up and down every 2.4s) */

/* code editor cursor */
.iso-cursor { animation: iso-cursor 1.1s steps(1) infinite; }
@keyframes iso-cursor { 50% { opacity: 0; } }

/* database discs shimmer from bottom to top */
.iso-ring { animation: iso-ring 2.1s ease-in-out infinite; }
@keyframes iso-ring { 0%, 100% { stroke-opacity: .35; } 50% { stroke-opacity: 1; } }


/* a hovering phone and its shadow share one period (the scan beam follows it in SMIL with the same timing) */

/* iPhone notch and Dynamic Island in landscape: keep content inside the safe area */
@supports (padding: max(0px)) {
  .wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
  .iso { margin-left: max(clamp(12px, 1.4vw, 20px), env(safe-area-inset-left)); margin-right: max(clamp(12px, 1.4vw, 20px), env(safe-area-inset-right)); }
}

/* Landscape phones: desktop-sized display type would fill several screens */
@media (orientation: landscape) and (max-height: 520px) {
  .hero { padding-top: 40px; padding-bottom: 32px; }
  .hero__title { font-size: clamp(36px, 15vh, 72px); }
  .hero--page .hero__title { font-size: clamp(34px, 14vh, 64px); }
  .cta__title { font-size: clamp(44px, 16vh, 84px); }
  .areas-title, .section-head h2 { font-size: clamp(36px, 12vh, 60px); }
  .iso svg { max-height: 72vh; }
  .mega { padding: 20px; }
  .mega__intro, .mega__bar { display: none; }
}

/* Without JavaScript: nothing that needs it is offered, and the desktop panels open on hover or focus */
html:not(.js) [data-copy] { display: none; }
@media (min-width: 761px) {
  html:not(.js) .nav__group:hover > .mega[hidden], html:not(.js) .nav__group:focus-within > .mega[hidden] { display: grid; }
}
@media (max-width: 760px) {
  html:not(.js) .menu-btn { display: none; }
}

/* Windows contrast themes: shapes drawn with backgrounds or shadows get real borders */
@media (forced-colors: active) {
  .pill, .lang, .menu-btn, .iso__toggle, .related__card, .product-card, .badge, .tile, .contact__card, .toast { border: 1px solid ButtonText; }
  .menu-btn__bar, .needs__list li::before { forced-color-adjust: none; background: CanvasText; }
  .mega { border: 1px solid CanvasText; }
  .logo { color: CanvasText; --logo-sys: CanvasText; }
  [aria-current="page"], [aria-current="true"], .nav__trigger.is-current { text-decoration: underline; text-underline-offset: 4px; }
}

/* Print: every section visible, dark band on white paper, no navigation chrome */
@media print {
  @page { margin: 14mm 12mm; }
  .skip, .nav, .nav-scrim, .hero__actions, .contact__actions, .copy-status, .related, .footer__cols, .iso__toggle, .toast { display: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .dark { background: none !important; color: var(--ink) !important; }
  .dark .muted, .meta--dark dt { color: var(--ink-2) !important; }
  .meta--dark, .meta--dark div, .cta { border-color: var(--line) !important; }
  .pill { min-height: 0; padding: 0; background: none !important; color: var(--ink) !important; box-shadow: none !important; }
  .iso { background: none; padding: 0; break-inside: avoid; }
  .iso svg { max-height: 80mm; }
  .vision, .needs, .caps-section, .areas-section, .process, .company, .cta, .contact { padding-block: 10mm !important; }
  .area, .tile, .contact__card, .needs__list li, .meta div { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
}
