/* =========================================================================
   Deyimo — gazete sayfası
   İskelet: üstte tam genişlikte bir künye (masthead), ortalanmış bir açılış,
   altında iki sütuna akan metin ve her yerde ince çizgiler. Yüzen hap
   navigasyon yok, yan yana kahraman bölümü yok.
   ========================================================================= */

:root {
  color-scheme: light;

  --paper: #fbf7ef;
  --paper-2: #f5efe3;
  --paper-3: #efe7d8;

  --ink: #211f1a;
  --ink-2: #4d4a42;
  --ink-3: #7c786d;

  --accent: #2f6b4f;
  --accent-deep: #22503b;
  --accent-wash: #e6ede5;
  --gold: #a9833f;

  --rule: rgba(33, 31, 26, 0.16);
  --rule-soft: rgba(33, 31, 26, 0.08);

  --shell: min(1240px, calc(100% - 56px));
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Kâğıt dokusu: sabit, tıklanamaz — kaydırırken yeniden boyanmıyor. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.24'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 100;
  translate: -50% -200%;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.84rem;
  font-weight: 600;
  transition: translate 0.4s var(--ease);
}

.skip-link:focus-visible {
  translate: -50% 0;
}

/* ---------------------------------------------------------------- tipografi */

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 460;
  font-variation-settings: "SOFT" 22, "WONK" 1, "opsz" 120;
  letter-spacing: -0.022em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.8rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

h3 {
  font-size: 1.24rem;
  line-height: 1.22;
  font-variation-settings: "SOFT" 18, "WONK" 0, "opsz" 24;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.eyebrow {
  display: block;
  margin: 0 0 18px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ================================================================ KÜNYE
   Tam genişlikte, sabitlenmeyen bir gazete künyesi: üstte dil / logo / menü,
   altında çizgiler arasında ortalanmış gezinme.
   ================================================================ */

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    "lang brand menu"
    "nav  nav   nav";
  align-items: center;
  width: var(--shell);
  margin: 0 auto;
  padding-top: 22px;
}

.brand {
  grid-area: brand;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 48;
  letter-spacing: -0.02em;
}

.brand-mark img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.language-switch {
  grid-area: lang;
  justify-self: start;
  display: inline-flex;
  gap: 2px;
}

.language-switch button {
  border: 0;
  padding: 6px 10px;
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-bottom: 1.5px solid transparent;
  transition:
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

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

.menu-button {
  grid-area: menu;
  justify-self: end;
  display: none;
  position: relative;
  width: 36px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.4px;
  background: var(--ink);
  translate: -50% 0;
  transition: all 0.45s var(--ease);
}

.menu-button span:first-child {
  top: 13px;
}

.menu-button span:last-child {
  top: 18px;
}

.menu-button[aria-expanded="true"] span:first-child {
  top: 15.5px;
  rotate: 45deg;
}

.menu-button[aria-expanded="true"] span:last-child {
  top: 15.5px;
  rotate: -45deg;
}

.site-nav {
  grid-area: nav;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
  margin-top: 20px;
  padding: 11px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.site-nav a {
  position: relative;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.35s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--accent);
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.45s var(--ease);
}

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

.site-nav a:hover::after {
  scale: 1 1;
}

.legal-nav {
  border-bottom-color: var(--rule);
}

/* ================================================================ AÇILIŞ
   Ortalanmış manşet, altında geniş bir görsel penceresi. Yan yana değil.
   ================================================================ */

main {
  display: block;
}

section {
  width: var(--shell);
  margin: 0 auto;
}

.hero {
  padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 64px);
  text-align: center;
}

.hero h1 {
  max-width: 17ch;
  margin-inline: auto;
}

.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.js .hero h1 .word > span {
  display: inline-block;
  translate: 0 110%;
  transition: translate 0.95s var(--ease) var(--d, 0ms);
}

.js.is-ready .hero h1 .word > span {
  translate: 0 0;
}

.hero-text {
  max-width: 58ch;
  margin: 26px auto 0;
  font-size: 1.06rem;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
}

.primary-link {
  position: relative;
  padding: 13px 0 15px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-variation-settings: "SOFT" 18, "WONK" 0, "opsz" 24;
  border-bottom: 1.5px solid var(--ink);
  transition: color 0.4s var(--ease);
}

.primary-link::after {
  content: " →";
  transition: padding 0.4s var(--ease);
}

.primary-link:hover {
  color: var(--accent);
}

.primary-link:hover::after {
  padding-left: 6px;
}

.secondary-link {
  padding: 13px 0 15px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom: 1.5px solid transparent;
  transition:
    color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.secondary-link:hover {
  color: var(--ink);
  border-bottom-color: var(--rule);
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-top: 30px;
}

.proof-row span {
  padding: 0 18px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-left: 1px solid var(--rule);
}

.proof-row span:first-child {
  border-left: 0;
}

/* Görsel bir pencere: telefon çerçevesi değil, sayfaya açılan geniş bir
   diyafram. Üstten hizalı kırpma ürün ekranını tam ortaya getiriyor. */
/* Gazete fotoğrafı: iki çizgi arasında, ortalanmış, okunur büyüklükte bir
   ürün görüntüsü. Yan sütun değil — metnin altına giren tam genişlikte bir
   şerit. */
.hero-media {
  margin: clamp(40px, 5vw, 70px) 0 0;
  padding: 26px 0 28px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(180deg, rgba(245, 239, 227, 0.75), rgba(251, 247, 239, 0));
  display: grid;
  place-items: center;
}

.hero-media img {
  width: auto;
  height: clamp(300px, 40vh, 440px);
  max-width: 100%;
  object-fit: cover;
  object-position: top center;
  background: var(--paper-2);
  box-shadow: 0 1px 0 var(--rule);
}

/* ================================================================ STRAPLINE */

.stat-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--rule);
}

