@font-face {
  font-family: 'Yomogi';
  src: url('assets/fonts/Yomogi-Regular.ttf') format('truetype');
  font-display: swap;
}

:root {
  /* Diorama-world palette — pulled from the hero artwork */
  --mint: #C8E0CC;          /* diorama background */
  --mint-deep: #A8CFB0;
  --mint-pale: #DCEBDD;
  --mint-paper: #EAF3EB;

  --cardboard: #D4B98C;      /* main craft tone */
  --cardboard-light: #E5D2AB;
  --cardboard-pale: #F2E5C8;
  --cardboard-deep: #B89466;

  --pink-petal: #F3C8D0;     /* dusty pink */
  --pink-soft: #FADCE2;
  --pink-deep: #E8A0B4;

  --sky: #B8D4E8;            /* mailbox/wheel blue */
  --sky-soft: #D4E5F0;

  --cream: #FFFCF7;
  --paper: #FBF7EE;

  /* DS — text */
  --text-primary: #265019;
  --text-sub: #3E6B2C;
  --text-hint: #6A9060;
  --text-warm: #6B5635;       /* warm brown for diorama-feel text */

  --primary: #6BAA50;
  --primary-dark: #3E6B2C;
  --accent: #F96268;
  --accent-light: #FFE5E5;

  --shadow-paper: 0 2px 8px rgba(60, 50, 30, 0.08), 0 0.5px 2px rgba(60, 50, 30, 0.05);
  --shadow-card: 0 1px 3px rgba(38, 80, 25, 0.06), 0 8px 24px rgba(60, 50, 30, 0.07);
  --shadow-float: 0 20px 60px rgba(60, 50, 30, 0.15), 0 4px 12px rgba(60, 50, 30, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--mint);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paper grain — soft noise added to mint sections */
.grain::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.6 0 0 0 0 0.55 0 0 0 0 0.4 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

/* Reusable handwriting */
.yomogi { font-family: 'Yomogi', cursive; }
.mono { font-family: 'Roboto', monospace; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  backdrop-filter: blur(12px);
  background: rgba(200, 224, 204, 0.7);
  border-bottom: 1px solid rgba(168, 207, 176, 0.4);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img:not(.brand-logo) { width: 36px; height: 36px; object-fit: contain; }
.nav-brand img.brand-logo { width: auto; height: 42px; display: block; }
.nav-brand img.brand-logo--footer { width: auto; height: 38px; display: block; }
.nav-brand-name {
  font-family: 'Yomogi', cursive;
  font-weight: 400;
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  /* Yomogi only ships at weight 400 — fake a heavier weight with a same-color stroke */
  -webkit-text-stroke: 0.6px currentColor;
  text-stroke: 0.6px currentColor;
  paint-order: stroke fill;
}
.nav-brand-name .small { font-size: 11px; color: var(--text-sub); display: block; font-weight: 400; letter-spacing: 0.16em; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-sub); text-decoration: none;
  font-size: 13px; font-weight: 500;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--primary-dark);
  color: #fff !important;
  padding: 10px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  box-shadow: 0 2px 8px rgba(62,107,44,0.25);
}
.nav-cta:hover { color: #fff !important; background: var(--accent); box-shadow: 0 2px 8px rgba(249,98,104,0.3); }

@media (max-width: 720px) {
  .nav { padding: 12px 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--mint);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  padding: 96px 8vw 64px;
  align-items: center;
  overflow: hidden;
}

.hero-copy { position: relative; z-index: 2; max-width: 560px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 252, 247, 0.75);
  backdrop-filter: blur(4px);
  padding: 8px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 500; color: var(--text-sub);
  letter-spacing: 0.1em;
  border: 1px solid rgba(107, 170, 80, 0.2);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.hero h1 .y {
  font-family: 'Yomogi', cursive;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0;
}
.hero h1 .nb { white-space: nowrap; }

.hero-lead {
  font-size: 17px; line-height: 2; color: var(--text-sub);
  margin-bottom: 40px; max-width: 480px;
}

.hero-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin-bottom: 32px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 100px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500; font-size: 14px;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  min-height: 48px;
}
.btn-primary {
  background: var(--primary-dark); color: #fff;
  box-shadow: 0 4px 16px rgba(62,107,44,0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(62,107,44,0.32); }
.btn-store {
  background: #1A1A1A; color: #fff;
  padding: 10px 20px; min-height: 52px;
}
.btn-store:hover { background: #000; transform: translateY(-1px); }
.btn-store .lbl { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.btn-store .lbl .top { font-size: 10px; opacity: 0.85; letter-spacing: 0.05em; }
.btn-store .lbl .bot { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }

.hero-meta {
  display: flex; gap: 20px; align-items: center;
  font-size: 12px; color: var(--text-sub);
}
.hero-meta .stars { color: var(--accent); letter-spacing: 0.1em; }

/* Hero diorama panel */
.hero-diorama {
  position: relative;
  height: 88vh;
  max-height: 880px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-diorama-img {
  position: relative;
  max-height: 100%;
  height: 100%;
  filter: drop-shadow(0 30px 60px rgba(60, 50, 30, 0.18));
  animation: float 8s ease-in-out infinite;
}

/* iPhone-style device frame around hero diorama */
.hero-device {
  position: relative;
  height: 100%;
  aspect-ratio: 9 / 19.5;
  max-height: 720px;
  background: #1a1a1c;
  border-radius: 42px;
  padding: 6px;
  box-sizing: border-box;
  box-shadow:
    0 0 0 1px #2a2a2d,
    0 0 0 2px #3a3a3d,
    0 30px 60px rgba(60, 50, 30, 0.22),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}
.hero-device::before {
  /* Dynamic Island */
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  background: #000;
  border-radius: 16px;
  z-index: 5;
}
.hero-device::after {
  /* Side button (right) */
  content: '';
  position: absolute;
  top: 28%;
  right: -3px;
  width: 3px;
  height: 70px;
  background: #2a2a2d;
  border-radius: 0 2px 2px 0;
}
.hero-device .device-vol-up,
.hero-device .device-vol-dn,
.hero-device .device-mute {
  position: absolute;
  left: -3px;
  width: 3px;
  background: #2a2a2d;
  border-radius: 2px 0 0 2px;
}
.hero-device .device-mute  { top: 18%; height: 28px; }
.hero-device .device-vol-up { top: 26%; height: 50px; }
.hero-device .device-vol-dn { top: 36%; height: 50px; }

.hero-device .device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: var(--mint);
}
.hero-device .device-screen img,
.hero-device .device-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-diorama-img img,
.hero-diorama-img video {
  height: 100%;
  width: auto;
  display: block;
}
.hero-diorama-img video { object-fit: contain; }

/* Poster is the BASE layer — always visible. No white flash, ever. */
.hero-diorama-poster.has-video {
  position: absolute;
  inset: 0;
  opacity: 1;
  z-index: 1;
}

/* Video lays ON TOP of poster. When it ends, it's removed from the
   render tree entirely so the poster shows through with no gap. */
.hero-diorama-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-diorama-video.is-playing { opacity: 1; }
.hero-diorama-video.is-finished { display: none; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Floating papercraft sticker decorations on mint */
.sticker {
  position: absolute;
  background: var(--cream);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-float);
  font-size: 13px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sticker-1 {
  top: 12%; right: 4%;
  transform: rotate(-4deg);
  animation: float 7s ease-in-out infinite;
}
.sticker-2 {
  bottom: 18%; left: -2%;
  transform: rotate(3deg);
  animation: float 9s ease-in-out infinite 1s;
  background: var(--paper);
}
.sticker img.icon { width: 36px; height: 36px; }
.sticker .y-text { font-family: 'Yomogi', cursive; font-size: 14px; line-height: 1.5; color: var(--text-primary); }
.sticker .meta { font-size: 10px; color: var(--text-hint); letter-spacing: 0.08em; }

/* paw trail in hero */
.paws {
  position: absolute;
  bottom: 6%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 36px;
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}
.paws span {
  font-size: 16px;
  display: inline-block;
}
.paws span:nth-child(odd) { transform: translateY(-8px) rotate(-12deg); }
.paws span:nth-child(even) { transform: translateY(0) rotate(8deg); }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 88px 24px 40px;
    text-align: center;
  }
  .hero-copy { max-width: 100%; margin: 0 auto; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta-row { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-diorama { height: 60vh; }
  .sticker-1 { top: 6%; right: 4%; }
  .sticker-2 { bottom: 8%; left: 4%; }
}

/* ============ STORY (なぜ作ったか) ============ */
.story {
  background: var(--mint-paper);
  padding: 120px 8vw;
  position: relative;
  overflow: hidden;
}
.story-inner {
  max-width: 920px; margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.story h2 {
  font-family: 'Yomogi', cursive;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.story h2 .accent { color: var(--accent); }
.story p {
  font-size: 16px; line-height: 2.1;
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto;
}
.story-tape {
  display: block;
  width: 220px; height: auto;
  margin: 0 auto 36px;
  transform: rotate(-3deg);
  filter: drop-shadow(0 12px 18px rgba(60,50,30,0.18));
}
@media (max-width: 640px) {
  .story-tape { width: 170px; margin-bottom: 24px; }
  .story h2 { font-size: 22px; line-height: 1.7; }
}

/* ============ SECTION HEAD (shared) ============ */
.section-head {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}
.section-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--text-hint);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.005em;
  margin-bottom: 16px;
}
.section-head h2 .y {
  font-family: 'Yomogi', cursive;
  color: var(--accent);
  font-weight: 400;
}
.section-head .lead {
  font-size: 15px; color: var(--text-sub);
  max-width: 580px; margin: 0 auto;
  line-height: 1.9;
}

/* ============ WORLD MAP ============ */
.world {
  position: relative;
  background: var(--mint-paper);
  padding: 120px 0 0;
  overflow: hidden;
}
.world-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
  padding: 0 24px;
}
.world-head .section-eyebrow { color: var(--text-sub); }
.world-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 12px 0 20px;
}
.world-head h2 .y {
  font-family: 'Yomogi', cursive;
  color: var(--accent);
  font-weight: 400;
}
.world-head p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 2;
  max-width: 560px;
  margin: 0 auto;
}

.world-map-wrap {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px 120px;
}
.world-map {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(60, 50, 30, 0.25),
              0 12px 32px -16px rgba(60, 50, 30, 0.15);
  background: var(--mint);
  aspect-ratio: 1000 / 667;
}
.world-map img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* Hotspots */
.spot {
  position: absolute;
  width: 36px; height: 36px;
  transform: translate(-50%, -50%);
  z-index: 3;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
}
.spot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--accent);
  box-shadow: 0 6px 16px rgba(60, 50, 30, 0.18);
  transition: transform 0.25s ease;
}
.spot::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.25s ease;
}
.spot:hover::before { transform: scale(1.15); }
.spot:hover::after  { transform: scale(1.2); }

