:root {
  --ink: #10255f;
  --blue: #183c91;
  --blue-bright: #2858be;
  --red: #ff3b30;
  --red-deep: #e3261c;
  --lavender: #dfe5ff;
  --paper: #fffdf9;
  --muted: #596580;
  --line: rgba(24, 60, 145, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, a { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
main { min-height: 100vh; position: relative; overflow: hidden; background: linear-gradient(145deg, #fffdf9 0%, #f5f7ff 58%, #eef3ff 100%); }
.page-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.page-glow-one { width: 520px; height: 520px; right: -210px; top: -230px; border: 1px solid rgba(40, 88, 190, .14); box-shadow: 0 0 0 70px rgba(40, 88, 190, .025), 0 0 0 140px rgba(40, 88, 190, .018); }
.page-glow-two { width: 250px; height: 250px; left: -130px; bottom: 40px; background: rgba(255, 59, 48, .045); }

.site-header { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 22px 0 8px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.brand img { display: block; width: 86px; height: auto; }
.status { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 15px; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; box-shadow: 0 8px 30px rgba(16, 37, 95, .07); }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(255, 59, 48, .1); animation: pulse 2s ease-in-out infinite; }

.hero { width: min(1180px, calc(100% - 40px)); min-height: 650px; margin: 0 auto; padding: 46px 0 65px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(44px, 6vw, 88px); position: relative; z-index: 1; }
.overline { color: var(--red-deep); font-size: .83rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 22px; }
.hero h1 { margin: 0; max-width: 620px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.5rem, 6.6vw, 6.5rem); line-height: .92; letter-spacing: -.055em; text-wrap: balance; }
.hero-tagline { margin: 22px 0 0; color: var(--red-deep); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.35rem, 2.3vw, 1.8rem); font-weight: 700; line-height: 1.2; }
.intro { max-width: 590px; margin: 17px 0 0; font-size: clamp(1.08rem, 1.7vw, 1.27rem); line-height: 1.7; color: var(--muted); }
.return-note { margin-top: 34px; display: flex; align-items: center; gap: 14px; color: var(--ink); }
.return-note > span { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 15px; color: white; background: var(--red); box-shadow: 0 10px 24px rgba(227, 38, 28, .2); }
.return-note p { margin: 0; line-height: 1.45; }

.showcase { min-width: 0; border: 1px solid rgba(24, 60, 145, .18); border-radius: 32px; background: rgba(255, 255, 255, .88); box-shadow: 0 26px 70px rgba(16, 37, 95, .14); backdrop-filter: blur(12px); overflow: hidden; }
.showcase-top { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.pause { border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: .75rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.slide { min-height: 470px; animation: slide-in .5s ease both; }
.slide-visual { min-height: 235px; padding: 28px; display: grid; place-items: center; background: linear-gradient(135deg, var(--ink), var(--blue-bright)); position: relative; overflow: hidden; }
.slide-visual::before, .slide-visual::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); }
.slide-visual::before { width: 270px; height: 270px; right: -90px; top: -140px; }
.slide-visual::after { width: 140px; height: 140px; left: -80px; bottom: -70px; }
.slide-copy { padding: 25px 28px 27px; }
.slide-copy > p { color: var(--red-deep); margin: 0 0 7px; font-size: .7rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.slide-copy h2 { margin: 0 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.06; letter-spacing: -.03em; }
.slide-copy > div { color: var(--muted); font-size: .93rem; line-height: 1.55; }
.slide-copy ul { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 16px 0 0; }
.slide-copy li { border-radius: 999px; background: #edf1ff; color: var(--blue); padding: 6px 10px; font-size: .7rem; font-weight: 800; }
.carousel-controls { min-height: 60px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.carousel-controls > button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); background: #fff; cursor: pointer; font-weight: 900; }
.dots { display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 10px; background: #c8d0e7; cursor: pointer; transition: width .2s, background .2s; }
.dots button[aria-selected='true'] { width: 25px; background: var(--red); }

.mini-window { width: min(430px, 94%); border-radius: 16px; background: white; box-shadow: 0 16px 35px rgba(0,0,0,.22); overflow: hidden; transform: rotate(-1deg); }
.mini-toolbar { height: 27px; background: #f0f3ff; display: flex; gap: 5px; align-items: center; padding-left: 12px; }
.mini-toolbar i { width: 7px; height: 7px; background: #b9c5e9; border-radius: 50%; }
.forum-heading { background: var(--ink); color: #fff; font-size: .8rem; font-weight: 800; padding: 13px 16px; }
.forum-row { display: grid; grid-template-columns: 1fr 35px 35px; gap: 5px; padding: 11px 16px; color: var(--blue); border-bottom: 1px solid #e8ecf8; font-size: .72rem; font-weight: 700; }
.forum-row b { text-align: center; }
.transfer-mock { width: min(440px, 96%); display: grid; grid-template-columns: 1fr 54px 1fr; align-items: center; gap: 10px; }
.transfer-panel { min-height: 142px; padding: 18px 15px; border-radius: 17px; background: #fff; color: var(--blue); box-shadow: 0 16px 35px rgba(0,0,0,.22); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; text-align: center; }
.transfer-panel small { font-size: .58rem; font-weight: 900; letter-spacing: .1em; }
.transfer-panel > b { font-size: .7rem; }
.transfer-source { transform: rotate(-2deg); }
.transfer-destination { background: var(--lavender); transform: rotate(2deg); }
.transfer-pages { width: 78px; height: 49px; position: relative; }
.transfer-pages i { position: absolute; width: 48px; height: 42px; border-radius: 5px; background: #edf1ff; border-left: 5px solid var(--red); box-shadow: 0 5px 10px rgba(16,37,95,.12); }
.transfer-pages i:nth-child(1) { left: 0; top: 6px; transform: rotate(-7deg); }
.transfer-pages i:nth-child(2) { left: 15px; top: 3px; }
.transfer-pages i:nth-child(3) { left: 29px; top: 6px; transform: rotate(7deg); }
.transfer-arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.45rem; font-weight: 900; box-shadow: 0 10px 22px rgba(227,38,28,.28); animation: transfer-pulse 1.5s ease-in-out infinite; }
.transfer-check { display: grid; place-items: center; width: 53px; height: 53px; border-radius: 50%; background: #2f9e5b; color: #fff; font-size: 1.8rem; font-weight: 900; box-shadow: 0 8px 18px rgba(47,158,91,.25); }
.gallery-mock { width: min(430px, 96%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; transform: rotate(-1deg); }
.art-card { aspect-ratio: 4/5; border: 6px solid white; border-radius: 14px; display: flex; align-items: end; padding: 10px; color: #fff; box-shadow: 0 13px 25px rgba(0,0,0,.2); }
.art-card span { background: rgba(16,37,95,.82); border-radius: 6px; padding: 5px 7px; font-size: .57rem; font-weight: 900; }
.art-one { background: linear-gradient(145deg, #ff9c92, var(--red)); }
.art-two { background: linear-gradient(145deg, #8da8ed, #274caa); transform: translateY(-10px); }
.art-three { background: linear-gradient(145deg, #f4cf74, #dd6d2d); }
.audio-mock { width: min(420px, 94%); border-radius: 22px; background: #fff; padding: 23px; box-shadow: 0 16px 35px rgba(0,0,0,.22); transform: rotate(1deg); }
.book-lines { display: grid; gap: 9px; }
.book-lines i { height: 7px; border-radius: 5px; background: #dfe5f6; }
.book-lines i:nth-child(2), .book-lines i:nth-child(5) { width: 82%; }
.audio-control { margin-top: 23px; display: flex; align-items: center; gap: 15px; color: var(--blue); }
.audio-control > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; padding-left: 3px; }
.audio-control div { flex: 1; display: flex; gap: 4px; align-items: center; }
.audio-control i { width: 7px; height: 24px; border-radius: 5px; background: var(--blue-bright); animation: sound 1s ease-in-out infinite alternate; }
.audio-control i:nth-child(2n) { height: 38px; animation-delay: .2s; }
.ratings-mock { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 430px; }
.ratings-mock span { min-width: 96px; text-align: center; border: 4px solid rgba(255,255,255,.72); border-radius: 15px; padding: 17px 13px; box-shadow: 0 12px 25px rgba(0,0,0,.18); font-weight: 900; animation: pop .45s var(--delay) ease both; }
.ratings-mock span:nth-child(1) { background: #2f9e5b; color: #fff; }
.ratings-mock span:nth-child(2) { background: #f5dc68; color: #493b08; }
.ratings-mock span:nth-child(3) { background: #efb83f; color: #3f2c05; }
.ratings-mock span:nth-child(4) { background: #e9822f; color: #fff; }
.ratings-mock span:nth-child(5) { background: #d93636; color: #fff; }
.gift-mock { display: flex; align-items: center; gap: 26px; transform: rotate(-1deg); }
.gift-box { width: 120px; height: 105px; border-radius: 9px; background: var(--red); position: relative; box-shadow: 0 15px 30px rgba(0,0,0,.22); }
.gift-box::before { content: ''; position: absolute; width: 136px; height: 24px; background: #ff6258; left: -8px; top: -14px; border-radius: 7px; }
.gift-box i { position: absolute; width: 20px; height: 119px; left: 50px; top: -14px; background: #fff0cf; }
.gift-box b::before, .gift-box b::after { content: ''; position: absolute; width: 43px; height: 27px; border: 11px solid #fff0cf; top: -38px; }
.gift-box b::before { left: 13px; border-radius: 50% 50% 0 50%; transform: rotate(17deg); }
.gift-box b::after { right: 13px; border-radius: 50% 50% 50% 0; transform: rotate(-17deg); }
.gift-note { width: 190px; padding: 22px; background: #fff; color: var(--ink); border-radius: 5px; box-shadow: 0 14px 30px rgba(0,0,0,.2); font-family: Georgia, serif; font-size: 1.25rem; transform: rotate(3deg); }
.gift-note small { display: block; margin-top: 12px; color: var(--red-deep); font-family: Arial, sans-serif; font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.archive-mock { width: min(430px, 95%); display: grid; gap: 9px; }
.archive-search { background: #fff; border-radius: 12px; padding: 11px 14px; color: #8993ad; display: flex; justify-content: space-between; font-size: .72rem; box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.archive-search b { color: var(--red); font-size: 1rem; }
.story-card { background: #fff; border-radius: 11px; padding: 10px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.11); }
.story-card > i { width: 32px; height: 38px; flex: 0 0 32px; border-radius: 5px; background: linear-gradient(145deg, var(--lavender), #8ca7ec); border-left: 5px solid var(--red); }
.story-card div { display: grid; gap: 4px; }
.story-card b { color: var(--blue); font-size: .72rem; }
.story-card span { color: #7a849e; font-size: .58rem; }

.promise { width: min(1180px, calc(100% - 40px)); margin: 0 auto 50px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.promise div { min-height: 105px; padding: 26px 4vw; display: flex; align-items: center; gap: 15px; border-right: 1px solid var(--line); }
.promise div:last-child { border: 0; }
.promise span { font-family: Georgia, serif; color: var(--red); font-size: 1.65rem; }
.promise p { margin: 0; color: var(--muted); line-height: 1.4; }
.promise strong { display: block; color: var(--ink); }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 38px; display: flex; align-items: center; gap: 12px; color: var(--ink); position: relative; z-index: 1; }
footer img { width: 44px; height: 44px; }
footer p { margin: 0; font-size: .82rem; font-weight: 800; }
footer p span, footer small { color: var(--muted); font-weight: 400; }
footer small { margin-left: auto; }

@keyframes pulse { 50% { opacity: .5; transform: scale(.8); } }
@keyframes slide-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes sound { to { height: 12px; opacity: .55; } }
@keyframes pop { from { opacity: 0; transform: scale(.75); } to { opacity: 1; transform: scale(1); } }
@keyframes transfer-pulse { 50% { transform: translateX(5px); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 30px; }
  .hero-copy { text-align: center; }
  .hero h1, .intro { margin-left: auto; margin-right: auto; }
  .return-note { justify-content: center; text-align: left; }
  .showcase { max-width: 650px; width: 100%; margin: 0 auto; }
  .promise div { padding: 24px; }
}
@media (max-width: 620px) {
  .site-header, .hero, .promise, footer { width: min(100% - 26px, 1180px); }
  .site-header { padding-top: 14px; }
  .brand img { width: 68px; }
  .status { font-size: .62rem; padding: 8px 10px; }
  .hero { gap: 36px; padding-bottom: 44px; }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 4.7rem); }
  .intro { font-size: 1rem; }
  .showcase { border-radius: 23px; }
  .showcase-top { padding: 0 14px; }
  .showcase-top > span { max-width: 190px; }
  .slide-visual { min-height: 210px; padding: 20px 12px; }
  .slide-copy { padding: 22px 20px; }
  .slide { min-height: 470px; }
  .gallery-mock { gap: 6px; }
  .transfer-mock { transform: scale(.88); }
  .art-card { border-width: 4px; padding: 6px; }
  .gift-mock { gap: 12px; transform: scale(.8); }
  .promise { grid-template-columns: 1fr; }
  .promise div { min-height: 78px; border-right: 0; border-bottom: 1px solid var(--line); }
  footer { flex-wrap: wrap; }
  footer small { width: 100%; margin: 12px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
