:root {
  color-scheme: dark;
  --night: #142234;
  --text: #edf3f8;
  --muted: #b1bfd0;
  --blue: #b0d2e9;
  --line: #334357;
  --rounded: ui-rounded, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--night);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse 60% 600px at 75% 250px, #22395170, transparent); }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .35em; }
a:hover { color: var(--blue); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 3px; }
::selection { color: #142234; background: #b0d2e9; }
.content-width { width: min(1080px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 12px 18px; color: #142234; background: #edf3f8; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; padding-block: 80px 70px; }
.app-brand { display: flex; align-items: center; gap: 18px; margin-bottom: 48px; }
.app-icon { width: 64px; height: 64px; border-radius: 15px; }
.app-name { font-family: var(--rounded); font-size: 27px; line-height: 1.4; font-weight: 600; letter-spacing: .07em; }
.app-name span { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: .12em; }
.eyebrow { color: var(--blue); font-size: 12px; line-height: 1.8; letter-spacing: .1em; }
h1 { margin-top: 16px; font-family: var(--rounded); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.65; letter-spacing: .07em; font-weight: 500; }
h1 span { display: block; }
.introduction { margin-top: 22px; color: var(--muted); font-size: 15px; line-height: 2.15; letter-spacing: .035em; }
.download { margin-top: 32px; }
.release-label { display: inline-block; padding: 15px 25px; border: 1px solid #b0d2e94d; border-radius: 14px; background: #b0d2e90e; color: var(--text); font-size: 15px; line-height: 1.5; font-weight: 500; letter-spacing: .04em; }
.compatibility { margin-top: 12px; font-size: 11px; color: var(--muted); line-height: 1.8; }
.compatibility span { padding-inline: 5px; }
.app-preview { justify-self: center; text-align: center; }
.phone-frame { width: 266px; padding: 7px; background: #253648; border: 1px solid #58708880; border-radius: 41px; box-shadow: 0 30px 80px #050f1e66, inset 0 0 0 2px #172536; }
.phone-frame img { border-radius: 33px; }
.app-preview figcaption { margin-top: 22px; color: var(--muted); font-family: var(--rounded); font-size: 12px; letter-spacing: .06em; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: 48px 58px; border-top: 1px solid var(--line); }
.feature-icon { color: var(--blue); margin-bottom: 20px; }
.feature h2 { font-family: var(--rounded); font-size: 17px; font-weight: 500; line-height: 1.8; letter-spacing: .02em; }
.feature p { color: var(--muted); font-size: 13px; line-height: 2.1; margin-top: 12px; }
.characters { padding-block: 65px 70px; border-top: 1px solid var(--line); text-align: center; }
.section-heading h2 { margin-top: 14px; font-family: var(--rounded); font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; line-height: 1.8; letter-spacing: .05em; }
.character-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; max-width: 900px; margin: 30px auto 0; }
.character-image { width: 340px; margin-inline: auto; }
.character-line { min-height: 76px; margin-top: 12px; font-family: var(--rounded); font-size: 16px; letter-spacing: .04em; line-height: 1.9; color: var(--blue); }
.bakizo .character-line { color: #e8b1a9; }
.character h3 { margin-top: 24px; font-family: var(--rounded); font-size: 21px; font-weight: 500; letter-spacing: .07em; }
.character-bio { margin-top: 14px; font-family: var(--rounded); font-size: 13px; line-height: 2.1; color: var(--muted); }
.character-note { margin-top: 48px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.closing { padding: 42px 24px 76px; text-align: center; background: linear-gradient(180deg, transparent, #1b304658); }
.sleeping-character { width: 180px; margin: 0 auto 18px; }
.closing h2 { font-family: var(--rounded); font-size: 25px; line-height: 1.8; font-weight: 500; letter-spacing: .08em; }
.closing-description { font-size: 13px; color: var(--muted); line-height: 2; margin: 16px 0 25px; }
.footer { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding-block: 30px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.footer a { text-decoration: none; padding-block: 12px; }
.footer a:hover { text-decoration: underline; }
.developer { margin-right: auto; }
.developer span { margin-left: 5px; }
.footer nav { display: flex; gap: 24px; }
.footer small { font-size: 10px; }
.mobile-break { display: none; }
@media (max-width: 1000px) {
  .content-width { width: calc(100% - 64px); }
  .hero { gap: 24px; }
  .features { gap: 24px; }
  .feature h2 { font-size: 15px; }
  .feature p { font-size: 12px; }
  .character-grid { gap: 32px; }
}
@media (max-width: 900px) {
  .content-width { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 42px 48px; text-align: center; }
  .app-brand { justify-content: center; gap: 14px; margin-bottom: 36px; text-align: left; }
  .app-icon { width: 54px; height: 54px; border-radius: 13px; }
  .app-name { font-size: clamp(19px, 5.5vw, 25px); }
  h1 { font-size: clamp(28px, 7.5vw, 38px); letter-spacing: .035em; }
  .introduction { font-size: 13px; margin-top: 20px; }
  .download { margin-top: 27px; }
  .phone-frame { width: 244px; border-radius: 37px; }
  .phone-frame img { border-radius: 29px; }
  .features { grid-template-columns: 1fr; gap: 40px; max-width: 440px; padding-block: 40px 45px; }
  .feature { text-align: center; }
  .feature-icon { display: block; margin: 0 auto 14px; }
  .feature h2 { font-size: 16px; }
  .feature p { font-size: 12px; margin-top: 8px; }
  .characters { padding-block: 46px; }
  .character-grid { grid-template-columns: 1fr; gap: 45px; margin-top: 25px; }
  .character-image { width: 290px; }
  .character-line { font-size: 15px; min-height: auto; margin-top: 10px; }
  .character h3 { margin-top: 20px; font-size: 21px; }
  .character-bio { font-size: 12px; }
  .character-note { margin-top: 36px; font-size: 11px; }
  .mobile-break { display: initial; }
  .closing { padding-block: 24px 50px; }
  .closing h2 { font-size: 22px; }
  .footer { flex-direction: column; gap: 12px; padding-block: 24px; }
  .developer { margin-right: 0; }
  .footer nav { gap: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .app-preview { animation: appear .7s ease-out both; }
  @keyframes appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