/* Pulse halo */
.spot .pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.5;
  animation: spotPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes spotPulse {
  0%   { transform: scale(0.85); opacity: 0.55; }
  70%  { transform: scale(1.6);  opacity: 0; }
  100% { transform: scale(1.6);  opacity: 0; }
}

/* Hotspot tooltip card */
.spot .card {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 220px;
  background: var(--cream);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-float);
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 10;
}
.spot .card::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--cream);
}
.spot .card .name {
  display: block;
  font-family: 'Yomogi', cursive;
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.45;
}
.spot .card .desc {
  display: block;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.7;
}
.spot .card .tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.spot:hover .card,
.spot:focus-visible .card {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Anchor variants — when spot is near edge, flip card */
.spot.flip-right .card { left: auto; right: -10px; transform: translateY(6px); }
.spot.flip-right:hover .card,
.spot.flip-right:focus-visible .card { transform: translateY(0); }
.spot.flip-right .card::after { left: auto; right: 24px; transform: none; }

.spot.flip-left .card { left: -10px; right: auto; transform: translateY(6px); }
.spot.flip-left:hover .card,
.spot.flip-left:focus-visible .card { transform: translateY(0); }
.spot.flip-left .card::after { left: 24px; transform: none; }

.spot.flip-down .card {
  bottom: auto;
  top: calc(100% + 14px);
}
.spot.flip-down .card::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: var(--cream);
}

