:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: #3e312b;
  background: #fffaf4;
  font-synthesis: none;
  --ink: #3e312b;
  --muted: #75665e;
  --orange: #f5844e;
  --orange-dark: #dc6836;
  --orange-soft: #ffe4cc;
  --cream: #fff8e8;
  --blue: #9ed4ee;
  --blue-dark: #619fc5;
  --line: rgba(102, 73, 58, 0.13);
  --shadow: 0 26px 70px rgba(185, 92, 45, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 86% 7%, rgba(255, 190, 133, 0.24), transparent 23rem),
    linear-gradient(180deg, #fffaf4 0%, #fffdf9 56%, #fff7ec 100%);
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 10;
  width: min(1180px, calc(100% - 48px));
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(216, 108, 56, 0.2);
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.06em;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 34px;
}

nav a {
  position: relative;
  color: #65564e;
  font-size: 14px;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(3px);
  transition: 160ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.noncommercial {
  justify-self: end;
  padding: 8px 13px;
  color: #986044;
  background: rgba(255, 228, 204, 0.62);
  border: 1px solid rgba(245, 132, 78, 0.2);
  border-radius: 999px;
  font-size: 12px;
}

main {
  overflow: hidden;
}

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 80px;
  padding: 88px 0 100px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-family: "Songti SC", SimSun, serif;
  font-size: clamp(48px, 6.5vw, 82px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
  color: var(--orange);
}

.hero__lead {
  max-width: 640px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero__actions > span {
  color: #8c7d75;
  font-size: 12px;
}

.primary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: #fff;
  background: var(--orange);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(226, 105, 48, 0.22);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.note-scene {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.note-scene::before,
.note-scene::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.note-scene::before {
  width: 430px;
  height: 430px;
  background: rgba(255, 210, 169, 0.32);
}

.note-scene::after {
  width: 130px;
  height: 130px;
  top: 35px;
  right: 9px;
  background: rgba(158, 212, 238, 0.2);
}

.note-card {
  position: relative;
  z-index: 2;
  width: min(420px, 90%);
  min-height: 390px;
  padding: 70px 48px 46px;
  overflow: hidden;
  background: var(--cream);
  border: 6px solid #b8dff2;
  border-radius: 44px 44px 74px 44px;
  box-shadow:
    26px 28px 0 rgba(245, 132, 78, 0.72),
    var(--shadow);
  transform: rotate(1.6deg);
}

.pin {
  position: absolute;
  z-index: 4;
  top: 27px;
  left: 50%;
  width: 48px;
  height: 64px;
  background: linear-gradient(90deg, #79b7d8, #a7daf0 48%, #6fa8cb);
  border: 5px solid #ccecff;
  border-radius: 45% 45% 38% 38%;
  box-shadow:
    0 14px 0 -2px #77acd0,
    0 17px 22px rgba(63, 119, 151, 0.3);
  transform: translateX(-50%);
}

.pin::before {
  position: absolute;
  top: -11px;
  left: -10px;
  width: 58px;
  height: 28px;
  content: "";
  background: #bde8fb;
  border: 5px solid #d9f3ff;
  border-radius: 50%;
}

.note-card__date {
  width: fit-content;
  margin: 0 0 20px;
  padding: 7px 11px;
  color: #a96b4a;
  background: #ffe4cc;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.note-card h2 {
  margin: 0;
  color: #4b403a;
  font-family: "Songti SC", SimSun, serif;
  font-size: 30px;
  line-height: 1.45;
}

.note-card ul {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.note-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #796a61;
  font-size: 13px;
}

.check {
  width: 22px;
  height: 22px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  background: var(--orange);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.paper-corner {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #fff0cf 49%, #94c8e5 50%, #d8f2ff 56%);
  border-radius: 30px 0 0;
}

.story,
.practice,
.notice {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.story h2,
.section-heading h2,
.notice h2 {
  margin: 0;
  font-family: "Songti SC", SimSun, serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.35;
}

.story > p,
.notice p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.practice {
  padding: 106px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.practice-grid article {
  min-height: 205px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(104, 71, 53, 0.045);
}

.feature-number {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
}

.practice-grid h3 {
  margin: 32px 0 10px;
  font-size: 19px;
}

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

.notice {
  margin-top: 20px;
  margin-bottom: 110px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 34px;
  padding: 50px;
  background: linear-gradient(120deg, #fff0dd, #fff8eb 70%);
  border: 1px solid rgba(245, 132, 78, 0.17);
  border-radius: 30px;
}

.notice__mark {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  color: var(--orange-dark);
  background: rgba(255, 255, 255, 0.62);
  border: 2px solid rgba(245, 132, 78, 0.22);
  border-radius: 32px;
  font-family: "Songti SC", SimSun, serif;
  font-size: 40px;
  box-shadow: inset 0 0 0 8px rgba(255, 228, 204, 0.48);
}

.notice h2 {
  margin-bottom: 18px;
}

.notice .release-pending {
  margin-top: 12px;
  color: #a46849;
  font-size: 13px;
  font-weight: 700;
}

footer {
  width: min(1180px, calc(100% - 48px));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #8b7b72;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

footer div {
  display: grid;
  gap: 4px;
}

.site-footer__brand {
  color: var(--ink);
  font-size: 14px;
}

.filing-record {
  display: flex;
  gap: 14px;
}

.filing-record[hidden] {
  display: none;
}

:focus-visible {
  outline: 3px solid rgba(97, 159, 197, 0.48);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 64px;
  }

  .hero__copy {
    max-width: 700px;
  }

  .note-scene {
    min-height: 500px;
  }

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

@media (max-width: 640px) {
  .site-header,
  .hero,
  .story,
  .practice,
  .notice,
  footer {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .noncommercial {
    padding: 7px 10px;
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 76px;
  }

  .hero h1 {
    font-size: clamp(43px, 14vw, 64px);
  }

  .hero__lead {
    font-size: 15px;
  }

  .note-scene {
    min-height: 410px;
  }

  .note-scene::before {
    width: 330px;
    height: 330px;
  }

  .note-card {
    min-height: 335px;
    padding: 60px 30px 36px;
    border-width: 5px;
    border-radius: 34px 34px 56px;
    box-shadow:
      17px 19px 0 rgba(245, 132, 78, 0.72),
      var(--shadow);
  }

  .note-card h2 {
    font-size: 25px;
  }

  .pin {
    top: 13px;
  }

  .story,
  .practice {
    padding: 74px 0;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .notice {
    grid-template-columns: 1fr;
    padding: 30px;
    margin-bottom: 72px;
  }

  .notice__mark {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    font-size: 32px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  nav a::after,
  .primary-action {
    transition: none;
  }
}
