:root {
  color-scheme: light;
  --page: #fefefe;
  --ink: #22292f;
  --muted: #5f656a;
  --quiet: #858b90;
  --surface: #f5f5f7;
  --surface-hover: #ededf0;
  --line: rgba(25, 32, 39, 0.08);
  --blue: #1677f1;
  --blue-hover: #0d66d8;
  --radius: 19px;
  --content-width: 650px;
}

@font-face {
  font-family: "SFUIText";
  src: url("https://cdn.prod.website-files.com/69eb9da1a12dbaee4274afb0/6a3eb973710569180319e114_SFUIText-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SFUIText";
  src: url("https://cdn.prod.website-files.com/69eb9da1a12dbaee4274afb0/6a3eb973d5b128474c8390cb_SFUIText-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SFUIText";
  src: url("https://cdn.prod.website-files.com/69eb9da1a12dbaee4274afb0/6a3eb97333b253572d9e5742_SFUIText-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SFUIText";
  src: url("https://cdn.prod.website-files.com/69eb9da1a12dbaee4274afb0/6a3eb973fc32b871f8a3998a_SFUIText-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SFUIText";
  src: url("https://cdn.prod.website-files.com/69eb9da1a12dbaee4274afb0/6a3eb97333b253572d9e5724_SFUIText-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SFUIText";
  src: url("https://cdn.prod.website-files.com/69eb9da1a12dbaee4274afb0/6a3eb9738ea8d719a51c437c_SFUIText-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "SFUIText", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}

::selection {
  color: #fff;
  background: var(--blue);
}

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 42px 0 28px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h1 {
  max-width: none;
  margin: 42px 0 46px;
  color: #1d1d1f;
  font-size: clamp(3rem, 6vw, 3.5rem);
  font-family: "SFUIText", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.title-name,
.title-trading {
  display: block;
}

.title-trading {
  margin-top: -0.14em;
  font-size: 0.68em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-align: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 26px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-family: "SFUIText", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.social-pill .social-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
}

.social-pill:active {
  transform: translateY(0) scale(0.98);
}

.social-pill:focus-visible,
.project-card:focus-visible {
  outline: 3px solid rgba(22, 119, 241, 0.28);
  outline-offset: 4px;
}

.project-list {
  display: grid;
  gap: 15px;
}

.project-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 102px;
  padding: 14px 23px 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  font-family: "SFUIText", Arial, sans-serif;
  text-decoration: none;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.project-card:active {
  transform: translateY(0) scale(0.995);
}

.project-icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 14px;
  background: transparent;
  overflow: hidden;
}

.project-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.project-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.project-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}

.project-copy > span {
  max-width: 35ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 20px;
}

.project-copy > span .bonus-highlight {
  color: var(--blue);
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}

.project-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 2.5px solid var(--blue);
  border-radius: 12px;
  background: transparent;
  color: var(--blue);
  font-size: 0;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.arrow-icon {
  display: block;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-action:active {
  transform: scale(0.96);
}

.footer {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 55px 0 4px;
  color: var(--quiet);
  font-size: 13px;
  line-height: 18px;
}

.footer-note::before {
  content: "·";
  margin-right: 9px;
}

@media (hover: hover) and (pointer: fine) {
  .social-pill:hover {
    background: var(--surface-hover);
    transform: translateY(-1px);
  }

  .project-card:hover {
    background: var(--surface-hover);
    box-shadow: 0 10px 24px rgba(35, 44, 52, 0.08);
    transform: translateY(-2px);
  }

  .project-card:hover .project-action {
    background: var(--blue-hover);
    color: #fff;
  }
}

@media (max-width: 600px) {
  .page-shell {
    width: min(calc(100% - 46px), var(--content-width));
    padding-top: 25px;
  }

  h1 {
    margin: 31px 0 29px;
    font-size: clamp(2.45rem, 12vw, 3.2rem);
  }

  .social-links {
    gap: 7px;
    margin-bottom: 18px;
  }

  .social-pill {
    padding-inline: 11px;
    font-size: 13px;
  }

  .project-list {
    gap: 11px;
  }

  .project-card {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 12px;
    min-height: 0;
    padding: 12px 12px 12px 12px;
  }

  .project-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .project-icon img {
    width: 100%;
    height: 100%;
  }

  .project-copy strong {
    font-size: 15px;
    line-height: 18px;
  }

  .project-copy > span {
    max-width: none;
    font-size: 13px;
    line-height: 16px;
  }

  .project-copy > span .bonus-highlight {
    font-size: inherit;
    line-height: inherit;
  }

  .project-action {
    grid-column: 3;
    grid-row: 1;
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .arrow-icon {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 24px;
    font-size: 12px;
  }

  .footer-note::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
