@font-face {
  font-family: 'Source Sans 3'; src: url('/fonts/source-sans-3.ttf') format('truetype');
  font-style: normal; font-weight: 200 900; font-display: swap;
}
:root {
  --ground: #eef2f0; --paper: #fff; --ink: #192923; --muted: #50635c;
  --brand: #20594f; --brand-dark: #17473d; --line: #d5dfda; --edge: #92a49b;
  --tint: #e6eeea; --danger: #8f2b2d; --danger-bg: #fbefed;
  font: 17px/1.45 'Source Sans 3', 'Segoe UI', sans-serif;
  color: var(--ink); background: var(--ground); color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
h1, p { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #317866; outline-offset: 3px; }
.masthead { border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.bar, main { width: min(calc(100% - 80px), 1040px); margin-inline: auto; }
.bar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 28px; line-height: 1; letter-spacing: -.045em; font-weight: 670; }
.participant { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--brand); font-size: 16px; font-weight: 590; }
.participant:hover { text-decoration: underline; text-underline-offset: 3px; }
svg { flex-shrink: 0; width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; fill: none; }
main { margin-block: clamp(32px, 7vh, 84px) 40px; }
.entry { display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); background: var(--paper); border-radius: 16px; border: 1px solid var(--line); overflow: clip; }
.artwork { background: #d5dfd4 url('/giris-atolye.webp') no-repeat 50% 58% / cover; }
.panel { min-width: 0; padding: clamp(40px,6.1vw,88px) clamp(28px,4.5vw,62px); }
.intro { margin-bottom: 30px; }
h1 { font-size: clamp(32px, 3vw, 43px); line-height: 1.13; letter-spacing: -.045em; font-weight: 630; }
.intro p { color: var(--muted); margin-top: 11px; max-width: 32ch; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
label { display: block; font-weight: 615; font-size: 16px; margin-bottom: 5px; }
label:not(:first-of-type) { margin-top: 17px; }
input { display: block; width: 100%; min-width: 0; min-height: 47px; padding: 9px 12px; border: 1px solid var(--edge); border-radius: 6px; background: var(--paper); }
input:focus-visible { outline-width: 2px; outline-offset: 1px; }
.secret { position: relative; }
.secret input { padding-right: 50px; }
.toggle { position: absolute; right: 2px; top: 2px; display: grid; place-items: center; min-height: 43px; width: 44px; border: 0; border-radius: 4px; color: var(--muted); background: transparent; }
.toggle:hover, .toggle:active { color: var(--brand); background: var(--tint); }
.toggle:focus-visible { outline-offset: -3px; }
.submit { margin-top: 26px; display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 47px; padding: 10px 18px; border: 1px solid transparent; border-radius: 6px; background: var(--brand); color: var(--paper); font-weight: 610; }
.submit:hover:enabled, .submit:active:enabled { background: var(--brand-dark); }
.submit:disabled { opacity: .74; cursor: progress; }
.error { margin-top: 15px; padding: 9px 12px; color: var(--danger); background: var(--danger-bg); border-radius: 5px; font-size: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 820px) {
  .bar, main { width: calc(100% - 48px); }
  .entry { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
  .panel { padding: 42px 28px; }
}
@media (max-width: 620px) {
  .bar, main { width: auto; margin-inline: max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right)); }
  .bar { min-height: 59px; }
  .brand { gap: 8px; font-size: 25px; }
  .brand img { width: 30px; height: 30px; }
  main { margin-block: 22px max(28px,env(safe-area-inset-bottom)); }
  .entry { display: block; border-radius: 12px; }
  .artwork { display: none; }
  .panel { padding: 29px clamp(18px,5vw,30px) 30px; }
  .intro { margin-bottom: 23px; }
  h1 { font-size: 31px; }
  .submit { margin-top: 24px; }
}

