/* Giriş yapmamış ziyaretçi için tanıtım sayfası */
body.landing { display: block; min-height: 100vh; overflow: auto; background: var(--paper); }
.landing main { display: block; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 12px; border-radius: var(--r); z-index: 10; }
.skip:focus { left: 8px; }
.landing a:focus-visible, .landing .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.ln-top, .ln-hero, .ln-flow, .ln-team, .ln-ai, .ln-more, .ln-self, .ln-foot { width: min(1160px, 100% - 48px); margin-inline: auto; }
.ln-top { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.ln-nav { display: flex; gap: 6px; }

/* ---- Açılış ---- */
.ln-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding: 48px 0 88px; }
.ln-copy h1 { margin: 0; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; max-width: 12ch; text-wrap: balance; }
.ln-lede { margin: 26px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.ln-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 32px; }
.ln-cta .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.ln-cta-note { font-size: 13.5px; color: var(--ink-3); }

/* Örnek sohbet: ürünün kendisi */
.ln-demo { margin: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px color-mix(in srgb, var(--ink) 35%, transparent); overflow: hidden; }
.dm-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.dm-crumb { color: var(--ink-2); }
.dm-crumb i { font-style: normal; color: var(--ink-3); margin: 0 3px; }
.dm-crumb b { color: var(--ink); }
.dm-repo { font: 12px var(--mono); color: var(--ink-3); }
.dm-thread { list-style: none; margin: 0; padding: 18px 18px 6px; background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 16px 16px; position: relative; }
.dm-row { display: grid; grid-template-columns: 40px 18px minmax(0, 1fr) auto; gap: 0 10px; align-items: start; padding: 8px 0; position: relative; }
.dm-row::before { content: ''; position: absolute; left: 58px; top: 22px; bottom: -10px; width: 1.5px; background: var(--line-2); }
.dm-row:last-child::before { display: none; }
.dm-row time { font: 12px var(--mono); color: var(--ink-3); padding-top: 3px; text-align: right; }
.dm-node { width: 13px; height: 13px; margin: 4px 0 0 1px; border-radius: 50%; border: 2px solid var(--tc); background: var(--surface); position: relative; z-index: 1; }
.dm-row.t-not .dm-node { background: var(--ink-3); border-color: var(--ink-3); width: 9px; height: 9px; margin: 6px 0 0 3px; }
.t-hata { --tc: var(--bug); }
.t-ozellik { --tc: var(--feat); }
.t-not { --tc: var(--ink-3); }
.dm-row div { min-width: 0; }
.dm-row p { margin: 3px 0 0; font-size: 15px; line-height: 1.45; }
.dm-type { font-size: 12.5px; font-weight: 700; color: var(--tc); margin-right: 8px; }
.dm-prio { display: inline-block; max-width: 60px; overflow: hidden; vertical-align: 1px; font-size: 11px; font-weight: 700; background: var(--bug); color: #fff; padding: 0 5px; border-radius: 3px; margin-right: 8px; }
.dm-due { font: 11px var(--mono); color: var(--warn); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 55%, transparent); padding: 0 5px; border-radius: 3px; }
.dm-path { font: 11.5px var(--mono); color: var(--ink-2); background: var(--sunk); border: 1px solid var(--line); padding: 0 5px; border-radius: 3px; }
.dm-hash { font: 11.5px var(--mono); color: var(--ink-3); background: none; border: 0; padding: 4px 0 0; }
.dm-cl { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 3px; font-size: 13.5px; }
.dm-cl li { display: flex; align-items: center; gap: 8px; }
.dm-cl li::before { content: ''; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid var(--ink-3); flex: none; }
.dm-cl li.on { color: var(--ink-3); text-decoration: line-through; }
.dm-cl li.on::before { background: var(--ok); border-color: var(--ok); }
.dm-fixed { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--ok); }
.dm-compose { display: flex; align-items: center; gap: 12px; margin: 10px 14px 14px; padding: 10px 10px 10px 14px; border: 1px solid var(--line-2); border-left: 3px solid var(--bug); border-radius: 8px; background: var(--surface); }
.dm-typing { flex: 1; min-width: 0; font: 13px var(--mono); color: var(--ink); overflow: hidden; white-space: nowrap; }
.dm-typing span { display: inline-block; overflow: hidden; vertical-align: bottom; border-right: 2px solid var(--ink); padding-right: 2px; }
.dm-send { flex: none; font-size: 13px; font-weight: 600; background: var(--ink); color: var(--on-ink); padding: 6px 12px; border-radius: var(--r); }

