/*
 * mogumogu LP
 * デザイン世界観: レトロ喫茶 / 紙日記 / スクラップブック
 * カラーはアプリ本体 (MoguColor) と統一: クリーム paper / セージ olive /
 * コーラル dustyYellow / コーラル淡 dustyPink / インク ink / 補助 inkSoft
 */

/* ============ TOKENS ============ */
:root {
  /* App-mirrored palette */
  --paper:        #f4ecd8;   /* MoguColor/paper */
  --card:         #ede4ce;
  --ink:          #2c3a26;
  --ink-soft:     #6a7561;
  --olive:        #5a6f3c;
  --olive-deep:   #455628;
  --dusty-yellow: #e8af86;   /* coral 100 */
  --dusty-pink:   #f2cdba;
  --water:        #b4d4d8;
  --greige:       #d9d2c0;

  /* Functional */
  --shadow-1: 0 6px 16px rgba(45, 58, 38, 0.10);
  --shadow-2: 0 12px 28px rgba(45, 58, 38, 0.18);
  --radius-lg: 22px;
  --radius-md: 14px;

  /* Fonts */
  --font-base: "Zen Maru Gothic", "Hiragino Maru Gothic ProN",
               "Hiragino Sans", system-ui, sans-serif;
  --font-hand: "Klee One", "Kaisei Decol",
               "Yu Mincho", "Hiragino Mincho ProN", serif;

  --max-w: 1180px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 0; list-style: none; margin: 0; }
button { font: inherit; }

body {
  font-family: var(--font-base);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

/* ============ PAPER GRAIN ============ */
.paper-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("./assets/textures/paper.png");
  background-size: 600px;
  background-repeat: repeat;
  opacity: 0.35;
  mix-blend-mode: multiply;
}

/* z 軸: コンテンツは常に grain の上 */
.nav, section, .footer { position: relative; z-index: 1; }

/* ============ NAV ============ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  filter: drop-shadow(0 1px 2px rgba(45,58,38,0.18));
}
.nav-logo-text {
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 700;
  color: var(--olive-deep);
  letter-spacing: 1px;
}
.nav-logo-tilde { color: var(--olive); margin-left: 4px; }

.nav-links {
  display: flex; gap: 22px;
  font-size: 14px;
  color: var(--ink-soft);
}
.nav-links a {
  position: relative;
  padding: 4px 2px;
}
.nav-links a:hover { color: var(--olive-deep); }
.nav-links a:hover::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--olive);
  border-radius: 2px;
  transform: rotate(-1deg);
}

.cta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  background: var(--olive);
  color: var(--paper);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.cta-pill-arrow { transform: translateY(1px); }
.cta-pill--mini { padding: 8px 14px; font-size: 13px; }

/* ============ HERO ============ */
.hero {
  padding: 60px 32px 100px;
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: visible;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-hand);
  color: var(--olive);
  font-size: 15px;
  letter-spacing: 4px;
  margin: 0 0 12px;
}
.hero-title {
  font-family: var(--font-hand);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.15;
  margin: 0 0 28px;
  color: var(--ink);
  letter-spacing: 2px;
}
.hero-title-line {
  display: block;
}
.hero-title-line:first-child {
  transform: rotate(-1.2deg);
  display: inline-block;
}
.hero-title-line:last-child {
  background: linear-gradient(180deg, transparent 70%, rgba(232,175,134,0.5) 70%);
  padding: 0 6px;
}

.hero-sub {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 460px;
}
.hero-sub br + br { display: none; }

.hero-cta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.hero-cta-note {
  font-size: 13px; color: var(--ink-soft);
}

.hero-bullets {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-family: var(--font-hand);
  color: var(--olive-deep);
  font-size: 15px;
  margin-top: 8px;
}
.hero-bullets li {
  background: rgba(255,255,255,0.5);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--olive);
  transform: rotate(calc(-1deg + var(--i,0deg)));
}
.hero-bullets li:nth-child(2) { --i: 1.5deg; }
.hero-bullets li:nth-child(3) { --i: -0.5deg; }

