/* Başvuru formu · /rapnightaccess
   iOS 15 Safari hedefi: input font-size >= 16px (zoom olmasın), nesting/color-mix/:has yok. */


.page { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter) 40px; }

.intro { padding: clamp(28px, 7vw, 72px) 0 clamp(28px, 6vw, 56px); }
.intro__tag { color: var(--muted); margin: 0 0 18px; }
.intro__title {
  margin: 0;
  font-family: var(--f-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(64px, 19vw, 132px);
  line-height: .84;
}
.intro__meta { margin: 18px 0 0; color: var(--muted); }
.intro__lede { margin: 20px 0 0; font-size: 18px; line-height: 1.4; color: #CFCCC6; max-width: 460px; }

/* Gruplar */
.grp { margin: 0; padding: 28px 0 32px; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.grp__legend {
  float: left; width: 100%;
  margin: 0 0 22px; padding: 0;
  font-family: var(--f-display); font-stretch: 62%; font-weight: 900;
  font-size: 30px; line-height: 1; letter-spacing: .005em;
}
.grp__legend + * { clear: both; }
.grp__n { font-family: var(--f-body); font-size: 14px; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--muted); margin-right: 12px; vertical-align: 7px; }
.grp__lede { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

.fld { margin: 0 0 20px; }
.fld:last-child { margin-bottom: 0; }
.fld__label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 500; color: #CFCCC6; }
.opt { color: var(--muted); font-weight: 400; margin-left: 6px; }
.fld__input {
  display: block; width: 100%;
  min-height: 52px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 0;
  font-size: 17px; color: var(--text);
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s, background .15s;
}
.fld__input::placeholder { color: #75736F; }
.fld__input:focus { outline: none; border-color: var(--text); background: var(--surface-2); }
.fld__pre { display: flex; align-items: stretch; }
.fld__pre > span { display: flex; align-items: center; padding: 0 0 0 14px; background: var(--surface); border: 1px solid var(--line); border-right: 0; color: var(--muted); font-size: 17px; }
.fld__pre .fld__input { border-left: 0; padding-left: 4px; }
.fld__pre .fld__input:focus { border-color: var(--line); }
.fld__hint { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.fld__err { margin: 0; font-size: 13px; color: var(--rec); min-height: 0; }
.fld__err:not(:empty) { margin-top: 8px; }
.is-bad .fld__input, .is-bad .fld__pre > span { border-color: var(--rec); }

/* Onay kutuları */
.fld--check { display: grid; grid-template-columns: 28px 1fr; gap: 4px 12px; align-items: start; }
.fld--check label { font-size: 15px; line-height: 1.45; color: #CFCCC6; padding-top: 2px; }
.fld--check .fld__err { grid-column: 2; }
.chk {
  -webkit-appearance: none; appearance: none; margin: 0;
  width: 28px; height: 28px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 0;
  display: grid; place-content: center; cursor: pointer;
}
.chk::after { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.chk:checked { background: var(--text); border-color: var(--text); }
.chk:checked::after { opacity: 1; }
.is-bad .chk { border-color: var(--rec); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Demo: dosya alanı */
.drop { position: relative; }
.drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop__label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 132px; padding: 24px 16px;
  border: 1px dashed var(--line-2); background: var(--surface);
  cursor: pointer; text-align: center;
  transition: border-color .15s, background .15s;
}
.drop__label:hover, .drop.is-over .drop__label { border-color: var(--text); background: var(--surface-2); }
.drop__input:focus-visible + .drop__label { outline: 2px solid var(--cyan); outline-offset: 3px; }
.drop__big { font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: 34px; line-height: 1; }
.drop__meta { color: var(--muted); font-size: 13px; line-height: 1.5; }
.drop.is-full { display: none; }

.files { list-style: none; margin: 0; padding: 0; }
.file { position: relative; padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.file:first-child { margin-top: 8px; }
.file__top { display: flex; align-items: baseline; gap: 12px; }
.file__name { flex: 1; min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file__state { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.file__x { flex: none; width: 36px; height: 36px; margin: -8px -8px -8px 0; background: none; border: 0; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.file__x:hover { color: var(--text); }
.file__bar { height: 3px; margin-top: 12px; background: var(--line); overflow: hidden; }
.file__bar i { display: block; height: 100%; width: 0; background: var(--text); transition: width .2s linear; }
.file__msg { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.file.is-ok .file__state { color: var(--ok); }
.file.is-ok .file__bar i { background: var(--ok); }
.file.is-bad .file__state, .file.is-bad .file__msg { color: var(--rec); }
.file.is-bad .file__bar i { background: var(--rec); }

.links { margin-top: 26px; }
.links__list { display: grid; gap: 10px; }
.link-row { display: flex; gap: 8px; }
.link-row .fld__input { flex: 1; min-width: 0; }
.link-row__x { flex: none; width: 52px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 20px; cursor: pointer; border-radius: 0; -webkit-appearance: none; appearance: none; }
.link-row.is-bad .fld__input { border-color: var(--rec); }
.add {
  margin-top: 10px; min-height: 44px; padding: 0 2px;
  background: none; border: 0; color: var(--text);
  font-size: 15px; font-weight: 600; cursor: pointer;
}
.add[hidden] { display: none; }

/* Bilet: LED rakam + parmakla kaydırılan cetvel */
.tix { margin-top: 6px; }
.tix__read { display: flex; align-items: baseline; justify-content: center; gap: 12px; padding: 12px 0 4px; }
.tix__num {
  width: 3.2ch; padding: 0; margin: 0;
  background: none; border: 0; border-bottom: 2px solid var(--line-2); border-radius: 0;
  font-size: 104px; line-height: 1; text-align: center; color: var(--text);
  -webkit-appearance: none; appearance: none; caret-color: var(--cyan);
}
.tix__num:focus { outline: none; border-bottom-color: var(--cyan); }
.tix__unit { color: var(--muted); }
.tix.is-under .tix__num { color: #B9B6B0; }

.tix__dial {
  position: relative; height: 84px; margin: 6px calc(-1 * var(--gutter)) 0;
  overflow: hidden; cursor: grab;
  touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.tix__dial.is-drag { cursor: grabbing; }
@media (min-width: 720px) { .tix__dial { margin-left: 0; margin-right: 0; } }
.tix__dial:focus-visible { outline: none; }
.tix__dial:focus-visible .tix__needle { background: var(--cyan); }
.tix__track { position: absolute; top: 0; bottom: 0; left: 50%; will-change: transform; }
.tix__tick { position: absolute; top: 16px; width: 1px; height: 18px; background: var(--line-2); }
.tix__tick.is-5 { height: 30px; top: 10px; background: var(--muted); }
.tix__tick.is-c { background: rgba(0,229,255,.55); height: 34px; top: 8px; width: 2px; margin-left: -.5px; }
.tix__lbl { position: absolute; top: 52px; transform: translateX(-50%); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); }
.tix__lbl.is-c { color: rgba(0,229,255,.8); }
.tix__needle { position: absolute; left: 50%; top: 0; width: 3px; height: 46px; margin-left: -1.5px; background: var(--text); box-shadow: 0 0 12px rgba(236,233,227,.4); pointer-events: none; }
.tix__needle::after { content: ""; position: absolute; left: -5px; top: -1px; border: 6.5px solid transparent; border-top-color: var(--text); }

/* Gönder */
.send { padding: 28px 0 0; border-top: 1px solid var(--line); }
.ts { min-height: 0; margin-bottom: 14px; }
.send__err { margin: 0 0 14px; font-size: 14px; color: var(--rec); }
.send__err:empty { display: none; }
.send__btn { width: 100%; min-height: 60px; font-size: 17px; }
.send__btn.is-busy { pointer-events: none; opacity: .7; }

/* Teşekkür */
.done { padding: clamp(28px, 7vw, 72px) 0 40px; }
.done:focus { outline: none; }
.done__tag { color: var(--ok); margin: 0 0 18px; display: flex; align-items: center; }
.ok-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 10px; box-shadow: 0 0 10px rgba(61,245,138,.7); }
.done__title { margin: 0; font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: clamp(64px, 19vw, 132px); line-height: .84; }
.done__lede { margin: 22px 0 0; font-size: 18px; color: #CFCCC6; }
.done__ref { margin: 28px 0 0; color: var(--muted); display: flex; align-items: baseline; gap: 14px; }
.done__ref .led { font-size: 28px; color: var(--text); letter-spacing: .06em; }
.done__fine { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

.foot--min { padding-top: 28px; }
