:root {
  --ink: #251e1a;
  --ink-soft: #5f554d;
  --paper: #fffaf5;
  --paper-deep: #f8eee5;
  --cream: #fffdf9;
  --line: #e9ded3;
  --accent: #e95b39;
  --accent-deep: #cc4527;
  --sage: #d8e7e1;
  --sage-deep: #8daea1;
  --yellow: #f7ca74;
  --shadow: 0 24px 70px rgba(62, 44, 32, .13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
svg { width: 1em; height: 1em; fill: currentColor; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; transform: translateY(-160%); transition: transform .18s ease; }
.skip-link:focus { transform: translateY(0); outline: 3px solid rgba(233, 91, 57, .45); outline-offset: 3px; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.hero { position: relative; overflow: clip; background: linear-gradient(146deg, #fffaf5 0%, #fffaf5 55%, #f5eee8 100%); }
.hero__glow { position: absolute; pointer-events: none; border-radius: 999px; filter: blur(2px); }
.hero__glow--one { width: 480px; height: 480px; top: -205px; right: -110px; background: rgba(216, 231, 225, .78); }
.hero__glow--two { width: 230px; height: 230px; bottom: 24px; left: -120px; background: rgba(247, 202, 116, .19); }
.site-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 104px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 21px; font-weight: 850; letter-spacing: -.04em; }
.brand__mark { display: grid; width: 46px; height: 46px; place-items: center; overflow: hidden; border: 1px solid rgba(37, 30, 26, .09); border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(49, 39, 30, .09); }
.brand__mark img { width: 62px; height: 62px; object-fit: cover; object-position: 50% 27%; }
.header-download, .final-download { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; gap: 8px; border: 1px solid rgba(37, 30, 26, .12); border-radius: 999px; background: rgba(255, 255, 255, .75); box-shadow: 0 8px 22px rgba(49, 39, 30, .06); color: var(--ink); padding: 0 18px; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.header-download svg, .final-download svg { width: 19px; height: 19px; }
.header-download:hover, .final-download:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 14px 25px rgba(49, 39, 30, .12); }
.header-download:focus-visible, .apk-button:focus-visible, .ios-button:focus-visible, .final-download:focus-visible, .mobile-download a:focus-visible { outline: 3px solid rgba(233, 91, 57, .4); outline-offset: 4px; }

.hero__layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .85fr); align-items: center; gap: 64px; min-height: 645px; padding: 46px 0 86px; }
.hero__content { padding: 10px 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--accent-deep); font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 2px; background: currentColor; border-radius: 99px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 22px; font-size: clamp(46px, 5.3vw, 72px); line-height: 1.12; letter-spacing: -.065em; }
h1 em { position: relative; color: var(--accent); font-style: normal; }
h1 em::after { position: absolute; right: 2%; bottom: -4px; left: 2%; height: 8px; border-radius: 50%; background: rgba(247, 202, 116, .55); content: ""; transform: rotate(-1.5deg); z-index: -1; }
.hero__lead { max-width: 550px; margin-bottom: 22px; color: var(--ink-soft); font-size: 18px; line-height: 1.78; }
.availability { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; border-radius: 999px; background: rgba(216, 231, 225, .7); color: #355f54; padding: 8px 12px; font-size: 13px; font-weight: 750; }
.availability__dot { width: 8px; height: 8px; border-radius: 99px; background: #4c9a81; box-shadow: 0 0 0 4px rgba(76, 154, 129, .14); }
.download-card { max-width: 510px; padding: 22px; border: 1px solid rgba(37, 30, 26, .09); border-radius: 24px; background: rgba(255, 255, 255, .84); box-shadow: var(--shadow); }
.download-card__heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.download-card__eyebrow { margin: 0 0 4px; color: var(--ink-soft); font-size: 12px; font-weight: 750; }
.download-card h2 { margin: 0; font-size: 24px; letter-spacing: -.05em; }
.download-card__badge { border-radius: 999px; background: #e4f0eb; color: #397664; padding: 7px 10px; font-size: 12px; font-weight: 800; }
.apk-button { display: flex; align-items: center; min-height: 76px; gap: 13px; border-radius: 18px; background: var(--ink); color: white; padding: 12px 15px; text-decoration: none; box-shadow: 0 12px 22px rgba(37, 30, 26, .17); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.apk-button:hover { background: #3c3029; transform: translateY(-2px); box-shadow: 0 17px 28px rgba(37, 30, 26, .2); }
.apk-button__icon { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 14px; background: var(--accent); font-size: 27px; }
.apk-button small, .apk-button strong { display: block; line-height: 1.12; }
.apk-button small { margin-bottom: 5px; color: rgba(255,255,255,.67); font-size: 12px; font-weight: 700; }
.apk-button strong { font-size: 18px; font-weight: 850; }
.apk-button__arrow { width: 22px; height: 22px; margin-left: auto; color: #fff; }
.ios-button { display: flex; align-items: center; min-height: 68px; gap: 13px; margin-top: 10px; border: 1px solid #d6e4de; border-radius: 18px; background: #f4faf7; color: var(--ink); padding: 10px 15px; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.ios-button:hover { background: #eaf5ef; transform: translateY(-2px); box-shadow: 0 13px 24px rgba(53, 95, 84, .13); }
.ios-button__icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 13px; background: #d8e7e1; color: #355f54; font-size: 24px; }
.ios-button small, .ios-button strong { display: block; line-height: 1.12; }
.ios-button small { margin-bottom: 5px; color: #6c7f76; font-size: 12px; font-weight: 700; }
.ios-button strong { font-size: 17px; font-weight: 850; }
.ios-button__arrow { width: 22px; height: 22px; margin-left: auto; color: #355f54; }
.download-card__note { margin: 12px 2px 0; color: #867b73; font-size: 13px; line-height: 1.5; }
.store-status { display: flex; max-width: 550px; align-items: flex-start; gap: 8px; margin: 16px 0 0; color: #766a61; font-size: 13px; line-height: 1.6; }
.store-status svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; color: #a5988d; }

.hero-visual { position: relative; min-height: 540px; align-self: stretch; }
.hero-visual__shape { position: absolute; pointer-events: none; }
.hero-visual__shape--circle { top: 12px; right: 10px; width: 380px; height: 380px; border-radius: 46% 54% 58% 42% / 48% 39% 61% 52%; background: var(--sage); transform: rotate(19deg); }
.hero-visual__shape--star { right: 56px; bottom: 38px; width: 78px; height: 78px; background: var(--yellow); clip-path: polygon(50% 0%, 61% 37%, 100% 50%, 61% 63%, 50% 100%, 39% 63%, 0% 50%, 39% 37%); transform: rotate(-13deg); }
.phone-frame { position: absolute; z-index: 2; top: 22px; left: 50%; width: min(276px, 61vw); overflow: hidden; border: 8px solid #24201d; border-radius: 39px; background: #24201d; box-shadow: 0 31px 65px rgba(37, 30, 26, .27); transform: translateX(-50%) rotate(4deg); }
.phone-frame::before { position: absolute; z-index: 2; top: 0; left: 50%; width: 92px; height: 18px; border-radius: 0 0 14px 14px; background: #24201d; content: ""; transform: translateX(-50%); }
.phone-frame__speaker { position: absolute; z-index: 3; top: 7px; left: 50%; width: 37px; height: 4px; border-radius: 99px; background: #3a3530; transform: translateX(-50%); }
.phone-frame img { width: 100%; height: auto; border-radius: 31px; }
.hero-visual__tag { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(37, 30, 26, .08); border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 12px 28px rgba(55, 40, 31, .12); padding: 9px 12px; color: var(--ink); font-size: 13px; font-weight: 800; white-space: nowrap; }
.hero-visual__tag svg { width: 17px; height: 17px; color: var(--accent); }
.hero-visual__tag--books { top: 104px; left: 8px; transform: rotate(-6deg); }
.hero-visual__tag--create { right: -4px; bottom: 142px; transform: rotate(5deg); }
.logo-card { position: absolute; z-index: 4; bottom: 6px; left: 18px; display: flex; align-items: center; gap: 9px; border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 15px 32px rgba(55, 40, 31, .13); padding: 7px 12px 7px 7px; color: var(--ink-soft); font-size: 12px; font-weight: 750; transform: rotate(-3deg); }
.logo-card img { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; object-position: 50% 26%; }

.features { padding: 108px 0 104px; background: var(--cream); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr); align-items: end; gap: 32px; margin-bottom: 36px; }
h2 { margin-bottom: 0; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.15; letter-spacing: -.06em; }
.section-heading::after { align-self: center; max-width: 375px; border-top: 1px solid var(--line); content: ""; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { position: relative; min-height: 300px; overflow: hidden; border-radius: 25px; padding: 30px; }
.feature-card--books { background: #e0eee9; }
.feature-card--create { background: #f9dfd5; }
.feature-card--discover { background: #f9ebc8; }
.feature-card__number { position: absolute; top: 25px; right: 26px; color: rgba(37,30,26,.35); font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.feature-card__icon { display: grid; width: 54px; height: 54px; margin-bottom: 55px; place-items: center; border-radius: 18px; background: rgba(255,255,255,.83); font-size: 27px; }
.feature-card--books .feature-card__icon { color: #397664; }
.feature-card--create .feature-card__icon { color: var(--accent-deep); }
.feature-card--discover .feature-card__icon { color: #a36e13; }
.feature-card h3 { margin-bottom: 11px; font-size: 22px; letter-spacing: -.05em; }
.feature-card p { max-width: 270px; margin-bottom: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.72; }

.download-guide { padding: 0 0 108px; background: var(--cream); }
.guide-card { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 436px; overflow: hidden; border-radius: 32px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.guide-card__copy { padding: 62px; }
.eyebrow--light { color: #f6bd73; }
.guide-card h2 { color: white; margin-bottom: 25px; }
.guide-card ol { display: grid; gap: 13px; max-width: 485px; margin: 0; padding: 0; list-style: none; counter-reset: guide; }
.guide-card li { display: grid; grid-template-columns: 27px 1fr; gap: 10px; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.6; }
.guide-card li::before { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid rgba(255,255,255,.21); border-radius: 50%; color: #f8ca79; content: counter(guide); counter-increment: guide; font-size: 12px; font-weight: 800; }
.guide-card strong { color: white; }
.guide-card__art { position: relative; overflow: hidden; background: linear-gradient(147deg, #ca674d, #ed8d60); }
.guide-card__art::before { position: absolute; inset: -5% -25% auto auto; width: 330px; height: 330px; border: 44px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.guide-card__book { position: absolute; right: 22%; bottom: 67px; width: 194px; height: 160px; border-radius: 15px 20px 22px 15px; background: #fff3dc; box-shadow: -14px 19px 0 rgba(97, 47, 33, .16); transform: rotate(-10deg); }
.guide-card__book::before { position: absolute; top: 16px; bottom: 17px; left: 50%; width: 2px; background: #d6b795; content: ""; }
.guide-card__book::after { position: absolute; top: 40px; left: 29px; width: 58px; height: 7px; border-radius: 999px; background: #d9bc9b; box-shadow: 0 18px 0 #d9bc9b, 78px 0 0 #d9bc9b, 78px 18px 0 #d9bc9b; content: ""; }
.guide-card__leaf { position: absolute; width: 77px; height: 124px; border-radius: 100% 0 100% 0; background: #7ca08f; }
.guide-card__leaf--one { top: 55px; left: 75px; transform: rotate(-38deg); }
.guide-card__leaf--two { right: 52px; bottom: 15px; background: #aec4b4; transform: rotate(46deg) scale(.75); }
.guide-card__paw { position: absolute; top: 67px; right: 77px; width: 93px; height: 91px; transform: rotate(17deg); }
.guide-card__paw i, .guide-card__paw b { position: absolute; display: block; border-radius: 50%; background: rgba(37,30,26,.82); }
.guide-card__paw i { top: 0; width: 27px; height: 34px; }
.guide-card__paw i:nth-child(1) { left: 0; transform: rotate(-18deg); }
.guide-card__paw i:nth-child(2) { left: 34px; transform: rotate(5deg); }
.guide-card__paw i:nth-child(3) { right: 0; transform: rotate(21deg); }
.guide-card__paw b { bottom: 0; left: 15px; width: 67px; height: 57px; }

.final-cta { padding: 90px 0; background: var(--paper-deep); }
.final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta h2 { max-width: 640px; }
.final-download { min-height: 58px; flex: 0 0 auto; border: 0; background: var(--accent); box-shadow: 0 14px 28px rgba(204, 69, 39, .22); color: white; padding: 0 25px; font-size: 15px; }
.final-download:hover { background: var(--accent-deep); }
.footer { border-top: 1px solid rgba(37,30,26,.08); background: var(--paper-deep); color: #766a61; padding: 25px 0 calc(25px + env(safe-area-inset-bottom)); font-size: 13px; }
.footer .container { display: flex; justify-content: space-between; gap: 12px; }
.mobile-download { display: none; }

@media (max-width: 920px) {
  .hero__layout { grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr); gap: 28px; }
  .hero-visual { min-height: 500px; }
  .phone-frame { width: min(250px, 60vw); }
  .hero-visual__tag--books { left: -12px; }
  .hero-visual__tag--create { right: -20px; }
  .guide-card__copy { padding: 50px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 1120px); }
  .site-header { min-height: 84px; }
  .header-download { display: none; }
  .hero__layout { grid-template-columns: 1fr; gap: 8px; min-height: auto; padding: 30px 0 62px; }
  .hero__content { padding: 0; }
  h1 { max-width: 570px; font-size: clamp(42px, 11.5vw, 58px); }
  .hero__lead { max-width: 600px; font-size: 16px; }
  .download-card { max-width: 100%; padding: 18px; border-radius: 21px; }
  .hero-visual { width: min(100%, 460px); min-height: 490px; margin: 10px auto 0; }
  .hero-visual__shape--circle { right: 7%; width: 335px; height: 335px; }
  .phone-frame { top: 20px; width: 250px; }
  .hero-visual__tag--books { top: 89px; left: 0; }
  .hero-visual__tag--create { right: -5px; bottom: 125px; }
  .logo-card { bottom: 12px; left: 8px; }
  .features { padding: 75px 0 72px; }
  .section-heading { display: block; margin-bottom: 27px; }
  .section-heading::after { display: none; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { min-height: 220px; padding: 26px; }
  .feature-card__icon { margin-bottom: 35px; }
  .feature-card p { max-width: 340px; }
  .download-guide { padding-bottom: 72px; }
  .guide-card { grid-template-columns: 1fr; min-height: auto; }
  .guide-card__copy { padding: 42px 30px 38px; }
  .guide-card__art { min-height: 244px; }
  .guide-card__book { right: 27%; bottom: 39px; transform: rotate(-7deg) scale(.86); transform-origin: bottom right; }
  .guide-card__paw { top: 45px; right: 58px; transform: rotate(17deg) scale(.77); }
  .guide-card__leaf--one { top: 40px; left: 38px; transform: rotate(-38deg) scale(.8); }
  .final-cta { padding: 68px 0 105px; }
  .final-cta__inner { display: block; }
  .final-download { display: none; }
  .footer { padding-bottom: 96px; }
  .footer .container { align-items: center; flex-direction: column; text-align: center; }
  .mobile-download { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: block; padding: 11px 16px calc(11px + env(safe-area-inset-bottom)); background: rgba(255,250,245,.92); box-shadow: 0 -12px 32px rgba(37,30,26,.12); backdrop-filter: blur(14px); }
  .mobile-download a { display: flex; align-items: center; justify-content: center; min-height: 52px; gap: 9px; border-radius: 16px; background: var(--accent); color: #fff; box-shadow: 0 10px 20px rgba(204,69,39,.22); font-size: 16px; font-weight: 850; text-decoration: none; }
  .mobile-download svg { width: 20px; height: 20px; }
}
@media (max-width: 390px) {
  .brand__name { font-size: 19px; }
  .hero-visual { min-height: 465px; }
  .phone-frame { width: 231px; }
  .hero-visual__tag { padding: 8px 9px; font-size: 12px; }
  .hero-visual__tag--create { right: -10px; }
  .guide-card__copy { padding-right: 24px; padding-left: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
