/* Lenapiko — renkler uygulamadan: kâğıt zemin, lacivert mürekkep, simgenin deniz mavisi,
   Piko'nun sarısı ve ana ekran kutularının renkleri. Yazı tipi sistemin yuvarlak yazısı
   (Apple cihazlarda SF Rounded); başka şirketten yazı tipi yüklenmez. */

:root {
  --bg: #EEF6FC;
  --bg-2: #E3EFF9;
  --surface: #FFFFFF;
  --ink: #1F2A4D;
  --ink-2: #4A5677;
  --line: #D3E1EE;
  --brand: #17698A;
  --link: #1765B0;
  --star: #FFD24D;
  --tick: #1E8A55;
  --frame: #1B2340;
  --shadow: 0 1px 0 rgba(31, 42, 77, .05), 0 18px 40px -22px rgba(31, 42, 77, .35);
  --radius: 28px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Kutuların renk bantları (uygulamadaki gibi açıktan koyuya). */
  --grape-1: #A98CFF;  --grape-2: #7B5BEA;
  --leaf-1: #5BCB8E;   --leaf-2: #2E9E62;
  --tangerine-1: #FFB060; --tangerine-2: #F2832F;
  --sky-1: #5DB2FF;    --sky-2: #2A83DB;
  --coral-1: #FF8A8C;  --coral-2: #E9535A;
  --sun-1: #FFD46B;    --sun-2: #F7A928;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1530;
    --bg-2: #121B3A;
    --surface: #18224A;
    --ink: #EEF3FB;
    --ink-2: #B2BED6;
    --line: #2C3964;
    --brand: #6CC3E2;
    --link: #8CC4FF;
    --tick: #5BD394;
    --frame: #050914;
    --shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 18px 40px -22px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

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

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

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

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

a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }

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

h1, h2, h3 { line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.1rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.5rem); font-weight: 850; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--frame); color: #fff; padding: 10px 16px; border-radius: 12px;
}
.skip:focus { top: 12px; }

/* ---- başlık ---- */

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

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.35rem; letter-spacing: -.01em;
}
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 2px 6px rgba(23, 105, 138, .25); }
.brand-small { font-size: 1.05rem; }
.brand-small img { width: 28px; height: 28px; border-radius: 8px; }

.lang-switch {
  display: flex; gap: 4px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.lang-switch a {
  min-width: 44px; padding: 6px 10px; border-radius: 999px; text-align: center;
  color: var(--ink-2); text-decoration: none; font-weight: 800; font-size: .9rem; line-height: 1.5;
}
.lang-switch a:hover { color: var(--ink); background: var(--bg); }
.lang-switch a[aria-current] { background: var(--frame); color: #fff; }
@media (prefers-color-scheme: dark) {
  .lang-switch a[aria-current] { background: var(--ink); color: var(--bg); }
}

/* ---- giriş ---- */

.hero { padding: clamp(24px, 5vw, 64px) 0 clamp(40px, 7vw, 96px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } }

.eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--brand); font-weight: 800; font-size: .92rem;
}
.hero h1 { font-size: clamp(2.3rem, 1.15rem + 3.3vw, 3.8rem); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 38em; }

.cta { margin: 28px 0 18px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  background: var(--frame); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1.05rem; box-shadow: var(--shadow);
}
.store::before {
  content: ""; width: 20px; height: 20px; flex: none;
  background: var(--star);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
a.store:hover { filter: brightness(1.15); }
.store-soon { background: var(--surface); color: var(--ink); border: 2px dashed var(--line); box-shadow: none; }
@media (prefers-color-scheme: dark) {
  .store { background: var(--ink); color: var(--bg); }
  .store-soon { background: var(--surface); color: var(--ink); }
}

.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-weight: 700; }
.ticks li, .checks li { position: relative; padding-left: 28px; }
.ticks li::before, .checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--tick);
}
.ticks li::after, .checks li::after {
  content: ""; position: absolute; left: 6px; top: calc(.32em + 4px); width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

.hero-art { position: relative; padding: 0 0 40px 30px; }
.ipad {
  background: var(--frame); padding: clamp(8px, 1.2vw, 14px); border-radius: clamp(22px, 3vw, 38px);
  box-shadow: 0 30px 60px -28px rgba(27, 35, 64, .55);
  transform: rotate(1.5deg);
}
.ipad img { border-radius: clamp(14px, 2vw, 26px); width: 100%; }
.piko {
  position: absolute; left: -4px; bottom: -6px; width: clamp(120px, 22vw, 210px);
  filter: drop-shadow(0 12px 18px rgba(27, 35, 64, .25));
  animation: hop 2.8s ease-in-out infinite;
  transform-origin: 50% 100%;
}
@keyframes hop {
  0%, 62%, 100% { transform: translateY(0) scale(1, 1); }
  70% { transform: translateY(0) scale(1.06, .94); }
  80% { transform: translateY(-16px) scale(.97, 1.04); }
  90% { transform: translateY(0) scale(1.04, .96); }
}
@media (prefers-reduced-motion: reduce) { .piko { animation: none; } }

/* ---- bölümler ---- */

section { scroll-margin-top: 20px; }
.story, .how, .features, .screens, .languages, .pair, .closing { padding: clamp(48px, 7vw, 88px) 0; }

.story { background: var(--surface); border-block: 1px solid var(--line); }
.story p { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); }
.story p:last-child { margin-bottom: 0; color: var(--ink); font-weight: 800; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.steps p { margin: 0; color: var(--ink-2); }
.step-n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
  border-radius: 50%; background: var(--star); color: #3B2A00; font-weight: 900; font-size: 1.3rem;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12);
}
.how-note { margin: 22px 0 0; color: var(--ink-2); max-width: 46em; }

