@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700&display=swap");

:root {
  color-scheme: dark;
  --canvas: oklch(13.5% 0.018 165);
  --canvas-raised: oklch(16% 0.018 165);
  --ink: oklch(94% 0.012 165);
  --muted: oklch(72% 0.018 165);
  --faint: oklch(52% 0.018 165);
  --line: color-mix(in oklch, var(--ink) 11%, transparent);
  --line-strong: color-mix(in oklch, var(--ink) 17%, transparent);
  --bamboo: oklch(82% 0.12 165);
  --bamboo-dim: oklch(68% 0.1 165);
  --ember: oklch(84% 0.1 78);
  --serif: "Bricolage Grotesque", "PingFang TC", "Noto Sans TC", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC", "Noto Sans TC", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 4%, color-mix(in oklch, var(--bamboo) 10%, transparent), transparent 28rem),
    var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--bamboo);
  color: var(--canvas);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--bamboo);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 16px;
  left: -9999px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bamboo);
  color: var(--canvas);
  font-size: 14px;
}

.skip-link:focus {
  left: 16px;
}

.site-shell {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.brand,
.topbar-link,
.product-links a,
.note a {
  text-decoration: none;
}

.brand {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.brand span {
  margin: 0 7px;
  color: var(--bamboo);
}

.topbar-link {
  transition: color 160ms ease;
}

.topbar-link:hover,
.product-links a:hover,
.note a:hover {
  color: var(--bamboo);
}

.hero {
  padding: 112px 0 72px;
}

.eyebrow {
  margin: 0;
  color: var(--bamboo);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  margin-bottom: 0;
  margin-top: 22px;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h1 span {
  color: var(--muted);
}

.hero-copy {
  max-width: 620px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.85;
}

.value-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin-top: 64px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in oklch, var(--canvas-raised) 76%, transparent);
}

.map-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-number,
.product-number,
.reading-grid span {
  color: var(--bamboo);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.map-step--execution .step-number,
.product--execution .product-number,
.reading-grid div:nth-child(2) span,
.reading-grid div:nth-child(3) span {
  color: var(--ember);
}

.map-step strong,
.map-step span:not(.step-number) {
  display: block;
}

.map-step strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.map-step span:not(.step-number) {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.map-arrow {
  color: var(--faint);
  font-size: 24px;
}

.map-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.product-section,
.reading-section {
  padding-top: 72px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-strong);
}

.section-heading h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
}

.product-list {
  border-bottom: 1px solid var(--line);
}

.product {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 248px;
  gap: 34px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.product:last-child {
  border-bottom: 0;
}

.product-number {
  padding-top: 7px;
  color: var(--bamboo-dim);
  font-size: 14px;
}

.product-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--bamboo) 12%, transparent);
  color: var(--bamboo);
  font-size: 12px;
  line-height: 1.4;
}

.product--execution .tag {
  background: color-mix(in oklch, var(--ember) 12%, transparent);
  color: var(--ember);
}

.product h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.product-summary {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 30px 0 0;
}

.details dt,
.remember p {
  margin: 0;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.details dd {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.85;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 27px;
  font-size: 14px;
}

.product-links a,
.note a {
  color: var(--bamboo);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklch, var(--bamboo) 42%, transparent);
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.product-links a:hover,
.note a:hover {
  text-decoration-color: var(--bamboo);
}

.remember {
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in oklch, var(--ink) 3%, transparent);
}

.remember strong {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 34px 0 0;
}

.reading-grid div {
  padding-top: 2px;
}

.reading-grid h3 {
  margin: 18px 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
}

.reading-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.note {
  margin-top: 84px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in oklch, var(--canvas-raised) 82%, transparent);
}

.note .eyebrow {
  color: var(--ember);
}

.note p:not(.eyebrow) {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.note a {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 72px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 32px, 640px);
  }

  .topbar {
    min-height: 64px;
  }

  .topbar-link {
    font-size: 12px;
  }

  .hero {
    padding: 76px 0 48px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
    letter-spacing: -0.025em;
  }

  .hero-copy {
    margin-top: 26px;
    font-size: 16px;
  }

  .value-map {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 42px;
    padding: 20px;
  }

  .map-arrow {
    justify-self: start;
    margin-left: 2px;
    transform: rotate(90deg);
  }

  .map-note {
    padding-top: 18px;
  }

  .product-section,
  .reading-section {
    padding-top: 54px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 12px;
  }

  .product {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 32px 0;
  }

  .product-number {
    padding-top: 0;
  }

  .product-summary {
    margin-top: 15px;
    font-size: 15px;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .remember {
    margin-top: 4px;
  }

  .reading-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .note {
    margin-top: 60px;
    padding: 22px;
  }

  .footer {
    display: block;
    margin-top: 56px;
  }

  .footer span {
    display: block;
  }

  .footer span + span {
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * {
    animation: rise 650ms var(--ease) both;
  }

  .hero > *:nth-child(2) {
    animation-delay: 80ms;
  }

  .hero > *:nth-child(3) {
    animation-delay: 150ms;
  }

  .hero > *:nth-child(4) {
    animation-delay: 220ms;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
