/* TPL — kartvizit ve vekâletname sayfalarının ortak stili.
   Renkler kişisel antetteki logodan: #276477 / #4E8899 / #96BCC7. */

/* Yazı tipleri sitenin içinde (fonts/); ziyaretçi Google'a bağlanmaz. Lisans: SIL OFL 1.1 */
@font-face {
  font-family: "Bodoni Moda"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/bodoni-moda-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/bodoni-moda-500-latin.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: "Source Sans 3"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/source-sans-3-latin.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 {
  --teal: #276477;
  --mid: #4E8899;
  --pale: #EEF4F6;
  --pale-press: #DCE9ED;
  --text: #343A44;
  --muted: #5F6670;
  --line: #D5DFE3;
  --bg: #F4F7F8;
  --card: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --teal: #8CC3D3; --mid: #6FA7B7; --pale: #1F3138; --pale-press: #29424B;
    --text: #E4E9EC; --muted: #A3ADB5; --line: #2C3A40;
    --bg: #11181B; --card: #182226;
  }
}
:root[data-theme="dark"] {
  --teal: #8CC3D3; --mid: #6FA7B7; --pale: #1F3138; --pale-press: #29424B;
  --text: #E4E9EC; --muted: #A3ADB5; --line: #2C3A40;
  --bg: #11181B; --card: #182226;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 440px; margin: 0 auto; padding: 24px 16px 40px; }
.card {
  background: var(--card);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(39,100,119,.08), 0 8px 28px rgba(39,100,119,.10);
  overflow: hidden;
}
.card + .card { margin-top: 16px; }

/* Logo: antetteki 2x2 ızgara; her temada aynı renkler */
.brand { padding: 28px 24px 8px; text-align: center; }
.logo { display: inline-grid; grid-template-columns: 34px 34px; gap: 3px; }
.logo span {
  width: 34px; height: 34px; display: grid; place-items: center;
  font-family: "Bodoni Moda", "Bodoni MT", Didot, Georgia, serif;
  font-size: 24px; line-height: 1; color: #fff;
}
.logo .t { background: #276477; }
.logo .p { background: #4E8899; }
.logo .l { background: #96BCC7; }
.logo .e { border: 1.5px solid #4E8899; }

h1, .name {
  margin: 0;
  font-family: "Bodoni Moda", "Bodoni MT", Didot, Georgia, serif;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--teal);
}
h1 { font-size: 24px; text-align: center; padding: 14px 16px 0; }
.lede { margin: 2px 0 0; text-align: center; color: var(--muted); font-size: 15px; }

/* Kişi blokları */
.person { padding: 20px 16px 18px; border-top: 1px solid var(--line); }
.person:first-of-type { border-top: 0; }
.person .name { font-size: 22px; text-align: center; }
.person .role { margin: 2px 0 14px; text-align: center; font-style: italic; color: var(--muted); }
.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.actions a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 2px; border-radius: 10px;
  background: var(--pale); color: var(--teal);
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.actions a:active { background: var(--pale-press); }
.actions svg { width: 22px; height: 22px; }
.contact { margin: 12px 4px 0; font-size: 15px; text-align: center; color: var(--muted); }
.contact a { color: inherit; text-decoration: none; }

/* Adres */
.office { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.office svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--mid); }
.office small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.office .go { display: block; margin-top: 4px; color: var(--teal); font-weight: 600; font-size: 14px; }

/* Vekâletname sayfası */
.poa { padding: 22px 20px 20px; }
.poa h2 { margin: 0 0 6px; font-size: 18px; color: var(--teal); }
.hint { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.lawyer { padding: 14px 0; border-top: 1px solid var(--line); }
.lawyer h3 { margin: 0 0 8px; font-size: 16px; }
dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.btn {
  display: block; width: 100%; margin-top: 16px; padding: 13px;
  border: 1.5px solid #276477; border-radius: 10px;
  background: #276477; color: #fff;
  font: inherit; font-weight: 600; text-align: center; cursor: pointer;
}
.btn.ok { background: #1E7F5C; border-color: #1E7F5C; }
.preview-note { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: var(--pale); font-size: 13px; color: var(--muted); }

footer { margin-top: 22px; text-align: center; font-size: 12px; color: var(--muted); }
footer a { color: inherit; }