/* World legend */
.world-legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
  font-size: 12px;
  color: var(--text-sub);
  letter-spacing: 0.06em;
}
.world-legend .item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.world-legend .swatch {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px var(--accent);
}

/* Mobile info panel below the map (hidden on desktop) */
.world-info { display: none; }
.world-info-tag,
.world-info-name,
.world-info-desc { display: none; }

@media (max-width: 760px) {
  .world { padding: 88px 0 0; }
  .world-map-wrap { padding: 0 12px 88px; }
  .world-map { border-radius: 16px; }
  .spot { width: 28px; height: 28px; }
  /* On touch, floating tooltips overflow the clipped map — use the panel instead */
  .spot .card { display: none; }

  .world-info {
    display: none;
    max-width: 460px;
    margin: 18px auto 0;
    background: var(--cream);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--shadow-float);
    text-align: left;
    min-height: 92px;
  }
  .world-info.is-filled { display: block; }
  .world-info.is-filled .world-info-tag,
  .world-info.is-filled .world-info-name,
  .world-info.is-filled .world-info-desc { display: block; }
  .world-info-tag {
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .world-info-name {
    font-family: 'Yomogi', cursive;
    font-size: 17px;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.45;
  }
  .world-info-desc {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.7;
  }
  /* Active spot highlight */
  .spot.is-active::before { transform: scale(1.25); }
  .spot.is-active::after { transform: scale(1.3); }
}

/* ============ FEATURES ============ */
.features {
  background: var(--mint);
  padding: 120px 8vw;
  position: relative;
  overflow: hidden;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.feature-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }

