:root {
  --void: #0c0b0a;
  --cloth: #161310;
  --lamp: #e8c9a0;
  --lamp-mist: rgba(232, 201, 160, 0.2);
  --wax: #c45c4a;
  --wax-ink: #f3eee6;
  --brass: #b8a07a;
  --paper: #f3eee6;
  --ink: #f2ede6;
  --ink-card: #2c241c;
  --muted: #8f877c;
  --line: rgba(242, 237, 230, 0.16);
  --frost: rgba(22, 20, 17, 0.62);
  --page: 20px;
  --max: 1080px;
  --nav-h: 72px;
  --r-card: 22px;
  --r-btn: 28px;
  --r-sheet: 40px;
  --font: "SF Pro Text", "PingFang SC", "Hiragino Sans GB", -apple-system,
    BlinkMacSystemFont, sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "Songti TC", serif;
  --spring: 400ms cubic-bezier(0.32, 0.72, 0, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--void);
  color: var(--ink);
  font: 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(90% 70% at 12% -10%, var(--lamp-mist), transparent 52%),
    var(--cloth);
}

body.legal {
  background: var(--cloth);
}

.legal .nav-inner {
  width: min(720px, calc(100% - 40px));
}

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

a {
  color: var(--lamp);
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--paper);
  color: var(--ink-card);
  padding: 8px 12px;
  border-radius: 999px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.wrap-narrow {
  width: min(720px, calc(100% - 40px));
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--frost);
  backdrop-filter: blur(28px) saturate(110%);
  -webkit-backdrop-filter: blur(28px) saturate(110%);
  border: 0.5px solid var(--line);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 244, 230, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  margin-right: auto;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
}

.brand-en {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: var(--wax);
  color: var(--wax-ink);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.nav-cta:active,
.cta button:active,
.btn:active {
  transform: scale(0.96);
}

.nav-cta:focus-visible,
.cta button:focus-visible,
.btn:focus-visible,
.cta input:focus-visible,
.faq summary:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--lamp);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 32px 0 80px;
}

.kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brass);
}

h1 {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0 0 16px;
  max-width: 680px;
}

.lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34em;
  text-wrap: pretty;
}

.hero-cta {
  margin-top: 32px;
}

.cta form,
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cta .note {
  flex: 1 0 100%;
  margin: 8px 0 0;
}

.cta input[type="email"] {
  height: 52px;
  border: 0.5px solid var(--line);
  border-radius: var(--r-btn);
  padding: 0 18px;
  min-width: min(260px, 100%);
  flex: 1;
  background: rgba(12, 11, 10, 0.55);
  color: var(--ink);
  outline: none;
}

.cta input[type="email"]::placeholder {
  color: var(--muted);
}

.cta button,
.btn {
  height: 52px;
  border: 0;
  border-radius: var(--r-btn);
  padding: 0 24px;
  background: var(--wax);
  color: var(--wax-ink);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  transition: transform 100ms ease-out;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 0.5px solid var(--line);
  box-shadow: none;
}

.cta button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.note,
.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 0;
}

.hero-stage {
  position: relative;
  min-height: 520px;
}

.still {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-sheet);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.take-card {
  position: absolute;
  left: -18px;
  bottom: 24px;
  width: 168px;
  padding: 14px 12px 12px;
  border-radius: var(--r-card);
  background: var(--paper);
  color: var(--ink-card);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.5),
    0 2px 0 rgba(243, 226, 192, 0.18);
  transform: rotate(-6deg);
  animation: float 5.6s ease-in-out infinite;
}

.take-card .natal {
  margin: 0 0 8px;
  font-size: 9px;
  font-weight: 500;
  color: #8f877c;
  text-align: center;
}

.take-card .face {
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  border: 0.5px solid rgba(44, 36, 28, 0.16);
  background: #f7f2ea;
  display: grid;
  place-items: center;
  padding: 8px;
}

.take-card .face svg {
  width: 72%;
  height: auto;
}

.take-card .face span {
  font-size: 12px;
  font-weight: 500;
}

.take-card .caption {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 1.35;
}

.take-card .card-date,
.take-card .mark {
  margin: 6px 0 0;
  font-size: 10px;
  color: #8f877c;
}

.take-card .mark {
  margin-top: 2px;
}

@keyframes float {
  0%,
  100% {
    transform: rotate(-6deg) translateY(0);
  }
  50% {
    transform: rotate(-6deg) translateY(-8px);
  }
}

.section {
  padding: 24px 0 80px;
  scroll-margin-top: 88px;
}

#wait {
  scroll-margin-top: 96px;
}

.section h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 8px;
  text-wrap: balance;
}

.section .lead {
  margin-bottom: 24px;
}

.papers {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 16px;
  align-items: end;
}

.paper-card {
  background: var(--paper);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.paper-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.paper-card figcaption {
  padding: 14px 16px 16px;
  font-size: 13px;
  color: #5c534a;
}

.steps,
.nots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.frost {
  background: var(--frost);
  backdrop-filter: blur(28px) saturate(110%);
  -webkit-backdrop-filter: blur(28px) saturate(110%);
  border: 0.5px solid var(--line);
  border-radius: 32px;
  padding: 24px 22px 22px;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 244, 230, 0.18);
}

.frost h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.frost p,
.frost li {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.frost ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--wax);
  color: var(--wax-ink);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.tagline {
  padding: 48px 0 80px;
  max-width: 680px;
}

.tagline-line {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

.tagline-line + .tagline-line {
  margin-top: 8px;
}

.tagline-line span {
  color: rgba(242, 237, 230, 0.28);
  transition: color 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.tagline-line span.on {
  color: var(--ink);
}

.member {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}

.shot {
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  background: #0c0b0a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.shot img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center 30%;
}

.member-copy {
  display: grid;
  align-content: center;
}

.faq {
  display: grid;
  gap: 8px;
  max-width: 720px;
}

.faq details {
  background: var(--frost);
  border: 0.5px solid var(--line);
  border-radius: 22px;
  padding: 4px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
}

.final {
  text-align: center;
  padding: 12px 0 24px;
}

.final .cta,
.final form,
.final .downloads {
  justify-content: center;
}

.final .lead {
  margin-left: auto;
  margin-right: auto;
}

footer {
  padding: 28px 0 56px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
}

.foot-links {
  display: flex;
  gap: 16px;
}

.foot-links a {
  color: var(--muted);
  text-decoration: none;
}

.prose {
  background: var(--frost);
  border: 0.5px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  margin: 24px 0 64px;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 244, 230, 0.18);
}

.prose h1 {
  font-size: 30px;
}

.prose h2 {
  font-size: 18px;
  margin-top: 28px;
}

.prose p,
.prose li {
  color: var(--muted);
}

@media (prefers-reduced-transparency: reduce) {
  .nav-inner,
  .frost,
  .faq details,
  .prose {
    backdrop-filter: none;
    background: var(--cloth);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .take-card {
    animation: none;
  }
  .cta button,
  .btn,
  .nav-cta,
  .tagline-line span {
    transition: none;
  }
}

@media (max-width: 900px) {
  .hero,
  .papers,
  .steps,
  .nots,
  .member {
    grid-template-columns: 1fr;
  }
  .hero {
    gap: 28px;
    padding-bottom: 48px;
  }
  .hero-stage {
    min-height: 0;
    order: -1;
  }
  .nav-links {
    display: none;
  }
  .take-card {
    width: 132px;
    left: 8px;
    bottom: 12px;
  }
}
