/* Bytunasoft site stylesheet. Fonts are self-hosted (SIL Open Font License 1.1): Familjen Grotesk, IBM Plex Sans, IBM Plex Mono. */

/* Familjen Grotesk latin-ext */
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/familjen-grotesk-normal-latin-ext.woff2) format('woff2');
  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;
}
/* Familjen Grotesk latin */
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/familjen-grotesk-normal-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;
}
/* Familjen Grotesk latin-ext */
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/familjen-grotesk-normal-latin-ext.woff2) format('woff2');
  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;
}
/* Familjen Grotesk latin */
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/familjen-grotesk-normal-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;
}
/* IBM Plex Sans latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-italic-latin-ext.woff2) format('woff2');
  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;
}
/* IBM Plex Sans latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-italic-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;
}
/* IBM Plex Sans latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-normal-latin-ext.woff2) format('woff2');
  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;
}
/* IBM Plex Sans latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-normal-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;
}
/* IBM Plex Sans latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-normal-latin-ext.woff2) format('woff2');
  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;
}
/* IBM Plex Sans latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-normal-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;
}
/* IBM Plex Mono 400 latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  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;
}
/* IBM Plex Mono 400 latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-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;
}
/* IBM Plex Mono 500 latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  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;
}
/* IBM Plex Mono 500 latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-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;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --ground: #f2f4f1;
  --surface: #ffffff;
  --ink: #14201c;
  --ink-2: #4b5b55;
  --line: #d3dbd6;
  --accent: #0a6a7e;
  --accent-soft: #dcecef;
  --warm: #b8531a;
  --warm-soft: #fbe9dc;
  --focus: #0a6a7e;

  --font-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 2.75rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.6vw, 3.9rem);

  --gutter: clamp(16px, 4vw, 40px);
  --measure: 66ch;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #0d1412;
    --surface: #141d1a;
    --ink: #e3eae6;
    --ink-2: #9aaaa4;
    --line: #28352f;
    --accent: #5dbfd4;
    --accent-soft: #15313a;
    --warm: #f0955a;
    --warm-soft: #2e1f16;
    --focus: #5dbfd4;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0d1412;
  --surface: #141d1a;
  --ink: #e3eae6;
  --ink-2: #9aaaa4;
  --line: #28352f;
  --accent: #5dbfd4;
  --accent-soft: #15313a;
  --warm: #f0955a;
  --warm-soft: #2e1f16;
  --focus: #5dbfd4;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.005em; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.label {
  font-family: var(--font-mono); font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-block: 18px;
}
.brand { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.03em; }
.brand-word b { color: var(--accent); font-weight: 700; }
.brand-sub { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-2); letter-spacing: 0.04em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang a, .lang span {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 999px; text-decoration: none; color: var(--ink-2);
}
.lang span[aria-current] { background: var(--ink); color: var(--ground); }
.lang a:hover { color: var(--accent); }

/* ---------- Home: hero ---------- */
.hero .wrap {
  display: grid; gap: 40px; padding-block: clamp(40px, 7vw, 88px) clamp(40px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end;
}
.hero-copy { display: grid; gap: 22px; }
.hero h1 { max-width: 16ch; }
.hero-lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.hero-lede strong { color: var(--ink); font-weight: 600; }

/* Registry slip: the company's official record, the way a Turkish trade-registry extract lists it */
.registry {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 18px; font-family: var(--font-mono); font-size: 0.84rem; line-height: 1.5;
}
.registry .label { display: block; margin-bottom: 14px; font-size: 0.72rem; }
.registry dl { margin: 0; display: grid; gap: 10px; }
.registry div { display: grid; gap: 2px; }
.registry dt { color: var(--ink-2); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; }
.registry dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.registry .num { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

/* ---------- Sections ---------- */
.section { border-top: 1px solid var(--line); }
.section > .wrap { padding-block: clamp(48px, 7vw, 88px); display: grid; gap: 32px; }
.section-head { display: grid; gap: 10px; max-width: 60ch; }
.section-head p { color: var(--ink-2); }

/* Services: ruled rows, not cards */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.services li { border-top: 1px solid var(--line); padding-block: 22px 26px; display: grid; gap: 8px; align-content: start; }
.services .tag { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.03em; }
.services p { color: var(--ink-2); max-width: 52ch; }

/* The one lifted object on the page: the Plapperland card */
.app-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(20, 32, 28, 0.45);
}
.app-body { padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 18px; align-content: start; }
.app-id { display: flex; gap: 16px; align-items: center; }
.app-id img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 2px 8px rgba(0,0,0,0.12); flex: none; }
.app-id h3 { font-size: var(--step-2); }
.app-id .label { display: block; margin-bottom: 4px; color: var(--warm); }
.app-body > p { color: var(--ink-2); }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li {
  font-family: var(--font-mono); font-size: 0.78rem; padding: 5px 10px; border-radius: 999px;
  background: var(--warm-soft); color: var(--ink);
}
.app-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; }
.app-shots { background: var(--warm-soft); display: grid; gap: 10px; padding: 10px; align-content: center; }
.app-shots img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.app-shots .second { width: 62%; justify-self: end; margin-top: -26%; border: 4px solid var(--warm-soft); border-radius: 14px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.contact-mail { font-family: var(--font-mono); font-size: clamp(1rem, 0.8rem + 1vw, 1.35rem); overflow-wrap: anywhere; }
.contact address { font-style: normal; color: var(--ink-2); }
.contact .block { display: grid; gap: 8px; }

/* ---------- Document pages (imprint, privacy, support) ---------- */
.doc .wrap { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.doc-grid { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 32px 56px; }
.doc-aside { display: grid; gap: 14px; align-content: start; }
.doc-aside img { width: 64px; height: 64px; border-radius: 15px; }
.doc-aside p { font-size: var(--step--1); color: var(--ink-2); }
.doc-main { display: grid; gap: 28px; max-width: var(--measure); }
.doc-main header { display: grid; gap: 12px; }
.doc-main h1 { font-size: var(--step-3); }
.doc-main h2 { font-size: var(--step-1); margin-bottom: 8px; }
.doc-main section { display: grid; gap: 10px; }
.doc-main ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.doc-main .summary {
  background: var(--accent-soft); border-radius: var(--radius); padding: 18px 20px; font-weight: 600;
}
.meta { font-family: var(--font-mono); font-size: var(--step--1); color: var(--ink-2); }

.record { margin: 0; display: grid; border-top: 1px solid var(--line); }
.record div { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 4px 24px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.record dt { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.record dd { margin: 0; overflow-wrap: anywhere; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq section { border-bottom: 1px solid var(--line); padding-block: 18px 20px; gap: 8px; }
.faq h2 { margin: 0; }
.faq ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--ink-2); }
.site-footer .wrap { padding-block: 28px 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.site-footer p { max-width: 60ch; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap, .contact, .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .app-card { grid-template-columns: minmax(0, 1fr); }
  .app-shots { order: -1; }
  .doc-aside { grid-auto-flow: column; justify-content: start; align-items: center; grid-template-columns: auto minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .record div { grid-template-columns: minmax(0, 1fr); }
  .nav { gap: 6px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