/* Tek sahne: yazılır, kaydedilir, eski hata kapanır */
@media (prefers-reduced-motion: no-preference) {
  .dm-typing span { width: 0; animation: dm-type 1.9s steps(40, end) .6s forwards, dm-caret .8s step-end 6; }
  .dm-new { opacity: 0; transform: translateY(6px); animation: dm-in .35s ease-out 2.9s forwards; }
  .dm-send { animation: dm-press .25s ease-out 2.6s; }
  .dm-a3 .dm-node { animation: dm-done .3s ease-out 3.8s both; }
  .dm-a3 p { animation: dm-strike .3s ease-out 3.8s both; }
  .dm-a3 .dm-fixed, .dm-a3 .dm-prio { animation: dm-swap .3s ease-out 3.8s both; }
  .dm-a3 .dm-fixed { animation-name: dm-show; }
  .dm-compose .dm-typing span { animation-fill-mode: forwards; }
  .dm-typing { animation: dm-clear .01s linear 2.85s forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-a3 .dm-node { background: var(--ok); border-color: var(--ok); }
  .dm-a3 p { color: var(--ink-3); text-decoration: line-through; }
  .dm-a3 .dm-prio { display: none; }
  .dm-typing span { width: 0; border: 0; }
}
@keyframes dm-type { to { width: 40ch; } }
@keyframes dm-caret { 50% { border-color: transparent; } }
@keyframes dm-in { to { opacity: 1; transform: none; } }
@keyframes dm-press { 50% { transform: scale(.94); } }
@keyframes dm-done { to { background: var(--ok); border-color: var(--ok); } }
@keyframes dm-strike { to { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--line-2); } }
@keyframes dm-swap { to { opacity: 0; max-width: 0; padding: 0; margin-right: 0; } }
@keyframes dm-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes dm-clear { to { opacity: 0; } }
.dm-a3 .dm-fixed { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .dm-a3 .dm-fixed { opacity: 1; } }

/* ---- Bölümler ---- */
.landing section h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.ln-flow { padding: 72px 0; border-top: 1px solid var(--line); }
.flow { list-style: none; counter-reset: f; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.flow li { counter-increment: f; position: relative; padding: 0 28px 0 0; }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); font-weight: 700; font-size: 14px; background: var(--paper); position: relative; z-index: 1; }
.flow li::after { content: ''; position: absolute; left: 30px; right: 0; top: 15px; height: 1.5px; background: var(--line-2); }
.flow li:last-child::after { display: none; }
.flow h3 { margin: 16px 0 6px; font-size: 17px; letter-spacing: -.01em; }
.flow p { margin: 0; color: var(--ink-2); line-height: 1.55; font-size: 15px; max-width: 32ch; }

.ln-ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line); }
.ai-copy p { margin: 18px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 50ch; }
.ai-copy .ai-prov { font-size: 15px; color: var(--ink-3); }
.ai-sample { margin: 0; padding: 22px 24px; background: var(--ink); color: var(--on-ink); border-radius: 10px; overflow-x: auto; font: 13px/1.65 var(--mono); }
.ai-sample code { background: none; border: 0; padding: 0; color: inherit; font: inherit; white-space: pre; }
.ai-sample b { color: var(--hl); font-weight: 500; }
.ai-sample mark { background: color-mix(in srgb, var(--hl) 85%, transparent); color: var(--hl-ink); border-radius: 2px; padding: 0 2px; }

.ln-more { padding: 72px 0; border-top: 1px solid var(--line); }
.more { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.more div { border-left: 2px solid var(--line-2); padding-left: 16px; }
.more dt { font-weight: 700; font-size: 16px; }
.more dd { margin: 6px 0 0; color: var(--ink-2); line-height: 1.55; font-size: 15px; }

.ln-self { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 72px 0 88px; border-top: 1px solid var(--line); }
.sec-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.sec-list li { display: flex; gap: 12px; align-items: baseline; }
.sec-list li::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--ok); flex: none; transform: translateY(-1px); }
.term { margin: 0; padding: 20px 22px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-2); font: 13.5px/1.8 var(--mono); overflow-x: auto; }
.term code { background: none; border: 0; padding: 0; font: inherit; white-space: pre; }
.term .tp { color: var(--ink-3); user-select: none; }
.term .tc { color: var(--ok); }

