/* Fon Krizi İmza Kampanyası — fon.saadet.org.tr */
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url(fonts/archivo-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url(fonts/archivo-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url(fonts/archivo-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url(fonts/archivo-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --red: #B3121C;
  --red-dark: #8E0E16;
  --red-on-dark: #E8414A;
  --ink: #141012;
  --ink-2: #221C1E;
  --paper: #F7F4EF;
  --paper-2: #EDE7DF;
  --line: #D8CFC3;
  --mute: #6B6460;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Archivo", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--red); }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }
.muted { color: var(--mute); }
.small { font-size: 14px; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 700; color: var(--red); margin: 0 0 18px; }

/* Üst bar */
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.logo-img { height: 38px; width: auto; display: block; }
.logo-word { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: .06em; color: var(--red); line-height: 1; display: flex; flex-direction: column; }
.logo-word small { font-size: 9px; letter-spacing: .4em; color: var(--ink); font-weight: 700; margin-top: 4px; }
.brand-sep { width: 1px; height: 30px; background: var(--line); }
.brand-camp { font-family: var(--display); font-size: 12px; font-weight: 700; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em; }
.home .topbar { background: var(--ink); border-bottom-color: var(--ink-2); }
.home .topbar .brand, .home .topbar .logo-word small { color: var(--paper); }
.home .topbar .logo-word { color: var(--red-on-dark); }
.home .topbar .brand-sep { background: #3A3134; }
.home .topbar .btn { display: none; }

/* Düğmeler — köşeli, büyük harf */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff; border: 0; border-radius: 0; padding: 12px 22px; font: 700 15px var(--display); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--red-dark); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000; }
.linkbtn { background: none; border: 0; color: var(--ink); font: 600 14px var(--font); cursor: pointer; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:disabled { color: var(--mute); text-decoration: none; cursor: default; }

/* Giriş ekranı: başlık + imza formu */
.stage { background: var(--ink); color: var(--paper); border-bottom: 6px solid var(--red); }
.stage-in { display: grid; grid-template-columns: 1.15fr minmax(340px, 460px); gap: 72px; align-items: center; min-height: calc(100vh - 70px); padding-top: 64px; padding-bottom: 72px; }
.stage .eyebrow { color: var(--red-on-dark); }
.stage h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5.4vw, 76px); line-height: .98; letter-spacing: -.025em; margin: 0 0 40px; }
.stage h1 span { color: var(--red-on-dark); }
.asks { list-style: none; padding: 0; margin: 0 0 32px; max-width: 540px; border-top: 1px solid #3A3134; }
.asks li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid #3A3134; font-size: 20px; font-weight: 600; }
.asks b { font-family: var(--display); color: var(--red-on-dark); font-size: 18px; min-width: 18px; }
.stage-note { color: #A79D97; font-size: 15px; margin: 0; max-width: 480px; }

/* İmza paneli */
.sign-card { background: var(--paper); color: var(--ink); border-top: 6px solid var(--red); padding: 34px 32px 28px; }
.card-title { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 22px; }
.card-foot { font-size: 13px; color: var(--mute); margin: 12px 0 0; text-align: center; }
.field { margin-bottom: 12px; }
.field-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
label { font-weight: 700; font-size: 14px; display: block; margin-bottom: 6px; }
input[type=text], input[type=tel], input[type=password], select { width: 100%; height: 54px; font: 400 17px var(--font); padding: 0 16px; border: 1px solid #BDB3A6; border-radius: 0; background: #fff; color: var(--ink); -webkit-appearance: none; appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 24px, calc(100% - 15px) 24px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input::placeholder { color: #8C837D; }
input:focus, select:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.invalid { border-color: var(--red) !important; outline: 2px solid var(--red) !important; outline-offset: -1px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px; line-height: 1.45; margin: 12px 0 0; cursor: pointer; color: #3D3735; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--red); border-radius: 0; }
.check em { color: var(--mute); font-style: normal; }
.check a { color: var(--ink); }
.radio { display: flex; gap: 10px; align-items: center; font-weight: 400; font-size: 16px; margin: 8px 0; cursor: pointer; }
.radio input { accent-color: var(--red); width: 18px; height: 18px; }
.err { color: var(--red); font-size: 13px; font-weight: 600; margin: 5px 0 0; }
.err:empty { display: none; }
.form-error { color: var(--red); font-weight: 600; margin: 16px 0 0; font-size: 15px; }
.form-error:empty { display: none; }
#signForm .btn-block { margin-top: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.code-input { height: 68px !important; font: 800 32px var(--display) !important; letter-spacing: .5em; text-align: center; padding-left: .5em !important; }
#otpForm .btn-block { margin-top: 16px; }
.otp-links { display: flex; justify-content: space-between; margin-top: 14px; }

/* Alt bölüm: dilekçe ve sorular */
.more { max-width: 820px; padding-top: 56px; padding-bottom: 80px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { font-family: var(--display); font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; position: relative; padding-right: 32px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -3px; font-size: 24px; color: var(--red); font-weight: 400; font-family: var(--font); }
details[open] summary::after { content: "–"; }
details > p { margin: 12px 0 0; color: #3D3735; }
.petition { background: #fff; border-left: 4px solid var(--red); padding: 28px 32px; margin-top: 18px; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.7; }
.petition-to { text-align: center; font-weight: 700; margin-top: 0; }
.petition ol { padding-left: 22px; }
.petition li { margin-bottom: 10px; }
.petition-sign { text-align: right; font-style: italic; margin-bottom: 0; }

/* Kart sayfası */
.card-page { padding-top: 56px; padding-bottom: 88px; }
.page-title { font-family: var(--display); font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 800; }
.card-head { max-width: 720px; margin-bottom: 40px; }
.card-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.card-preview { background: var(--paper-2); padding: 28px; display: flex; justify-content: center; }
.card-preview canvas { width: 100%; max-width: 430px; height: auto; display: block; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-family: var(--display); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); margin-bottom: 6px; }
.card-actions { display: grid; gap: 10px; margin: 26px 0; }
.share-link label { font-family: var(--display); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); }
.copy-row { display: flex; }
.copy-row input { font-size: 15px; border-right: 0; }
.copy-row .btn { flex: none; }
.share-buttons { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); margin-top: 14px; }
.sb { text-align: center; padding: 12px 6px; color: var(--ink); text-decoration: none; font: 700 13px var(--display); text-transform: uppercase; letter-spacing: .08em; border-right: 1px solid var(--ink); }
.sb:last-child { border-right: 0; }
.sb:hover { background: var(--ink); color: var(--paper); }
.brought { margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brought b { font-family: var(--display); font-size: 20px; color: var(--red); }

.optin { margin-top: 28px; padding: 20px 22px; background: #fff; border-left: 4px solid var(--ink); }
.optin p { margin: 0 0 12px; }
.optin p:last-child { margin-bottom: 0; }

/* Metin sayfaları */
.prose h2 { font-family: var(--display); font-size: 21px; margin: 34px 0 8px; }
.prose li { margin-bottom: 6px; }

/* Alt bilgi */
.foot { background: var(--ink); color: #A79D97; padding: 36px 0; font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot .logo-word { color: var(--red-on-dark); }
.foot .logo-word small { color: var(--paper); }
.foot p { margin: 8px 0 0; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot a { color: var(--paper); }

/* Yönetim paneli */
.admin { background: #F2EFEA; }
.admin main { padding-top: 36px; padding-bottom: 60px; }
.admin .sign-card { border: 1px solid var(--line); border-top: 6px solid var(--red); }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.admin-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 24px 0; }
.kpi { background: #fff; padding: 16px 18px; }
.kpi span { display: block; font-size: 13px; color: var(--mute); font-weight: 600; }
.kpi b { font-family: var(--display); font-size: 30px; font-weight: 800; }
.kpi small { margin-left: 6px; color: var(--mute); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { background: #fff; padding: 20px 22px; border: 1px solid var(--line); max-height: 520px; overflow: auto; }
.panel h2 { font-family: var(--display); font-size: 17px; margin: 0 0 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; color: var(--mute); border-bottom: 2px solid var(--ink); padding: 6px 8px; }
.tbl td { padding: 7px 8px; border-bottom: 1px solid #EEE7DE; }
.bar-row { display: grid; grid-template-columns: 52px 1fr 60px; gap: 10px; align-items: center; font-size: 14px; margin-bottom: 6px; }
.bar-row b { text-align: right; }
.bar-track { background: #F1EBE2; height: 12px; }
.bar-fill { background: var(--red); height: 100%; }

/* Mobil */
@media (max-width: 900px) {
  .stage-in { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding-top: 40px; padding-bottom: 48px; }
  .stage h1 { margin-bottom: 26px; }
  .asks { margin-bottom: 20px; }
  .asks li { font-size: 17px; padding: 12px 0; }
  .card-layout, .admin-grid { grid-template-columns: 1fr; gap: 32px; }
  .sign-card { padding: 28px 22px 24px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .stage .stage-in { padding: 32px 0 0; gap: 28px; }
  .stage-note { display: none; }
  .stage h1 { font-size: 42px; margin-bottom: 20px; }
  .stage .eyebrow { letter-spacing: .1em; font-size: 12px; }
  .stage-copy { padding: 0 18px; }
  .stage .sign-card { border-top-width: 6px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .brand-camp, .brand-sep { display: none; }
  .share-buttons { grid-template-columns: repeat(2, 1fr); }
  .sb:nth-child(2) { border-right: 0; }
  .sb:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .petition { padding: 22px 20px; }
}
