:root {
  color-scheme: light;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--serif);
  color: #24312d;
  background: #faf5e8;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
img { display: block; height: auto; max-width: 100%; }

.site-header {
  align-items: center;
  background: #fdf8eb;
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 max(5vw, calc((100vw - 1320px) / 2));
  position: relative;
  z-index: 2;
}
.brand { align-items: center; display: inline-flex; gap: 11px; font-size: 27px; font-style: italic; font-weight: 700; text-decoration: none; }
.brand img { width: 35px; }
nav { align-items: center; display: flex; gap: clamp(18px, 3vw, 44px); }
nav a { font-family: var(--sans); font-size: 14px; font-weight: 700; text-decoration: none; }
nav a:hover, .text-link:hover { color: #a95835; }
.nav-platforms { border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.site-header { gap: 16px; flex-wrap: wrap; }
.site-header nav { margin-left: auto; }
.language-switch { align-items: center; display: flex; font: 700 13px/1 var(--sans); gap: 2px; }
.language-switch a { align-items: center; border-radius: 8px; display: inline-flex; justify-content: center; min-height: 44px; min-width: 40px; text-decoration: none; }
.language-switch a[aria-current="page"] { background: #e5ecda; color: #244b3c; }
.language-switch a:hover { background: #efe2c8; }
.language-switch a:focus-visible, .community-links a:focus-visible { outline: 3px solid #a45e40; outline-offset: 3px; }
.community { align-items: center; border-top: 1px solid #eadcc1; display: grid; gap: 8%; grid-template-columns: 1fr 1fr; padding-bottom: 76px; padding-top: 76px; }
.community-copy > p { color: #5d665d; font: 17px/1.65 var(--sans); }
.community-links { display: flex; flex-wrap: wrap; gap: 12px; }
.button-community { background: #e5ecda; color: #244b3c; }
.community-copy > .community-note { font-size: 13px; margin: 18px 0 0; }

.hero { background: #17352f; color: #fff8e8; min-height: 650px; overflow: hidden; position: relative; }
.hero-art {
  background-image: linear-gradient(90deg, #17352f 0%, rgba(23, 53, 47, .96) 28%, rgba(23, 53, 47, .6) 52%, rgba(23, 53, 47, .04) 100%), url("./assets/cover-mango-20261011.jpg");
  background-position: center, left 47vw center;
  background-repeat: no-repeat;
  background-size: cover, auto 100%;
  inset: 0;
  position: absolute;
}
.hero-leaves { inset: 0; overflow: hidden; pointer-events: none; position: absolute; z-index: 1; }
.hero-leaves span { animation: leaf-fall var(--duration) linear infinite; animation-delay: var(--delay); background: var(--color); border-radius: 100% 0 100% 0; height: 14px; left: var(--left); opacity: 0; position: absolute; top: -30px; width: 9px; }
.hero-leaves span:nth-child(1) { --left: 12%; --delay: -4s; --duration: 17s; --drift: 60px; --color: #d99a53; }
.hero-leaves span:nth-child(2) { --left: 32%; --delay: -13s; --duration: 21s; --drift: -45px; --color: #ecbe77; }
.hero-leaves span:nth-child(3) { --left: 51%; --delay: -7s; --duration: 19s; --drift: 75px; --color: #be7950; }
.hero-leaves span:nth-child(4) { --left: 67%; --delay: -17s; --duration: 23s; --drift: -70px; --color: #e3a761; }
.hero-leaves span:nth-child(5) { --left: 81%; --delay: -2s; --duration: 18s; --drift: 43px; --color: #f0c684; }
.hero-leaves span:nth-child(6) { --left: 94%; --delay: -11s; --duration: 22s; --drift: -63px; --color: #c48053; }
@keyframes leaf-fall { 0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg); } 12% { opacity: .6; } 76% { opacity: .55; } 100% { opacity: 0; transform: translate3d(var(--drift), 720px, 0) rotate(520deg); } }
.hero-content { margin: auto; max-width: 1320px; padding: 98px 5vw 96px; position: relative; }
.eyebrow, .section-kicker { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow { align-items: center; display: flex; gap: 10px; }
.eyebrow-dot { background: #e9b05c; border-radius: 50%; height: 8px; width: 8px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(60px, 6.6vw, 108px); font-weight: 500; letter-spacing: -.055em; line-height: 1.02; margin: 34px 0 28px; }
h1 em { color: #f5cb87; font-style: italic; }
.hero-description { color: #efe9d8; font-family: var(--sans); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { align-items: center; border: 1px solid transparent; border-radius: 999px; display: inline-flex; font-family: var(--sans); font-size: 15px; font-weight: 800; gap: 24px; justify-content: space-between; min-height: 54px; padding: 0 23px; text-decoration: none; transition: transform .2s, background-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #f6cc8a; color: #25392e; }
.button-primary:hover { background: #ffe1ae; }
.button-outline { border-color: rgba(255,255,255,.48); color: #fff8e8; }
.button-outline:hover { background: rgba(255,255,255,.1); }
.release-note { color: #c7d4c9; font-family: var(--sans); font-size: 13px; line-height: 1.65; margin: 19px 0 0; max-width: 560px; }

.section-shell { margin: auto; max-width: 1320px; padding-left: 5vw; padding-right: 5vw; }
.intro { padding-bottom: 112px; padding-top: 110px; }
.section-heading { align-items: end; display: grid; gap: 0 10%; grid-template-columns: 1fr 1fr; margin-bottom: 45px; }
.section-kicker { color: #a45e40; grid-column: 1 / -1; margin-bottom: 20px; }
h2 { font-size: clamp(40px, 4vw, 65px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; margin-bottom: 0; }
.section-heading > p:last-child, .gameplay-copy > p:not(.section-kicker) { color: #5d665d; font-family: var(--sans); font-size: 17px; line-height: 1.65; margin-bottom: 0; }
.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.feature-card { background: #fffaf0; border: 1px solid #eadcc1; border-radius: 18px; min-height: 245px; padding: 30px; transition: box-shadow .25s, transform .25s; }
.feature-card:hover { box-shadow: 0 16px 32px rgba(64, 60, 38, .08); transform: translateY(-4px); }
.feature-number { color: #b3714b; font-family: var(--sans); font-size: 13px; font-weight: 800; }
h3 { font-size: 26px; font-weight: 500; margin: 35px 0 14px; }
.feature-card p { color: #657067; font-family: var(--sans); font-size: 15px; line-height: 1.55; margin: 0; }

.platforms { padding-bottom: 96px; padding-top: 104px; }
.platform-grid { display: grid; gap: 14px; grid-template-columns: repeat(10, minmax(0, 1fr)); }
.platform-card { align-items: flex-start; background: transparent; border: 1px dashed #d9c7a5; border-radius: 16px; display: flex; flex-direction: column; grid-column: span 2; padding: 20px 20px 18px; }
.platform-card.platform-card-available { background: #edf3e5; border: 1px solid #a9bf93; border-radius: 22px; grid-column: span 5; padding: 30px 32px 30px; position: relative; }
.platform-card.platform-card-available:first-child { background: #183b35; border-color: #183b35; color: #fff4df; }
.platform-card-available:first-child .platform-format { color: #e8b976; }
.platform-card-available:first-child h3 { color: #fff4df; }
.platform-card-available:first-child .platform-description { color: #d8e0cf; }
.platform-card-available:first-child .platform-status { background: rgba(232, 185, 118, .16); color: #f5cb87; }
.platform-card-available:first-child .platform-status::before { background: #f5cb87; }
.platform-format { color: #9a6a4c; font: 700 10.5px/1.5 var(--sans); letter-spacing: .1em; margin-bottom: 10px; text-transform: uppercase; }
.platform-card h3 { color: #244b3c; font: 700 17px/1.25 var(--sans); margin: 0 0 8px; }
.platform-card-available h3 { font-family: var(--serif); font-size: 36px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 12px; }
.platform-description { color: #6b7369; font: 13.5px/1.5 var(--sans); margin-bottom: 16px; }
.platform-card-available .platform-description { font-size: 16px; margin-bottom: 26px; max-width: 360px; }
.platform-status { align-items: center; background: #f1e7d3; border-radius: 999px; color: #7a6248; display: inline-flex; font: 700 12px/1.4 var(--sans); gap: 7px; margin-top: auto; padding: 5px 11px; }
.platform-status::before { background: #c4a57a; border-radius: 50%; content: ""; height: 6px; width: 6px; }
.platform-card-available .platform-status { background: #dbe7cd; color: #31523b; font-size: 13px; padding: 7px 13px; position: absolute; right: 28px; top: 28px; }
.platform-card-available .platform-status::before { background: #698b50; }
.platform-download { font-size: 14px; gap: 14px; margin-top: auto; min-height: 50px; padding: 0 22px; }

.stories { align-items: center; display: grid; gap: 6%; grid-template-columns: 53% 41%; padding-bottom: 112px; scroll-margin-top: 32px; }
.story-frame { margin: 0; }
.story-frame img { background: #e9dfc8; border: 8px solid #fffaf0; border-radius: 20px; box-shadow: 0 18px 42px rgba(48, 58, 39, .1); width: 100%; }
.story-frame figcaption { color: #657067; font: 13px/1.5 var(--sans); margin-top: 14px; text-align: center; }
.story-copy h2 { margin-bottom: 26px; }
.story-copy > p:not(.section-kicker) { color: #5d665d; font: 17px/1.65 var(--sans); margin-bottom: 18px; }
.story-copy > .story-note { border-top: 1px solid #ddcdb1; font-size: 14px; margin-bottom: 0; padding-top: 20px; }
.gameplay { align-items: center; display: grid; gap: 7%; grid-template-columns: 36% 57%; padding-bottom: 125px; }
.gameplay-copy .section-kicker { margin-bottom: 22px; }
.gameplay-copy h2 { margin-bottom: 24px; }
.highlights { border-top: 1px solid #ddcdb1; color: #4b5d4e; font-family: var(--sans); font-size: 15px; line-height: 1.5; list-style: none; margin: 29px 0 26px; padding: 18px 0 0; }
.highlights li { padding: 7px 0 7px 22px; position: relative; }
.highlights li::before { background: #b9794e; border-radius: 50%; content: ""; height: 6px; left: 3px; position: absolute; top: 16px; width: 6px; }
.text-link { border-bottom: 1px solid currentColor; color: #225e4d; display: inline-block; font-family: var(--sans); font-size: 15px; font-weight: 800; padding-bottom: 5px; text-decoration: none; }
.gameplay-image { margin: 0; }
.gameplay-image video { background: #183b35; border: 8px solid #efe2c8; border-radius: 19px; box-shadow: 0 24px 60px rgba(72, 51, 29, .16); display: block; height: auto; width: 100%; }
figcaption { color: #777667; font-family: var(--sans); font-size: 12px; margin-top: 12px; text-align: right; }

.moments { background: #183b35; color: #fff4df; overflow: hidden; padding: 102px 0 108px; }
.moments-heading { align-items: end; display: grid; gap: 40px; grid-template-columns: 1.15fr .65fr; margin-bottom: 42px; }
.moments .section-kicker { color: #e8b976; }
.moments-heading > p { color: #d8e0cf; font-family: var(--sans); font-size: 17px; line-height: 1.65; margin: 0 0 6px; }
.gallery-hint { display: none; }
.moment-gallery { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.moment-card { align-items: center; background: #2a4b40; border: 1px solid rgba(246, 226, 192, .23); border-radius: 28px; display: flex; flex-direction: column; margin: 0; overflow: hidden; padding: 24px 14px; }
.moment-screen { background: #122e29; border: 8px solid #cfb88d; border-radius: 28px; box-shadow: 0 28px 48px rgba(6, 20, 16, .34); max-width: 280px; overflow: hidden; width: 100%; }
.moment-screen img { width: 100%; }
.moment-card figcaption { align-self: stretch; color: #fff4df; display: flex; flex-direction: column; gap: 8px; margin-top: 23px; text-align: center; }
.moment-card figcaption span { color: #e8b976; font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.moment-card figcaption strong { font-size: 18px; font-weight: 500; line-height: 1.4; }
.cafe-film { align-items: center; border-top: 1px solid rgba(246, 226, 192, .2); display: grid; gap: 50px; grid-template-columns: 220px minmax(0, 480px); justify-content: center; margin-top: 56px; padding-top: 42px; }
.cafe-film-video { margin: 0; }
.cafe-film-video video { background: #122e29; border: 6px solid #cfb88d; border-radius: 22px; display: block; height: auto; width: 100%; }
.cafe-film-video figcaption { color: #d8e0cf; text-align: center; }
.cafe-film-copy h3 { font-size: 38px; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 22px; }
.cafe-film-copy > p:last-child { color: #d8e0cf; font-family: var(--sans); font-size: 16px; line-height: 1.65; margin-bottom: 0; }
.moments-action { margin-top: 36px; }

@media (min-width: 801px) and (max-width: 1100px) {
  .moment-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .platform-card.platform-card-available { grid-column: span 3; }
  .platform-card { grid-column: span 2; }
  .platform-card.platform-card-planned { grid-column: span 4; }
  .platform-card-available .platform-status { margin: 0 0 18px; position: static; }
}

.info-page { max-width: 980px; padding-bottom: 110px; padding-top: 95px; }
.info-page h1 { color: #203f35; font-size: clamp(48px, 6vw, 75px); margin: 16px 0 27px; }
.info-lead { color: #4e6055; font-family: var(--sans); font-size: 19px; line-height: 1.65; margin-bottom: 58px; }
.info-page section { border-top: 1px solid #ddcdb1; padding: 35px 0; }
.info-page h2 { font-size: 29px; margin-bottom: 16px; }
.info-page section p { color: #5d665d; font-family: var(--sans); font-size: 16px; line-height: 1.7; margin-bottom: 0; }
.info-page a:not(.button) { color: #225e4d; text-underline-offset: 3px; }
.info-updated { color: #777667; font-family: var(--sans); font-size: 13px; margin: 8px 0 30px; }

.site-footer { background: #183b35; color: #f6e9cc; }
.footer-inner { align-items: center; border-top: 1px solid rgba(246, 226, 192, .2); display: flex; gap: 26px; justify-content: space-between; min-height: 118px; }
.footer-brand { font-size: 25px; font-style: italic; font-weight: 700; }
.footer-brand span { color: #e8b976; font-size: 17px; padding-left: 7px; }
.site-footer p { color: #d1d9c9; font-family: var(--sans); font-size: 13px; margin: 0; }
.site-footer a { font-family: var(--sans); font-size: 13px; text-decoration: none; }
.site-footer a:hover { color: #f5cb87; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-grid { display: grid; gap: 40px 6%; grid-template-columns: 1.4fr 1fr 1fr; padding-bottom: 56px; padding-top: 56px; }
.footer-about p { line-height: 1.6; margin-top: 14px; max-width: 340px; }
.footer-about p a { border-bottom: 1px solid rgba(245, 203, 135, .5); color: #f5cb87; }
.footer-column { display: flex; flex-direction: column; gap: 9px; }
.footer-column .footer-links { gap: 9px; }
.site-footer .footer-title { color: #e8b976; font-size: 11px; font-weight: 800; letter-spacing: .16em; margin-bottom: 6px; text-transform: uppercase; }
.site-footer .footer-mail { color: #fff4df; font-size: 16px; font-weight: 700; }
.footer-grid a { color: #d8e0cf; }

@media (max-width: 800px) {
  .site-header { column-gap: 8px; }
  .community { gap: 28px; grid-template-columns: 1fr; }
  .site-header { min-height: 68px; padding: 0 20px; }
  .brand { font-size: 24px; }
  nav a:not(.nav-platforms) { display: none; }
  .hero { min-height: 660px; }
  .hero-art { background-image: linear-gradient(0deg, #17352f 3%, rgba(23,53,47,.84) 38%, rgba(23,53,47,.08) 100%), url("./assets/cover-mango-20261011.jpg"); background-position: center, 31% top; background-size: cover, auto 66%; background-repeat: no-repeat; }
  .hero-content { padding: 300px 22px 46px; }
  h1 { font-size: clamp(50px, 13vw, 75px); margin: 18px 0; }
  .hero-description { font-size: 16px; }
  .section-shell { padding-left: 22px; padding-right: 22px; }
  .intro { padding-bottom: 76px; padding-top: 76px; }
  .section-heading, .gameplay { display: block; }
  .section-heading > p:last-child { margin-top: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 24px; }
  .platforms { padding-bottom: 58px; padding-top: 64px; }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .platform-card { grid-column: auto; padding: 16px; }
  .platform-card.platform-card-available { grid-column: 1 / -1; padding: 24px; }
  .platform-card-available h3 { font-size: 30px; }
  .platform-card-available .platform-status { position: static; margin: 0 0 18px; }
  .platform-card.platform-card-planned { grid-column: 1 / -1; }
  .platform-download { margin-top: 0; }
  h3 { margin: 18px 0 10px; }
  .gameplay { padding-bottom: 80px; }
  .stories { gap: 32px; grid-template-columns: 1fr; padding-bottom: 80px; }
  .story-copy { grid-row: 1; }
  .story-copy > p:not(.section-kicker) { font-size: 16px; }
  .story-copy > .story-note { font-size: 14px; }
  .gameplay-image { margin-top: 36px; }
  .moments { padding: 76px 0 84px; }
  .moments-heading { display: block; }
  .moments-heading > p { margin-top: 24px; }
  .gallery-hint { color: #e8b976; display: block; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; margin: -14px 0 17px; text-transform: uppercase; }
  .moment-gallery { gap: 14px; grid-auto-columns: min(80vw, 350px); grid-auto-flow: column; grid-template-columns: none; margin-right: -22px; overflow-x: auto; padding: 0 22px 18px 0; scroll-snap-type: x mandatory; }
  .moment-card { padding: 23px 16px 22px; scroll-snap-align: start; }
  .moment-screen { max-width: 235px; }
  .moment-card figcaption strong { font-size: 18px; }
  .cafe-film { gap: 30px; grid-template-columns: 1fr; justify-items: center; margin-top: 34px; padding-top: 34px; }
  .cafe-film-video { max-width: 220px; width: 100%; }
  .cafe-film-copy { max-width: 480px; text-align: center; }
  .cafe-film-copy h3 { font-size: 32px; }
  .info-page { padding-bottom: 80px; padding-top: 70px; }
  .info-lead { font-size: 17px; }
  .info-page h2 { font-size: 25px; }
  .footer-grid { gap: 30px; grid-template-columns: 1fr; padding-bottom: 36px; padding-top: 40px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; padding-bottom: 28px; padding-top: 28px; }
}

@media (max-width: 390px) {
  .nav-platforms { font-size: 12px; }
  .hero-content { padding-top: 275px; }
  .hero-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-leaves { display: none; }
  .button, .feature-card { transition: none; }
  .button:hover, .feature-card:hover { transform: none; }
}

/* Интерьер и активные эффекты, обновление 11 октября. */
.brand img { border-radius: 11px; }
.interior-story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8%; padding-bottom: 110px; }
.interior-story-copy { border-left: 2px solid #c59358; padding-left: 32px; color: #5d665d; font: 17px/1.75 var(--sans); }
.interior-story-copy p { margin: 0 0 20px; }
.interior-story-copy p:last-child { margin-bottom: 0; }
.interior-story-copy strong { color: #244b3c; }
@media (max-width: 800px) {
  .interior-story { grid-template-columns: 1fr; gap: 28px; padding-bottom: 80px; }
  .interior-story-copy { padding-left: 22px; font-size: 16px; }
}