/* hero doodle decorations */
.hero-doodle {
  position: absolute;
  font-family: var(--font-hand);
  color: var(--olive);
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
}
.hero-doodle--1 { font-size: 28px; top: 70px; right: 8%; transform: rotate(-15deg); }
.hero-doodle--2 { font-size: 36px; top: 40%; left: 4%; color: var(--dusty-yellow); opacity: 0.6; }
.hero-doodle--3 { font-size: 20px; bottom: 20%; right: 18%; letter-spacing: 4px; }

/* masking tape (note feel) */
.masking-tape {
  position: absolute;
  width: 140px; height: 26px;
  background: linear-gradient(135deg, rgba(232,175,134,0.55), rgba(232,175,134,0.4));
  border-left: 1px dashed rgba(0,0,0,0.06);
  border-right: 1px dashed rgba(0,0,0,0.06);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  pointer-events: none;
}
.masking-tape--1 { top: 38px; left: 14%; transform: rotate(-8deg); }
.masking-tape--2 { top: 92px; right: 12%; transform: rotate(12deg);
                   background: linear-gradient(135deg, rgba(180,212,216,0.65), rgba(180,212,216,0.45)); }

/* ============ APPLE STORE BUTTON ============ */
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-store:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.apple-logo {
  width: 28px; height: 28px;
  color: var(--paper);
}
.btn-store-label { display: flex; flex-direction: column; line-height: 1.05; }
.btn-store-pre {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
}
.btn-store-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.btn-store--big { padding: 18px 30px; }
.btn-store--big .apple-logo { width: 34px; height: 34px; }
.btn-store--big .btn-store-name { font-size: 24px; }

/* ============ HERO ART (PHONE) ============ */
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
}

/* phone frame (apple's silhouette in soft ink) */
.phone {
  position: relative;
  width: 320px;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #2c3a26, #1e2a18);
  box-shadow:
    0 30px 60px rgba(45,58,38,0.30),
    0 0 0 4px rgba(255,255,255,0.6) inset;
}
.phone img {
  display: block;
  width: 100%;
  /* iOS のステータスバー (Dynamic Island 領域) を視覚的にクロップ。
     元画像 1179 × 2556 から上部 150px を切り落とした 1179 × 2406 のアスペクト比を
     コンテナに与え、object-fit: cover + object-position: 0 100% で
     画像の下端を揃え、上端をはみ出させて非表示にする。 */
  aspect-ratio: 1179 / 2406;
  object-fit: cover;
  object-position: 0 100%;
  border-radius: 30px;
}
.phone--hero { transform: rotate(2deg); }
.phone--card { width: 100%; max-width: 280px; }

/* sticker decorations on hero phone */
.sticker-orb {
  position: absolute;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--dusty-yellow);
  color: var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 4px solid #fff;
  box-shadow: 0 8px 18px rgba(45,58,38,0.22);
  transform: rotate(-10deg);
  font-family: var(--font-hand);
  z-index: 2;
}
.sticker-orb strong { font-size: 24px; font-weight: 700; line-height: 1; }
.sticker-orb small { font-size: 11px; margin-top: 2px; }
.sticker-orb--kcal { top: 60px; right: -10px; }

.sticker-tag {
  position: absolute;
  bottom: 50px; left: -20px;
  padding: 10px 20px;
  background: #fff;
  color: var(--olive-deep);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 22px;
  border-radius: 6px;
  transform: rotate(-6deg);
  box-shadow: 0 6px 14px rgba(45,58,38,0.20);
  z-index: 2;
}
.sticker-tag::before {
  content: "";
  position: absolute; top: -6px; left: 50%;
  width: 36px; height: 12px;
  transform: translateX(-50%) rotate(-10deg);
  background: rgba(232,175,134,0.6);
  border-radius: 2px;
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: -40px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-hand);
  color: var(--ink-soft);
  font-size: 13px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.scroll-hint-arrow { animation: bob 1.6s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============ COMMON SECTION ============ */
.section-title {
  font-family: var(--font-hand);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 1.5px;
  margin: 0 0 12px;
  line-height: 1.3;
}
.section-sub {
  color: var(--ink-soft);
  margin: 0;
  font-size: 16px;
}
.section-sub em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 70%, rgba(232,175,134,0.45) 70%);
  padding: 0 4px;
}

