@import url('https://fonts.googleapis.com/css2?family=Lexend+Mega:wght@100..900&family=Public+Sans:wght@100..900&display=swap');

:root {
  --mint: #b4fde1;
  --sky: #add8e6;
  --ink: #172620;
  --soft: #e8fff8;
  --paper: #f4fffb;
  --line: 3px solid var(--ink);
  --r1: 18px;
  --r2: 24px;
  --r3: 28px;
  --head: 'Lexend Mega', 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --clay: inset -3px -3px 9px rgba(23, 38, 32, .10), inset 3px 3px 7px rgba(255, 255, 255, .85), 5px 7px 0 rgba(23, 38, 32, .16);
  --press: 0 3px 0 rgba(23, 38, 32, .28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: #dff9f0;
}

html.lock { overflow: hidden; }

body {
  margin: 0;
  padding-bottom: 148px;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(23, 38, 32, .12) 1px, transparent 0) 0 0 / 24px 24px,
    linear-gradient(168deg, #f4fffb 0%, #e6fbf4 44%, #dcf1fb 100%);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }

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

p { margin: 0 0 1.05em; }

h1, h2, h3 {
  font-family: var(--head);
  line-height: 1.3;
  letter-spacing: -.012em;
  margin: 0 0 .4em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.8rem, 5.2vw, 2.9rem); }

h2 { font-size: clamp(1.28rem, 3.4vw, 1.72rem); margin-top: 1.5em; }

h3 { font-size: clamp(1.08rem, 2.4vw, 1.28rem); margin-top: 1.4em; }

small {
  display: inline-block;
  font-family: var(--head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 4px 12px;
  border: var(--line);
  border-radius: 999px;
  background: var(--sky);
  color: var(--ink);
  box-shadow: inset -2px -2px 6px rgba(23, 38, 32, .12);
}

small + h2, small + h3 { margin-top: .45em; }

ul, ol { padding-left: 1.35em; }

li { margin: .3em 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 90;
  padding: 10px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: var(--line);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  font-weight: 800;
}

.skip:focus { top: 12px; }

.burger {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 70;
  min-height: 46px;
  padding: 0 18px;
  font-family: var(--head);
  font-size: .9rem;
  font-weight: 800;
  color: var(--ink);
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--clay);
  cursor: pointer;
}

.curtain {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 78px 20px 40px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 1px 1px, rgba(23, 38, 32, .16) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(158deg, var(--mint), var(--sky));
  visibility: hidden;
  opacity: 0;
  transition: opacity .26s ease-out, visibility .26s;
}

.curtain.is-open { visibility: visible; opacity: 1; }

.curtain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(430px, 100%);
  display: grid;
  gap: 12px;
}

.curtain-list li { margin: 0; }

.curtain-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
  font-family: var(--head);
  font-size: 1.02rem;
  font-weight: 800;
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: var(--r2);
  box-shadow: var(--press);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 45vh;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 88px 16px 54px;
  border-bottom: 4px solid var(--ink);
  border-radius: 0 0 42px 42px;
  background:
    radial-gradient(circle at 1px 1px, rgba(23, 38, 32, .15) 1px, transparent 0) 0 0 / 20px 20px,
    linear-gradient(152deg, #d7fbff, var(--mint) 58%, var(--sky));
}

.hero-art {
  position: absolute;
  inset: -10% 0 -22% 0;
  z-index: 0;
  will-change: transform;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .58;
  border: 0;
  border-radius: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  text-align: right;
  max-width: 620px;
  padding: 20px 22px;
  border: 4px solid var(--ink);
  border-radius: var(--r3);
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--clay);
  animation: pop .5s cubic-bezier(.34, 1.56, .64, 1) both;
}

.hero h1 { margin: 0 0 .3em; font-weight: 800; }

.hero-desc {
  margin: 0;
  font-size: .98rem;
  line-height: 1.7;
  color: #2a3f36;
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 14px 0;
}

.sheet {
  border: 4px solid var(--ink);
  border-radius: var(--r3);
  background: #ffffff;
  padding: 22px 18px 26px;
  box-shadow: inset -4px -4px 12px rgba(23, 38, 32, .07), 6px 9px 0 rgba(23, 38, 32, .14);
  animation: rise .5s ease-out both;
  animation-delay: .08s;
}

.sheet img {
  border: var(--line);
  border-radius: var(--r2);
  margin: .5em 0;
}

.sheet-body > section {
  scroll-margin-top: 76px;
  padding-bottom: 6px;
}

