:root {
  --background: #050506;
  --primary: #00b1e9;
  --primary-hover: #40c5ef;
  --text: #d4d4d8;
  --border: rgba(0, 177, 233, .2);
  color-scheme: dark;
  background: var(--background);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: var(--primary) var(--background);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; scroll-padding-top: 96px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 24px 24px; mask-image: radial-gradient(ellipse at top, #000 60%, transparent); }
h1, h2, p { margin: 0; }
h1, h2 { color: white; font-weight: 700; letter-spacing: -.03em; }
a { color: var(--primary); text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--primary-hover); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
::selection { background: rgba(0,177,233,.32); color: white; }
button, input { font: inherit; }
button { cursor: pointer; color: var(--text); border: 1px solid var(--border); background: rgba(255,255,255,.05); border-radius: 28px; padding: 10px 24px; min-height: 44px; }
button:hover { background: rgba(255,255,255,.1); }
button:disabled { opacity: .6; cursor: wait; }
.primary { color: #050506; background: var(--primary); border-color: transparent; font-weight: 700; }
.primary:hover { background: var(--primary-hover); }
header { position: sticky; top: 0; z-index: 30; background: rgba(0,0,0,.7); backdrop-filter: blur(24px); border-bottom: 1px solid var(--border); }
.header-inner, main, footer > div { width: 100%; max-width: 1152px; margin: auto; padding-inline: 24px; }
.header-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { width: 192px; min-width: 0; display: flex; align-items: center; min-height: 44px; }
.brand img { width: 100%; height: auto; }
.language-toggle { display: flex; width: 104px; min-height: 44px; flex-shrink: 0; padding: 4px; border: 1px solid rgba(0,177,233,.5); background: var(--background); border-radius: 28px; color: var(--text); font-weight: 700; letter-spacing: .1em; }
.language-toggle span { width: 50%; text-align: center; line-height: 34px; border-radius: 24px; }
.language-toggle .selected { background: var(--primary-hover); color: #050506; }
main { flex: 1; padding-block: 40px 48px; }
.introduction { text-align: center; }
.portrait { width: 144px; height: 144px; padding: 6px; object-fit: contain; border: 1px solid rgba(0,177,233,.4); border-radius: 50%; background: black; }
h1 { margin-top: 24px; font-size: 36px; line-height: 1.1; }
.role { margin: 20px auto 0; max-width: 42rem; font-size: 18px; font-weight: 300; }
.bio { margin-top: 48px; padding: 28px; border: 1px solid var(--border); border-radius: 24px; background: rgba(255,255,255,.025); text-align: left; box-shadow: 0 20px 80px rgba(0,0,0,.45); }
.bio h2 { font-size: 36px; line-height: 1.15; }
.bio p { margin-top: 20px; line-height: 2; font-weight: 300; }
.contacts { margin-top: 24px; display: grid; gap: 16px; }
.link-card { border: 1px solid var(--border); border-radius: 24px; background: rgba(255,255,255,.02); overflow: hidden; }
.link-card:hover { border-color: rgba(64,197,239,.4); background: rgba(255,255,255,.035); }
.link-card > a, .link-card > button { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 90px; padding: 20px; text-align: left; color: var(--text); border: 0; border-radius: inherit; background: none; }
.link-card > :is(a, button):focus-visible { outline-offset: -4px; }
.contact-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.05); color: var(--primary); }
.contact-icon svg { height: 20px; width: 20px; }
.contact-label { flex: 1; min-width: 0; }
.contact-name { display: block; color: white; font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.contact-user { display: block; margin-top: 2px; overflow-wrap: anywhere; }
.action-label { flex-shrink: 0; max-width: 40%; overflow-wrap: anywhere; }
.manual-copy { padding: 0 20px 20px; }
.manual-copy p { margin-bottom: 12px; }
input { width: 100%; min-width: 0; padding: 8px 12px; border: 1px solid rgba(0,177,233,.4); border-radius: 8px; background: rgba(0,0,0,.5); color: white; caret-color: var(--primary); }
footer { border-top: 1px solid var(--border); background: rgba(0,0,0,.4); padding-block: 12px; }
footer > div { display: flex; flex-wrap: wrap; column-gap: 48px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
dialog { position: fixed; inset: 0; width: calc(100% - 32px); max-width: 448px; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; margin: auto; padding: 28px; border: 1px solid rgba(0,177,233,.3); border-radius: 24px; background: #09090b; color: var(--text); box-shadow: 0 24px 100px rgba(0,0,0,.8); }
dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(8px); }
.eyebrow { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
dialog h2 { margin-top: 16px; font-size: 24px; line-height: 1.3; }
dialog h2 + p { margin-top: 12px; line-height: 1.5; }
.dialog-actions { display: flex; flex-direction: column-reverse; gap: 12px; margin-top: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 640px) {
  .brand { width: 208px; }
  main { padding-top: 48px; }
  .portrait { width: 176px; height: 176px; }
  h1 { font-size: 48px; }
  .role { font-size: 20px; }
  .bio { padding: 40px; }
  .contacts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dialog-actions { flex-direction: row; justify-content: flex-end; }
  dialog { padding: 36px; }
}
@media (min-width: 768px) { main { padding-block: 56px 64px; } h1 { font-size: 72px; } .bio h2 { font-size: 48px; } }
@media (min-width: 1024px) { .contacts { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (prefers-reduced-motion: no-preference) { .link-card { transition: border-color .2s, background .2s, transform .2s; } .link-card:hover { transform: translateY(-4px); } }
