/* MeasureCAD — teknik resim havası: kâğıt zemin, mürekkep çizgi, ölçü kırmızısı vurgu. Harici yazı tipi yok. */
:root {
  --paper: #f3f6f7; --sheet: #ffffff; --ink: #14212b; --muted: #566672; --rule: #c9d4da;
  --dim: #c63d22; --tol: #1f6fd1;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0e161c; --sheet: #142029; --ink: #e5edf1; --muted: #9aacb8; --rule: #2a3a46;
          --dim: #ff7a5c; --tol: #6fb0ff; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: var(--tol); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--dim); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0 0 .5rem; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
h2 strong { color: var(--dim); font-weight: inherit; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .8rem; }
.lead { font-size: 1.15rem; color: var(--ink); }
.fine { font-size: .85rem; color: var(--muted); }
.kicker, .lbl, .tag { font: 500 .72rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.kicker { margin: 0 0 .6rem; }

/* üst çubuk */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
       padding: .6rem max(16px, calc((100% - 72rem) / 2)); background: color-mix(in srgb, var(--paper) 92%, transparent);
       backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 22%; }
.nav { display: flex; gap: 1rem; margin-inline-start: auto; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a[aria-current] { color: var(--dim); }
.langs { position: relative; }
.langs summary { cursor: pointer; list-style: none; font: 500 .8rem var(--mono); padding: .3rem .6rem; border: 1px solid var(--rule); border-radius: 6px; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: " ▾"; }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); margin: 0; padding: .4rem; list-style: none;
            background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px; columns: 2; column-gap: .5rem;
            width: max-content; max-width: calc(100vw - 32px); box-shadow: 0 8px 24px rgb(0 0 0 / .12); }
.langs a { display: block; padding: .25rem .5rem; color: var(--ink); text-decoration: none; border-radius: 4px; white-space: nowrap; }
.langs a:hover, .langs a[aria-current] { background: var(--paper); color: var(--dim); }

/* bölümler */
main { padding: 0 max(16px, calc((100% - 72rem) / 2)); }
section { padding: 3.5rem 0; border-bottom: 1px solid var(--rule); }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; padding-top: 3rem; }
.hero-img .shot { max-height: 620px; width: auto; margin-inline: auto; }
.shot { border-radius: 22px; border: 1px solid var(--rule); background: var(--sheet); box-shadow: 0 10px 30px rgb(0 0 0 / .08); }
.store { display: inline-block; margin: .6rem 0 .8rem; padding: .75rem 1.3rem; border-radius: 10px; background: var(--ink); color: var(--paper);
         font-weight: 600; text-decoration: none; }
.store.soon { background: transparent; color: var(--ink); border: 1.5px dashed var(--dim); }

.formats ul { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.formats li { font: 500 .9rem var(--mono); padding: .35rem .7rem; border: 1px solid var(--ink); border-radius: 4px; background: var(--sheet); }

.block { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem 2.5rem; align-items: start; }
.block-img .shot { max-height: 520px; width: auto; margin-inline: auto; }
.block .grid, .block .wide { grid-column: 1 / -1; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--sheet); border: 1px solid var(--rule); border-top: 2px solid var(--ink); padding: 1rem 1.1rem; min-width: 0; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card .tag { display: block; color: var(--dim); margin-bottom: .4rem; overflow-wrap: anywhere; text-transform: none; letter-spacing: 0; }
.steps { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); }
.steps li { padding: .6rem .7rem; border-inline-end: 1px solid var(--rule); display: flex; flex-direction: column; min-width: 0; }
.steps li:last-child { border-inline-end: 0; }
.steps b { font-size: .95rem; }
.steps span:last-child { font-size: .82rem; color: var(--muted); }

.gallery ul { display: flex; gap: 1rem; overflow-x: auto; padding: 0 0 1rem; margin: 0; list-style: none; scroll-snap-type: x mandatory; }
.gallery li { flex: 0 0 220px; scroll-snap-align: start; }

/* metin sayfaları */
.doc { max-width: 48rem; margin: 0 auto; padding-top: 2.5rem; padding-bottom: 4rem; }
.doc h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.doc h2 { font-size: 1.15rem; margin-top: 2rem; }
.doc .note { background: var(--sheet); border-inline-start: 3px solid var(--dim); padding: .7rem 1rem; }
.doc .mail { font: 600 1.2rem var(--mono); }
.doc .block { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ink); margin: 1.25rem 0 1.75rem; padding: 0; }
.doc .block div { padding: .5rem .7rem; border-inline-end: 1px solid var(--rule); min-width: 0; }
.doc .block div:last-child { border-inline-end: 0; }
.doc .block span { display: block; font: 500 .68rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.doc .block b { font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.doc .scroll { overflow-x: auto; margin-bottom: 1rem; }
.doc table { border-collapse: collapse; width: 100%; font-size: .93rem; min-width: 34rem; }
.doc th { text-align: start; font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 1px solid var(--ink); padding: .4rem .6rem .4rem 0; }
.doc td { vertical-align: top; border-bottom: 1px solid var(--rule); padding: .55rem .6rem .55rem 0; }
.doc td:first-child { font-weight: 600; width: 27%; }
.picker h1 { display: flex; align-items: center; gap: .8rem; }
.picker h1 img { border-radius: 22%; }
.picker-list { columns: 2; padding: 0; list-style: none; }
.picker-list a { display: block; padding: .35rem 0; }

.foot { display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding: 2rem max(16px, calc((100% - 72rem) / 2)) 3rem; font-size: .9rem; color: var(--muted); }
.foot .lbl { margin-inline-end: .4rem; }

@media (max-width: 760px) {
  .hero, .block { grid-template-columns: 1fr; }
  .hero-img .shot, .block-img .shot { max-height: 460px; }
  .grid, .grid.three { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-inline-end: 0; border-bottom: 1px solid var(--rule); }
  .steps li:last-child { border-bottom: 0; }
  .nav { order: 3; width: 100%; margin: 0; }
  .langs { margin-inline-start: auto; }
  .doc .block { grid-template-columns: 1fr; }
  .doc .block div { border-inline-end: 0; border-bottom: 1px solid var(--rule); }
}