.ln-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 26px 0 40px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }
.ln-foot .brand-name { font-size: 14px; color: var(--ink); }
.ln-foot a { margin-left: auto; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .ln-hero, .ln-ai, .ln-self { grid-template-columns: 1fr; gap: 40px; }
  .ln-hero { padding-top: 24px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .flow li:nth-child(2)::after { display: none; }
  .more { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ln-top, .ln-hero, .ln-flow, .ln-team, .ln-ai, .ln-more, .ln-self, .ln-foot { width: calc(100% - 32px); }
  .ln-lede { font-size: 16.5px; }
  .flow, .more { grid-template-columns: 1fr; }
  .flow li::after { display: none; }
  .dm-row { grid-template-columns: 34px 16px minmax(0, 1fr); }
  .dm-row::before { left: 50px; }
  .dm-hash { display: none; }
  .dm-thread { padding: 14px 12px 4px; }
  .dm-repo { display: none; }
  .ln-flow, .ln-ai, .ln-more, .ln-self { padding: 52px 0; }
  .ln-foot a { margin-left: 0; }
}

@media (max-width: 400px) {
  .ln-top, .ln-hero, .ln-flow, .ln-team, .ln-ai, .ln-more, .ln-self, .ln-foot { width: calc(100% - 32px); }
  .ln-top .brand-name { white-space: nowrap; font-size: 16px; }
  .ln-nav .btn { padding: 0 10px; font-size: 13px; }
}
@media (max-width: 360px) { .ln-nav .btn.ghost:first-child:not(:last-child) { display: none; } }

/* ===== v10.9: açılışta tanıtım videosu, ürün dili ===== */
.ln-hero { display: block; padding: 40px 0 72px; text-align: center; }
.ln-hero .ln-copy { max-width: 860px; margin: 0 auto; }
.ln-kicker { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); }
.ln-hero .ln-copy h1 { max-width: none; margin-inline: auto; font-size: clamp(36px, 6vw, 72px); }
.ln-hero .ln-lede { margin-inline: auto; max-width: 58ch; }
.ln-hero .ln-cta { justify-content: center; }
.ln-vwrap { margin: 44px auto 0; max-width: 1040px; }
.ln-player { position: relative; border-radius: 16px; overflow: hidden; background: #181a18; box-shadow: 0 1px 0 var(--line), 0 40px 80px -40px color-mix(in srgb, var(--ink) 55%, transparent); border: 1px solid var(--line-2); aspect-ratio: 16 / 9; }
.ln-vid { display: block; width: 100%; height: 100%; object-fit: cover; background: #181a18; }
.ln-play { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 22px 0 10px; border-radius: 27px; background: #f0c428; color: #181a18; font-weight: 700; font-size: 16px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); transition: transform .15s; }
.ln-play:hover { transform: translateX(-50%) scale(1.03); }
.ln-play-ic { width: 36px; height: 36px; border-radius: 50%; background: #181a18; position: relative; flex: none; }
.ln-play-ic::after { content: ''; position: absolute; left: 14px; top: 11px; border-left: 12px solid #f0c428; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.ln-player.is-playing .ln-play { display: none; }
.ln-chapters { list-style: none; margin: 14px 0 0; padding: 0 0 4px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ln-chapters button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px; border-radius: 19px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.ln-chapters button:hover { background: var(--hover); color: var(--ink); }
.ln-chapters button.is-on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.ln-chapters button.is-on .ch-t { color: inherit; opacity: .7; }
.ln-chapters .ch-t { font: 600 12.5px var(--mono); color: var(--ink-3); }

.ln-team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line); }
.team-copy h2 { margin: 0 0 12px; }
.team-copy p { margin: 0 0 18px; color: var(--ink-2); line-height: 1.6; }
.team-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 18px; display: grid; gap: 10px; box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--ink) 45%, transparent); }
.tc-row { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.tc-row b { flex: 1; }
.tc-av { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: #5b6cff; }
.tc-av[data-c="2"] { background: #e5484d; } .tc-av[data-c="3"] { background: #2f9e6e; }
.tc-role { font-size: 13px; color: var(--ink-3); padding: 3px 10px; border-radius: 12px; background: var(--sunk); }
.tc-note { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 12px; border-radius: 10px; background: color-mix(in srgb, var(--hl) 22%, var(--surface)); font-size: 14px; }
.tc-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; flex: none; }
.ln-sub { color: var(--ink-2); margin: 8px 0 0; }
.sec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sec-grid li { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: grid; gap: 6px; }
.sec-grid b { font-size: 15.5px; }
.sec-grid span { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 900px) {
  .ln-team { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .ln-hero { padding: 20px 0 48px; text-align: left; }
  .ln-hero .ln-cta { justify-content: flex-start; }
  .ln-vwrap { margin-top: 28px; }
  .ln-player { border-radius: 12px; }
  .ln-play { height: 46px; font-size: 14.5px; bottom: 7%; padding: 0 16px 0 8px; }
  .ln-play-ic { width: 30px; height: 30px; }
  .ln-play-ic::after { left: 12px; top: 9px; border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; }
  .ln-chapters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .ln-chapters::-webkit-scrollbar { display: none; }
  .ln-chapters li { flex: none; }
  .ln-team, .ln-team { width: calc(100% - 32px); padding: 48px 0; }
  .sec-grid { grid-template-columns: 1fr; }
}
.ln-play { white-space: nowrap; }
@media (max-width: 640px) { .ln-play-d { display: none; } }
