/* Layout: sticky bar + hamburger on phones, hero with browser mock, soft bordered grids, light tinted inner-page bands, light footer, fixed call bar */
:root {
  color-scheme: light;
  --bg: #F4FAF9;
  --surface: #FFFFFF;
  --ink: #1B3640;
  --muted: #51666B;
  --line: #DCE9E7;
  --edge: #B7D3CF;
  --accent: #0A8276;
  --accent-ink: #FFFFFF;
  --hl: #FFD84D;
  --hl-ink: #2B2500;
  --hl-soft: #FFF4C2;
  --tint: #E3F5F2;
  --panel: #E3F5F2;
  --panel-ink: #1B3640;
  --panel-muted: #51666B;
  --good: #1B8A4B;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  padding-bottom: 84px;
}
.wrap {
  max-width: 1152px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--font-mono); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* header */
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -0.03em; }
.brand b { color: var(--accent); font-weight: 800; }
.brand i { font-style: normal; font-family: var(--font-mono); font-weight: 400; color: var(--muted); }
.menu { display: flex; align-items: center; gap: 22px; }
.menu a:not(.btn) { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); padding-block: 6px; border-bottom: 2px solid transparent; }
.menu a:not(.btn):hover { color: var(--ink); }
.menu a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--edge); border-radius: 10px; background: transparent; cursor: pointer; padding: 0; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ""; transition: transform .2s ease; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
@media (max-width: 900px) {
  .burger { display: grid; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1.5px solid var(--edge);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px));
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .menu a[aria-current="page"] { border-bottom-color: var(--accent); }
  .menu .btn { margin-top: 14px; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 10px; border: 1.5px solid var(--edge);
  font: 600 15px var(--font-body); text-decoration: none; cursor: pointer;
  background: transparent; color: var(--ink); transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.hl { background: var(--hl); border-color: var(--hl); color: var(--hl-ink); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn.block { width: 100%; }

/* hero (home) */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 72px 56px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; margin-block: 16px 20px; }
.hero h1 mark { background: linear-gradient(transparent 62%, var(--hl) 62% 92%, transparent 92%); color: inherit; padding-inline: 2px; }
.lead { font-size: 18px; color: var(--muted); max-width: 54ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.ticks li::before { content: "✓"; color: var(--good); font-weight: 700; margin-right: 8px; }

.browser { background: var(--surface); border: 1.5px solid var(--edge); border-radius: 14px; box-shadow: 0 18px 38px -18px rgba(10,130,118,.45); overflow: hidden; min-width: 0; }
.chrome { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1.5px solid var(--edge); }
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--edge); }
.url { flex: 1; min-width: 0; font: 500 12px var(--font-mono); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.url::before { content: "🔒︎ "; color: var(--good); }
.screen { padding: 18px; display: grid; gap: 14px; }
.sk-nav { display: flex; justify-content: space-between; align-items: center; }
.sk-logo { width: 64px; height: 14px; background: var(--ink); border-radius: 3px; }
.sk-links { display: flex; gap: 8px; }
.sk-links i { width: 28px; height: 6px; background: var(--line); border-radius: 3px; }
.sk-hero { background: var(--bg); border-radius: 10px; padding: 18px; display: grid; gap: 10px; }
.sk-h { height: 16px; background: var(--ink); border-radius: 3px; width: 78%; }
.sk-h.s { width: 52%; background: var(--accent); }
.sk-p { height: 6px; background: var(--line); border-radius: 3px; width: 90%; }
.sk-btn { width: 84px; height: 24px; background: var(--hl); border-radius: 6px; margin-top: 4px; }
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sk-cards div { height: 56px; border: 1.5px solid var(--line); border-radius: 8px; padding: 10px; display: grid; align-content: space-between; }
.sk-cards div i { width: 14px; height: 14px; border-radius: 4px; background: var(--accent); }
.sk-cards div b { height: 5px; background: var(--line); border-radius: 3px; }
.status { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 18px; border-top: 1.5px solid var(--edge); background: var(--bg); font: 500 12px var(--font-mono); }
.status span { display: inline-flex; align-items: center; gap: 6px; }
.status span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; padding-block: 44px 40px; gap: 36px; } .browser { box-shadow: 0 18px 38px -18px rgba(10,130,118,.45); } }

