/* NoteUno tanıtım sitesi (noteuno.com). Renkler ve yazı tipleri uygulamanınkilerle aynıdır (apps/web/src/styles.css). */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(yazi/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  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;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(yazi/inter-latin-wght-normal.woff2) format('woff2-variations');
  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;
}
@font-face {
  font-family: Caveat;
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(yazi/caveat-latin-ext-600-normal.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;
}
@font-face {
  font-family: Caveat;
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(yazi/caveat-latin-600-normal.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;
}

/* Site yalnız AÇIK renklidir; ziyaretçinin bilgisayarı koyu ayarda olsa da (İlker'in kararı, 28 Kasım 2026). */
:root {
  color-scheme: light;
  --paper: #ebe4d8;
  --sheet: #fcf9f4;
  --elev: #ffffff;
  --line: #dfd5c5;
  --line2: #c8bba6;
  --dot: #ddd3c3;
  --ink: #24201b;
  --ink2: #5c5449;
  --acc: #2563eb;
  --acc-hover: #1d4ed8;
  --link: #1d4ed8;
  --focus: #93b4f8;
  --hl-yellow: #fef08a;
  --hl-green: #bbf7d0;
  --hl-blue: #bae6fd;
  --hl-yellow-ink: #1c1917;
  --hl-green-ink: #14532d;
  --hl-blue-ink: #0c4a6e;
  --shadow: 0 24px 60px rgba(62, 50, 35, 0.22);
  --shadow-note: 0 14px 26px rgba(62, 50, 35, 0.2);
  --font: 'Inter Variable', Inter, 'Segoe UI', system-ui, sans-serif;
  --hand: Caveat, 'Segoe Print', 'Comic Sans MS', cursive;
  --gutter: clamp(20px, 5vw, 48px);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss03';
}

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

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(100%, 1120px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Üst şerit ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Düğmeler ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68em 1.2em;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 620;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.btn.main {
  background: var(--acc);
  color: #ffffff;
}

.btn.main:hover {
  background: var(--acc-hover);
}

.btn.plain {
  background: var(--elev);
  border-color: var(--line2);
  color: var(--ink);
}

.btn.plain:hover {
  border-color: var(--ink2);
}

.btn.small {
  padding: 0.55em 0.95em;
  font-size: 0.95rem;
}

/* ---------- Giriş: noktalı defter sayfası ---------- */

.hero {
  border-block: 1px solid var(--line);
  background-color: var(--sheet);
  background-image: radial-gradient(var(--dot) 1.1px, transparent 1.4px);
  background-size: 22px 22px;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 40px 56px;
  padding-top: clamp(48px, 8vw, 96px);
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6.4vw, 4.5rem);
  font-weight: 760;
  line-height: 1.14;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.lead {
  max-width: 34em;
  margin: 28px 0 0;
  color: var(--ink2);
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Fosforlu kalem: uygulamadaki işaretlemenin aynısı (dolu, köşeleri yuvarlak). Sayfa açılırken bir kez çizilir. */
mark {
  padding: 0 0.16em;
  margin-inline: -0.16em;
  border-radius: 0.2em;
  /* Tarayıcının kendi çiğ sarısı alttan görünmesin; renk yalnız aşağıdaki fosforlu tonlardan gelir. */
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 0 55%;
  background-size: 100% 88%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

mark.yellow {
  background-image: linear-gradient(var(--hl-yellow), var(--hl-yellow));
  color: var(--hl-yellow-ink);
}

mark.green {
  background-image: linear-gradient(var(--hl-green), var(--hl-green));
  color: var(--hl-green-ink);
}

mark.blue {
  background-image: linear-gradient(var(--hl-blue), var(--hl-blue));
  color: var(--hl-blue-ink);
}

@media (prefers-reduced-motion: no-preference) {
  h1 mark {
    animation: ciz 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s both;
  }

  h1 span + span mark {
    animation-delay: 0.85s;
  }

  @keyframes ciz {
    from {
      background-size: 0% 88%;
    }
    to {
      background-size: 100% 88%;
    }
  }
}

/* Giriş bölümündeki post-it: uygulamadaki post-it'in aynısı (üstte koyu şerit, el yazısı, hafif eğik). */
.note {
  width: 250px;
  margin: 18px 6px 0 0;
  padding: 22px 22px 30px;
  border-top: 7px solid #facc15;
  border-radius: 2px 2px 14px 2px;
  background: #fef08a;
  box-shadow: var(--shadow-note);
  color: #1c1917;
  font-family: var(--hand);
  font-size: 1.72rem;
  font-weight: 600;
  line-height: 1.22;
  transform: rotate(2.6deg);
}

.note p {
  margin: 0;
}

.note p + p {
  margin-top: 0.5em;
}

.shot {
  position: relative;
  margin: clamp(44px, 6vw, 72px) 0 calc(-1 * clamp(40px, 8vw, 110px));
}

.shot img {
  width: 100%;
  border: 1px solid var(--line2);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* ---------- Altındaki bölümler ---------- */

.after-shot {
  padding-top: calc(clamp(40px, 8vw, 110px) + 40px);
}

.also {
  max-width: 44em;
  margin: 0;
  color: var(--ink2);
}

.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 44px;
  margin-top: clamp(56px, 7vw, 88px);
}

h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.points p {
  margin: 14px 0 0;
  color: var(--ink2);
}

.get {
  margin-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

.get h2 {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
}

.rows {
  margin: 24px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--line2);
  list-style: none;
}

.rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 24px;
  padding-block: 20px;
  border-top: 1px solid var(--line2);
}

.rows strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 680;
}

.rows span {
  color: var(--ink2);
  font-size: 0.98rem;
}

.rows .soon {
  font-weight: 560;
}

/* ---------- Alt şerit ---------- */

.foot {
  border-top: 1px solid var(--line);
  color: var(--ink2);
  font-size: 0.98rem;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 26px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

/* ---------- Yazı sayfası (gizlilik) ---------- */

.doc {
  border-block: 1px solid var(--line);
  background: var(--sheet);
}

.doc .wrap {
  padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 88px);
}

.doc article {
  max-width: 41em;
}

.doc h1 {
  font-size: clamp(2.1rem, 4.6vw, 3rem);
  letter-spacing: -0.03em;
}

.doc .date {
  margin: 14px 0 0;
  color: var(--ink2);
  font-size: 0.98rem;
}

.doc h2 {
  margin-top: 2.2em;
}

.doc p,
.doc ul {
  margin: 0.8em 0 0;
}

.doc ul {
  padding-left: 1.2em;
}

.doc li + li {
  margin-top: 0.4em;
}

.doc .short {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--elev);
}

.doc .short ul {
  margin-top: 0;
}

/* ---------- Dar ekran ---------- */

@media (max-width: 860px) {
  .hero-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .note {
    width: min(250px, 78%);
    margin: 0 0 0 auto;
    font-size: 1.55rem;
    transform: rotate(1.8deg);
  }

  .points {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Telefonda bütün pencere okunmayacak kadar küçülür: görüntünün yalnız sayfa kısmı, iki kat büyük gösterilir
   (ölçüler kabın genişliğine göre yüzde olduğu için her genişlikte aynı yer görünür). */
@media (max-width: 640px) {
  .shot picture {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 0.98;
    border: 1px solid var(--line2);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .shot img {
    width: 200%;
    max-width: none;
    margin: -21% 0 0 -46%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .note {
    width: min(214px, 70%);
    padding: 16px 18px 22px;
    font-size: 1.36rem;
  }
}

@media (max-width: 560px) {
  .top nav .plain {
    display: none;
  }

  .rows li {
    grid-template-columns: minmax(0, 1fr);
  }

  .rows .btn {
    justify-self: start;
  }
}
