/* Base */
:root {
  --brand: #1877f2;
  --text: #1c1e21;
  --muted: #606770;
  --bg: #ffffff;
  --container: 1360px;
  --header-h: 64px;
  --footer-h: 52px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow: hidden; /* single-screen layout */
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #f0f2f5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-logo { height: 28px; width: auto; display: block; }

.nav {
  display: flex; align-items: center;
}

.nav-toggle {
  display: none;
  width: 36px; height: 28px;
  border: 0; background: transparent; padding: 0; margin: 0;
}
.nav-toggle .bar { display: block; height: 2px; background: #111; margin: 6px 0; width: 100%; }

.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 24px;
}
.nav-list a {
  display: inline-block; padding: 10px 0;
  color: var(--text); text-decoration: none; font-weight: 500;
}
.nav-list a:hover { color: var(--brand); }

/* Hero */
.hero { padding: 32px 0 16px; height: calc(100vh - var(--header-h) - var(--footer-h)); display: flex; align-items: center; }
.hero-inner { width: 100%; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px; }

.hero-title {
  font-size: clamp(40px, 6.2vw, 88px);
  line-height: 1.05;
  font-weight: 900;
  color: var(--brand);
  margin: 0 0 16px;
}
.br-md { display: none; }

.hero-subtitle {
  font-size: 16px; line-height: 1.8; color: var(--muted);
  margin: 0 0 24px;
}

.store-badges { display: flex; gap: 12px; }
.store-badges img { height: 44px; width: auto; display: block; }

.hero-visual { position: relative; height: clamp(420px, 58vh, 640px); }
.hero-visual .sticker {
  position: absolute; left: 30px; top: 40px; width: 180px; height: auto;
}
.hero-visual .phone {
  position: absolute; right: 40px; top: 0; width: min(500px, 44vw);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.15));
}
.hero-visual .heart {
  position: absolute; right: 0; bottom: 40px; width: 240px; height: auto; opacity: .9;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero { padding: 20px 0 12px; height: calc(100vh - var(--header-h) - var(--footer-h)); }
  .hero-visual { order: -1; height: clamp(360px, 50vh, 520px); margin-bottom: 12px; }
  .br-md { display: inline; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-block; }
  .nav-list { position: absolute; right: 24px; top: 64px; background: #fff; border: 1px solid #eef0f2; border-radius: 12px; padding: 12px 16px; display: none; flex-direction: column; gap: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
  .nav-list.open { display: flex; }
  .hero-visual { height: 440px; }
  .hero-visual .sticker { left: 0; top: 20px; width: 130px; }
  .hero-visual .phone { right: 10px; width: min(360px, 70vw); }
  .hero-visual .heart { right: 10px; width: 160px; bottom: 10px; }
}

@media (max-width: 480px) {
  .store-badges img { height: 36px; }
}

/* Footer */
.site-footer {
  border-top: 1px solid #f0f2f5;
  background: #fff;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  height: 52px;
}
.footer-left { color: #6b7280; font-size: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; }
.footer-links a { color: #1c1e21; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--brand); }
.footer-right { display: flex; align-items: center; gap: 8px; }
.footer-right .from { color: #9aa0a6; font-size: 12px; }
.footer-right .meta-mark { height: 22px; width: auto; display: block; }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; height: auto; padding: 10px 0; }
  .footer-left { order: 3; text-align: center; }
  .footer-links { order: 1; justify-content: center; flex-wrap: wrap; }
  .footer-right { order: 2; justify-content: center; }
}