.feature-card .num {
  font-family: 'Roboto', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-hint);
  font-weight: 500;
  margin-bottom: 8px;
}

.feature-card .sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-bottom: 6px;
}
.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--text-sub);
}

.feature-illo {
  height: 180px;
  background: var(--mint-paper);
  border-radius: 16px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

/* Diary illustration — papercraft */
.illo-diary {
  background: linear-gradient(135deg, #FFF5C6 0%, #FFE9A8 100%);
  padding: 18px;
}
.illo-diary .page {
  background: var(--cream);
  width: 78%; height: 82%;
  padding: 18px 16px 14px 26px;
  position: relative;
  transform: rotate(-3deg);
  /* layered paper edges (papercraft) */
  box-shadow:
    6px 6px 0 var(--cardboard-pale),
    10px 10px 0 var(--cardboard-light),
    12px 14px 18px rgba(60, 50, 30, 0.18);
  /* torn/cut edge on right side */
  clip-path: polygon(
    0 0,
    100% 0,
    98% 8%, 100% 16%, 97% 24%, 100% 32%,
    98% 40%, 100% 48%, 97% 56%, 100% 64%,
    98% 72%, 100% 80%, 97% 88%, 100% 96%,
    100% 100%, 0 100%
  );
}
/* spiral binding holes on the left edge */
.illo-diary .page::before {
  content: ''; position: absolute;
  top: 12px; bottom: 12px; left: 6px;
  width: 8px;
  background-image: radial-gradient(circle, var(--cardboard-light) 0 3px, transparent 3.5px);
  background-size: 8px 14px;
  background-repeat: repeat-y;
  background-position: center top;
}
/* folded corner top-right */
.illo-diary .page::after {
  content: ''; position: absolute;
  top: -1px; right: -1px;
  width: 22px; height: 22px;
  background: linear-gradient(225deg, var(--cardboard-light) 50%, transparent 50%);
}
.illo-diary .line {
  height: 5px; background: var(--mint-pale); border-radius: 1px;
  margin-bottom: 9px;
  position: relative;
  /* slight torn paper strip feel */
  box-shadow: 0 1px 0 rgba(60,50,30,0.04);
}
.illo-diary .line.w1 { width: 55%; height: 8px; background: var(--pink-soft); border-radius: 2px; margin-bottom: 12px; }
.illo-diary .line.w2 { width: 88%; }
.illo-diary .line.w3 { width: 70%; }
.illo-diary .line.w4 { width: 80%; }
.illo-diary .heart {
  position: absolute; bottom: -6px; right: -8px;
  width: 64px; height: 64px;
  background: #F2B7C5;
  -webkit-mask: url(assets/dog-tail.png) center/contain no-repeat;
          mask: url(assets/dog-tail.png) center/contain no-repeat;
  /* papercraft cutout shadow */
  filter: drop-shadow(2px 3px 0 #C77C95) drop-shadow(4px 6px 6px rgba(60,50,30,0.25));
  transform: rotate(8deg);
}

/* Album */
.illo-album {
  background: linear-gradient(135deg, var(--pink-soft) 0%, var(--pink-petal) 100%);
}
.illo-album .album {
  position: relative;
  width: 76%; height: 72%;
  transform: rotate(-3deg);
}
.illo-album .album-book {
  position: absolute; inset: 0;
  background: var(--cream);
  border-radius: 6px 10px 10px 6px;
  box-shadow: 0 10px 24px rgba(60, 50, 30, 0.14), inset 14px 0 0 rgba(232, 160, 180, 0.45);
}
.illo-album .album-book::before {
  content: ''; position: absolute;
  left: 6px; top: 0; bottom: 0; width: 2px;
  background: rgba(60, 50, 30, 0.12);
}
.illo-album .album-book::after {
  content: ''; position: absolute;
  left: 14px; top: 10px; right: 14px; bottom: 10px;
  border: 1.5px dashed rgba(60, 50, 30, 0.18);
  border-radius: 4px;
}
.illo-album .photo {
  position: absolute;
  background: #fff;
  padding: 6px 6px 14px;
  box-shadow: 0 6px 14px rgba(60, 50, 30, 0.15);
  border-radius: 2px;
}
.illo-album .photo .img {
  width: 100%; height: 100%;
  border-radius: 1px;
}
.illo-album .photo-1 {
  width: 48%; height: 56%;
  top: 14%; left: 22%;
  transform: rotate(-6deg);
}
.illo-album .photo-1 .img {
  background: linear-gradient(160deg, #f8c8d4 0%, #f3a8bc 60%, #cf7e95 100%);
  position: relative;
  overflow: hidden;
}
.illo-album .photo-1 .img::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.35));
}
.illo-album .photo-1 .img::after {
  content: ''; position: absolute;
  top: 12%; right: 18%; width: 14px; height: 14px;
  background: #fff8c5; border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 248, 197, 0.7);
}
.illo-album .photo-2 {
  width: 38%; height: 44%;
  top: 32%; left: 48%;
  transform: rotate(8deg);
}
.illo-album .photo-2 .img {
  background: linear-gradient(160deg, #cfe3d4 0%, #a7c9ad 100%);
  position: relative;
}
.illo-album .photo-2 .img::before {
  content: '🐾'; position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px; opacity: 0.55;
}
.illo-album .bookmark {
  position: absolute;
  top: -6px; right: 18%;
  width: 14px; height: 38%;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%);
  box-shadow: 0 4px 8px rgba(60, 50, 30, 0.18);
}

/* Letter (legacy) */
.illo-letter {
  background: linear-gradient(135deg, var(--pink-soft) 0%, var(--pink-petal) 100%);
}
.illo-letter .env {
  width: 70%; height: 70%;
  background: var(--cream);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(60, 50, 30, 0.12);
  position: relative;
  transform: rotate(2deg);
}
.illo-letter .env::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(232, 160, 180, 0.15) 50%);
  border-radius: 8px;
}
.illo-letter .env::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 50%, transparent 50%);
  clip-path: polygon(0 0, 100% 0, 50% 90%);
}
.illo-letter .seal {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  z-index: 2;
}