.underline-doodle {
  position: relative;
  display: inline-block;
}
.underline-doodle::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  bottom: -6px;
  height: 6px;
  background: var(--olive);
  border-radius: 8px;
  transform: rotate(-1deg);
  opacity: 0.85;
}

.step-badge {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dusty-yellow);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 700;
  margin-right: 6px;
  vertical-align: middle;
  transform: rotate(-6deg);
}
.step-badge--olive { background: var(--olive); color: var(--paper); }

/* ============ STORY (paper-card note) ============ */
.story {
  padding: 80px 32px;
  max-width: 860px;
  margin: 0 auto;
}
.paper-card {
  position: relative;
  background: #fffbf2;
  border-radius: 4px;
  box-shadow: var(--shadow-2);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
}
.paper-card--note {
  display: flex;
}
.paper-card-margin {
  width: 60px;
  flex-shrink: 0;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(232,175,134,0.6) calc(100% - 1px)),
    repeating-linear-gradient(180deg, transparent 0 30px, rgba(45,58,38,0.05) 30px 31px);
}
.paper-card-content {
  padding: 48px 48px 56px;
  flex: 1;
  background:
    repeating-linear-gradient(180deg, transparent 0 30px, rgba(45,58,38,0.05) 30px 31px);
}
.margin-stamp {
  font-family: var(--font-hand);
  color: var(--dusty-yellow);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 4px;
  margin: 0 0 12px;
  transform: rotate(-3deg);
  display: inline-block;
}
.section-title--handwritten {
  font-weight: 600;
}
.story-body {
  margin: 16px 0;
  font-size: 17px;
}
.story-body em {
  font-style: normal;
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--olive-deep);
}
.story-body--accent {
  font-family: var(--font-hand);
  color: var(--olive-deep);
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0;
}

