/* =========================================================================
   Mali Seyir · tanıtım sitesi (maliseyir.com)

   Derleme adımı yok: bu dosya olduğu gibi servis edilir. Kurallar:
   - Renkler yalnız :root token'larından gelir. Koyu tema KULLANICI düğmeye
     basınca açılır ([data-theme="dark"]); ilk açılış HER ZAMAN açık temadır,
     işletim sisteminin tercihi bilerek izlenmez.
   - Satır içi stil (style="") yok: CSP style-src 'self'. Konumlar sınıfla
     verilir (bkz. cetvelin .d10/.d17 sınıfları, çubukların .g* sınıfları).
   - Süs yok: gradyan dolgu, parıltı, cam efekti kullanılmaz. Görseller
     ürünün kendi dilinden gelir (dönem cetveli, görev işaretleri, zincir).
   ========================================================================= */

@font-face {
  font-family: "MS Display";
  src: url("/fonts/newsreader-display.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MS Sans";
  src: url("/fonts/plex-sans.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MS Mono";
  src: url("/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MS Mono";
  src: url("/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: light;

  --display: "MS Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "MS Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "MS Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --paper: #ffffff;
  --paper-2: #f8f8f7;
  --paper-3: #f1f1ef;
  --ink: #18181b;
  --ink-2: #3f3f46;
  --muted: #6b6b73;   /* 5.3:1 beyazda */
  --faint: #a1a1aa;
  --rule: #e7e7e4;
  --rule-2: #d4d4d0;

  /* Markanın "şu an" çentiği. Metinde koyu adımı kullanılır (5.4:1). */
  --accent: #0485f7;
  --accent-ink: #0369c9;

  /* Panelle aynı durum paleti (bkz. frontend/Portal globals.css .viz). */
  --ok: #17c964;
  --ok-ink: #0d7f40;
  --fix: #e5383b;
  --fix-ink: #c92a2e;
  --appr: #0485f7;
  --appr-ink: #0369c9;
  --cross: #4a9af5;
  --cross-ink: #2f6db3;
  --work: #71717a;
  --rail: #ececea;

  /* Görev işaretinin tonu: sıra kimde (İş Takibi ile aynı). */
  --m-open: rgb(24 24 27 / 0.45);
  --m-ink: rgb(24 24 27 / 0.85);
  --m-lock: rgb(24 24 27 / 0.22);

  --hl: rgb(255 214 10 / 0.55);   /* fiş üstündeki fosforlu kalem */

  --band: #18181b;
  --band-ink: #d4d4d8;

  --gutter: clamp(16px, 4.5vw, 40px);
  --max: 1200px;
  --header-h: 64px;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --paper: #0e0e10;
  --paper-2: #151518;
  --paper-3: #1c1c20;
  --ink: #f4f4f5;
  --ink-2: #d4d4d8;
  --muted: #a1a1aa;
  --faint: #6b6b73;
  --rule: #24242a;
  --rule-2: #34343b;

  --accent: #3b9cff;
  --accent-ink: #6cb4ff;

  --ok: #17c964;
  --ok-ink: #3fd480;
  --fix: #f2555a;
  --fix-ink: #ff8a8d;
  --appr: #2f8ff5;
  --appr-ink: #6cb4ff;
  --cross: #2f74b5;
  --cross-ink: #8bbcf0;
  --work: #8b8b94;
  --rail: #232328;

  --m-open: rgb(244 244 245 / 0.45);
  --m-ink: rgb(244 244 245 / 0.85);
  --m-lock: rgb(244 244 245 / 0.2);

  --band: #151518;
  --band-ink: #d4d4d8;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

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

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

a {
  color: inherit;
}

img, svg {
  display: block;
}

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

: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);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

.nowrap {
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}
.btn-lg {
  height: 50px;
  padding: 0 24px;
  font-size: 16px;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--ink-2);
}
.btn-ghost {
  border-color: var(--rule-2);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.btn-invert {
  background: #ffffff;
  color: #18181b;
}
.btn-invert:hover {
  background: #e4e4e7;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.btn-arrow span {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-arrow:hover span {
  transform: translateX(3px);
}

.link-quiet {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.link-quiet:hover {
  color: var(--ink);
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-stuck {
  border-bottom-color: var(--rule);
}

.header-in {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand-mark {
  width: 28px;
  height: 24px;
  color: var(--ink);
}
.brand-now {
  stroke: var(--accent);
}
.brand-word {
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--muted);
}
.brand-word b {
  font-weight: 600;
  color: var(--ink);
}

.nav {
  display: none;
  gap: 28px;
}
.nav a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.15s;
}
.nav a:hover {
  color: var(--ink);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hide-sm {
  display: none;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.theme-toggle[hidden] {
  display: none;
}
.theme-toggle:hover {
  background: var(--paper-3);
  color: var(--ink);
}
.theme-toggle svg {
  width: 19px;
  height: 19px;
}
.theme-toggle .i-sun,
[data-theme="dark"] .theme-toggle .i-moon {
  display: none;
}
[data-theme="dark"] .theme-toggle .i-sun {
  display: block;
}

/* Dar ekran menüsü: <details> — JS olmadan da açılır. */
.menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.menu summary path {
  transform-origin: 10px 10px;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu[open] summary .l1 {
  transform: translateY(3.5px) rotate(45deg);
}
.menu[open] summary .l2 {
  transform: translateY(-3.5px) rotate(-45deg);
}
.menu-panel {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 8px var(--gutter) 24px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.menu-panel nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 17px;
  text-decoration: none;
}
.menu-logins {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

@media (min-width: 980px) {
  .nav,
  .hide-sm {
    display: flex;
  }
  .menu {
    display: none;
  }
}

/* -------------------------------------------------------------------- hero */
.hero {
  padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px);
}

.hero-grid {
  display: grid;
  gap: 56px;
}

.eyebrow,
.sec-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}

h1 {
  margin-top: 22px;
  max-width: 11ch;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 7.2vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.lead {
  margin-top: 28px;
  max-width: 34em;
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 36px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  font: 400 13px/1.4 var(--mono);
  color: var(--muted);
}
.facts li,
.included li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.facts li::before,
.included li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 5px;
  margin-bottom: 3px;
  border-left: 1.5px solid var(--ok-ink);
  border-bottom: 1.5px solid var(--ok-ink);
  transform: rotate(-45deg);
}

/* Seyir defteri kartı: bir iş gününün kayıtları. */
.log {
  align-self: end;
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--paper);
  overflow: hidden;
}
.log-head,
.log-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font: 500 11.5px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.log-head {
  border-bottom: 1px solid var(--rule);
}
.log-foot {
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}
.log-list {
  padding: 4px 0;
}
.log-list li {
  display: grid;
  grid-template-columns: 42px 13px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 18px;
}
.log-list li + li {
  border-top: 1px dashed var(--rule);
}
.log-list time {
  font: 400 12.5px/1.6 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.log-list .mk {
  margin-top: 4px;
}
.log-list p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.log-list b {
  font-weight: 600;
  color: var(--ink);
}
.log-list span {
  color: var(--muted);
}

@media (min-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 72px;
  }
  .log {
    justify-self: end;
  }
}

/* -------------------------------------------------------------------- marks */
.mk {
  width: 13px;
  height: 13px;
  flex: none;
}
.mk-lg {
  width: 30px;
  height: 30px;
  flex: none;
}
.t-open { color: var(--m-open); }
.t-ink  { color: var(--m-ink); }
.t-lock { color: var(--m-lock); }
.t-fix  { color: var(--fix); }
.t-done { color: var(--ok); }

/* ---------------------------------------------------------------- sections */
.sec {
  position: relative;
  padding: clamp(72px, 10vw, 136px) 0;
  border-top: 1px solid var(--rule);
}

/* Bölüm başında küçük ölçek: markanın ölçü çizgisinin devamı. */
.sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  width: 121px;
  height: 11px;
  background:
    repeating-linear-gradient(90deg, var(--rule-2) 0 1px, transparent 1px 40px) 0 0 / 100% 11px no-repeat,
    repeating-linear-gradient(90deg, var(--rule-2) 0 1px, transparent 1px 10px) 0 0 / 100% 6px no-repeat;
}

.sec-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sec-label {
  margin-bottom: 20px;
}
.sec-label span {
  color: var(--ink);
}

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.sec-lead {
  margin-top: 22px;
  max-width: 38em;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------------------------------------------------------- panel (mock) */
.panel {
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--paper);
  overflow: hidden;
}
.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.panel-title {
  font-size: 14px;
  color: var(--muted);
}
.panel-title b {
  margin-right: 8px;
  font-weight: 600;
  color: var(--ink);
}
.panel-meta {
  font: 400 12px/1.2 var(--mono);
  color: var(--muted);
  white-space: nowrap;
}
.panel-body {
  display: grid;
}
.panel-main {
  padding: 24px 20px 28px;
  min-width: 0;
}
.panel-side {
  padding: 20px 20px 12px;
  border-top: 1px solid var(--rule);
  min-width: 0;
}

@media (max-width: 520px) {
  .panel-meta {
    display: none;
  }
}

@media (min-width: 960px) {
  .panel-body {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
  .panel-main {
    padding: 34px 40px 36px;
    border-right: 1px solid var(--rule);
  }
  .panel-side {
    padding: 28px 32px 16px;
    border-top: 0;
  }
}

/* Dönem cetveli: ayın günleri, son günler ve bugün. 30 sütunluk ızgara; her
   gün bir sütun, işaretler sütun ortasına oturur. */
.ruler {
  margin-bottom: 36px;
}
.ruler-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font: 500 11.5px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ruler-top span:first-child {
  color: var(--ink);
}
.ruler-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(30, minmax(0, 1fr));
  grid-template-rows: 38px 14px 22px;
}
.ruler .ticks {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  height: 14px;
  overflow: visible;
  position: relative;
  z-index: 1;
}
.ticks path {
  fill: none;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  shape-rendering: crispEdges;
}
.ticks .t-minor { stroke: var(--rule-2); }
.ticks .t-major { stroke: var(--faint); }
.ticks .t-base  { stroke: var(--faint); }

.r-past {
  grid-column: 1 / 11;
  grid-row: 2;
  margin-right: 5%;          /* bugünün çizgisinde biter (10. günün ortası) */
  background: var(--paper-3);
}

.r-mark,
.r-now {
  position: relative;
  grid-row: 1 / 3;
  z-index: 2;
}
.r-mark::before,
.r-now::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  background: var(--ink);
}
.r-lane2::before {
  top: 19px;
}
.r-lab {
  position: absolute;
  top: -1px;
  left: calc(50% + 6px);
  display: inline-flex;
  gap: 0.45em;
  white-space: nowrap;
  font: 500 11.5px/1.2 var(--mono);
  color: var(--ink);
}
.r-lane2 .r-lab {
  top: 18px;
}
/* Etiket çizginin SOLUNA: yakın iki son gün (26 ve 28) birbirinin üstüne
   binmesin. Sayı yine çizgiye bitişik kalır ("Muhtasar 26"). */
.r-left .r-lab {
  left: auto;
  right: calc(50% + 6px);
  flex-direction: row-reverse;
}
.r-lab b {
  font-weight: 500;
}
.r-lab i {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

.r-now {
  grid-row: 1 / 4;
}
.r-now::before {
  width: 2px;
  background: var(--accent);
}
.r-now .r-lab {
  top: auto;
  bottom: 2px;
  color: var(--accent-ink);
}

.r-end {
  grid-row: 3;
  align-self: end;
  justify-self: center;
  font: 400 11px/1 var(--mono);
  color: var(--muted);
}
.r-1 { grid-column: 1; }
.r-30 { grid-column: 30; }

.d10 { grid-column: 10; }
.d17 { grid-column: 17; }
.d26 { grid-column: 26; }
.d28 { grid-column: 28; }

.ruler-legend {
  margin-top: 12px;
  font: 400 12px/1.5 var(--mono);
  color: var(--muted);
}
.ruler-legend b {
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 639px) {
  .r-mark .r-lab i {
    display: none;
  }
}
@media (min-width: 640px) {
  .ruler-legend {
    display: none;
  }
}

/* Zincir: halka halka ilerleme (panelin ChainFlow'u ile aynı dil). */
.chain {
  display: grid;
  gap: 26px;
}
.chain-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.chain-head p:first-child {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.chain-head p:first-child span {
  font-variant-numeric: tabular-nums;
  color: var(--faint);
}
.chain-head p:last-child {
  font: 400 12px/1.2 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  white-space: nowrap;
}
.chain-note {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}
.chain-alert {
  color: var(--ink-2);
}

.bar {
  display: flex;
  gap: 2px;
  height: 6px;
}
.bar i {
  display: block;
  flex: 1 1 0;
  min-width: 5px;
}
.bar i:first-child {
  border-radius: 99px 0 0 99px;
}
.bar i:last-child {
  border-radius: 0 99px 99px 0;
}

.s-done  { background: var(--ok); }
.s-appr  { background: var(--appr); }
.s-cross { background: var(--cross); }
.s-work  { background: var(--work); }
.s-fix   { background: var(--fix); }
.s-rail  { background: var(--rail); }

.g2  { flex-grow: 2; }
.g4  { flex-grow: 4; }
.g5  { flex-grow: 5; }
.g6  { flex-grow: 6; }
.g12 { flex-grow: 12; }
.g13 { flex-grow: 13; }
.g38 { flex-grow: 38; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 12.5px;
  color: var(--muted);
}
.legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.legend i {
  width: 14px;
  height: 6px;
  border-radius: 99px;
}
.legend .s-rail {
  box-shadow: inset 0 0 0 1px var(--rule-2);
}

/* Şirket satırları */
.side-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font: 500 11.5px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.side-title span {
  color: var(--muted);
}
.rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "co marks"
    "st marks";
  align-items: center;
  column-gap: 16px;
  row-gap: 1px;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
}
.rows li:first-child {
  border-top: 0;
}
.co {
  grid-area: co;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}
.st {
  grid-area: st;
  font-size: 12.5px;
  color: var(--muted);
}
.st-appr  { color: var(--appr-ink); }
.st-fix   { color: var(--fix-ink); }
.st-cross { color: var(--cross-ink); }
.st-done  { color: var(--ok-ink); }
.st-lock  { color: var(--faint); }
.marks {
  grid-area: marks;
  display: flex;
  gap: 4px;
}

/* İş akışının beş adımı */
.steps {
  display: grid;
  gap: 34px;
  margin-top: clamp(48px, 6vw, 80px);
}
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 18px;
}
.steps .mk-lg {
  grid-row: 1 / 4;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14.5px;
  top: 40px;
  bottom: -26px;
  width: 1px;
  background: var(--rule-2);
}
.step-n {
  font: 500 12px/1.4 var(--mono);
  color: var(--muted);
}
.steps h3 {
  margin: 4px 0 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.steps p:not(.step-n) {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
  }
  .steps li {
    display: block;
  }
  .steps .mk-lg {
    margin-bottom: 22px;
  }
  .steps li:not(:last-child)::after {
    left: 44px;
    right: -20px;
    top: 15px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
}

/* -------------------------------------------------------------- modüller */
.qa {
  display: grid;
}
.qa li {
  padding: 28px 0 30px;
  border-top: 1px solid var(--rule);
}
.q {
  font-family: var(--display);
  font-size: clamp(25px, 2.3vw, 31px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.a::before {
  content: "→";
  letter-spacing: 0;
}
.d {
  max-width: 44ch;
  font-size: 16px;
  color: var(--ink-2);
}

@media (min-width: 900px) {
  .qa {
    grid-template-columns: 1fr 1fr;
    column-gap: 72px;
  }
}

/* ------------------------------------------------------ mükellef portalı */
.portal-grid {
  display: grid;
  gap: 64px;
}
.features div {
  display: grid;
  gap: 4px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}
.features dt {
  font-weight: 600;
  color: var(--ink);
}
.features dd {
  color: var(--ink-2);
}

@media (min-width: 640px) {
  .features div {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1040px) {
  .portal-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 80px;
    align-items: start;
  }
  .phone {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

/* Telefon: çerçeve yalnız bir kenar çizgisi; çentik, düğme taklidi yok. */
.phone {
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  padding: 10px;
  border: 1px solid var(--rule-2);
  border-radius: 44px;
  background: var(--paper);
}
.phone-in {
  padding: 20px 14px 14px;
  border-radius: 35px;
  background: var(--paper-2);
}
.ph-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.ph-ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ok-ink);
}
.ph-ok::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

/* Fiş: gerçek kâğıt gibi açık renkte kalır (koyu temada da). */
.receipt {
  position: relative;
  padding: 18px 14px 26px;
  background: #fdfcf8;
  color: #26262a;
  font: 400 10.5px/1.6 var(--mono);
  letter-spacing: 0.01em;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.05);
}
/* Koyu temada kâğıt beyazı göz almasın: biraz kısılır, kâğıt olarak kalır. */
:root[data-theme="dark"] .receipt {
  background: #e7e5de;
}
.receipt p {
  min-height: 1.6em;
}
.rc-c {
  text-align: center;
}
.rc-name {
  margin-bottom: 2px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.rc-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.rc-row span:first-child {
  flex: 1;
}
.rc-total {
  font-weight: 500;
  font-size: 12px;
}
.rc-rule {
  margin: 6px 0;
  min-height: 0 !important;
  border-top: 1px dashed #b9b9b4;
}

.hl {
  padding: 0 2px;
  margin: 0 -2px;
  border-radius: 2px;
  background-image: linear-gradient(transparent 10%, var(--hl) 10% 90%, transparent 90%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .phone:not(.is-in) .hl {
  background-size: 0 100%;
}
.receipt p:nth-child(3) .hl { transition-delay: 0.12s; }
.receipt p:nth-child(4) .hl { transition-delay: 0.24s; }
.receipt p:nth-child(4) .hl + .hl,
.receipt p:nth-child(4) span + span .hl { transition-delay: 0.32s; }
.receipt p:nth-child(5) .hl { transition-delay: 0.4s; }
.receipt p:nth-child(9) .hl { transition-delay: 0.52s; }
.receipt p:nth-child(10) .hl { transition-delay: 0.62s; }

.ph-hint {
  margin: 14px 4px 10px;
  font-size: 12.5px;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  font-size: 12px;
  line-height: 1.2;
  color: var(--ink);
}
.chips b {
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.ph-shutter {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}
.ph-shutter span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 22px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
}

/* ---------------------------------------------------------------- güvenlik */
.trust {
  display: grid;
  column-gap: 48px;
}
.trust li {
  padding: 26px 0 30px;
  border-top: 1px solid var(--rule);
}
.trust h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.trust p {
  font-size: 16px;
  color: var(--ink-2);
}

@media (min-width: 640px) {
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  .trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ----------------------------------------------------------------- fiyatlar */
.plans {
  display: grid;
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--paper);
}
.plan h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.plan-for {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 26px 0 22px;
}
.price .cur {
  align-self: flex-start;
  margin: 5px -3px 0 0;
  font: 400 30px/1 var(--sans);
  color: var(--ink);
}
.price .amt {
  font-family: var(--display);
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums;
  color: var(--ink);
}
.price .unit {
  font: 500 13px/1 var(--mono);
  color: var(--muted);
}
.limits {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 15.5px;
  color: var(--ink-2);
}
.limits b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.plan .btn {
  margin-top: auto;
  width: 100%;
}

@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .plan-for {
    min-height: 3em;
  }
}

.included {
  display: grid;
  gap: 18px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.included-title {
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.included ul {
  display: grid;
  gap: 12px 32px;
}
.included li {
  font-size: 15.5px;
  color: var(--ink-2);
}

@media (min-width: 640px) {
  .included ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .included {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .included ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fine {
  margin-top: 36px;
  max-width: 62em;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.fine a,
.band-mail {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.fine a {
  color: var(--ink);
}

/* --------------------------------------------------------------------- SSS */
.faq-grid {
  display: grid;
  gap: 8px;
}
.faq details {
  border-top: 1px solid var(--rule);
}
.faq details:last-child {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--muted);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] summary::after {
  transform: rotate(0deg);
}
.faq summary:hover::before,
.faq summary:hover::after {
  background: var(--ink);
}
.faq details p {
  max-width: 62ch;
  padding: 0 0 26px;
  color: var(--ink-2);
}

@media (min-width: 980px) {
  .faq-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
  }
}

/* ------------------------------------------------------------- demo bandı */
.band {
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--band);
  color: var(--band-ink);
}
:root[data-theme="dark"] .band {
  border-top: 1px solid var(--rule);
}
.band-in {
  display: grid;
  gap: 40px;
}
.band h2 {
  color: #ffffff;
}
.band p {
  margin-top: 20px;
  max-width: 36em;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
}
.band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.band-mail {
  color: #a1a1aa;
  font-size: 15px;
}
.band-mail:hover {
  color: #ffffff;
}

@media (min-width: 980px) {
  .band-in {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 80px;
  }
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  gap: 36px;
}
.footer-brand p {
  margin-top: 14px;
  max-width: 28em;
  color: var(--muted);
}
.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-col p {
  margin-bottom: 4px;
  font: 500 11.5px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-col a {
  color: var(--muted);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
  color: var(--muted);
}
.faq-note {
  margin-top: 20px;
  font-size: 16px;
  color: var(--muted);
}
.faq-note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------- hareketler */
/* Hareket yalnız zaten görünür olanı değiştirir; içerik hiçbir koşulda
   animasyona bağlı kalmaz (JS yoksa .js sınıfı da yoktur, her şey yerinde). */
.js .log-list li {
  animation: log-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.js .log-list li:nth-child(1) { animation-delay: 0.15s; }
.js .log-list li:nth-child(2) { animation-delay: 0.27s; }
.js .log-list li:nth-child(3) { animation-delay: 0.39s; }
.js .log-list li:nth-child(4) { animation-delay: 0.51s; }
.js .log-list li:nth-child(5) { animation-delay: 0.63s; }

@keyframes log-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.js .r-now {
  animation: now-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
@keyframes now-in {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
}

.bar {
  transition: clip-path 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .bar[data-reveal]:not(.is-in) {
  clip-path: inset(0 100% 0 0);
}
.chain li:nth-child(2) .bar {
  transition-delay: 0.15s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
