:root {
  color-scheme: light;
  font-family: "Instrument Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: #152c43;
  background: #f4f7fb;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: min(72rem, calc(100% - 4rem)); margin-inline: auto; }
.mast { border-bottom: 1px solid #d5dfe9; }
.mast-inner { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.18rem; font-weight: 700; }
.mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 23px; }
.mark i { display: block; width: 6px; height: 100%; background: #1e4d91; transform: skewY(-15deg); }
.mark i:first-child { height: 60%; }
.mark i:nth-child(2) { height: 80%; }
nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
a { color: #254d79; text-underline-offset: .25em; }
nav a { padding-block: .5rem; font-size: .94rem; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid #205ac0; outline-offset: 4px; border-radius: 2px; }
main { flex: 1; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem,5vw,5rem); padding-block: clamp(3rem,7vw,6rem); }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2.6rem,5.4vw,4.8rem); font-weight: 720; letter-spacing: -.044em; line-height: 1.16; }
.hero-copy p { margin-top: 1.55rem; max-width: 31em; }
p { font-size: 1.04rem; line-height: 1.9; color: #40556a; }
.illustration { position: relative; overflow: hidden; aspect-ratio: 1.66; border-radius: 1rem; background-color: #e3ebf5; background-image: radial-gradient(#b8c9dc 1px, transparent 1px); background-size: 16px 16px; }
.notebook, .note { position: absolute; transform-origin: center; }
.notebook { left: 34%; top: 14%; width: 49%; height: 72%; border: 1px solid #acc0d7; border-radius: 3% 6% 6% 3%; transform: rotate(9deg); background: #fff; box-shadow: 3px 5px 0 #c5d4e4, 10px 15px 18px #233c5b24; }
.binding { position: absolute; inset: 0 auto 0 0; width: 8%; border-radius: 14% 0 0 14%; background: #3d6698; }
.ledger { position: absolute; inset: 14% 12% 17% 18%; border-top: .42rem solid #416fa7; display: grid; grid-template-rows: repeat(4,1fr); }
.ledger i { border-bottom: 1px solid #acc0d7; background-image: linear-gradient(90deg,transparent 62%,#cbd8e7 62%,#cbd8e7 63%,transparent 63%); }
.note { left: 13%; top: 38%; width: 46%; height: 45%; border-radius: 5%; transform: rotate(-10deg); background: #254e84; box-shadow: 6px 11px 16px #17325130; }
.note-tab { position: absolute; left: 15%; top: -9%; width: 25%; height: 16%; background: #497cb6; border-radius: 5px 5px 0 0; }
.text-lines { position: absolute; inset: 27% 16%; display: flex; flex-direction: column; justify-content: space-between; }
.text-lines i { width: 92%; height: 12%; border-radius: 20px; background: #cbdff5; }
.text-lines i:nth-child(2) { width: 72%; }
.text-lines i:last-child { width: 42%; }
.systems { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,6rem); border-top: 1px solid #bccddd; padding-block: 2.4rem 4rem; }
.systems section { scroll-margin-block: 2rem; }
h2 { font-size: clamp(1.35rem,2.3vw,1.8rem); letter-spacing: -.02em; line-height: 1.4; }
.systems p { max-width: 29em; margin-top: .8rem; }
footer { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 1.55rem 1rem; border-top: 1px solid #d5dfe9; background: #fff; color: #4b6175; font-size: .875rem; text-align: center; }
@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .mast-inner { min-height: 4rem; }
  .hero { grid-template-columns: 1fr; padding-block: 2.75rem 2rem; gap: 1.7rem; }
  .illustration { width: 100%; max-height: 14rem; }
  .systems { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 1.7rem 2.4rem; }
  nav { gap: .8rem; }
}
@media (max-width: 23rem) {
  .wrap { width: calc(100% - 2rem); }
  .mast-inner { flex-wrap: wrap; padding-block: .6rem; gap: .35rem; }
  nav a { font-size: .875rem; }
}
