/* ==========================================================================
   base.css — fonts, reset, element defaults, typography, prose, utilities.
   No layout of the site chrome here (that is layout.css) and no components.
   ========================================================================== */

/* ---- fonts: Ubuntu (UFL 1.0), self-hosted, latin + latin-ext ---- */
/* Ubuntu (Ubuntu Font Licence 1.0) - self-hosted, subsets latin + latin-ext.
   Source: Google Fonts css2 API (fonts.googleapis.com), files from fonts.gstatic.com, v21.
   This file is loaded from assets/css/, so the font URLs are relative to it (../fonts/). */
/* latin-ext */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 300;
  font-display: fallback;
  src: url("../fonts/ubuntu-300-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;
}
/* latin */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 300;
  font-display: fallback;
  src: url("../fonts/ubuntu-300-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;
}
/* latin-ext */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url("../fonts/ubuntu-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;
}
/* latin */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url("../fonts/ubuntu-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;
}
/* latin-ext */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  font-display: fallback;
  src: url("../fonts/ubuntu-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;
}
/* latin */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  font-display: fallback;
  src: url("../fonts/ubuntu-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;
}
/* latin-ext */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 700;
  font-display: fallback;
  src: url("../fonts/ubuntu-700-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;
}
/* latin */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 700;
  font-display: fallback;
  src: url("../fonts/ubuntu-700-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;
}

/* Logo wordmark: Roboto Slab Black (CEYHAN) + PT Serif Bold (ORGANİZE SANAYİ BÖLGESİ); self-hosted, licences next to the files */
/* latin-ext */
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/pt-serif-700-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;
}
/* latin */
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/pt-serif-700-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;
}
/* latin-ext */
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/roboto-slab-900-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;
}
/* latin */
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/roboto-slab-900-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;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  tab-size: 4;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  color: var(--color-slate-600);
  font-family: var(--font-sans);
  font-size: var(--text-body-size);
  font-weight: var(--weight-regular);
  line-height: var(--text-body-lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

main {
  display: block;
  flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure, blockquote, pre, fieldset {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, svg, video, canvas, iframe {
  display: block;
  max-width: 100%;
}

img, video {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  margin: 0;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: inherit;
  -webkit-tap-highlight-color: transparent;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

summary {
  cursor: pointer;
}

hr {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--color-border);
}

/* framework trap #22: the UA [hidden] rule loses against author display rules */
[hidden] {
  display: none !important;
}

::selection {
  background: var(--color-navy-800);
  color: var(--color-white);
}

/* ---- focus ------------------------------------------------------------- */
:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ---- typography -------------------------------------------------------- */
h1, .h1 {
  color: var(--color-navy-800);
  font-size: var(--text-h1-size);
  font-weight: var(--text-h1-weight);
  line-height: var(--text-h1-lh);
  letter-spacing: var(--text-h1-tracking);
  text-wrap: balance;
}

h2, .h2 {
  color: var(--color-navy-800);
  font-size: var(--text-h2-size);
  font-weight: var(--text-h2-weight);
  line-height: var(--text-h2-lh);
  letter-spacing: var(--text-h2-tracking);
  text-wrap: balance;
}

h3, .h3 {
  color: var(--color-navy-800);
  font-size: var(--text-h3-size);
  font-weight: var(--text-h3-weight);
  line-height: var(--text-h3-lh);
  text-wrap: balance;
}

h4, .h4 {
  color: var(--color-navy-800);
  font-size: var(--text-title-size);
  font-weight: var(--weight-medium);
  line-height: var(--text-title-lh);
}

strong, b {
  font-weight: var(--weight-medium);
}

small {
  font-size: var(--text-small-size);
  line-height: var(--text-small-lh);
}

.text-lead {
  font-size: var(--text-lead-size);
  line-height: var(--text-lead-lh);
}

/* ---- prose: rich text coming from the panel ---------------------------- */
.prose {
  color: var(--color-slate-600);
  font-size: var(--text-body-size);
  line-height: var(--text-body-lh);
}

.prose > * + * {
  margin-top: var(--space-20);
}

/* first <h2> = main column title (Figma "Giris": 38/48 navy) */
.prose > h2:first-child {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-lh);
  letter-spacing: var(--text-h2-tracking);
}

.prose h2 {
  margin-top: var(--space-48);
  font-size: 1.75rem;
  line-height: 1.286;
  letter-spacing: -0.2px;
}

.prose h3 {
  margin-top: var(--space-32);
  font-size: 1.375rem;
  line-height: 1.4;
}

.prose h4 {
  margin-top: var(--space-24);
}

.prose > h2:first-child,
.prose > h3:first-child,
.prose > h4:first-child {
  margin-top: 0;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: var(--space-16);
}

.prose a {
  color: var(--color-blue-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-out);
}

.prose a:hover {
  color: var(--color-navy-800);
}

.prose ul,
.prose ol {
  padding-left: var(--space-24);
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: var(--space-8);
}

.prose li::marker {
  color: var(--color-blue-500);
}

.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
  margin-top: var(--space-8);
}

.prose blockquote {
  padding-left: var(--space-24);
  border-left: 4px solid var(--color-sky-400);
  color: var(--color-navy-800);
  font-size: var(--text-lead-size);
  font-weight: var(--weight-light);
  line-height: var(--text-lead-lh);
}

.prose img {
  height: auto;
  border-radius: var(--radius-lg);
}

.prose figure figcaption {
  margin-top: var(--space-8);
  color: var(--color-text-muted);
  font-size: var(--text-small-size);
  line-height: var(--text-small-lh);
}

.prose hr {
  margin-block: var(--space-32);
}

/* tables in prose scroll horizontally on small screens instead of overflowing */
.prose .table-scroll,
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.prose table {
  width: 100%;
  min-width: 480px;
  font-size: var(--text-body-sm-size);
  line-height: var(--text-body-sm-lh);
}

.prose th,
.prose td {
  padding: var(--space-12) var(--space-16);
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--color-surface);
  color: var(--color-navy-800);
  font-weight: var(--weight-medium);
}

/* ---- utilities --------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: var(--space-8);
  left: var(--space-8);
  z-index: var(--z-skip-link);
  padding: var(--space-12) var(--space-20);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-navy-800);
  font-size: var(--text-button-size);
  font-weight: var(--weight-medium);
  box-shadow: var(--shadow-dropdown);
  transform: translateY(calc(-100% - var(--space-16)));
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* icons (SVG sprite, colour = currentColor) */
.icon {
  width: var(--icon-size, 18px);
  height: var(--icon-size, 18px);
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--xs { --icon-size: 10px; }
.icon--sm { --icon-size: 14px; }
.icon--md { --icon-size: 18px; }
.icon--lg { --icon-size: 24px; }
.icon--xl { --icon-size: 40px; }

/* reveal on scroll: elements are visible by default; JS opts in (html.is-reveal-ready) only for those below the fold */
[data-reveal] {
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}

.is-reveal-ready [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
}

/* lock page scroll while a modal surface (drawer / dialog) is open */
html.is-scroll-locked {
  overflow: hidden;
}

/* ---- content visibility helpers for below-the-fold sections ------------- */

/* ---- reduced motion: tokens collapse to ~0, see tokens.css ---------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
