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

:root {
  --bg: #0d1520;
  --bg-raise: #121c2a;
  --line: #1f2b3a;
  --text: #e9ecef;
  --muted: #8794a3;
  --faint: #556272;
  --accent: #cfae6e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--faint); transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--bg); padding: 6px 12px; }
.skip:focus { left: 8px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header .wrap { display: flex; justify-content: space-between; align-items: baseline; padding-top: 28px; padding-bottom: 28px; }
.logo { font-weight: 700; letter-spacing: -.02em; text-decoration: none; font-size: 17px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: 14px; }
nav a[aria-current] { color: var(--text); }

/* hero */
.hero { padding: 96px 0 120px; max-width: 760px; }
.hero .kicker { color: var(--muted); font-size: 14px; margin: 0 0 22px; font-variant-numeric: tabular-nums; }
.hero h1 {
  font-size: clamp(38px, 7.4vw, 76px); line-height: 1.12; letter-spacing: -.045em;
  font-weight: 700; margin: 0 0 28px; text-wrap: balance;
}
.hero h1 span { color: var(--faint); }
.hero p { color: var(--muted); font-size: 18px; max-width: 34em; margin: 0; text-wrap: pretty; }

/* app index */
.index-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.index-head h2 { font-size: 15px; font-weight: 600; margin: 0; }
.index-head small { color: var(--faint); font-size: 13px; }
.apps { list-style: none; margin: 0 0 140px; padding: 0; }
.apps li {
  display: grid; grid-template-columns: 40px 56px minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--line); transition: background-color .25s;
}
.apps li:hover { background: var(--bg-raise); }
.apps .no { color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; }
.apps img { width: 56px; height: 56px; border-radius: 13px; display: block; }
.apps h3 { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
.apps h3 span { display: block; color: var(--faint); font-size: 13px; font-weight: 450; letter-spacing: 0; }
.apps p { margin: 0; color: var(--muted); text-wrap: pretty; }

/* note */
.note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; padding-bottom: 150px; }
.note h2 { font-size: 15px; font-weight: 600; margin: 0; color: var(--muted); }
.note p { margin: 0 0 14px; font-size: 19px; line-height: 1.75; max-width: 32em; text-wrap: pretty; }

@media (max-width: 680px) {
  .hero { padding: 56px 0 80px; }
  .apps li { grid-template-columns: 48px minmax(0, 1fr); gap: 6px 16px; padding: 22px 0; }
  .apps .no { display: none; }
  .apps img { width: 48px; height: 48px; border-radius: 11px; grid-row: span 2; align-self: start; }
  .apps p { font-size: 15px; }
  .note { grid-template-columns: 1fr; gap: 14px; padding-bottom: 100px; }
  .note p { font-size: 17px; }
}

/* document pages */
.doc { padding: 56px 0 120px; max-width: 680px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -.035em; line-height: 1.2; margin: 0 0 10px; }
.doc h2 { font-size: 18px; font-weight: 650; margin: 44px 0 10px; letter-spacing: -.01em; }
.doc p, .doc li { color: #c3cbd4; }
.doc .date { color: var(--faint); font-size: 14px; margin-bottom: 32px; }
.doc .back { display: inline-block; margin-top: 48px; color: var(--muted); }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 28px; padding-bottom: 44px; color: var(--faint); font-size: 13px; }
footer p { margin: 0; }