.features { background: var(--bg-2); }
.tiles { margin-top: 32px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.tile {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); padding: 0 24px 24px;
}
.tile-art {
  margin: 0 -24px 20px; padding: 22px 0;
  display: flex; justify-content: center;
  background: linear-gradient(160deg, var(--c1), var(--c2));
}
.tile-art img { width: 120px; height: 120px; border-radius: 50%; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .35); }
.tile p { margin: 0; color: var(--ink-2); }
.tile-grape { --c1: var(--grape-1); --c2: var(--grape-2); }
.tile-leaf { --c1: var(--leaf-1); --c2: var(--leaf-2); }
.tile-tangerine { --c1: var(--tangerine-1); --c2: var(--tangerine-2); }
.tile-sky { --c1: var(--sky-1); --c2: var(--sky-2); }
.tile-coral { --c1: var(--coral-1); --c2: var(--coral-2); }
.tile-sun { --c1: var(--sun-1); --c2: var(--sun-2); }

.shots {
  list-style: none; padding: 4px 4px 16px; margin: 32px -4px 0;
  display: grid; gap: 20px; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
}
.shots li { scroll-snap-align: start; }
.shots figure { margin: 0; }
.phone {
  background: var(--frame); padding: 7px; border-radius: 34px; width: 100%;
  box-shadow: 0 20px 40px -24px rgba(27, 35, 64, .55);
}
.shots figcaption { margin-top: 14px; color: var(--ink-2); font-weight: 700; font-size: .98rem; line-height: 1.4; }
@media (max-width: 899px) {
  .shots { grid-auto-columns: 62%; }
}

.languages p { color: var(--ink-2); }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li {
  padding: 9px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-weight: 800; box-shadow: var(--shadow);
}

.pair { background: var(--bg-2); }
.pair-in { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.card {
  position: relative; background: var(--surface); border-radius: var(--radius);
  padding: 32px 28px 28px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.card h2 { padding-right: 96px; }
.card-piko { position: absolute; right: 18px; top: -26px; width: 104px; }
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; font-weight: 700; }
.fine { color: var(--ink-2); font-size: .95rem; }
.card .fine:last-child, .card p:last-child { margin-bottom: 0; }
.more { font-weight: 800; }
.more::after { content: " →"; }

.closing-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 14px; box-shadow: var(--shadow); }
.closing-name { font-weight: 900; font-size: 1.6rem; margin: 0; }
.closing .cta { margin-bottom: 0; }

/* ---- belge sayfaları ---- */

.doc { padding: clamp(24px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.doc h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem); }
.doc h2 { font-size: 1.45rem; margin-top: 2.1em; }
.doc .updated { color: var(--ink-2); font-size: .95rem; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: .45em; }
.doc li::marker { color: var(--brand); }
.address { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }

.doc-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.doc-piko { width: clamp(96px, 20vw, 150px); flex: none; }

.contact-card {
  margin-top: 28px; padding: 24px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.contact-card h2 { margin-top: 0; }
.contact-card p:last-child { margin-bottom: 0; }

.faq { display: grid; gap: 12px; margin-top: 18px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; position: relative;
  font-weight: 800; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border: solid var(--brand); border-width: 0 3px 3px 0; transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > p { margin: 0 22px 16px; color: var(--ink-2); }
.faq details > p:first-of-type { margin-top: -4px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---- 404 ve dil seçimi ---- */

.missing, .chooser { padding: clamp(32px, 8vw, 96px) 0; }
.missing-piko, .chooser-piko { width: 160px; margin: 0 auto 20px; }
.choices { display: grid; gap: 12px; margin-top: 28px; text-align: left; }
.choice {
  display: block; padding: 18px 22px; border-radius: 20px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink);
}
.choice strong { display: block; font-size: 1.2rem; }
.choice span { color: var(--ink-2); }
.choice:hover { border-color: var(--brand); }

/* ---- alt bilgi ---- */

.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; background: var(--bg); }
.foot-in { display: grid; gap: 14px; justify-items: start; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-nav a { color: var(--ink); font-weight: 800; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot .fine { margin: 0; }
@media (min-width: 760px) {
  .foot-in { grid-template-columns: auto 1fr; align-items: center; column-gap: 36px; }
  .foot .fine { grid-column: 1 / -1; }
}