.sheet-body > section + section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 3px dashed rgba(23, 38, 32, .28);
}

.sheet a { text-decoration-thickness: 2px; text-underline-offset: 3px; }

blockquote {
  margin: 1.2em 0;
  padding: 14px 18px;
  border: var(--line);
  border-left-width: 8px;
  border-radius: var(--r2);
  background: linear-gradient(140deg, #ffffff, var(--soft));
}

.rail {
  display: grid;
  gap: 10px;
  align-content: start;
}

.rail h2 { margin-top: .3em; font-size: 1.22rem; }

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

.rail-list li { margin: 0; }

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 15px;
  text-decoration: none;
  font-weight: 700;
  font-size: .96rem;
  border: 3px solid var(--ink);
  border-radius: var(--r3);
  background: linear-gradient(140deg, #ffffff, #eafff7);
  transition: transform .18s ease-out, background .18s ease-out;
}

.rail-list a:hover { background: var(--mint); }

.rail-list a:active { transform: translateY(2px); }

.rail small, .rail h2, .rail-list { animation: rise .45s ease-out both; }

.rail-list > li:nth-child(1) { animation: rise .4s ease-out both; animation-delay: .06s; }
.rail-list > li:nth-child(2) { animation: rise .4s ease-out both; animation-delay: .12s; }
.rail-list > li:nth-child(3) { animation: rise .4s ease-out both; animation-delay: .18s; }
.rail-list > li:nth-child(4) { animation: rise .4s ease-out both; animation-delay: .24s; }
.rail-list > li:nth-child(5) { animation: rise .4s ease-out both; animation-delay: .3s; }
.rail-list > li:nth-child(6) { animation: rise .4s ease-out both; animation-delay: .36s; }

.foot {
  margin-top: 44px;
  padding: 26px 16px 40px;
  border-top: 4px solid var(--ink);
  background: linear-gradient(180deg, #f5fffb, #e2f6ff);
}

.cta {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 700px;
  margin: 0 auto;
  padding: 24px 20px 26px;
  text-align: center;
  border: 4px solid var(--ink);
  border-radius: 32px;
  background: linear-gradient(140deg, var(--mint), var(--sky));
  box-shadow: var(--clay);
}

.cta-brand {
  margin: 0;
  font-family: var(--head);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.35;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 26px;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--press);
}

.cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 860px;
  margin: 26px auto 0;
}

.cols dl {
  margin: 0;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  border-radius: var(--r2);
  background: rgba(255, 255, 255, .8);
}

.cols dt { font-weight: 800; }

.cols dd {
  margin: 4px 0 0;
  font-size: .95rem;
}

.cols a { text-decoration: none; }

.cols a:hover { text-decoration: underline; }

.copy {
  margin: 24px 0 0;
  text-align: center;
  font-size: .9rem;
  color: #2c4239;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 8px 12px 12px;
  padding-top: 56px;
  border-top: 4px solid var(--ink);
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #ddf8f0, var(--mint));
  box-shadow: 0 -8px 24px rgba(23, 38, 32, .18);
}

.brand {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 78%;
  min-height: 42px;
  padding: 4px 12px;
  text-decoration: none;
  font-family: var(--head);
  font-size: .95rem;
  font-weight: 800;
  white-space: nowrap;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-grid;
  place-items: center;
  font-size: .8rem;
  background: var(--sky);
  border: 2px solid var(--ink);
}

.brand-txt { overflow: hidden; text-overflow: ellipsis; }

.dock-nav ol {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.dock-nav ol::-webkit-scrollbar { display: none; }

.dock-nav li { flex: 0 0 auto; margin: 0; }

.dock-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--press);
  transition: transform .16s ease-out, background .16s ease-out;
}

.dock-nav a:active { transform: translateY(3px); }

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

@keyframes pop {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 560px) {
  .cols { grid-template-columns: repeat(3, 1fr); }
  .sheet { padding: 30px 26px 32px; }
}

@media (min-width: 900px) {
  body { padding-bottom: 108px; }

  .hero { padding: 100px 42px 72px; }

  .hero-copy { padding: 26px 32px; }

  main {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    padding: 38px 24px 0;
  }

  .dock {
    display: flex;
    align-items: center;
    padding: 10px 26px;
  }

  .brand {
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 300px;
  }

  .dock-nav { flex: 1 1 auto; min-width: 0; }

  .dock-nav ol { overflow: visible; }

  .dock-nav li:nth-child(4) { margin-left: auto; }

  .sheet { padding: 38px 40px 42px; }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-art { transform: none !important; }
}

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