/* ============ HOW ============ */
.how {
  padding: 80px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.how-head { text-align: center; margin-bottom: 56px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  position: relative;
  background: #fffbf2;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s ease;
}
.step:nth-child(1) { transform: rotate(-1.5deg); }
.step:nth-child(2) { transform: rotate(0.8deg); }
.step:nth-child(3) { transform: rotate(-0.8deg); }
.step:hover { transform: rotate(0) translateY(-4px); }

.step-num {
  position: absolute;
  top: -18px; left: 24px;
  background: var(--olive);
  color: var(--paper);
  font-family: var(--font-hand);
  font-size: 18px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
  box-shadow: var(--shadow-1);
}
.step-title {
  font-family: var(--font-hand);
  font-size: 24px;
  margin: 12px 0 12px;
  color: var(--ink);
}
.step-body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.step-decor {
  position: absolute;
  bottom: 16px; right: 20px;
  font-size: 36px;
  opacity: 0.4;
}

/* ============ GALLERY ============ */
.gallery {
  padding: 80px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.gallery-head { text-align: center; margin-bottom: 48px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: end;
}
.phone-card {
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone-card--tilt-l .phone { transform: rotate(-3deg); }
.phone-card--tilt-r .phone { transform: rotate(3deg); }
.phone-card--featured .phone { transform: scale(1.08); }
.phone-card--featured { margin-top: -24px; }

.phone-card figcaption {
  margin-top: 28px;
  font-family: var(--font-hand);
  text-align: center;
  position: relative;
}
.phone-card figcaption strong {
  display: block;
  font-size: 18px;
  color: var(--olive-deep);
  margin-bottom: 4px;
}
.phone-card figcaption span:not(.caption-pin) {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
}
.caption-pin {
  font-size: 20px;
  display: block;
  margin-bottom: 6px;
}

/* ============ FEATURES ============ */
.features {
  padding: 80px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.features-head { text-align: center; margin-bottom: 56px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  background: rgba(255,255,255,0.55);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1.5px dashed rgba(90,111,60,0.35);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
  background: rgba(255,255,255,0.85);
  border-color: var(--olive);
}
.feature h3 {
  font-family: var(--font-hand);
  font-size: 19px;
  margin: 0 0 10px;
  color: var(--ink);
}
.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ============ PREMIUM ============ */
.premium {
  padding: 80px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.premium-head { text-align: center; margin-bottom: 48px; }
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
}
.plan-card {
  position: relative;
  background: #fffbf2;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 2px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-1);
}
.plan-card--featured {
  border-color: var(--olive);
  background: linear-gradient(180deg, #fffbf2, #fff5e0);
  box-shadow: var(--shadow-2);
  transform: translateY(-8px);
}
.plan-tape {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 140px; height: 22px;
  background: linear-gradient(135deg, rgba(232,175,134,0.7), rgba(232,175,134,0.5));
  border-left: 1px dashed rgba(0,0,0,0.1);
  border-right: 1px dashed rgba(0,0,0,0.1);
}
.plan-badge {
  display: inline-block;
  background: var(--olive);
  color: var(--paper);
  font-family: var(--font-hand);
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 0 10px;
  letter-spacing: 1px;
}
.plan-name {
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--olive-deep);
  margin: 0 0 4px;
}
.plan-price {
  font-family: var(--font-hand);
  font-size: 42px;
  font-weight: 700;
  color: var(--ink);
  margin: 8px 0;
  line-height: 1;
}
.plan-yen { font-size: 24px; margin-right: 2px; }
.plan-period {
  font-size: 14px; color: var(--ink-soft);
  margin-left: 4px;
}
.plan-note {
  font-size: 13px; color: var(--ink-soft);
  margin: 6px 0 0;
}

.premium-perks {
  background: rgba(255,255,255,0.55);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
  border: 1.5px solid var(--olive);
  border-style: dashed;
}
.premium-perks h3 {
  font-family: var(--font-hand);
  font-size: 22px;
  margin: 0 0 16px;
  color: var(--olive-deep);
  text-align: center;
}
.premium-perks ul li {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(90,111,60,0.3);
  font-size: 15px;
}
.premium-perks ul li:last-child { border-bottom: 0; }
.premium-fine {
  margin: 20px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

/* ============ PRIVACY TICKET ============ */
.privacy-card-section {
  padding: 80px 32px;
  max-width: 920px;
  margin: 0 auto;
}
.ticket-card {
  display: flex;
  background: #fffbf2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
  position: relative;
}
.ticket-card::before,
.ticket-card::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--paper);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.ticket-card::before { left: 178px; }   /* notch at stub edge */
.ticket-card::after { left: 178px; visibility: hidden; }

.ticket-stub {
  flex-shrink: 0;
  width: 178px;
  background: var(--olive);
  color: var(--paper);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  padding: 30px 12px;
  position: relative;
  /* ticket dashed edge */
  border-right: 3px dashed rgba(255,255,255,0.4);
}
.ticket-body {
  padding: 36px 36px 36px 56px;
  flex: 1;
}
.ticket-title {
  font-family: var(--font-hand);
  font-size: 24px;
  margin: 0 0 18px;
  color: var(--ink);
}
.ticket-points {
  margin: 0 0 18px;
}
.ticket-points li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: var(--ink-soft);
}
.ticket-points li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 6px;
  color: var(--olive);
  font-weight: 700;
}
.ticket-foot {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}
.ticket-foot a {
  color: var(--olive-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============ DOWNLOAD (bottom) ============ */
.download {
  padding: 100px 32px;
  text-align: center;
  background:
    linear-gradient(180deg, transparent 0%, rgba(232,175,134,0.18) 100%);
}
.download-inner { max-width: 720px; margin: 0 auto; }
.download-title {
  font-family: var(--font-hand);
  font-size: clamp(32px, 5vw, 52px);
  margin: 0 0 16px;
  letter-spacing: 1.5px;
  line-height: 1.3;
}
.download-sub {
  color: var(--ink-soft);
  margin: 0 0 36px;
  font-size: 17px;
}
.download-platform {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============ FOOTER ============ */
.footer {
  padding: 56px 32px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1.5px dashed rgba(90,111,60,0.35);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 36px;
  margin-bottom: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { width: 48px; height: 48px; }
.footer-tag {
  margin: 0;
  font-family: var(--font-hand);
  color: var(--olive-deep);
  font-size: 15px;
}
.footer-nav h3, .footer-company h3 {
  font-family: var(--font-hand);
  color: var(--olive-deep);
  font-size: 16px;
  letter-spacing: 2px;
  margin: 0 0 12px;
}
.footer-nav ul li { padding: 4px 0; }
.footer-nav a {
  color: var(--ink-soft);
  font-size: 14px;
}
.footer-nav a:hover { color: var(--olive-deep); text-decoration: underline; }
.footer-company p {
  margin: 4px 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer-company a { color: var(--olive-deep); }

.copyright {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  margin: 16px 0 0;
  letter-spacing: 2px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .hero { padding: 32px 20px 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { min-height: 480px; }
  .phone--hero { width: 280px; }
  .steps,
  .gallery-grid,
  .feature-grid,
  .plan-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .phone-card--featured { margin-top: 0; }
  .phone-card--tilt-l .phone,
  .phone-card--tilt-r .phone,
  .phone-card--featured .phone { transform: rotate(0) scale(1); }
  .plan-card--featured { transform: none; }

  .ticket-card { flex-direction: column; }
  .ticket-stub {
    width: 100%;
    padding: 24px;
    font-size: 24px;
    border-right: 0;
    border-bottom: 3px dashed rgba(255,255,255,0.4);
  }
  .ticket-card::before, .ticket-card::after { display: none; }
  .ticket-body { padding: 28px 24px; }

  .paper-card--note { flex-direction: column; }
  .paper-card-margin {
    width: 100%;
    height: 24px;
    background: linear-gradient(180deg, transparent calc(100% - 1px), rgba(232,175,134,0.6) calc(100% - 1px));
  }
  .paper-card-content { padding: 32px 24px; }

  .nav-links { display: none; }
}

/* ============ LEGAL PAGES ============ */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 28px 80px;
}
.legal-page h1 {
  font-family: var(--font-hand);
  font-size: 36px;
  letter-spacing: 1.5px;
  margin: 0 0 8px;
}
.legal-page .updated {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.legal-page h2 {
  font-family: var(--font-hand);
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--olive-deep);
}
.legal-page p, .legal-page li {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
}
.legal-page table.tokutei {
  width: 100%; border-collapse: collapse; margin-top: 16px;
}
.legal-page table.tokutei th,
.legal-page table.tokutei td {
  text-align: left;
  vertical-align: top;
  padding: 18px 8px;
  border-bottom: 1px dashed rgba(90,111,60,0.3);
  font-size: 15px;
}
.legal-page table.tokutei th {
  color: var(--olive-deep);
  font-weight: 700;
  width: 200px;
  padding-right: 24px;
  font-family: var(--font-hand);
}
.legal-page table.tokutei td { color: var(--ink); }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  padding: 10px 20px;
  background: var(--olive);
  color: var(--paper);
  border-radius: 999px;
  font-size: 14px;
}
.legal-back:hover { background: var(--olive-deep); }

@media (max-width: 600px) {
  .legal-page table.tokutei th,
  .legal-page table.tokutei td {
    display: block;
    width: auto;
    padding: 6px 0;
    border-bottom: none;
  }
  .legal-page table.tokutei tr {
    display: block;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(90,111,60,0.3);
  }
}