.stat-band > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 4px clamp(18px, 3vw, 44px);
  border-left: 1px solid var(--rule);
}

.stat-band > div:first-child {
  border-left: 0;
}

.stat-band strong {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 430;
  font-variation-settings: "SOFT" 24, "WONK" 1, "opsz" 48;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.stat-band span {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ================================================================ BÖLÜM BAŞLIĞI
   Gazete gibi: başlık solda, üstünde kalın bir çizgi.
   ================================================================ */

.journey,
.examples,
.content-band,
.privacy-band,
.faq,
.download {
  padding: clamp(60px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--rule);
}

.section-heading {
  max-width: 26ch;
  margin-bottom: clamp(34px, 4vw, 52px);
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

/* ================================================================ ADIMLAR
   Numaralı, çizgiyle ayrılmış dört satır. Kart yok.
   ================================================================ */

.journey-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(32px, 6vw, 96px);
}

.journey-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
  transition: background-color 0.5s var(--ease);
}

.journey-grid article:hover {
  background: rgba(47, 107, 79, 0.045);
}

.journey-grid .step {
  grid-row: span 2;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--gold);
  padding-top: 2px;
}

.journey-grid p {
  grid-column: 2;
  margin-top: 8px;
  font-size: 0.96rem;
  color: var(--ink-2);
}

/* ================================================================ ÖRNEKLER
   Sözlük düzeni: üç sütun, aralarında dikey çizgi, satır satır akıyor.
   ================================================================ */

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(24px, 3vw, 44px);
  margin: 0;
}

.example-card {
  position: relative;
  padding: 22px clamp(14px, 2vw, 26px) 26px 0;
  border-top: 1px solid var(--rule);
}

.example-card:nth-child(-n + 3) {
  border-top: 2px solid var(--ink);
}

.example-card dt {
  font-family: var(--serif);
  font-size: 1.34rem;
  font-weight: 460;
  font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 36;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.example-card dd {
  margin: 10px 0 0;
  font-size: 0.93rem;
  color: var(--ink-2);
}

.example-card::after {
  display: block;
  margin-top: 12px;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.example-card[data-type="deyim"]::after {
  content: "deyim";
}

.example-card[data-type="atasozu"]::after {
  content: "atasözü";
  color: var(--gold);
}

.examples-note {
  margin-top: 28px;
  max-width: 62ch;
  font-size: 0.9rem;
  color: var(--ink-3);
}

/* ================================================================ KÖŞE YAZISI
   Gerçek iki sütunlu akış: metin CSS sütunlarında devam ediyor.
   ================================================================ */

.content-band > div {
  max-width: 30ch;
  margin-bottom: 26px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.content-band > p {
  columns: 2;
  column-gap: clamp(32px, 5vw, 72px);
  column-rule: 1px solid var(--rule);
  font-size: 1.04rem;
  line-height: 1.68;
  color: var(--ink-2);
  text-align: justify;
  hyphens: auto;
}

/* İlk harf, gazete köşe yazısı gibi. */
.content-band > p::first-letter {
  float: left;
  margin: 6px 10px 0 0;
  font-family: var(--serif);
  font-size: 3.6rem;
  font-weight: 430;
  line-height: 0.82;
  color: var(--accent);
}

/* ================================================================ GİZLİLİK
   Tam genişlikte ilan kutusu: çift çerçeve, ortalanmış başlık.
   ================================================================ */

.privacy-band {
  text-align: center;
}

.privacy-copy {
  max-width: 30ch;
  margin-inline: auto;
}

.privacy-copy .eyebrow {
  color: var(--accent);
}

.privacy-copy p {
  margin-top: 18px;
  max-width: 62ch;
  margin-inline: auto;
  color: var(--ink-2);
}

.privacy-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-top: 34px;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.privacy-list span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px clamp(14px, 2.4vw, 30px);
  font-size: 0.85rem;
  font-weight: 500;
  border-left: 1px solid var(--rule);
}

.privacy-list span:first-child {
  border-left: 0;
}

.privacy-list span::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ================================================================ S.S.S.
   Tek sütun, çizgili liste — yapışkan yan başlık yok.
   ================================================================ */

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 450;
  font-variation-settings: "SOFT" 18, "WONK" 0, "opsz" 24;
  letter-spacing: -0.015em;
  line-height: 1.28;
  cursor: pointer;
  list-style: none;
  transition: color 0.4s var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--accent);
}

