/* ==========================================================================
   Pafta — tanıtım sitesi
   Kağıt üzerine baskı hissi: sıcak zemin, mürekkep siyahı, tek kırmızı vurgu.
   ========================================================================== */

:root {
  --paper: #f4f1e8;
  --paper-2: #ece7da;
  --paper-3: #fbf8f0;
  --ink: #17150f;
  --ink-2: #3b382f;
  --muted: #6f6a5c;
  --line: #d8d1c0;
  --line-2: #bcb3a0;
  --accent: #a23a22;
  --accent-dark: #7d2a16;
  --accent-soft: #f3e4dd;
  --petrol: #123039;
  --petrol-2: #0c232a;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, 'DejaVu Serif', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, 'Segoe UI', 'Liberation Sans', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
  --container: 1160px;
  --gutter: 32px;

  /* yüzeyler, veri renkleri */
  --c-header-strong: rgba(244, 241, 232, 0.98);
  --c-header: rgba(244, 241, 232, 0.94);
  --c-sheet-highlight: rgba(255, 255, 255, 0.6);
  --c-band-text-82: rgba(236, 230, 214, 0.82);
  --c-band-text-78: rgba(236, 230, 214, 0.78);
  --c-band-text-72: rgba(236, 230, 214, 0.72);
  --c-band-line-32: rgba(236, 230, 214, 0.32);
  --c-band-line-28: rgba(236, 230, 214, 0.28);
  --c-shadow-strong: rgba(23, 21, 15, 0.65);
  --c-title-line: rgba(23, 21, 15, 0.55);
  --c-thin: rgba(23, 21, 15, 0.45);
  --c-frame: rgba(23, 21, 15, 0.3);
  --c-shadow-soft: rgba(23, 21, 15, 0.25);
  --c-sheet-line: rgba(23, 21, 15, 0.14);
  --c-grid: rgba(23, 21, 15, 0.13);
  --c-term-shadow: rgba(16, 26, 29, 0.8);
  --c-term-bg: #101a1d;
  --c-term-line: #26383c;
  --c-term-muted: #93a3a3;
  --c-term-ok: #9db5a8;
  --c-term-dot: #7fa08a;
  --c-term-text: #cfc9b9;
  --c-term-acc: #e8ddc4;
  --c-term-warn: #e0a06f;
  --c-band-ink: #ece6d6;
  --c-band-accent: #d98a6f;
  --c-band-head: #f5f1e6;
  --c-band-strong: #f2ecdd;
  --c-fail-ink: #8f2f1c;
  --c-fail-bg: #f7e9e3;
  --c-fail-line: #e3c3b8;
  --c-warn-ink: #6f5312;
  --c-warn-bg: #f6efdb;
  --c-warn-line: #e2d3ab;
  --c-ok-ink: #2c5545;
  --c-ok-bg: #e8f0ea;
  --c-ok-line: #c3d6c9;
  --c-finding-sub: #8a6a5c;
  --c-axis: #8b8472;
  --c-white: #fff;
  --c-black: #000;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  scrollbar-color: var(--line-2) transparent;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  caret-color: var(--accent);
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--accent);
}

