:root {
  --bg: #f5f5f7;
  --surface: rgba(255, 255, 255, .76);
  --surface-solid: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --line: rgba(29, 29, 31, .12);
  --shadow: 0 24px 70px rgba(0, 0, 0, .10);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.ambient {
  position: fixed;
  width: min(62vw, 52rem);
  height: min(62vw, 52rem);
  border-radius: 50%;
  filter: blur(120px);
  opacity: .42;
  pointer-events: none;
  z-index: -1;
}
.ambient-one { top: -29rem; right: -14rem; background: #d5e8ff; }
.ambient-two { bottom: -30rem; left: -22rem; background: #e0d9ff; }

.site-header, main, footer { width: min(1120px, calc(100% - 44px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  height: 54px;
  margin-top: 14px;
  padding: 0 12px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background: rgba(250, 250, 252, .72);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: .9rem; font-weight: 650; letter-spacing: -.01em; }
.brand-mark { display: block; width: 34px; height: 34px; border: 1px solid rgba(29,29,31,.08); border-radius: 11px; background: #d2d2d7; object-fit: cover; object-position: center; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.header-actions { display: flex; align-items: center; gap: 10px; }
nav { display: flex; align-items: center; gap: 8px; }
nav a { padding: 7px 11px; border-radius: 10px; color: #515154; text-decoration: none; font-size: .78rem; transition: color .2s ease, background .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--ink); background: rgba(0,0,0,.05); }
.language-switch { display: grid; place-items: center; min-width: 36px; height: 32px; padding: 0 9px; border: 1px solid rgba(29,29,31,.12); border-radius: 999px; background: rgba(255,255,255,.72); color: var(--ink); text-decoration: none; font-size: .7rem; font-weight: 700; letter-spacing: .06em; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.language-switch:hover, .language-switch:focus-visible { border-color: rgba(0,113,227,.34); background: #fff; color: var(--blue); }

main { padding-bottom: 72px; }
.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
  padding: 88px 0 104px;
}
.eyebrow { color: #86868b; font-size: .76rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 5px rgba(52,199,89,.10); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; max-width: 790px; font-size: clamp(4rem, 8.5vw, 7.2rem); line-height: .92; letter-spacing: -.072em; font-weight: 750; }
h1 span { background: linear-gradient(92deg, #0071e3 0%, #5856d6 55%, #af52de 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 680px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.34rem); letter-spacing: -.02em; }
.lede strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-width: 142px; display: inline-flex; justify-content: center; gap: 9px; align-items: center; padding: 12px 20px; border-radius: 999px; text-decoration: none; font-size: .94rem; font-weight: 600; border: 1px solid transparent; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 9px 24px rgba(0,113,227,.20); }
.button.primary:hover { background: var(--blue-hover); }
.button.secondary { border-color: rgba(0,113,227,.32); color: var(--blue); background: rgba(255,255,255,.55); }
.button:hover { transform: translateY(-2px); }

.identity-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,255,255,.60));
  box-shadow: var(--shadow);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  overflow: hidden;
}
.identity-card::before { content: ""; position: absolute; width: 190px; height: 190px; right: -75px; top: -85px; border-radius: 50%; background: radial-gradient(circle, rgba(80,130,255,.18), rgba(175,82,222,.06) 52%, transparent 70%); }
.identity-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(255,255,255,.46), transparent 42%); pointer-events: none; }
.identity-card > * { position: relative; z-index: 1; }
.avatar { width: 92px; height: 92px; display: block; margin-bottom: 42px; border: 3px solid rgba(255,255,255,.92); border-radius: 29px; background: #d2d2d7; object-fit: cover; object-position: 50% 50%; box-shadow: 0 14px 32px rgba(0,0,0,.18), 0 0 0 1px rgba(29,29,31,.08); }
.card-label { color: #86868b; font-size: .66rem; font-weight: 700; letter-spacing: .14em; }
.identity-card h2 { margin-bottom: 3px; font-size: 2rem; letter-spacing: -.045em; }
.muted { color: var(--muted); }
.handle-list { margin: 28px 0 20px; border-top: 1px solid var(--line); }
.handle-list div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.handle-list dt { color: var(--muted); font-size: .84rem; }
.handle-list dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; }
.copy-button { width: 100%; padding: 12px; border: 0; border-radius: 999px; color: var(--blue); background: #e9f3ff; cursor: pointer; font-family: inherit; font-size: .86rem; font-weight: 600; transition: background .2s ease; }
.copy-button:hover { background: #dcecff; }

.proof-section, .project-section, .links-section { padding: 116px 0; }
.proof-section { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .42fr 1fr; gap: 40px; align-items: start; }
.section-heading h2, .project-copy h2, .links-section h2 { font-size: clamp(2.7rem, 5.6vw, 5rem); line-height: .98; letter-spacing: -.06em; font-weight: 720; }
.identity-grid { display: grid; grid-template-columns: 1fr 118px 1fr; gap: 18px; align-items: stretch; margin-top: 64px; }
.platform-card { display: flex; align-items: center; gap: 22px; padding: 28px; border: 1px solid rgba(255,255,255,.9); border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: 0 14px 40px rgba(0,0,0,.06); }
.platform-icon { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 17px; color: #fff; font-weight: 800; box-shadow: inset 0 1px rgba(255,255,255,.25), 0 8px 18px rgba(0,0,0,.12); }
.facebook-card .platform-icon { background: linear-gradient(145deg, #2b87ff, #0866c5); font-size: 1.55rem; }
.github-card .platform-icon { background: linear-gradient(145deg, #37373b, #111113); font-size: .74rem; }
.platform-name { margin-bottom: 2px; color: var(--muted); font-size: .69rem; text-transform: uppercase; letter-spacing: .13em; }
.platform-card h3 { margin-bottom: 8px; font-size: 1.45rem; letter-spacing: -.025em; }
.platform-card a { color: var(--blue); font-size: .9rem; text-decoration: none; }
.connector { display: flex; align-items: center; gap: 12px; color: var(--blue); }
.connector span { height: 1px; flex: 1; background: var(--line); }
.connector b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.08); font-size: 1rem; }
.verification-note { margin: 28px 0 0; color: var(--muted); text-align: center; font-size: .88rem; }

.project-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(50px, 8vw, 104px);
  align-items: center;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(22px, calc((100vw - 1120px) / 2));
  background: #000;
  color: #f5f5f7;
}
.project-copy .eyebrow { color: #a1a1a6; }
.project-copy p:not(.eyebrow) { color: #a1a1a6; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; list-style: none; }
.tag-list li { padding: 7px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #d2d2d7; font-size: .76rem; }
.project-panel { border: 1px solid rgba(255,255,255,.14); border-radius: 26px; overflow: hidden; background: #121214; box-shadow: 0 28px 80px rgba(0,0,0,.44); }
.window-bar { height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid rgba(255,255,255,.09); background: #1c1c1e; }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #636366; }
.window-bar i:first-child { background: #ff5f57; }
.window-bar i:nth-child(2) { background: #ffbd2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-left: auto; color: #8e8e93; font: .72rem ui-monospace, SFMono-Regular, Menlo, monospace; }
pre { margin: 0; padding: 32px; color: #c7c7cc; font: .84rem/1.9 ui-monospace, SFMono-Regular, Menlo, monospace; overflow: auto; }
.code-accent { color: #64d2ff; }
.project-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.09); }
.project-actions a { padding: 17px; text-align: center; text-decoration: none; color: #f5f5f7; font-size: .86rem; transition: color .2s ease, background .2s ease; }
.project-actions a + a { border-left: 1px solid rgba(255,255,255,.09); }
.project-actions a:hover { background: rgba(255,255,255,.06); color: #64d2ff; }

.links-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 124px); align-items: start; border-bottom: 1px solid var(--line); }
.link-stack { display: grid; gap: 14px; }
.link-stack a { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px; border: 1px solid rgba(255,255,255,.9); border-radius: 22px; background: rgba(255,255,255,.75); box-shadow: 0 12px 34px rgba(0,0,0,.055); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.link-stack a:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.09); }
.link-stack span { display: grid; }
.link-stack small { color: var(--muted); font-size: .65rem; letter-spacing: .14em; }
.link-stack strong { font-size: 1.18rem; letter-spacing: -.02em; }
.link-stack b { color: var(--blue); }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px 0 44px; color: var(--muted); font-size: .78rem; }
footer p { margin: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 40; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: rgba(29,29,31,.9); color: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.2); backdrop-filter: blur(18px); opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 850px) {
  .site-header { top: 8px; }
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 100px 0 92px; }
  .identity-card { max-width: 490px; }
  .section-heading, .project-section, .links-section { grid-template-columns: 1fr; }
  .identity-grid { grid-template-columns: 1fr; }
  .connector { height: 50px; flex-direction: column; }
  .connector span { width: 1px; }
}

@media (max-width: 540px) {
  .site-header, main, footer { width: min(100% - 28px, 1120px); }
  .site-header { padding-right: 10px; }
  h1 { font-size: clamp(3.25rem, 17vw, 5rem); }
  .hero { padding-top: 76px; padding-bottom: 76px; }
  .proof-section, .project-section, .links-section { padding-top: 84px; padding-bottom: 84px; }
  .identity-card, .platform-card, .project-panel { border-radius: 22px; }
  .platform-card { padding: 22px; }
  .project-actions { grid-template-columns: 1fr; }
  .project-actions a + a { border-left: 0; border-top: 1px solid rgba(255,255,255,.09); }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