.faq summary::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 8px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.3px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.3px 14px no-repeat;
  opacity: 0.5;
  transition:
    rotate 0.6s var(--ease),
    opacity 0.4s var(--ease);
}

.faq details[open] summary::after {
  rotate: 135deg;
  opacity: 1;
  color: var(--accent);
}

.faq details p {
  padding: 0 0 26px;
  max-width: 76ch;
  font-size: 0.97rem;
  color: var(--ink-2);
  animation: faq-open 0.55s var(--ease-soft) both;
}

@keyframes faq-open {
  from {
    opacity: 0;
    translate: 0 -8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* ================================================================ KAPANIŞ */

.download {
  text-align: center;
  border-bottom: 0;
  padding-bottom: clamp(70px, 9vw, 120px);
}

.download h2 {
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.download > p {
  max-width: 48ch;
  margin: 20px auto 0;
  color: var(--ink-2);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: var(--shell);
  margin: 0 auto;
  padding: 24px 0 44px;
  border-top: 1px solid var(--ink);
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.site-footer > span {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

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

/* ================================================================ YASAL SAYFALAR */

.legal-page {
  width: min(660px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(50px, 6vw, 84px) 0 clamp(70px, 9vw, 110px);
}

.legal-page h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  margin-bottom: 22px;
}

.legal-page > p {
  color: var(--ink-2);
  max-width: 66ch;
}

.legal-page section {
  width: 100%;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}

.legal-page h2 {
  font-size: 1.32rem;
  margin-bottom: 12px;
}

.legal-page section p,
.legal-page section li {
  color: var(--ink-2);
  max-width: 66ch;
  font-size: 0.97rem;
}

.legal-page ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-page li + li {
  margin-top: 7px;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================================================================ AÇILIŞLAR */

.js [data-reveal] {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 0.8s var(--ease-soft) var(--d, 0ms),
    translate 0.8s var(--ease-soft) var(--d, 0ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

/* ================================================================ DAR EKRAN */

@media (max-width: 900px) {
  :root {
    --shell: min(1240px, calc(100% - 36px));
  }

  .journey-grid,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .example-card:nth-child(-n + 3) {
    border-top-width: 1px;
  }

  .example-card:first-child {
    border-top: 2px solid var(--ink);
  }

  .content-band p {
    columns: 1;
  }

  .hero-media img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-top: 16px;
  }

  .brand {
    font-size: 1.3rem;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    margin-top: 16px;
    padding: 0;
    border-bottom: 0;
    overflow: hidden;
    transition:
      max-height 0.6s var(--ease),
      padding 0.6s var(--ease);
  }

  .site-nav.is-open {
    max-height: 260px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
  }

  .site-nav a {
    padding: 9px 0;
  }

  .legal-nav {
    flex-direction: row;
    gap: 22px;
    max-height: none;
    padding: 11px 0;
    border-bottom: 1px solid var(--rule);
  }

  .proof-row span,
  .privacy-list span,
  .stat-band > div {
    border-left: 0;
  }

  .stat-band {
    gap: 6px 0;
  }
}

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

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

  .js [data-reveal],
  .js .hero h1 .word > span {
    opacity: 1;
    translate: 0;
  }
}