button {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border: 3px solid var(--paper);
  border-radius: 6px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono {
  font-family: var(--mono);
  font-size: 0.86em;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

/* ============================ HEADER ============================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-header);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: var(--c-header-strong);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--ink);
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 13.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav .nav-cta {
  padding: 8px 15px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.site-nav .nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-2);
  cursor: pointer;
}

.nav-toggle-box {
  display: block;
  width: 18px;
  margin: 0 auto;
}

.nav-toggle-box span {
  display: block;
  height: 1.5px;
  background: var(--ink);
}

.nav-toggle-box span + span {
  margin-top: 5px;
}

/* ============================ HERO ============================ */

.hero {
  position: relative;
  padding: 76px 0 104px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 40px 0 40px 52%;
  background-image: radial-gradient(var(--c-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 45%, var(--c-black) 0%, transparent 68%);
  mask-image: radial-gradient(ellipse at 60% 45%, var(--c-black) 0%, transparent 68%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero h1 .mark {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  text-decoration-skip-ink: none;
}

.lede {
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin: 32px 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease;
}

.btn--solid {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn--text {
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  text-transform: none;
  font-family: var(--sans);
  font-size: 14.5px;
  letter-spacing: 0;
}

.btn--text:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.btn--text span {
  transition: transform 0.16s ease;
}

.btn--text:hover span {
  transform: translateX(3px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent);
}

/* pafta */

.sheet-figure {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 470px;
}

.sheet {
  padding: 16px;
  background: var(--paper-3);
  border: 1px solid var(--c-sheet-line);
  box-shadow:
    0 1px 0 var(--c-sheet-highlight) inset,
    0 34px 60px -38px var(--c-shadow-strong),
    0 8px 18px -12px var(--c-shadow-soft);
  transform: rotate(-1.1deg);
}

.sheet-drawing {
  width: 100%;
  height: auto;
}

.sheet-figure figcaption {
  margin-top: 18px;
  padding-left: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* çizim stilleri */

.s-frame {
  fill: none;
  stroke: var(--c-frame);
  stroke-width: 0.8;
}

.s-axis line {
  stroke: var(--c-axis);
  stroke-width: 0.7;
  stroke-dasharray: 4 5;
  opacity: 0.65;
}

.s-bubble circle {
  fill: var(--paper-3);
  stroke: var(--ink);
  stroke-width: 0.9;
}

.s-bubble text {
  font-family: var(--mono);
  font-size: 8.5px;
  fill: var(--ink);
  text-anchor: middle;
}

.s-dim line {
  stroke: var(--ink);
  stroke-width: 0.7;
}

.s-dim text {
  font-family: var(--mono);
  font-size: 8px;
  fill: var(--muted);
  text-anchor: middle;
}

.s-wall rect,
.s-wall line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: square;
}

.s-thin path {
  fill: none;
  stroke: var(--c-thin);
  stroke-width: 0.9;
}

.s-col rect {
  fill: var(--ink);
}

.s-room text {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  fill: var(--muted);
}

.s-panel rect {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.3;
}

.s-panel text {
  font-family: var(--mono);
  font-size: 6.5px;
  fill: var(--ink);
  text-anchor: middle;
}

.s-lamp circle {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
}

.s-lamp path {
  stroke: var(--ink);
  stroke-width: 0.8;
}

.s-socket path {
  stroke: var(--ink);
  stroke-width: 1.1;
}

.s-finding circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.3;
  stroke-dasharray: 4 3;
}

.s-finding line {
  stroke: var(--accent);
  stroke-width: 0.9;
}

.s-finding text {
  font-family: var(--mono);
  font-size: 8px;
  fill: var(--accent-dark);
}

.s-finding .s-finding-sub {
  font-size: 6.8px;
  fill: var(--c-finding-sub);
}

.s-stamp rect {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.1;
  stroke-dasharray: 3 3;
  opacity: 0.9;
}

.s-stamp text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  fill: var(--accent);
}

.s-stamp .s-stamp-sub {
  font-size: 7px;
  letter-spacing: 0.06em;
  fill: var(--accent-dark);
}

.s-title-block rect,
.s-title-block line {
  fill: none;
  stroke: var(--c-title-line);
  stroke-width: 0.7;
}

.s-title-block .s-label {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.16em;
  fill: var(--muted);
}

.s-title-block .s-value {
  font-family: var(--mono);
  font-size: 8px;
  fill: var(--ink);
}

/* ============================ BÖLÜMLER ============================ */

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.section-head {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 36px;
  margin-bottom: 52px;
}

.section-head--stacked {
  display: block;
  margin-bottom: 0;
}

.section-index {
  position: relative;
  padding-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.section-index::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.section h2,
.band h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.5vw, 45px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-head--stacked h2 {
  margin-top: 0;
}

.section-head .lede {
  font-size: 16.5px;
}

/* yetenekler */

.cap-list {
  margin-top: 4px;
}

.cap-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 24px 0 24px;
  border-top: 1px solid var(--line);
}

.cap-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.cap-no {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.cap-list h3 {
  margin-bottom: 6px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cap-list p {
  max-width: 64ch;
  font-size: 15px;
  color: var(--muted);
}

/* sekmeler */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 36px;
  border-bottom: 1px solid var(--line-2);
}

.tab {
  position: relative;
  margin-bottom: -1px;
  padding: 14px 0 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.tab:hover {
  color: var(--ink);
}

.tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.tab-panel {
  padding-top: 30px;
}

.type-lede {
  max-width: 74ch;
  margin-bottom: 30px;
  font-size: 16px;
  color: var(--ink-2);
}

.findings,
.rules {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.findings th,
.rules th {
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: left;
  color: var(--muted);
}

.findings th:first-child,
.rules th:first-child,
.findings td:first-child,
.rules td:first-child {
  padding-left: 0;
}

.findings td,
.rules td {
  padding: 16px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.findings td:nth-child(2),
.rules td:nth-child(2) {
  color: var(--muted);
  font-size: 13.5px;
}

.rules td {
  padding: 15px 14px;
}

.rules td:first-child {
  font-weight: 600;
}

.rules .mono {
  color: var(--muted);
  font-size: 12px;
}

.chip {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.chip--fail {
  color: var(--c-fail-ink);
  background: var(--c-fail-bg);
  border-color: var(--c-fail-line);
}

.chip--warn {
  color: var(--c-warn-ink);
  background: var(--c-warn-bg);
  border-color: var(--c-warn-line);
}

.chip--ok {
  color: var(--c-ok-ink);
  background: var(--c-ok-bg);
  border-color: var(--c-ok-line);
}

.table-note {
  max-width: 78ch;
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ============================ BELEDİYELER ============================ */

.band {
  padding: 96px 0;
  background: var(--petrol);
  color: var(--c-band-ink);
  scroll-margin-top: 90px;
}

.band .section-index {
  color: var(--c-band-accent);
}

.band .section-index::before {
  background: var(--c-band-accent);
}

.band h2 {
  color: var(--c-band-head);
}

.band .lede {
  color: var(--c-band-text-78);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 8px 0 52px;
}

.flow li {
  padding: 20px 28px 0 0;
  border-top: 1px solid var(--c-band-line-28);
}

.flow-no {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--c-band-accent);
}

.flow h3 {
  margin: 12px 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-band-strong);
}

.flow p {
  max-width: 30ch;
  font-size: 14px;
  color: var(--c-band-text-72);
}

.band-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
}

.band-notes li {
  padding-left: 16px;
  border-left: 1px solid var(--c-band-line-32);
  font-size: 14.5px;
  color: var(--c-band-text-82);
}

/* ============================ YEREL LLM ============================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.points {
  margin-top: 34px;
}

.points li {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.points li:last-child {
  border-bottom: 1px solid var(--line);
}

.points h3 {
  margin-bottom: 5px;
  font-size: 15.5px;
  font-weight: 600;
}

.points p {
  font-size: 14.5px;
  color: var(--muted);
}

.terminal {
  margin-top: 6px;
  background: var(--c-term-bg);
  border: 1px solid var(--c-term-line);
  box-shadow: 0 26px 50px -34px var(--c-term-shadow);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--c-term-line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--c-term-muted);
}

.terminal-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--c-term-ok);
}

.terminal-state::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-term-dot);
}

.terminal-body {
  margin: 0;
  padding: 24px 20px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--c-term-text);
}

.terminal-body .t-prompt {
  color: var(--c-band-accent);
}

.terminal-body .t-out {
  color: var(--c-term-muted);
}

.terminal-body .t-acc {
  color: var(--c-term-acc);
}

.terminal-body .t-warn {
  color: var(--c-term-warn);
}

/* ============================ MEVZUAT ============================ */

.extend {
  max-width: 78ch;
  margin-top: 40px;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--accent);
}

.extend h3 {
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: 600;
}

.extend p {
  font-size: 15px;
  color: var(--muted);
}

/* ============================ RAPOR ÖRNEĞİ ============================ */

.report-sample {
  border: 1px solid var(--line-2);
  background: var(--paper-3);
}

.report-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.report-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 6px 18px;
  align-items: start;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.report-row:last-child {
  border-bottom: 0;
}

.report-mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-top: 1px;
  border: 1px solid;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
}

.report-mark--fail {
  color: var(--c-fail-ink);
  border-color: var(--c-fail-line);
  background: var(--c-fail-bg);
}

.report-mark--warn {
  color: var(--c-warn-ink);
  border-color: var(--c-warn-line);
  background: var(--c-warn-bg);
}

.report-mark--ok {
  color: var(--c-ok-ink);
  border-color: var(--c-ok-line);
  background: var(--c-ok-bg);
}

.report-row p {
  font-size: 14.5px;
  color: var(--ink-2);
}

.report-row strong {
  color: var(--ink);
  font-weight: 600;
}

.report-row .chip {
  margin-top: 2px;
}

/* ============================ İLETİŞİM ============================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-meta {
  margin-top: 40px;
}

.contact-meta div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact-meta div:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-meta dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-top: 3px;
}

.contact-meta dd {
  font-size: 14.5px;
  color: var(--ink-2);
}

.contact-form {
  display: grid;
  gap: 24px;
  padding-top: 8px;
}

.field label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.field .optional {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 10px;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 72px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-bottom-color: var(--accent);
}

.contact-form .btn {
  justify-self: start;
}

.form-status {
  min-height: 20px;
  font-size: 13px;
  color: var(--petrol);
}

/* ============================ FOOTER ============================ */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.footer-brand .brand-name {
  font-size: 19px;
}

.footer-note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-legal {
  flex-basis: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

/* ============================ HAREKET ============================ */

.hero-copy {
  animation: hero-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sheet-figure {
  animation: hero-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .hero-actions {
    display: none;
  }

  .band {
    background: var(--c-white);
    color: var(--c-black);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy,
  .sheet-figure {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================ DUYARLI ============================ */

@media (max-width: 1020px) {
  .hero {
    padding: 56px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .sheet-figure {
    justify-self: center;
    max-width: 500px;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 0;
  }

  .flow li {
    padding: 18px 24px 22px 0;
  }

  .section-head {
    grid-template-columns: 72px 1fr;
    gap: 24px;
  }
}

@media (max-width: 780px) {
  :root {
    --gutter: 22px;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-sub {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .site-nav .nav-cta {
    margin-top: 14px;
    text-align: center;
    border: 1px solid var(--ink);
  }

  .hero::before {
    inset: 20px 0 40% 0;
  }

  .section {
    padding: 68px 0;
  }

  .band {
    padding: 68px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 38px;
  }

  .section-head .section-index {
    display: block;
    width: 34px;
    margin-bottom: 16px;
  }

  .section h2,
  .band h2 {
    font-size: clamp(28px, 7vw, 38px);
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .lede {
    font-size: 16px;
  }

  .flow {
    grid-template-columns: 1fr;
    margin-bottom: 38px;
  }

  .flow li {
    padding-right: 0;
  }

  .flow p {
    max-width: 46ch;
  }

  .band-notes {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .report-row {
    grid-template-columns: 28px 1fr;
  }

  .report-row .chip {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .findings th,
  .rules th {
    font-size: 9px;
    letter-spacing: 0.1em;
    padding-right: 10px;
  }

  .findings td,
  .rules td {
    padding: 14px 10px;
    font-size: 13.5px;
  }

  .findings td:nth-child(2),
  .rules td:nth-child(2) {
    font-size: 12.5px;
  }

  .terminal-body {
    font-size: 11.5px;
    padding: 18px 16px;
  }

  .contact-meta div {
    grid-template-columns: 96px 1fr;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .btn--text {
    width: auto;
    align-self: flex-start;
  }

  .tabs {
    gap: 4px 22px;
  }

  .tab {
    font-size: 13.5px;
  }

  .findings th:nth-child(2),
  .findings td:nth-child(2) {
    display: none;
  }

  .rules th:nth-child(4),
  .rules td:nth-child(4) {
    display: none;
  }

  .report-head {
    padding: 12px 16px;
    font-size: 9px;
  }

  .report-row {
    padding: 16px;
  }

  .sheet {
    padding: 10px;
    transform: none;
  }

  .footer-brand {
    flex-direction: column;
    gap: 4px;
  }
}
