/* togatherlove.com — uygulamanın defter görünümü: krem kâğıt, mürekkep çizgiler, bantlar, el yazısı başlıklar.
   Işık sol üstten, gölgeler sağ alta (uygulamadaki fizik kuralı). Uygulama gibi sadece açık tema. */

@font-face { font-family: 'Grandstander'; src: url('/fonts/grandstander-800.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/fonts/quicksand-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/fonts/quicksand-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #FBF7F2;
  --paper-2: #FFFDF9;
  --ink: #3A2A31;
  --ink-soft: #7D6C73;
  --rule: #E7DCE2;
  --crimson: #D33F49;
  --steel: #4281A4;
  --teal: #0FA3B1;
  --blush: #FCDDF2;
  --peach: #FFDDC2;
  --butter: #FFF1A8;
  --tape-pink: rgba(245, 163, 196, .82);
  --tape-mint: rgba(147, 214, 204, .85);
  --tape-cream: rgba(238, 209, 131, .85);
  --hand: 'Grandstander', 'Quicksand', system-ui, sans-serif;
  --body: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wobble: 255px 14px 225px 16px / 16px 225px 14px 255px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--crimson); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--hand); font-weight: 800; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

main { width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Ortak parçalar ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--hand); font-weight: 800; font-size: 17px; color: var(--crimson);
  padding: 2px 14px; border: 2px solid currentColor; border-radius: var(--wobble);
  transform: rotate(-2deg);
  margin-bottom: 16px;
}
/* Kırmızı kalemle elle çizilmiş alt çizgi */
.squiggle {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M3 9 C 30 3, 52 13, 80 7 S 130 3, 156 8 S 188 10, 197 5' fill='none' stroke='%23D33F49' stroke-width='3.4' stroke-linecap='round'/></svg>") no-repeat left 100% / 100% .32em;
  padding-bottom: .12em;
}
/* Elle çizilmiş daire */
.circled { position: relative; white-space: nowrap; }
.circled::after {
  content: ''; position: absolute; inset: -.18em -.32em -.12em;
  border: 2.5px solid var(--crimson); border-radius: 50% 46% 52% 44% / 54% 48% 52% 46%;
  transform: rotate(-3deg); pointer-events: none;
}

.tape { position: relative; }
.tape::before {
  content: ''; position: absolute; top: -14px; left: 50%; width: 96px; height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--tape, var(--tape-cream));
  clip-path: polygon(2% 8%, 8% 0, 16% 10%, 26% 2%, 38% 9%, 50% 1%, 62% 8%, 74% 0, 86% 9%, 94% 1%, 100% 10%, 98% 92%, 90% 100%, 80% 90%, 68% 99%, 56% 91%, 44% 100%, 32% 92%, 20% 100%, 10% 91%, 0 100%);
  z-index: 2;
}

.card {
  background: var(--paper-2);
  border: 2.2px solid var(--ink);
  border-radius: var(--wobble);
  padding: 30px 26px 26px;
  box-shadow: 5px 6px 0 rgba(58, 42, 49, .08), 0 14px 26px rgba(58, 42, 49, .06);
}
.card h3 { font-size: 23px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); }

.phone { width: min(300px, 78vw); filter: drop-shadow(10px 16px 18px rgba(58, 42, 49, .18)); }
.phone img { width: 100%; height: auto; }
.tilt-l { transform: rotate(-3deg); }
.tilt-r { transform: rotate(2.5deg); }

/* ---------- Mağaza rozetleri ---------- */

.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.stores a, .stores span.badge { display: block; line-height: 0; }
.stores .apple img { height: 52px; width: auto; }
/* Google'ın rozetinde kendi saydam payı var */
.stores .google img { height: 77px; width: auto; margin: -12px -10px; }
.stores.soon .badge { opacity: .45; filter: grayscale(1); }
.soon-note {
  font-family: var(--hand); font-weight: 800; color: var(--crimson); font-size: 18px;
  transform: rotate(-2deg); display: inline-block;
}
.stores-meta { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }

/* ---------- Ana sayfa ---------- */

.home .hero { padding: 40px 0 30px; }
.home .hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.hero .logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.hero .logo-row svg { height: 76px; width: auto; }
.hero h1 { font-size: clamp(44px, 7vw, 76px); margin-bottom: 22px; }
.hero h1 .love { color: var(--crimson); }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); max-width: 34em; margin-bottom: 30px; }
.hero .shot { justify-self: center; position: relative; }