/* Map / track */
.illo-map {
  background: linear-gradient(135deg, var(--mint-pale) 0%, var(--mint-deep) 100%);
}
.illo-map svg { width: 80%; height: 80%; }

/* Carousel-style icon */
.feature-card .footnote {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(107, 170, 80, 0.25);
  font-family: 'Yomogi', cursive;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============ DIARY PREVIEW (showcase) ============ */
.showcase {
  background: var(--mint-paper);
  padding: 120px 8vw;
  position: relative;
  overflow: hidden;
}
.showcase-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 2;
}
.showcase-text { padding-right: 24px; }
.showcase-text h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.showcase-text h2 .y { font-family: 'Yomogi', cursive; color: var(--accent); font-weight: 400; }
.showcase-text p {
  font-size: 15px; line-height: 2;
  color: var(--text-sub); margin-bottom: 24px;
}
.showcase-bullets { list-style: none; }
.showcase-bullets li {
  padding: 14px 0;
  border-bottom: 1px dashed rgba(107, 170, 80, 0.3);
  font-size: 14px; color: var(--text-primary);
  display: flex; gap: 12px; align-items: flex-start;
}
.showcase-bullets li:last-child { border-bottom: none; }
.showcase-bullets li::before {
  content: '🐾'; font-size: 14px; flex-shrink: 0;
}

/* Diary card real */
.diary-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.diary-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 24px 26px 18px;
  box-shadow: var(--shadow-float);
  font-family: 'Yomogi', cursive;
  width: 100%; max-width: 360px;
  position: relative;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(0,0,0,0.012) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(0,0,0,0.012) 0%, transparent 40%);
}
.diary-card.behind {
  position: absolute;
  transform: rotate(-6deg) translate(-12%, 4%) scale(0.9);
  opacity: 0.7;
  z-index: 1;
  background: var(--paper);
}
.diary-card.behind2 {
  position: absolute;
  transform: rotate(5deg) translate(14%, 6%) scale(0.85);
  opacity: 0.55;
  z-index: 0;
  background: var(--cardboard-pale);
}
.diary-card.front { z-index: 2; transform: rotate(-1.5deg); }

.diary-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px;
}
.diary-no { font-size: 13px; color: var(--text-sub); display: flex; gap: 12px; align-items: center; }
.diary-no .num { font-size: 16px; }
.diary-no .tag {
  font-size: 11px; color: var(--text-sub);
  border: 1px solid var(--text-sub); border-radius: 3px;
  padding: 1px 6px;
}
.diary-memo { width: 56px; height: 56px; flex-shrink: 0; }
.diary-memo img { width: 100%; height: 100%; object-fit: contain; }

.diary-rule {
  height: 1px; background: var(--text-sub); opacity: 0.4;
  margin: 6px 0 12px;
}
.diary-meta {
  font-size: 14px; line-height: 1.95; color: var(--text-sub);
}
.diary-meta .accent { color: var(--pink-deep); font-weight: 500; }
.diary-meta .ring {
  border: 1.5px solid var(--pink-deep); border-radius: 50%;
  padding: 0 4px; display: inline-block;
  line-height: 1.2; margin: 0 1px;
  color: var(--text-sub);
}
.diary-body {
  border: 1.5px solid var(--pink-deep);
  border-radius: 8px;
  padding: 14px 16px; margin-top: 14px;
  font-size: 16px; line-height: 1.95;
  color: var(--text-primary);
}
.diary-sign { display: block; text-align: right; margin-top: 4px; }

