@font-face { font-family: Manrope; src: url('/fonts/Manrope-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url('/fonts/Manrope-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url('/fonts/Manrope-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --navy: #102343;
  --navy-2: #2B4A7A;
  --orange: #FF741B;
  --orange-dark: #A8480A;
  --ink: #151515;
  --text: #3E4148;
  --muted: #6E727A;
  --line: #E6E8EB;
  --bg: #F3F5F9;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
.hidden { display: none !important; }

.top { background: var(--navy); border-bottom: 4px solid var(--orange); padding: max(env(safe-area-inset-top), 18px) 20px 112px; display: flex; justify-content: center; }
.top-logo { height: 52px; display: flex; align-items: center; justify-content: center; max-width: 280px; }
.top-logo .brand { height: 44px; width: auto; }
.top-logo .company-logo { max-height: 46px; max-width: 220px; width: auto; }
.top-logo .company-name { color: #fff; font-weight: 800; font-size: 20px; text-align: center; }

.wrap { max-width: 440px; margin: -56px auto 0; padding: 0 16px 32px; display: flex; flex-direction: column; gap: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.person { align-items: center; text-align: center; padding-top: 0; }

.avatar-ring { width: 112px; height: 112px; margin-top: -40px; border-radius: 56px; border: 3px solid var(--orange); background: #fff; display: flex; align-items: center; justify-content: center; }
.avatar { width: 98px; height: 98px; border-radius: 49px; background: var(--navy-2); color: #fff; font-weight: 800; font-size: 34px; letter-spacing: 1px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-ring.square { border-radius: 28px; }
.avatar-ring.square .avatar { border-radius: 22px; background: #fff; }
.avatar-ring.square .avatar img { object-fit: contain; width: 86%; height: 86%; }

.name { margin: 6px 0 0; font-size: 23px; line-height: 1.2; font-weight: 800; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.tick { display: inline-flex; }
.role { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--text); }
.meta { margin: 0; font-size: 12.5px; color: var(--muted); }
.muted { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.hint { margin: 2px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

.btn { min-height: 48px; border-radius: 14px; border: 0; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; }
.btn:active { transform: scale(0.98); }
.btn-accent { background: var(--orange); color: var(--ink); }
.btn-navy { background: var(--navy); color: #fff; margin-top: 6px; }
.btn-light { background: #fff; color: var(--navy); border: 1px solid #C3CEE0; }
.btn.small { min-height: 44px; font-size: 13.5px; padding: 0 14px; }
.save { width: 100%; margin-top: 12px; font-size: 16px; min-height: 54px; }
.row { display: flex; gap: 8px; width: 100%; margin-top: 6px; }
.row .btn { flex: 1; }

.kicker { margin: 0; font-size: 11.5px; font-weight: 800; letter-spacing: 1px; color: var(--muted); }
.kicker.light { color: rgba(255,255,255,0.72); }
.office-name { margin: 0; font-size: 16px; font-weight: 800; color: var(--navy); }

.social { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.social li + li { border-top: 1px solid var(--line); }
.social-row { display: flex; align-items: center; gap: 12px; min-height: 56px; text-decoration: none; color: inherit; }
.social-badge { width: 40px; height: 40px; border-radius: 20px; background: var(--bg); border: 1px solid #C3CEE0; color: var(--navy); font-weight: 800; font-size: 12.5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.social-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.social-text strong { font-size: 14.5px; color: var(--ink); }
.social-text span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-action { font-size: 13px; font-weight: 800; color: var(--navy); white-space: nowrap; }

.invite { background: var(--navy); border-color: var(--navy); border-bottom: 4px solid var(--orange); }
.invite-title { margin: 0; color: #fff; font-size: 17px; font-weight: 800; line-height: 1.35; }
.invite-body { margin: 0; color: rgba(255,255,255,0.82); font-size: 13.5px; line-height: 1.5; }
.code-row { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.1); border-radius: 14px; padding: 8px 8px 8px 16px; margin-top: 6px; }
.code { flex: 1; color: #fff; font-weight: 800; font-size: 26px; letter-spacing: 5px; }
.invite-note { margin: 4px 0 0; color: rgba(255,255,255,0.65); font-size: 12px; }

.nf-title { margin: 0; font-size: 19px; font-weight: 800; color: var(--navy); }
.skeleton { background: linear-gradient(90deg, #EEF1F6, #F7F8FB, #EEF1F6); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }
.avatar-s { width: 98px; height: 98px; border-radius: 49px; align-self: center; }
.line-s { height: 16px; width: 70%; align-self: center; }
.line-s.short { width: 45%; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.foot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 0 8px; }
.copy { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.foot-logo { height: 34px; width: auto; opacity: 0.85; }

.toast { position: fixed; left: 50%; bottom: max(env(safe-area-inset-bottom), 20px); transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; }

@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } .btn:active { transform: none; } }

/* Yasal metinler ve sayfa altı bağlantıları */
.legal-links { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.legal-links a, .legal-note a, .legal a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
.pay-band { display: block; max-width: 100%; height: auto; margin: 4px auto 0; }
.legal-note { margin: 0; max-width: 360px; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.legal-top { padding-bottom: 88px; }
.legal-logo { text-decoration: none; }
.legal-wrap { max-width: 760px; }
.legal { padding: 22px 20px 24px; gap: 0; }
.legal h1 { margin: 0 0 12px; font-size: 22px; line-height: 1.3; font-weight: 800; color: var(--navy); }
.legal h2 { margin: 22px 0 8px; font-size: 16px; line-height: 1.35; font-weight: 800; color: var(--navy); }
.legal p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.65; color: var(--text); }
.legal ul, .legal ol { margin: 0 0 10px; padding-left: 20px; }
.legal li { margin: 0 0 6px; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.legal b { color: var(--ink); font-weight: 600; }
.legal-table { overflow-x: auto; margin: 0 0 10px; -webkit-overflow-scrolling: touch; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
.legal th, .legal td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 700; color: var(--navy); background: rgba(16, 35, 67, 0.05); }
.legal td { font-weight: 600; color: var(--ink); }
.legal-sub { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
.legal-cta { margin: 6px 0 4px; }
.legal a.btn { width: 100%; max-width: 360px; color: #fff; text-decoration: none; }
.legal .legal-cta-note { margin: 0 0 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.legal .legal-date { margin-top: 18px; font-size: 13px; color: var(--muted); }
