/* Yerleşim: evin bir günü. Ana sayfa saat ekseni boyunca akar, her durak uygulamanın bir ekranını gösterir.
   Renkler uygulamanın paletidir (mobile/src/theme/colors.ts). */

@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('fonts/fredoka-latin-ext-wght-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: 'Fredoka';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('fonts/fredoka-latin-wght-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;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('fonts/figtree-latin-ext-wght-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: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('fonts/figtree-latin-wght-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;
}

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --muted: #f4f2ef;
  --line: #e7e3dc;
  --ink: #242424;
  --ink-soft: #6a6864;
  --primary: #6c63ff;
  --primary-ink: #4f46d8;
  --on-primary: #ffffff;
  --soft: #eeeafe;
  --frame: #2b2a33;
  --success: #52b788;
  --success-soft: #e3f4ea;
  --warning-soft: #fdeee1;
  --shadow: 0 1px 2px rgb(43 37 64 / 6%), 0 12px 32px rgb(43 37 64 / 9%);

  --font-display: 'Fredoka', 'Nunito', ui-rounded, system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #121212;
    --surface: #1e1e1e;
    --muted: #262626;
    --line: #2f2e2c;
    --ink: #f2f1ef;
    --ink-soft: #a9a6a1;
    --primary: #8f88ff;
    --primary-ink: #b0abff;
    --on-primary: #16142b;
    --soft: #2a2742;
    --frame: #3a3844;
    --success: #5fc495;
    --success-soft: #1d3328;
    --warning-soft: #3a2a1c;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 12px 32px rgb(0 0 0 / 35%);
    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --bg: #121212;
  --surface: #1e1e1e;
  --muted: #262626;
  --line: #2f2e2c;
  --ink: #f2f1ef;
  --ink-soft: #a9a6a1;
  --primary: #8f88ff;
  --primary-ink: #b0abff;
  --on-primary: #16142b;
  --soft: #2a2742;
  --frame: #3a3844;
  --success: #5fc495;
  --success-soft: #1d3328;
  --warning-soft: #3a2a1c;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 12px 32px rgb(0 0 0 / 35%);
  color-scheme: dark;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--primary-ink);
  text-underline-offset: 3px;
}

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

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--on-primary);
  z-index: 20;
}
.skip:focus {
  top: 12px;
}

/* Üst ve alt bant */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 34px;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--ink);
}

.site-footer {
  margin-top: 96px;
  border-top: 1px solid var(--line);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 32px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.site-footer a {
  color: var(--ink-soft);
}

/* Giriş */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 56px;
  padding-block: 40px 72px;
}
.hero-copy {
  display: grid;
  gap: 24px;
  min-width: 0;
}
.eyebrow {
  color: var(--primary-ink);
  font-weight: 600;
  font-size: 0.9375rem;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.75rem);
  line-height: 1.04;
}
.hero h1 span {
  display: block;
  color: var(--primary-ink);
}
.lead {
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 1.1875rem;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
}
.store small {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(320px, 100%);
  padding-bottom: 28px;
}
.phone {
  padding: 10px;
  border-radius: 44px;
  background: var(--frame);
  box-shadow: var(--shadow);
}
.phone-screen {
  display: grid;
  gap: 12px;
  padding: 26px 14px 20px;
  border-radius: 34px;
  background: var(--bg);
}
.hero-push {
  position: absolute;
  left: -44px;
  right: 24px;
  bottom: 0;
}

