:root {
  --ink: #151612;
  --paper: #fbfaf2;
  --paper-2: #f2f5ee;
  --green: #9fe4c2;
  --green-deep: #123f37;
  --yellow: #ffd84a;
  --coral: #ec604d;
  --blue: #79b8ff;
  --muted: rgba(21, 22, 18, 0.66);
  --line: rgba(21, 22, 18, 0.13);
  --radius: 8px;
  --shadow: 0 26px 80px rgba(21, 22, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(21, 22, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 22, 18, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.topbar {
  position: fixed;
  z-index: 30;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 10px 9px 12px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  background: rgba(251, 250, 242, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(21, 22, 18, 0.13);
}

.brand,
.topbar nav,
.hero-actions,
.hero-tags,
.menu-points {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.topbar nav {
  gap: 6px;
  color: rgba(21, 22, 18, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.topbar nav a {
  padding: 9px 12px;
  border-radius: 6px;
}

.topbar nav a:hover {
  background: rgba(21, 22, 18, 0.07);
  color: var(--ink);
}

.nav-download {
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  padding: 128px 40px 58px;
  color: #fff;
  background: #10110e;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.03) contrast(1.04);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 17, 14, 0.95) 0%, rgba(16, 17, 14, 0.82) 38%, rgba(16, 17, 14, 0.28) 100%),
    linear-gradient(0deg, rgba(16, 17, 14, 0.9) 0%, transparent 46%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, black 0%, transparent 72%);
  opacity: 0.34;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(690px, 100%);
  margin-top: 34px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 15px;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

h1,
h2 {
  font-family: "Songti SC", "Hiragino Mincho ProN", "STSong", Georgia, serif;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  font-size: 118px;
  line-height: 0.9;
}

h2 {
  font-size: 54px;
  line-height: 1.08;
}

h3 {
  font-size: 27px;
  line-height: 1.18;
  font-weight: 900;
}

.hero-line {
  max-width: 650px;
  margin-top: 22px;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.12;
}

.hero-copy {
  max-width: 610px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.76;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 18px 36px rgba(255, 216, 74, 0.24), inset 0 -3px 0 rgba(21, 22, 18, 0.16);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(14px);
}

.button-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(21, 22, 18, 0.13);
  font-size: 17px;
  line-height: 1;
}

.hero-tags {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 800;
}

.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-collage img {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.shot-menu {
  right: 80px;
  bottom: -95px;
  width: 318px;
  transform: rotate(-2deg);
}

.shot-water {
  right: 356px;
  bottom: 154px;
  width: 286px;
  transform: rotate(2deg);
}

.shot-body {
  right: 34px;
  bottom: 214px;
  width: 250px;
  transform: rotate(1deg);
}

.intro,
.care,
.menu-section,
.privacy,
.download {
  padding: 88px 40px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1fr);
  gap: 52px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(159, 228, 194, 0.24), rgba(255, 216, 74, 0.08)),
    var(--paper);
}

.intro .section-label {
  background: var(--coral);
  color: #fff;
}

.intro p:last-child,
.care-copy p,
.menu-copy p,
.privacy p,
.download p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.76;
}

.care {
  background: var(--paper-2);
}

.section-heading {
  display: grid;
  max-width: 1120px;
  margin: 0 auto 34px;
  grid-template-columns: minmax(180px, 0.36fr) minmax(420px, 1fr);
  gap: 38px;
  align-items: end;
}

.care .section-label,
.menu-section .section-label {
  background: var(--green);
}

.care-grid {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.care-card {
  display: flex;
  min-height: 584px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(21, 22, 18, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(21, 22, 18, 0.08);
}

.care-media {
  display: grid;
  min-height: 292px;
  margin: 0;
  place-items: center;
  overflow: hidden;
  background: #e9f6ee;
}

.care-media img {
  width: 100%;
  height: 292px;
  object-fit: cover;
}

.water-media,
.body-media {
  padding: 28px;
}

.water-media {
  background: #e9f4ff;
}

.body-media {
  background: #fff0ec;
}

.water-media img,
.body-media img {
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 45px rgba(21, 22, 18, 0.12);
}

.care-copy {
  padding: 28px;
}

.care-copy span {
  display: block;
  margin-bottom: 16px;
  color: var(--coral);
  font-family: "Songti SC", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 34px;
  font-weight: 900;
}

.care-copy p {
  margin-top: 14px;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quotes p {
  min-height: 128px;
  padding: 34px 32px;
  background: var(--paper);
  color: rgba(21, 22, 18, 0.82);
  font-family: "Songti SC", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.35;
}

.menu-section {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(260px, 360px);
  gap: 52px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 250, 242, 0.98), rgba(251, 250, 242, 0.7)),
    url("assets/rest-ultraman.png") center / cover no-repeat;
}

.menu-copy {
  max-width: 650px;
}

.menu-copy p {
  margin-top: 22px;
}

.menu-points {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.menu-points span {
  padding: 11px 12px;
  border: 1px solid rgba(21, 22, 18, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.menu-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 22, 18, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.menu-shot img {
  width: 100%;
}

.privacy {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(420px, 1fr);
  gap: 54px;
  align-items: end;
  background: #151612;
  color: #fff;
}

.privacy .section-label {
  background: var(--blue);
  color: var(--ink);
}

.privacy p {
  color: rgba(255, 255, 255, 0.7);
}

.download {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) auto;
  gap: 40px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 216, 74, 0.92), rgba(159, 228, 194, 0.86)),
    var(--yellow);
}

.download .section-label {
  background: var(--ink);
  color: #fff;
}

.download div {
  max-width: 800px;
}

.download p {
  margin-top: 18px;
}

.download-button {
  min-width: 164px;
  box-shadow: none;
}

.modal-open {
  overflow: hidden;
}

.platform-modal[hidden] {
  display: none;
}

.platform-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(16, 17, 14, 0.62);
  backdrop-filter: blur(14px);
}

.platform-modal-panel {
  width: min(520px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.platform-modal-panel h2 {
  font-size: 34px;
}

.platform-modal-panel p:not(.section-label) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.platform-modal-panel .button {
  margin-top: 24px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 40px;
  background: #10110e;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 88px;
  }

  h2 {
    font-size: 44px;
  }

  .hero-line {
    font-size: 32px;
  }

  .shot-menu {
    right: 24px;
    width: 280px;
  }

  .shot-water {
    right: 250px;
    width: 246px;
  }

  .shot-body {
    display: none;
  }

  .care-grid,
  .quotes {
    grid-template-columns: 1fr;
  }

  .care-card {
    min-height: auto;
  }

  .menu-section {
    grid-template-columns: minmax(320px, 1fr) minmax(240px, 310px);
  }
}

@media (max-width: 760px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
  }

  .topbar nav a:not(.nav-download) {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 108px 22px 44px;
  }

  .hero-bg img {
    object-position: center;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(16, 17, 14, 0.97) 0%, rgba(16, 17, 14, 0.8) 56%, rgba(16, 17, 14, 0.34) 100%);
  }

  .hero-content {
    margin-top: 144px;
  }

  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 24px;
  }

  .hero-line {
    font-size: 26px;
  }

  .hero-copy,
  .intro p:last-child,
  .care-copy p,
  .menu-copy p,
  .privacy p,
  .download p {
    font-size: 16px;
  }

  .shot-menu {
    right: -52px;
    bottom: 40px;
    width: 220px;
    opacity: 0.34;
  }

  .shot-water,
  .shot-body {
    display: none;
  }

  .intro,
  .care,
  .menu-section,
  .privacy,
  .download {
    padding: 62px 22px;
  }

  .intro,
  .section-heading,
  .menu-section,
  .privacy,
  .download {
    grid-template-columns: 1fr;
  }

  .care-copy,
  .water-media,
  .body-media {
    padding: 22px;
  }

  .care-media,
  .care-media img {
    min-height: 236px;
    height: 236px;
  }

  .water-media img,
  .body-media img {
    height: auto;
  }

  .quotes p {
    min-height: 110px;
    padding: 28px 22px;
    font-size: 22px;
  }

  .menu-section {
    background: var(--paper);
  }

  .menu-shot {
    max-height: 620px;
  }

  .download-button,
  .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
    padding: 26px 22px;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 54px;
  }

  .hero-line {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
