:root {
  --bg: #f5f1ea;
  --bg-soft: #fbf9f4;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #1d2428;
  --muted: #55636c;
  --line: rgba(29, 36, 40, 0.12);
  --blue: #2f89c7;
  --blue-deep: #1f5d8b;
  --gold: #c68a56;
  --gold-deep: #9a6339;
  --shadow: 0 14px 40px rgba(20, 35, 48, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1160px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(198, 138, 86, 0.08), transparent 28%),
    linear-gradient(180deg, #fcfbf8 0%, var(--bg) 50%, #f0ede7 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 96px 0; }
.section-muted {
  background: linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.48));
  border-top: 1px solid rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(29,36,40,0.05);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(245, 241, 234, 0.74);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.header-nav a:hover,
.footer-links a:hover { color: var(--blue-deep); }

.hero {
  padding-top: 64px;
  overflow: clip;
}

.hero-grid,
.section-grid,
.author-grid,
.book-grid,
.quote-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.reverse { grid-template-columns: 0.95fr 1.05fr; }

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  max-width: 12ch;
}

.section h2 {
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  max-width: 14ch;
}

.hero-lead,
.section-heading p,
.section-grid p,
.author-copy p,
.book-copy p,
.final-cta p,
.quote-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 58ch;
}

.hero-points,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-points span,
.badge-row span {
  padding: 10px 14px;
  border: 1px solid rgba(47, 137, 199, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-deep);
  font-size: 0.92rem;
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.centered { justify-content: center; }

.btn,
.sticky-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.sticky-link:hover { transform: translateY(-1px); }

.btn-primary,
.sticky-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(154, 99, 57, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(47, 137, 199, 0.2);
  color: var(--blue-deep);
}

.hero-stats {
  margin: 34px 0 0;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(29, 36, 40, 0.08);
  box-shadow: var(--shadow);
}

.hero-stats dt {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-stats dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.hero-visuals {
  position: relative;
  min-height: 640px;
}

.visual-card,
.book-card,
.frame,
.app-card,
.compare-card,
.purchase-box {
  background: var(--surface-strong);
  border: 1px solid rgba(29, 36, 40, 0.08);
  box-shadow: var(--shadow);
}

.visual-card,
.book-card,
.frame,
.book-visual,
.app-card,
.compare-card,
.purchase-box,
.soft-frame {
  border-radius: var(--radius);
  overflow: hidden;
}

.visual-card-large {
  width: min(100%, 600px);
  margin-left: auto;
}

.visual-card img,
.book-card img,
.frame img,
.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-card {
  position: absolute;
  bottom: -24px;
  left: 0;
  width: min(58%, 320px);
}

.feature-image { min-height: 320px; }
.feature-image img { object-fit: contain; background: #fff; }

.section-heading {
  margin-bottom: 36px;
}
.section-heading.center { text-align: center; }
.section-heading.center h2,
.final-cta h2 { margin-left: auto; margin-right: auto; }
.section-heading.center p { max-width: 62ch; margin: 16px auto 0; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-deep);
  font-weight: 800;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compare-card {
  padding: 28px;
}

.compare-card.active {
  background: linear-gradient(180deg, rgba(47,137,199,0.08), rgba(255,255,255,0.96));
  border-color: rgba(47, 137, 199, 0.18);
}

.compare-label,
.app-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(198, 138, 86, 0.14);
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.compare-card h3,
.app-card h3,
.purchase-box h3 {
  margin: 14px 0 10px;
  font-size: 1.45rem;
  line-height: 1.25;
}

.compare-lead { font-weight: 700; color: var(--blue-deep); }

.visual-grid.two-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.app-card {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.app-card img {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(29,36,40,0.06);
}

.accent-card {
  background: linear-gradient(180deg, rgba(47,137,199,0.08), rgba(255,255,255,0.98));
}

.quote-section {
  background:
    radial-gradient(circle at top right, rgba(47, 137, 199, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
}

.quote-grid {
  align-items: stretch;
}

.quote-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

blockquote {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.quote-caption {
  margin-top: 18px;
  font-weight: 700;
  color: var(--gold-deep);
}

.author-image-wrap {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.author-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-role {
  margin-top: 12px;
  font-weight: 700;
  color: var(--blue-deep);
}

.purchase-box {
  margin-top: 28px;
  padding: 26px;
}

.book-visual {
  min-height: 520px;
}

.book-visual img {
  object-fit: contain;
  background: #fff;
}

.final-cta {
  padding-bottom: 130px;
}

.final-cta-inner {
  text-align: center;
  padding: 44px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7)),
    linear-gradient(135deg, rgba(47,137,199,0.08), rgba(198,138,86,0.08));
  border: 1px solid rgba(29,36,40,0.08);
  box-shadow: var(--shadow);
}

.final-cta-inner p {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.45);
}

.site-footer p,
.footer-links {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 50;
  width: min(680px, calc(100% - 20px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(25, 34, 41, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.sticky-link {
  background: rgba(255,255,255,0.12);
  color: #fff;
  min-height: 50px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-grid,
  .author-grid,
  .book-grid,
  .quote-grid,
  .reverse,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visuals { min-height: auto; }
  .visual-card-large { width: 100%; }
  .book-card {
    position: relative;
    width: 72%;
    margin-top: 18px;
    bottom: auto;
  }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .site-header { position: static; }
  .header-inner,
  .footer-inner,
  .header-nav,
  .hero-stats,
  .compare-grid,
  .visual-grid.two-up,
  .sticky-cta {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .header-nav {
    display: none;
  }

  .hero h1 { max-width: none; }
  .section h2 { max-width: none; }
  .hero-stats { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .compare-grid,
  .visual-grid.two-up { display: grid; }
  .final-cta-inner { padding: 30px 22px; }
  .sticky-cta {
    width: calc(100% - 16px);
    bottom: 8px;
    gap: 8px;
  }
}
