/*
  İlaçSes tanıtım sitesi
  Kind: health product (service)
  Palette: Frost and slate (bg #f7f9fa, surface #ecf0f2, ink #1f3038, muted #5d6b72, accent #0d7480)
  Type: Red Hat Display 400 / Red Hat Text 400-500
  Radius: soft 8/12/20. Spacing: 4 8 12 16 24 32 48 64 96 128
*/
@font-face { font-family: 'Red Hat Text'; font-weight: 400; font-display: swap; src: url(../fonts/red-hat-text-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+2000-206F; }
@font-face { font-family: 'Red Hat Text'; font-weight: 400; font-display: swap; src: url(../fonts/red-hat-text-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02AF; }
@font-face { font-family: 'Red Hat Text'; font-weight: 500; font-display: swap; src: url(../fonts/red-hat-text-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+2000-206F; }
@font-face { font-family: 'Red Hat Text'; font-weight: 500; font-display: swap; src: url(../fonts/red-hat-text-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02AF; }
@font-face { font-family: 'Red Hat Display'; font-weight: 400; font-display: swap; src: url(../fonts/red-hat-display-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+2000-206F; }
@font-face { font-family: 'Red Hat Display'; font-weight: 400; font-display: swap; src: url(../fonts/red-hat-display-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02AF; }
@font-face { font-family: 'Red Hat Display'; font-weight: 500; font-display: swap; src: url(../fonts/red-hat-display-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+2000-206F; }
@font-face { font-family: 'Red Hat Display'; font-weight: 500; font-display: swap; src: url(../fonts/red-hat-display-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02AF; }

:root {
  --bg: #f7f9fa; --surface: #ecf0f2; --ink: #1f3038; --muted: #5d6b72; --accent: #0d7480;
  --line: #d3dbdf; --danger: #b3261e; --warn: #8a5300; --ok: #1b6e3c;
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --wrap: 1160px; --pad: 32px; --top: 72px;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 'Red Hat Text', system-ui, sans-serif; overflow-x: clip; }
h1, h2, h3 { font-family: 'Red Hat Display', 'Red Hat Text', sans-serif; font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: 72px; line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: 48px; line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; max-width: 62ch; }
a { color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 4px solid #b45309; outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 840px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; min-height: 44px; display: inline-flex; align-items: center; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-sm); z-index: 20; }

/* Üst çubuk */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--top); }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; color: var(--ink); text-decoration: none; font: 500 24px 'Red Hat Display', sans-serif; letter-spacing: -0.01em; }
.brand svg { color: var(--accent); flex: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--r-sm); font-weight: 500; font-size: 16px; }
.nav a:not(.btn):hover { background: var(--surface); }
.nav a[aria-current="true"] { color: var(--accent); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; }

/* Tek düğme sistemi */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border-radius: var(--r-md);
  font: 500 17px/1.2 'Red Hat Text', sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, transform .08s; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 85%, #000); text-decoration: none; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--secondary:hover { background: var(--surface); text-decoration: none; }
.top .btn { min-height: 44px; padding: 8px 16px; font-size: 16px; }

/* Açılış */
.hero { min-height: calc(100svh - var(--top)); display: grid; align-items: center; padding: 48px 0 64px; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.hero__text { animation: rise .6s ease-out both; }
.lead { font-size: 22px; line-height: 1.5; color: var(--muted); margin-top: 24px; }
.fact { margin-top: 24px; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Telefon çerçevesi: içindeki görüntü uygulamanın gerçek ekranı */
.phone { justify-self: center; width: min(100%, 340px); border: 10px solid var(--ink); border-radius: 44px; overflow: hidden; background: var(--ink);
  box-shadow: 0 32px 64px -32px rgba(31, 48, 56, .5); }
.phone img { display: block; width: 100%; height: auto; border-radius: 34px; }
.hero .phone img { max-height: calc(100svh - 200px); object-fit: cover; object-position: top; }

/* Bantlar */
.band { padding: 112px 0; }
.band--surface { background: var(--surface); }
.head { max-width: 760px; display: grid; gap: 16px; margin-bottom: 64px; }
.head--flush { margin-bottom: 0; }
.head p { color: var(--muted); font-size: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--top { align-items: start; }
.note { margin-top: 24px; color: var(--muted); font-size: 15px; }
.ref { font-size: .8em; vertical-align: .3em; text-decoration: none; margin-left: 2px; }
.sub { margin: 64px 0 24px; }

/* Neden: sayılar cümlenin parçası, iri bir istatistik şeridi değil */
.facts { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 400 30px/1.1 'Red Hat Display', sans-serif; letter-spacing: -0.02em; }
.facts dd { margin: 0; color: var(--muted); }

/* Canlı deneme */
.demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.demo__boxes { display: grid; gap: 12px; }
.box { display: grid; gap: 4px; text-align: left; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 2px solid transparent;
  font: inherit; color: var(--ink); cursor: pointer; transition: transform .15s, background-color .15s, border-color .15s; }
.box:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--surface) 90%, var(--ink)); }
.box[aria-pressed="true"] { border-color: var(--accent); background: #fff; }
.box__name { font: 400 22px/1.2 'Red Hat Display', sans-serif; letter-spacing: -0.01em; }
.box__sub { color: var(--muted); font-size: 16px; }
.demo__out { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 24px; min-height: 100%; }
.out__row { display: grid; gap: 8px; }
.out__label { font-size: 14px; font-weight: 500; color: var(--muted); }
.out__code { font: 15px/1.5 ui-monospace, 'SFMono-Regular', Menlo, monospace; background: var(--surface); padding: 12px 16px; border-radius: var(--r-sm); overflow-wrap: anywhere; }
.out__speech { font-size: 20px; line-height: 1.55; max-width: none; }
.out__speech.is-danger { color: var(--danger); }
.out__note { color: var(--muted); font-size: 15px; }
.demo__out .btn { justify-self: start; }

/* Adımlar */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; counter-reset: step; }
.step { display: grid; gap: 16px; align-content: start; }
.step .phone { width: 100%; max-width: 300px; justify-self: start; margin-bottom: 8px; }
.step h3::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 12px;
  border-radius: 50%; background: var(--accent); color: #fff; font: 500 16px 'Red Hat Text', sans-serif; vertical-align: 3px; }
.step p { color: var(--muted); }

/* Video ve adımlar */
.split--video { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; }
.phone--video { max-width: 340px; width: 100%; }
.phone--video video:focus-visible { outline: none; }
/* Oynatma düğmeleri videonun içinde: odak onlardayken çerçeve telefonun etrafında görünür */
.phone--video:focus-within { outline: 4px solid #b45309; outline-offset: 4px; overflow: visible; }
.phone--video video { display: block; width: 100%; height: auto; border-radius: 34px; background: var(--bg); }
video::cue { font: 500 22px/1.35 'Red Hat Text', sans-serif; color: #fff; background: rgba(31, 48, 56, .9); }
.steps--list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.transcript { margin-top: 48px; border-top: 1px solid var(--line); }
.transcript summary { cursor: pointer; padding: 20px 0; font-weight: 500; }
.transcript ol { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
.transcript li { color: var(--muted); }
.tr__who { color: var(--ink); font-weight: 500; }
.tr--screen { font-style: normal; }
.tr__t { display: inline-block; min-width: 3em; font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 500; }

/* Jüri kiti */
.kit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
.kit__text { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 16px; }
.kit__text p { max-width: none; }
.kit__copy { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.kit__ok { color: var(--ok); font-weight: 500; }
.downloads { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.downloads a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 20px 4px; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; transition: background-color .15s; }
.downloads a:hover { background: color-mix(in srgb, var(--surface) 70%, #fff); }
.downloads a:hover .dl__name { text-decoration: underline; text-decoration-thickness: 1px; }
.dl__name { font: 400 22px/1.3 'Red Hat Display', sans-serif; letter-spacing: -0.01em; }
.dl__meta { color: var(--muted); font-size: 15px; white-space: nowrap; }

/* Karekodun içi */
.anatomy { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: center; }
.anatomy > img { width: 220px; height: 220px; image-rendering: pixelated; border-radius: var(--r-md); background: #fff; padding: 12px; border: 1px solid var(--line); }
.scroll { overflow-x: auto; }
.codes { width: 100%; border-collapse: collapse; font-size: 17px; }
.codes th, .codes td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.codes thead th { font-size: 14px; color: var(--muted); font-weight: 500; }
.codes tbody th { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--accent); width: 4.5em; }
.codes td:nth-child(2) { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 16px; white-space: nowrap; }

/* Özellikler */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.features h3 { padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.features ul { list-style: none; padding: 0; margin: 0; }
.features li { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Teknik: akış */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; counter-reset: f; }
.flow li { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px 16px; border-radius: var(--r-md); background: var(--surface); font-size: 15px; line-height: 1.45; }
.flow li::before { counter-increment: f; content: counter(f, decimal-leading-zero); font: 500 13px 'Red Hat Text', sans-serif; color: var(--accent); }
.flow li:not(:last-child)::after { content: ''; position: absolute; right: -10px; top: 32px; width: 8px; height: 8px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: rotate(45deg); }
.flow strong { font: 500 17px/1.25 'Red Hat Display', sans-serif; }
.flow span { color: var(--muted); }
.measures { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.measures li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.measures strong { color: var(--ink); font: 400 24px 'Red Hat Display', sans-serif; letter-spacing: -0.01em; margin-right: 8px; }

/* Kurulum */
.os { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 16px; }
.os h3 { font-size: 20px; margin-bottom: 8px; }
.os p { color: var(--muted); font-size: 17px; }
.qr { justify-self: center; display: grid; gap: 16px; justify-items: center; text-align: center; }
.qr img { width: 220px; height: 220px; padding: 20px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); }
.qr p { color: var(--muted); font-size: 15px; max-width: 26ch; }

.pair { display: flex; gap: 24px; justify-content: center; }
.pair .phone { width: min(48%, 260px); }
.head h3 { margin-top: 16px; }
.logos { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: center; }
.logos img, .logos .mark { width: 128px; height: 128px; }
.logos .mark { color: var(--accent); }

/* SSS */
.faq { margin-top: 48px; border-top: 2px solid var(--ink); max-width: 840px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 48px 24px 0; position: relative; font: 400 22px/1.3 'Red Hat Display', sans-serif; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 32px; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 38px; }
.faq details p { padding: 0 0 24px; color: var(--muted); }

/* Altbilgi */
.foot { padding: 64px 0 48px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot__grid { display: grid; grid-template-columns: 1.1fr .6fr 1.6fr; gap: 48px; }
.foot__brand { display: grid; gap: 12px; align-content: start; }
.foot__brand .brand { font-size: 20px; }
.foot__links { display: grid; gap: 0; align-content: start; justify-items: start; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
.foot__links a:hover { text-decoration: underline; }
.foot__src h2 { font: 500 15px 'Red Hat Text', sans-serif; color: var(--ink); letter-spacing: 0; margin-bottom: 12px; }
.foot__src ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.foot__src li:target { background: #fff3d6; border-radius: 4px; }
.foot__line { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 1080px) {
  .nav a:not(.btn) { padding: 8px; font-size: 15px; }
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flow li:nth-child(4)::after { display: none; }
}
@media (max-width: 900px) {
  :root { --pad: 24px; }
  h1 { font-size: 52px; } h2 { font-size: 38px; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--r-md); border: 2px solid var(--line); background: transparent;
    font: 500 16px 'Red Hat Text', sans-serif; color: var(--ink); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: var(--top); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 32px -24px rgba(31, 48, 56, .3); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; }
  .hero__in, .split, .anatomy, .demo, .kit { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .phone--video { justify-self: center; max-width: 300px; }
  .steps, .features { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .step .phone { max-width: 280px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow li { grid-template-columns: 2.4em minmax(0, 1fr); column-gap: 12px; }
  .flow li::before { grid-row: span 2; }
  .flow li::after { display: none; }
  .measures { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .band { padding: 80px 0; }
}
@media (max-width: 600px) {
  :root { --pad: 20px; }
  h1 { font-size: 38px; } h2 { font-size: 30px; } h3 { font-size: 22px; }
  .lead { font-size: 19px; } .head p { font-size: 18px; }
  .hero { min-height: auto; padding: 32px 0 64px; }
  .actions .btn { width: 100%; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .facts dt { font-size: 26px; }
  .anatomy > img { width: 180px; height: 180px; }
  .codes td:nth-child(2) { white-space: normal; word-break: break-all; }
  .os { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .demo__out { padding: 24px; }
  .faq summary { font-size: 19px; }
  .kit__text { padding: 24px; }
  .dl__name { font-size: 19px; }
  video::cue { font-size: 18px; }
  .head { margin-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Erişilebilirlik raporu */
.h1--page { font-size: 56px; }
.facts--compact { margin-top: 16px; max-width: 840px; }
.facts--compact dt { font-size: 40px; }
.checks { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 8px; max-width: 62ch; }
.wcag td:nth-child(2) { font-family: inherit; font-size: inherit; white-space: normal; }
.wcag td:nth-child(5) { color: var(--muted); min-width: 22em; }
.wcag tbody th { width: 4em; }
.st { display: inline-block; white-space: nowrap; font-weight: 500; font-size: 15px; padding: 2px 10px; border-radius: 999px; border: 1px solid; }
.st--ok { color: var(--ok); border-color: var(--ok); }
.st--na { color: var(--muted); border-color: var(--muted); }
.st--wait { color: var(--warn); border-color: var(--warn); }
.proto { margin: 8px 0 32px; padding-left: 24px; display: grid; gap: 8px; max-width: 70ch; }
.band code { font: 15px ui-monospace, 'SFMono-Regular', Menlo, monospace; background: var(--surface); padding: 2px 6px; border-radius: 4px; }
@media (max-width: 600px) { .h1--page { font-size: 36px; } .facts--compact dt { font-size: 30px; } }

.foot__inline a { display: inline-flex; align-items: center; min-height: 44px; }
/* Dar ekranda tablo satırları kart olur: yatay kaydırma yok (1.4.10) */
@media (max-width: 760px) {
  .wcag, .wcag tbody, .wcag tr, .wcag th, .wcag td { display: block; width: auto; }
  .wcag thead.vh-narrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wcag tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .wcag th, .wcag td { border: 0; padding: 2px 0; min-width: 0 !important; white-space: normal !important; }
  .wcag td::before { content: attr(data-label) ': '; color: var(--muted); font-size: 14px; font-weight: 500; }
  .wcag td[data-label="Ölçüt"]::before { content: none; }
  .wcag td[data-label="Ölçüt"] { font-weight: 500; }
}
