@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  --page-max: 473px;
  --pad: 24px;
  --outside: #f4f4f2;
  --paper: #fffefa;
  --ink: #0f0f0f;
  --muted: #6f736f;
  --soft: #f5f4ef;
  --line: rgba(15, 15, 15, 0.1);
  --brand: #0f0f0f;
  --accent: #0808ff;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 14px 34px rgba(15, 15, 15, 0.08);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.9), transparent 48%),
    var(--outside);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  width: min(100%, var(--page-max));
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    url("./assets/bg-pattern.svg") center top / 473px auto repeat;
  box-shadow: 0 0 30px rgba(15, 15, 15, 0.045);
}

.marquee {
  overflow: hidden;
  background: var(--brand);
  color: #fff;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  min-width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 650;
}

.marquee span::before {
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero,
.section,
.toolkit,
.links,
footer {
  margin-right: var(--pad);
  margin-left: var(--pad);
}

.hero {
  padding-top: 48px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.logo {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
  line-height: 1.35;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 360px;
  margin-bottom: 16px;
  font-size: 31px;
  font-weight: 680;
  line-height: 1.16;
}

.intro {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 430;
  line-height: 1.72;
  word-break: keep-all;
}

.section {
  margin-top: 34px;
}

h2 {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 650;
}

.capabilities {
  display: grid;
  gap: 8px;
}

.capabilities article {
  display: grid;
  gap: 5px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.capabilities strong {
  color: #262622;
  font-size: 15px;
  font-weight: 650;
}

.capabilities span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 430;
  line-height: 1.45;
}

.toolkit {
  margin-top: 28px;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tool-list span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(15, 15, 15, 0.08);
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.035);
  color: #555955;
  font-size: 12px;
  font-weight: 450;
}

.links {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr 18px;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.link-card::after {
  justify-self: end;
  color: currentColor;
  font-size: 22px;
  font-weight: 400;
  opacity: 0.44;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  content: "›";
}

.link-card:hover {
  border-color: rgba(8, 8, 255, 0.25);
  box-shadow: 0 18px 42px rgba(8, 8, 255, 0.12);
  transform: translateY(-2px);
}

.link-card:hover::after {
  opacity: 1;
  transform: translateX(3px);
}

.link-card:active {
  transform: translateY(0) scale(0.99);
}

.link-card:focus-visible {
  outline: 3px solid rgba(8, 8, 255, 0.28);
  outline-offset: 3px;
}

.link-card.primary {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

.link-card.social {
  min-height: 78px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(15, 15, 15, 0.045);
}

.link-card.primary small {
  color: rgba(255, 255, 255, 0.68);
}

.icon,
.profile-thumb {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.icon {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  font-weight: 500;
}

.icon.logo-icon img {
  width: 31px;
  height: 31px;
}

.icon.brand-icon {
  background: #f2f1ec;
  color: var(--ink);
}

.icon.brand-icon img {
  width: 25px;
  height: 25px;
}

.profile-thumb {
  object-fit: cover;
  object-position: center 32%;
}

.link-card strong,
.link-card small {
  display: block;
}

.link-card strong {
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.35;
}

.link-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.42;
}

footer {
  padding: 46px 0 38px;
  color: #8b8f89;
  text-align: center;
}

footer p {
  margin-bottom: 0;
  font-size: 12px;
  font-weight: 520;
}

@media (max-width: 473px) {
  .hero,
  .section,
  .toolkit,
  .links,
  footer {
    margin-right: 22px;
    margin-left: 22px;
  }

  h1 {
    font-size: 31px;
  }

  .intro {
    font-size: 15px;
  }

  .link-card {
    grid-template-columns: 54px 1fr 16px;
    gap: 12px;
    padding: 14px;
  }

  .icon,
  .profile-thumb {
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }

  .link-card,
  .link-card::after {
    transition: none;
  }
}