section.block { padding: 70px 0; }
section.block .head { max-width: 680px; margin-bottom: 40px; }
section.block h2 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 14px; }
section.block .head p { font-size: 19px; color: var(--ink-soft); }
.center { text-align: center; margin-inline: auto; }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.principles .card:nth-child(1) { transform: rotate(-1.2deg); --tape: var(--tape-pink); }
.principles .card:nth-child(2) { transform: rotate(1deg); --tape: var(--tape-mint); }
.principles .card:nth-child(3) { transform: rotate(-.6deg); --tape: var(--tape-cream); }
.principles .card:nth-child(4) { transform: rotate(1.4deg); --tape: var(--tape-pink); }
.principles .icon { font-size: 30px; line-height: 1; margin-bottom: 12px; }

/* Çizgili defter sayfası; kırmızı kenar çizgisi metnin solundaki boşlukta (dar ekranda yok) */
.lined {
  background:
    linear-gradient(rgba(242, 167, 172, .7), rgba(242, 167, 172, .7)) calc(50% - 584px) 0 / 2px 100% no-repeat,
    repeating-linear-gradient(var(--paper-2) 0 33px, rgba(231, 220, 226, .6) 33px 34px);
  border-block: 2px solid var(--rule);
}
@media (max-width: 1200px) {
  .lined { background: repeating-linear-gradient(var(--paper-2) 0 33px, rgba(231, 220, 226, .6) 33px 34px); }
}

.play-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; padding: 30px 0; }
.play-row + .play-row { margin-top: 30px; }
.play-row:nth-child(even) .text { order: 2; }
.play-row .shot { justify-self: center; }
.play-row h3 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 14px; }
.play-row p { font-size: 18px; color: var(--ink-soft); max-width: 30em; }
.play-row p + p { margin-top: 12px; }
.play-row .aside { font-family: var(--hand); font-weight: 800; color: var(--steel); font-size: 18px; transform: rotate(-1.5deg); display: inline-block; margin-top: 14px; }
.duo { display: flex; justify-content: center; }
.duo .phone { width: min(250px, 42vw); }
.duo .phone + .phone { margin-left: -40px; margin-top: 60px; }

.cta { padding: 90px 0 100px; }
.cta .card { max-width: 760px; margin-inline: auto; text-align: center; padding: 50px 30px 44px; --tape: var(--tape-mint); }
.cta h2 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 14px; }
.cta p { font-size: 19px; margin-bottom: 28px; }
.cta .stores { justify-content: center; }
.cta .soon-note, .doc.invite .soon-note { flex-basis: 100%; }

/* ---------- İç sayfalar ---------- */

header.top { width: min(820px, 100% - 32px); margin: 26px auto 0; }
header.top .brand { display: inline-block; }
header.top .brand svg { height: 54px; width: auto; }
.doc { width: min(820px, 100% - 32px); margin: 34px auto 60px; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); margin-bottom: 10px; }
.doc .meta { color: var(--ink-soft); font-size: 15px; margin-bottom: 30px; }
.doc section { margin-top: 26px; }
.doc h2 { font-size: 23px; margin-bottom: 6px; }
.doc p { color: var(--ink); }
.doc p + p { margin-top: 12px; }
.doc.invite { text-align: center; margin-top: 70px; }
.doc.invite #who { font-size: 20px; margin: 10px 0 30px; }
.doc.invite .stores { justify-content: center; margin-top: 12px; }
.button {
  display: inline-block; background: var(--crimson); color: #fff; text-decoration: none;
  font-family: var(--hand); font-weight: 800; font-size: 20px; padding: 14px 34px; border-radius: 999px;
  box-shadow: 3px 4px 0 rgba(58, 42, 49, .18);
}

footer { border-top: 2px dashed var(--rule); padding: 30px 16px 40px; text-align: center; color: var(--ink-soft); font-size: 15px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-bottom: 10px; }
footer a { color: var(--ink); text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--crimson); }

/* ---------- Telefon genişliği ---------- */

@media (max-width: 900px) {
  .home .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
  .principles { grid-template-columns: 1fr 1fr; }
  .play-row { grid-template-columns: 1fr; gap: 30px; }
  .play-row:nth-child(even) .text { order: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero .logo-row { margin-bottom: 24px; }
  .hero .logo-row svg { height: 60px; }
  .principles { grid-template-columns: 1fr; }
  section.block { padding: 50px 0; }
  .stores { gap: 10px; }
  .stores .apple img { height: 42px; }
  .stores .google img { height: 62px; margin: -10px -8px; }
  .stores .soon-note { flex-basis: 100%; }
  .cta .card { padding: 44px 18px 36px; }
}
@media (prefers-reduced-motion: no-preference) {
  .card, .phone { transition: transform .4s ease; }
  .principles .card:hover { transform: rotate(0) translateY(-3px); }
}