/* Uygulama ekranlarının küçük kopyaları: mobildeki kartlarla aynı ölçü ve dil */
.ui-title {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  padding-inline: 4px;
}
.ui-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  line-height: 1.4;
}
.ui-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
}
.ui-card.soft {
  background: var(--soft);
  box-shadow: none;
}
.ui-note {
  color: var(--ink-soft);
  font-size: 0.8125rem;
}
.ui-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ui-row .grow {
  flex: 1;
  min-width: 0;
}
.check {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  color: transparent;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}
.check.on {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
}
.done {
  color: var(--ink-soft);
  text-decoration: line-through;
}
.fresh {
  margin-inline: -8px;
  padding: 4px 8px;
  border-radius: 10px;
  background: var(--soft);
}
.push {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  line-height: 1.35;
}
.push-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.75rem;
}
.push-head img {
  width: 16px;
  height: 16px;
}
.push-head time {
  margin-left: auto;
}
.push strong {
  font-weight: 700;
}
.push-actions {
  display: flex;
  gap: 8px;
}
.push-actions span {
  flex: 1;
  padding: 7px 4px;
  border-radius: 10px;
  background: var(--muted);
  text-align: center;
  font-weight: 600;
  font-size: 0.8125rem;
}
.pill {
  justify-self: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--success-soft);
  font-size: 0.8125rem;
  font-weight: 600;
}
.reactions {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.reactions span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.reactions .picked {
  background: var(--soft);
  box-shadow: inset 0 0 0 1.5px var(--primary);
}
.plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 12px;
}
.plan .who {
  color: var(--ink-soft);
}

/* Günün akışı */
.day {
  padding-block: 32px 16px;
}
.section-head {
  display: grid;
  gap: 12px;
  max-width: 36em;
  margin-bottom: 48px;
}
.section-head h2,
.bridge h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
}
.section-head p {
  color: var(--ink-soft);
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stop {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) minmax(0, 340px);
  gap: 16px 40px;
  align-items: start;
  padding-bottom: 64px;
}
/* Saat ekseni: duraklar gerçekten zaman sırasıyla ilerler */
.stop::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 34px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.stop:last-child::before {
  display: none;
}
.stop > time {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--primary-ink);
  white-space: nowrap;
}
.stop > time::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 4px solid var(--primary);
}
.stop-copy {
  display: grid;
  gap: 10px;
  max-width: 28em;
  min-width: 0;
}
.stop-copy h3 {
  font-size: 1.625rem;
}
.stop-copy p {
  color: var(--ink-soft);
}
.stop-ui {
  display: grid;
  gap: 12px;
  min-width: 0;
}

/* İçindekiler ve dil */
.bridge {
  padding-block: 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px 56px;
  align-items: start;
}
.bridge-intro {
  display: grid;
  gap: 14px;
}
.bridge-intro p {
  color: var(--ink-soft);
}
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 36px;
  margin: 0;
}
.features dt {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
}
.features dd {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.tone {
  background: var(--soft);
  border-radius: 28px;
}
.tone-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px 56px;
  padding: clamp(28px, 5vw, 56px);
}
.tone-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}
.tone-copy h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
}
.pairs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.pairs li {
  display: grid;
  gap: 4px;
}
.pairs s {
  color: var(--ink-soft);
  text-decoration-thickness: 1.5px;
}
.pairs strong {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
}

.closing {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding-block: 88px 0;
}
.closing h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  max-width: 18em;
}

/* Metin sayfaları */
.doc {
  max-width: 760px;
  padding-block: 32px 0;
}
.doc-head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}
.doc h1 {
  font-size: clamp(2.2rem, 5vw, 3.25rem);
}
.doc h2 {
  font-size: 1.5rem;
  margin-top: 40px;
}
.doc section {
  display: grid;
  gap: 10px;
}
.doc ul,
.doc ol {
  margin: 0;
  padding-left: 1.25em;
  display: grid;
  gap: 6px;
}
.meta {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}
.draft-note {
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--warning-soft);
  font-size: 0.9375rem;
}
.placeholder {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px dashed var(--line);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.contact-card {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 20px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact-card h2 {
  margin: 0;
  font-size: 1.25rem;
}
.contact-card p {
  color: var(--ink-soft);
}
.contact-card .placeholder {
  margin-top: 6px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-block: 20px 56px;
  }
  .hero-push {
    left: -8px;
    right: -8px;
  }
  .stop {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 34px;
  }
  .stop > time {
    margin-left: -34px;
  }
  .stop-ui {
    max-width: 380px;
  }
  .bridge,
  .tone-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .features,
  .contact-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-header .wrap {
    flex-wrap: wrap;
    padding-block: 16px 8px;
  }
  .site-footer {
    margin-top: 64px;
  }
}