.diary-sample {
  width: 100%; max-width: 460px;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-float);
  display: block;
}
.diary-sample-wrap {
  width: 100%;
  max-width: 460px;
  transform: rotate(-1.5deg);
  transform-origin: center top;
}
.diary-reactions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  margin-top: 14px;
  align-items: center;
}
.diary-reactions .reaction {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  justify-self: center;
  font-family: 'Yomogi', cursive;
  font-size: 17px;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.diary-reactions .reaction .ic {
  color: var(--accent);
  font-size: 19px;
  line-height: 1;
}

@media (max-width: 980px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .showcase-text { padding-right: 0; }
  .diary-stack { min-height: 420px; }
}

/* ============ SCREENS ============ */
.screens {
  background: var(--mint);
  padding: 120px 8vw 140px;
  position: relative;
  overflow: hidden;
}
.screens-rail {
  display: flex; gap: 32px;
  justify-content: center; flex-wrap: wrap;
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 2;
}
.phone {
  width: 240px;
  background: #1A1A1A;
  border-radius: 36px;
  padding: 8px;
  box-shadow: var(--shadow-float);
  flex-shrink: 0;
}
.phone-screen {
  background: var(--mint-paper);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/19.5;
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 22px;
  background: #1A1A1A; border-radius: 12px;
  z-index: 5;
}
.phone-img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px 0; height: 36px;
  font-family: 'Roboto', sans-serif;
  font-size: 11px; font-weight: 600;
  color: var(--text-primary);
}
.phone-label {
  text-align: center; margin-top: 16px;
  font-family: 'Yomogi', cursive;
  font-size: 14px; color: var(--text-sub);
  line-height: 1.4;
}
.phone-label .small { font-size: 11px; color: var(--text-hint); display: block; font-family: 'Roboto', monospace; letter-spacing: 0.06em; margin-top: 4px; }

/* Screen 1 — おさんぽ中 (walk-mode / phone-in-pocket) */
.scr-walking {
  height: 100%;
  background: linear-gradient(180deg, #DCEBDD 0%, #D5E7D6 55%, #CFE3D2 100%);
  position: relative;
  display: flex; flex-direction: column;
  align-items: center;
  padding: 0 14px 18px;
  overflow: hidden;
}
.scr-walking .phone-statusbar { width: 100%; }
.scr-walking .loc-arrow {
  display: inline-block;
  transform: rotate(35deg) translateY(-1px);
  color: #2B5A2B;
  font-weight: 700;
  margin-left: 2px;
}
.scr-walking .walk-stage {
  position: relative;
  margin-top: 18px;
  width: 220px; height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.scr-walking .walk-glow {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(168, 207, 176, 0.55) 0%,
    rgba(168, 207, 176, 0.32) 40%,
    rgba(168, 207, 176, 0) 70%);
  filter: blur(2px);
}
.scr-walking .walk-label {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: #6A9060;
  letter-spacing: 0.04em;
  z-index: 2;
}
.scr-walking .walk-mascot {
  position: relative;
  width: 138px; height: auto;
  z-index: 1;
  filter: drop-shadow(0 6px 14px rgba(60, 90, 60, 0.18));
}
.scr-walking .walk-msg {
  margin: 28px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.85;
  color: #3E6B2C;
  font-family: 'Yomogi', cursive;
  letter-spacing: 0.02em;
}
.scr-walking .walk-leash {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  margin-top: 14px;
}
.scr-walking .walk-leash svg {
  height: 130px; width: auto;
  filter: drop-shadow(0 4px 8px rgba(60, 90, 60, 0.14));
}
.scr-walking .walk-swipe {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #6A9060;
  margin-top: 8px;
}
.scr-walking .walk-swipe .chev {
  font-size: 14px;
  letter-spacing: -2px;
  line-height: 1;
  animation: walkChev 1.8s ease-in-out infinite;
}
@keyframes walkChev {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(3px); opacity: 1; }
}

