@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&family=Noto+Sans:wght@300;400;500;700&display=swap');

:root {
  --paper: #ffffff;
  --mist: #f5f5f5;
  --ink: #1f1f1f;
  --ink-2: rgba(31, 31, 31, .66);
  --ink-3: rgba(31, 31, 31, .42);
  --line: rgba(31, 31, 31, .09);
  --e1: 0 1px 2px rgba(31, 31, 31, .05), 0 3px 8px rgba(31, 31, 31, .05);
  --e2: 0 2px 6px rgba(31, 31, 31, .05), 0 12px 26px rgba(31, 31, 31, .07);
  --e3: 0 4px 10px rgba(31, 31, 31, .06), 0 22px 48px rgba(31, 31, 31, .10);
  --e4: 0 8px 18px rgba(31, 31, 31, .08), 0 36px 72px rgba(31, 31, 31, .14);
  --r: 28px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: 104px;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Figtree', 'Noto Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 108px 22px 200px;
  overflow: hidden;
  background: var(--paper);
}

.hero::before {
  content: "08";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: clamp(10rem, 36vw, 25rem);
  line-height: .78;
  letter-spacing: -.06em;
  color: var(--mist);
  -webkit-text-stroke: 1px rgba(31, 31, 31, .05);
  user-select: none;
  pointer-events: none;
}

.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-deco .layer {
  position: absolute;
  display: block;
  border-radius: 34px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .92);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.l1 {
  z-index: 1;
  width: min(50vw, 420px);
  height: min(34vh, 300px);
  left: 6%;
  top: 20%;
  box-shadow: var(--e2);
  transform: translate3d(0, var(--py, 0), 0) rotate(-7deg);
}

.l2 {
  z-index: 2;
  width: min(44vw, 360px);
  height: min(30vh, 260px);
  right: 8%;
  bottom: 16%;
  box-shadow: var(--e3);
  transform: translate3d(0, var(--py, 0), 0) rotate(6deg);
}

.l3 {
  z-index: 3;
  width: min(30vw, 240px);
  height: min(22vh, 180px);
  left: 50%;
  top: 62%;
  background: rgba(245, 245, 245, .74);
  box-shadow: var(--e4);
  transform: translate3d(-50%, var(--py, 0), 0) rotate(-2deg);
}

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: min(100%, 760px);
}

.kicker {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.1rem, 6.4vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 700;
}

.lede {
  margin: 24px auto 0;
  max-width: 32ch;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-2);
}

.wrap {
  position: relative;
  z-index: 4;
  max-width: 1180px;
  margin: -104px auto 0;
  padding: 0 22px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 306px;
  gap: 26px;
  align-items: start;
}

.prose {
  position: relative;
  z-index: 2;
  padding: clamp(22px, 3.6vw, 54px);
  border-radius: var(--r);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.prose::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  border-radius: inherit;
  box-shadow: var(--e3);
}

.prose::after {
  content: "";
  position: absolute;
  inset: 20px -12px -20px 14px;
  z-index: -2;
  background: var(--mist);
  border-radius: var(--r);
}

.prose div[id] { scroll-margin-top: 26px; }

.prose div + div {
  margin-top: 54px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.prose h2 {
  position: relative;
  padding-top: 22px;
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.3;
  letter-spacing: -.02em;
}

.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 4px;
  border-radius: 99px;
  background: var(--ink);
}

.prose h3 {
  margin: 30px 0 10px;
  font-size: 1.15rem;
  line-height: 1.45;
  letter-spacing: -.01em;
}

.prose p { margin: 0 0 1em; max-width: 66ch; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.25em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--ink-3); }
.prose strong { font-weight: 600; }

.prose a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(31, 31, 31, .28);
}

.prose a:hover { text-decoration-color: var(--ink); }

.prose blockquote {
  margin: 0 0 1em;
  padding-left: 16px;
  border-left: 3px solid var(--line);
  color: var(--ink-2);
}

.rail {
  position: sticky;
  top: 22px;
  z-index: 1;
  padding: 22px 18px;
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--e2);
}

.rail-kicker {
  display: block;
  font-size: .8rem;
  letter-spacing: .24em;
  color: var(--ink-3);
}

.rail-title {
  margin: 6px 0 16px;
  font-size: 1.15rem;
  line-height: 1.4;
}

.rail-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.rail-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4;
  transition: background .2s ease, transform .2s ease;
}

.rail-nav a:hover { background: var(--mist); transform: translateX(2px); }

.rail-nav span {
  font-family: 'Figtree', sans-serif;
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--ink-3);
}

.rail-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}

.rail-foot a { text-decoration: none; color: var(--ink-2); }
.rail-foot a:hover { color: var(--ink); }

.dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 60;
  width: min(1120px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(31, 31, 31, .08);
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--e4);
  animation: dock-in .6s cubic-bezier(.22, .8, .26, 1) both;
}

@keyframes dock-in {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.dock-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.dock-side--l .dock-list { justify-content: flex-end; }
.dock-side--r .dock-list { justify-content: flex-start; }

.dock a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 11px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .2s ease;
}

.dock-list a:hover,
.dock a[aria-current] { background: var(--mist); }

.dock-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: 'Figtree', 'Noto Sans', sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
}

.dock-mark { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; }

.foot {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 22px 42px;
  text-align: center;
  color: var(--ink-3);
}

.foot p {
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-2);
}

.foot small { font-size: .85rem; }

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .26, 1);
}

.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .wrap {
    grid-template-columns: minmax(0, 1fr);
    margin-top: -68px;
    padding-bottom: 28px;
  }
  .rail { position: static; order: 2; margin-top: 10px; }
  .prose::after { inset: 16px -8px -16px 10px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 168px; }

  .hero { min-height: auto; padding: 96px 18px 132px; }
  .hero::before { font-size: clamp(8rem, 44vw, 15rem); }
  .hero-deco .layer { border-radius: 24px; }
  .l1 { width: 64vw; height: 24vh; left: 1%; top: 16%; }
  .l2 { width: 58vw; height: 22vh; right: 1%; bottom: 14%; }
  .l3 { display: none; }

  .lede { font-size: 1rem; }

  .wrap { padding: 0 14px 24px; }
  .prose { padding: 22px 18px; border-radius: 22px; font-size: 1rem; }
  .prose::after { inset: 12px -6px -12px 6px; border-radius: 22px; }
  .prose div + div { margin-top: 40px; padding-top: 34px; }

  .dock {
    width: calc(100% - 12px);
    bottom: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 6px 8px 8px;
    border-radius: 20px;
  }
  .dock-brand { order: -1; min-height: 40px; font-size: 1.05rem; }
  .dock-side { width: 100%; }
  .dock-side .dock-list { justify-content: center; flex-wrap: wrap; gap: 0; }
  .dock a { min-height: 40px; padding: 0 8px; }

  .foot { padding: 42px 18px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .dock { animation: none; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