/* inner page hero */
.phero { background: linear-gradient(180deg, var(--tint), var(--bg)); color: var(--panel-ink); border-bottom: 1px solid var(--line); }
.phero .wrap { padding-block: 56px 52px; display: grid; gap: 14px; }
.phero .eyebrow { color: var(--accent); }
.phero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; max-width: 20ch; }
.phero p { color: var(--panel-muted); max-width: 58ch; font-size: 17px; }
.crumbs { font: 500 12px var(--font-mono); color: var(--panel-muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--panel-ink); }

/* sections */
section { padding-block: 60px; }
.head { display: grid; gap: 12px; margin-bottom: 34px; max-width: 660px; }
.head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
.head p { color: var(--muted); }
.headrow { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.headrow .head { margin-bottom: 0; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.s3 { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 26px; display: grid; gap: 12px; align-content: start; position: relative; min-width: 0; }
.s3 .n { position: absolute; top: 22px; right: 22px; font: 500 12px var(--font-mono); color: var(--accent); }
.s3 h3 { font-size: 21px; }
.s3 p { color: var(--muted); font-size: 15px; }
@media (max-width: 880px) { .steps3 { grid-template-columns: 1fr; } }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--edge); border-radius: 14px; background: var(--surface); overflow: hidden; }
.cell { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.cell:nth-child(3n) { border-right: 0; }
.cell:nth-last-child(-n+3) { border-bottom: 0; }
.cell h3 { font-size: 20px; font-weight: 700; }
.cell p { color: var(--muted); font-size: 15px; }
.ico { width: 42px; height: 42px; border-radius: 10px; background: var(--bg); border: 1.5px solid var(--edge); display: grid; place-items: center; }
.ico svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 880px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cell:nth-child(3n) { border-right: 1px solid var(--line); }
  .cell:nth-child(2n) { border-right: 0; }
  .cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .cell, .cell:nth-child(2n), .cell:nth-child(3n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .cell:last-child { border-bottom: 0; }
}

/* service rows */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc article { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0; scroll-margin-top: 90px; }
.svc h2 { font-size: 26px; font-weight: 700; }
.svc p { color: var(--muted); }
.svc ul, .plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.svc li, .plan li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.svc li::before, .plan li::before { content: "✓"; color: var(--good); font-weight: 700; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

/* hazır site kartları */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font: 500 13px var(--font-body); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 99px; padding: 8px 16px; cursor: pointer; min-height: 40px; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tpl { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.tpl-shot { background: var(--t2); padding: 16px 16px 0; }
.tpl-win { background: #fff; border-radius: 8px 8px 0 0; overflow: hidden; border: 1px solid rgba(0,0,0,.18); border-bottom: 0; }
.tpl-bar { display: flex; gap: 4px; padding: 6px 8px; background: #EEF1F1; }
.tpl-bar i { width: 6px; height: 6px; border-radius: 50%; background: #B8C2C1; }
.tpl-hero { background: var(--t); color: #fff; height: 104px; padding: 12px; display: grid; align-content: end; gap: 6px; }
.tpl-hero strong { font: 700 15px var(--font-display); line-height: 1.15; }
.tpl-hero u { text-decoration: none; width: 54px; height: 16px; border-radius: 4px; background: rgba(255,255,255,.9); }
.tpl-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 12px 14px; }
.tpl-row i { height: 26px; border-radius: 4px; background: #E3E9E8; }
.tpl-info { padding: 20px; display: grid; gap: 8px; align-content: start; }
.tpl-info small { font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.tpl-info h3 { font-size: 19px; }
.tpl-info p { color: var(--muted); font-size: 14px; }
.tpl-info .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 880px) { .tpls { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tpls { grid-template-columns: 1fr; } }

/* packages */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.plan.top { border-color: var(--accent); box-shadow: 0 18px 38px -18px rgba(10,130,118,.45); }
.plan .tag { justify-self: start; font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--hl); color: var(--hl-ink); padding: 3px 9px; border-radius: 99px; }
.plan h3 { font-size: 24px; }
.price { font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price small { font: 500 13px var(--font-mono); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan .btn { align-self: end; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }

.tablewrap { overflow-x: auto; border: 1.5px solid var(--edge); border-radius: 14px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { font: 700 16px var(--font-display); background: var(--bg); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--muted); }
.yes { color: var(--good); font-weight: 700; }
.no { color: var(--muted); }

/* process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; border-top: 1.5px solid var(--edge); }
.step { padding: 22px 18px 0 0; position: relative; counter-increment: s; min-width: 0; }
.step::before { content: counter(s, decimal-leading-zero); font: 500 12px var(--font-mono); color: var(--accent); display: block; margin-bottom: 10px; }
.step::after { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--accent); border-radius: 50%; border: 1.5px solid var(--edge); }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1.5px solid var(--edge); gap: 22px; }
  .step { padding: 0 0 0 22px; }
  .step::after { top: 4px; left: -7px; }
}

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { border-top: 1.5px solid var(--edge); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.value h3 { font-size: 20px; }
.value p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.story p { color: var(--muted); font-size: 17px; margin-bottom: 14px; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; gap: 24px; } }

/* faq */
.faq { display: grid; gap: 10px; max-width: 780px; }
details { background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 0 20px; }
details[open] { border-color: var(--accent); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font: 600 17px var(--font-display); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 22px var(--font-mono); color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 18px; color: var(--muted); }

/* cta band */
.band { background: var(--hl-soft); color: var(--ink); border: 1.5px solid #F0DB7A; border-radius: 18px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { font-size: clamp(26px, 3.4vw, 36px); max-width: 22ch; }
.band p { margin-top: 8px; opacity: .9; }
.band .btn, .band .btn.hl { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (max-width: 560px) { .band { padding: 28px 22px; } }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.cbox { background: var(--panel); color: var(--panel-ink); border: 1.5px solid var(--edge); border-radius: 18px; padding: 34px; display: grid; gap: 14px; min-width: 0; }
.cbox h2 { font-size: 28px; }
.cbox p.sub { color: var(--panel-muted); }
.chan { display: grid; gap: 10px; margin-top: 8px; }
.chan div { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid color-mix(in srgb, var(--panel-ink) 22%, transparent); border-radius: 10px; padding: 12px 14px; min-width: 0; }
.chan div > span { display: grid; min-width: 0; }
.chan small { font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--panel-muted); }
.chan b { font: 500 15px var(--font-mono); overflow-wrap: anywhere; }
.chan button { font: 500 12px var(--font-mono); color: var(--panel-ink); background: transparent; border: 1px solid color-mix(in srgb, var(--panel-ink) 35%, transparent); border-radius: 6px; padding: 6px 10px; cursor: pointer; flex: none; }
.fbox { background: var(--surface); border: 1.5px solid var(--edge); border-radius: 18px; padding: 34px; min-width: 0; }
form { display: grid; gap: 14px; min-width: 0; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
input, select, textarea {
  font: 400 16px var(--font-body); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; min-width: 0;
}
textarea { min-height: 120px; resize: vertical; }
.note { font-size: 13px; color: var(--muted); min-height: 1.4em; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } .cbox, .fbox { padding: 24px 20px; } }

/* footer */
.foot { background: var(--tint); color: var(--panel-ink); margin-top: 20px; border-top: 1.5px solid var(--edge); }
.foot .wrap { padding-block: 52px 28px; }
.fcols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.fcols h4 { font: 500 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.fcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.fcols a { text-decoration: none; color: var(--panel-ink); }
.fcols a:hover { text-decoration: underline; }
.fcols p { color: var(--panel-muted); font-size: 15px; margin-top: 12px; max-width: 34ch; }
.foot .brand i { color: var(--panel-muted); }
.foot .brand b { color: var(--accent); }
.fbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 38px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--panel-ink) 18%, transparent); font-size: 13px; color: var(--panel-muted); }
@media (max-width: 880px) { .fcols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fcols { grid-template-columns: 1fr; } }

/* fixed call bar and callback tab */
.fab {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(8px);
  border-top: 1.5px solid var(--edge);
}
.fab a { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; padding: 6px 4px; }
.fab .fi { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--accent); color: var(--accent-ink); }
.fab .fi.wa { background: #1F9D55; color: #fff; }
.fab svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fab span { display: grid; min-width: 0; line-height: 1.25; }
.fab b { font-size: 14px; }
.fab small { font: 400 12px var(--font-mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .fab { left: auto; right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); padding: 8px 14px; gap: 18px; border: 1.5px solid var(--edge); border-radius: 14px; box-shadow: 0 18px 38px -18px rgba(10,130,118,.45); }
}
.tab {
  position: fixed; right: env(safe-area-inset-right, 0px); top: 46%; z-index: 35;
  writing-mode: vertical-rl; transform: rotate(180deg);
  background: var(--accent); color: var(--accent-ink); border: 0; cursor: pointer;
  font: 600 14px var(--font-body); padding: 18px 10px; border-radius: 0 12px 12px 0;
}
.cb {
  position: fixed; z-index: 45; width: min(340px, calc(100vw - 32px));
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  background: var(--surface); border: 1.5px solid var(--edge); border-radius: 14px; padding: 20px; box-shadow: 0 18px 38px -18px rgba(10,130,118,.45);
}
.cb h3 { font-size: 20px; margin-bottom: 4px; }
.cb p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.cb .x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--ink); font-size: 22px; cursor: pointer; }
@media (min-width: 900px) { .cb { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); right: calc(24px + env(safe-area-inset-right, 0px)); } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .burger span { transition: none; } }

body { background-image: radial-gradient(900px 380px at 90% -60px, #D8F1ED, transparent 70%); background-repeat: no-repeat; }

.tpls.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .tpls.two { grid-template-columns: 1fr; } }
.ref-url { font: 500 12px var(--font-mono); color: var(--muted); overflow-wrap: anywhere; }
.refnote { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 70ch; }
@media (min-width: 901px) and (max-width: 1060px) { .menu { gap: 16px; } }

a.tpl-shot { display: block; text-decoration: none; position: relative; }
.ref-img { display: none; }
.tpl-shot.has-img .tpl-win { display: none; }
.tpl-shot.has-img .ref-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px 8px 0 0; border: 1px solid rgba(0,0,0,.18); border-bottom: 0; background: #fff; }
a.tpl-shot:hover .tpl-win, a.tpl-shot.has-img:hover .ref-img { filter: brightness(1.03); }

.live { border-radius: 10px; padding: 18px; min-height: 124px; background: var(--t, var(--accent)); color: #fff; display: grid; align-content: end; gap: 6px; transition: background .5s ease; }
.live span { font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.live strong { font: 700 21px/1.15 var(--font-display); letter-spacing: -0.02em; }
.hero-shot { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
@media (min-width: 900px) {
  .fab { padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; grid-template-columns: 1fr; gap: 10px; }
  .fab a { padding: 0; }
  .fab a > span:not(.fi) { display: none; }
  .fab .fi { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 10px 22px -10px rgba(10,60,56,.55); }
  .fab svg { width: 24px; height: 24px; }
  .cb { bottom: calc(24px + 52px * 2 + 10px + 16px + env(safe-area-inset-bottom, 0px)); }
}

/* referans kartları */
.ref { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.ref:hover { border-color: var(--accent); box-shadow: 0 18px 38px -22px rgba(10,130,118,.5); transform: translateY(-3px); }
.ref-shot { display: block; background: var(--tint); padding: 20px 20px 0; text-decoration: none; }
.ref-win { background: #fff; border: 1px solid var(--edge); border-bottom: 0; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 -6px 18px -12px rgba(10,60,56,.35); }
.ref-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #F1F5F4; border-bottom: 1px solid var(--line); }
.ref-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C4D0CE; flex: none; }
.ref-bar span { flex: 1; min-width: 0; margin-left: 8px; padding: 3px 12px; background: #fff; border: 1px solid var(--line); border-radius: 99px; font: 500 11px var(--font-mono); color: #51666B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ref-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.ref-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ref-ph { display: none; position: absolute; inset: 0; background: var(--t, var(--accent)); color: #fff; align-content: end; padding: 18px; }
.ref-ph strong { font: 700 22px/1.15 var(--font-display); }
.ref-frame.noimg img { display: none; }
.ref-frame.noimg .ref-ph { display: grid; }
.ref-info { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ref-info small { font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ref-info h3 { font-size: 21px; }
.ref-info p { color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.6em * 3); }
.ref-foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ref-url { font: 500 12px var(--font-mono); color: var(--muted); overflow-wrap: anywhere; min-width: 0; }
@media (prefers-reduced-motion: reduce) { .ref { transition: none; } .ref:hover { transform: none; } }

/* eşit yükseklikli önizleme alanı */
.ref-shot { display: flex; flex-direction: column; aspect-ratio: 16 / 10.6; }
.ref-win { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ref-frame { aspect-ratio: auto; flex: 1; min-height: 0; }
.ref-frame img { position: absolute; inset: 0; }
.ref.mock .ref-shot { padding: 0; background: #E3F5F2; }
.ref.mock .ref-frame { background: #E3F5F2; }

.ref.mock .ref-frame img { object-position: center; }
.ref.mock .ref-shot { background: transparent; }
.ref.mock .ref-frame { background: transparent; }