/* Screen 2 — 日記フィード */
.scr-feed {
  height: 100%; padding: 44px 14px 14px;
  background: var(--mint-paper);
  display: flex; flex-direction: column; gap: 12px;
}
.scr-feed .h {
  font-size: 14px; font-weight: 700; color: var(--text-primary);
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px;
}
.scr-feed .chips {
  display: flex; gap: 6px; margin-bottom: 6px;
}
.scr-feed .chip {
  font-size: 9px; padding: 4px 10px; border-radius: 100px;
  background: rgba(107,170,80,0.2); color: var(--text-sub);
}
.scr-feed .chip.on { background: var(--primary-dark); color: #fff; }
.scr-feed .mini {
  background: var(--cream);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'Yomogi', cursive;
  font-size: 11px;
  color: var(--text-primary);
  line-height: 1.7;
  box-shadow: var(--shadow-paper);
  border: 1px solid rgba(168,207,176,0.3);
}
.scr-feed .mini .d { font-size: 9px; color: var(--text-sub); margin-bottom: 4px; }
.scr-feed .mini .b {
  border: 1px solid var(--pink-deep);
  border-radius: 4px;
  padding: 6px 8px; margin-top: 6px;
}

/* Screen 3 — お手紙 */
.scr-letter {
  height: 100%; padding: 44px 16px 16px;
  background: linear-gradient(180deg, var(--pink-soft) 0%, var(--mint-paper) 100%);
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
}
.scr-letter .h { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.scr-letter .env {
  background: var(--cream);
  border-radius: 12px;
  width: 100%;
  padding: 16px 14px;
  font-family: 'Yomogi', cursive;
  font-size: 11px;
  line-height: 1.85;
  color: var(--text-primary);
  position: relative;
  box-shadow: var(--shadow-paper);
}
.scr-letter .env img.seal {
  position: absolute; top: -10px; right: -8px;
  width: 36px; height: 36px;
  transform: rotate(15deg);
}
.scr-letter .env .sign { display: block; text-align: right; margin-top: 6px; }

/* Screen 4 — マイページ・メダル */
.scr-mypage {
  height: 100%;
  padding: 44px 14px 14px;
  background: var(--mint-paper);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.scr-mypage .avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--mint-deep);
  overflow: hidden;
  border: 3px solid var(--cream);
  box-shadow: var(--shadow-paper);
  display: flex; align-items: center; justify-content: center;
}
.scr-mypage .avatar img { width: 80%; height: 80%; object-fit: contain; }
.scr-mypage .name { font-family: 'Yomogi', cursive; font-size: 14px; color: var(--text-primary); }
.scr-mypage .totals {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; width: 100%;
  background: var(--cream); border-radius: 12px; padding: 12px;
  box-shadow: var(--shadow-paper);
}
.scr-mypage .total .n { font-family: 'Roboto'; font-size: 16px; font-weight: 700; color: var(--primary-dark); text-align: center; font-variant-numeric: tabular-nums; }
.scr-mypage .total .l { font-size: 8px; color: var(--text-hint); text-align: center; }
.scr-mypage .medal-row { display: flex; gap: 8px; }
.scr-mypage .medal-row img { width: 56px; height: auto; }

@media (max-width: 980px) {
  .screens-rail { gap: 16px; }
  .phone { width: 180px; }
}
@media (max-width: 720px) {
  .screens-rail { overflow-x: auto; flex-wrap: nowrap; padding: 0 8px 16px; justify-content: flex-start; }
  .screens-rail::-webkit-scrollbar { height: 4px; }
}

/* ============ FLOW ============ */
.flow {
  background: var(--cream);
  padding: 120px 8vw;
  position: relative;
  overflow: hidden;
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1080px; margin: 0 auto;
  position: relative; z-index: 2;
}
.flow-step {
  text-align: center;
  position: relative;
}
.flow-step .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--mint-paper);
  border: 2px solid var(--primary);
  border-radius: 50%;
  font-family: 'Roboto', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
  position: relative; z-index: 2;
}
.flow-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.flow-step p {
  font-size: 14px; line-height: 1.9; color: var(--text-sub);
  max-width: 260px; margin: 0 auto;
}
.flow-step .y-quote {
  margin-top: 16px;
  font-family: 'Yomogi', cursive;
  font-size: 13px;
  color: var(--accent);
}
/* connector */
.flow-grid .flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px; left: calc(50% + 36px); right: calc(-50% + 36px);
  height: 2px;
  background-image: radial-gradient(circle, var(--text-hint) 1px, transparent 1.5px);
  background-size: 10px 2px;
  background-repeat: repeat-x;
  opacity: 0.5;
  z-index: 1;
}

@media (max-width: 720px) {
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid .flow-step:not(:last-child)::after { display: none; }
}

/* ============ VOICE / TONE EXAMPLES ============ */
.voices {
  background: var(--mint);
  padding: 120px 8vw;
  position: relative;
  overflow: hidden;
}
.voice-marquee {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative; z-index: 2;
}
.voice-card {
  background: var(--cream);
  border-radius: 18px;
  padding: 28px 26px 22px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.voice-card:nth-child(2) { transform: translateY(20px) rotate(1deg); background: var(--paper); }
.voice-card:nth-child(1) { transform: rotate(-1deg); }
.voice-card:nth-child(3) { transform: rotate(1.5deg); }
.voice-card .quote {
  font-family: 'Yomogi', cursive;
  font-size: 18px;
  line-height: 2;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.voice-card .meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px;
  border-top: 1px dashed rgba(107,170,80,0.3);
  font-size: 11px;
  color: var(--text-hint);
  letter-spacing: 0.06em;
}
.voice-card .author { color: var(--text-sub); font-weight: 500; }

@media (max-width: 720px) {
  .voice-marquee { grid-template-columns: 1fr; }
  .voice-card:nth-child(n) { transform: none; }
}

/* ============ FAQ ============ */
.faq {
  background: var(--mint-paper);
  padding: 120px 8vw;
  position: relative;
}
.faq-list {
  max-width: 760px; margin: 0 auto;
  position: relative; z-index: 2;
}
.faq-item {
  background: var(--cream);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-paper);
  cursor: pointer;
  transition: all 0.2s;
}
.faq-item:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-q .q-text {
  font-size: 15px; font-weight: 600; color: var(--text-primary);
  flex: 1;
}
.faq-q .q-mark {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--mint-paper);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark);
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .q-mark { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  font-size: 14px; line-height: 1.95; color: var(--text-sub);
}
.faq-item.open .faq-a {
  max-height: 240px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(107,170,80,0.3);
}

/* ============ CTA / DOWNLOAD ============ */
.cta {
  background: var(--mint);
  padding: 140px 8vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  max-width: 720px; margin: 0 auto;
  position: relative; z-index: 2;
}
.cta-mascot {
  width: 140px; height: 140px;
  margin: 0 auto 32px;
  display: flex; align-items: center; justify-content: center;
}
.cta-mascot img { width: 100%; height: 100%; object-fit: contain; }
.cta h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}
.cta h2 .y { font-family: 'Yomogi', cursive; color: var(--accent); font-weight: 400; }
.cta p {
  font-size: 16px; line-height: 2;
  color: var(--text-sub); margin-bottom: 36px;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta h2 .br-sp { display: none; }
.flow h2 .br-sp { display: none; }
.screens h2 .br-sp { display: none; }
.world h2 .br-sp { display: none; }
@media (max-width: 720px) {
  .cta h2 .br-sp { display: inline; }
  .flow h2 .br-sp { display: inline; }
  .screens h2 .br-sp { display: inline; }
  .world h2 .br-sp { display: inline; }
}

/* Big diorama-island base under CTA */
.island {
  position: absolute;
  bottom: -80px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 200px;
  background: var(--cardboard-light);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  z-index: 1;
}

/* ============ FOOTER ============ */
.footer {
  background: #3E6B2C;
  color: #EDF5EC;
  padding: 56px 8vw 32px;
  color: var(--text-warm);
  font-size: 12px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1200px; margin: 0 auto 32px;
}
.footer-brand .nav-brand-name { color: #EDF5EC; }
.footer-brand .nav-brand-name .small { color: #EDF5EC; opacity: 0.7; }
.footer-brand p { font-size: 12px; color: #EDF5EC; opacity: 0.8; line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-col h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: #EDF5EC;
  margin-bottom: 12px; opacity: 0.7;
}
.footer-col a {
  display: block; padding: 5px 0;
  color: #EDF5EC; text-decoration: none;
  font-size: 13px;
  opacity: 0.85;
}
.footer-col a:hover { opacity: 1; color: #fff; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 24px; border-top: 1px solid rgba(237, 245, 236, 0.18);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  color: #EDF5EC; opacity: 0.7;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ MISC ============ */
.tape {
  position: absolute;
  width: 80px; height: 22px;
  background: rgba(232, 160, 180, 0.5);
  background-image: linear-gradient(90deg, rgba(255,255,255,0.18) 0 12%, transparent 12% 18%, rgba(255,255,255,0.18) 18% 30%, transparent 30%);
  box-shadow: 0 1px 4px rgba(60,50,30,0.06);
}
.tape.tl { top: -6px; left: 16px; transform: rotate(-6deg); }
.tape.tr { top: -8px; right: 18px; transform: rotate(7deg); background: rgba(184, 212, 232, 0.5); }
.tape.tc { top: -8px; left: 50%; transform: translateX(-50%) rotate(-2deg); background: rgba(212, 185, 140, 0.5); }
.tape.tc.red { background: rgba(214, 120, 110, 0.55); }
.tape.tc.green { background: rgba(150, 190, 140, 0.55); }
.tape.tc.yellow { background: rgba(232, 200, 110, 0.6); }
