/* ==========================================================================
   LoveLog Official Website Stylesheet
   Inspired by clean femtech/wellness editorial design + LoveLog theme palette
   ========================================================================== */

:root {
  /* LoveLog Theme Colors */
  --love-theme: #c15e72;
  --love-theme-light: #d87a8c;
  --love-theme-dark: #a04a5c;
  --love-theme-deep: #3d262c;
  --love-theme-deep-card: #4d3138;

  /* Surface Colors */
  --surface-white: #ffffff;
  --surface-blush: #f6eeec;
  --surface-blush-soft: #fbf6f5;
  --surface-warm-gray: #f5efed;
  --surface-predicted: #f5e9e2;
  --surface-border: #eadedd;
  --surface-border-subtle: #efe6e4;

  /* Icon / Data Accent Colors */
  --sex-icon: #f47891;
  --period-icon: #e7bb9f;
  --period-predicted: #d4c4b8;
  --premium-gold: #d4a634;

  /* Text Colors */
  --text-heading: #362529;
  --text-body: #484645;
  --text-muted: #756b6a;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.78);

  /* Typography */
  --font-en: "Jost", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ja: "Plus Jakarta Sans", "Noto Sans JP", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container-width: 960px;
  --header-width: 1120px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-card: 0 8px 28px rgba(61, 38, 44, 0.06);
  --shadow-card-hover: 0 12px 36px rgba(193, 94, 114, 0.12);
  --shadow-header: 0 4px 20px rgba(61, 38, 44, 0.06);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-ja);
  color: var(--text-body);
  background-color: var(--surface-white);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container-width) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

.header-container {
  width: 100%;
  max-width: calc(var(--header-width) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation (Dual Sticky Style)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--surface-border-subtle);
  box-shadow: var(--shadow-header);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-heading);
}

.brand-logo:hover {
  opacity: 0.85;
}

.brand-logo img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.brand-wordmark {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-heading);
  line-height: 1;
}

.brand-wordmark span {
  color: var(--love-theme);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-heading);
  padding: 6px 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--love-theme);
  transition: width 0.22s ease;
}

.nav-link:hover {
  color: var(--love-theme);
}

.nav-link:hover::after {
  width: 100%;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 12px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-pill);
  background-color: var(--surface-white);
  color: var(--text-heading);
  font-size: 0.82rem;
}

.lang-switcher svg {
  color: var(--love-theme);
  flex-shrink: 0;
}

.lang-select {
  border: none;
  background: transparent;
  font-family: var(--font-ja);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-heading);
  cursor: pointer;
  outline: none;
  padding-right: 4px;
}

.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-heading);
}

.mobile-nav-drawer {
  display: none;
  background: var(--surface-white);
  border-top: 1px solid var(--surface-border-subtle);
  padding: 16px 24px 24px;
}

.mobile-nav-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-list a {
  display: block;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-heading);
  border-bottom: 1px solid var(--surface-border-subtle);
}

/* ==========================================================================
   Hero / Key Visual (Flat Rectangular Full-Bleed Blush Band)
   ========================================================================== */
.hero-band {
  background-color: var(--surface-blush);
  padding: 76px 0 80px;
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 600;
  color: var(--love-theme);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 680px;
  line-height: 1.9;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background-color: var(--love-theme);
  color: var(--surface-white);
  font-size: 0.925rem;
  font-weight: 600;
  border: 1px solid var(--love-theme);
}

.btn-primary:hover {
  background-color: var(--love-theme-dark);
  border-color: var(--love-theme-dark);
  transform: translateY(-1px);
}

.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px 11px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--text-heading);
  background-color: var(--surface-white);
  color: var(--text-heading);
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.btn-outline-pill.is-ja {
  font-family: var(--font-ja);
  font-weight: 600;
}

.btn-outline-pill .btn-circle-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--text-heading);
  color: var(--surface-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-outline-pill:hover {
  border-color: var(--love-theme);
  color: var(--love-theme);
}

.btn-outline-pill:hover .btn-circle-icon {
  background-color: var(--love-theme);
  transform: translateX(2px);
}

.btn-outline-pill--light {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--surface-white);
}

.btn-outline-pill--light .btn-circle-icon {
  background-color: var(--surface-white);
  color: var(--love-theme-deep);
}

.btn-outline-pill--light:hover {
  border-color: var(--surface-white);
  color: var(--surface-white);
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-outline-pill--light:hover .btn-circle-icon {
  background-color: var(--surface-white);
  color: var(--love-theme);
}

.pill-tag {
  display: inline-block;
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  background-color: var(--surface-white);
  color: var(--love-theme);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
}

.pill-tag--muted {
  background-color: var(--surface-blush);
  color: var(--love-theme-dark);
}

/* ==========================================================================
   Section Common Headings (Bilingual Eyebrow + Japanese H2)
   ========================================================================== */
.section {
  padding: 88px 0;
}

.section--compact {
  padding: 64px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-eyebrow {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--love-theme);
  line-height: 1.35;
}

.section-desc {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-body);
}

/* ==========================================================================
   Quick-Jump Anchor Grid (1 Full-Width + 2-Column Row)
   ========================================================================== */
.quick-jump-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 72px;
}

.quick-card {
  background-color: var(--surface-blush-soft);
  border: 1px solid var(--surface-border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.quick-card--full {
  grid-column: 1 / -1;
}

.quick-card:hover {
  background-color: var(--surface-blush);
  border-color: var(--love-theme-light);
  transform: translateY(-2px);
}

.quick-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--text-heading);
  color: var(--surface-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.75rem;
  transition: background-color 0.2s ease;
}

.quick-card:hover .quick-card-arrow {
  background-color: var(--love-theme);
}

.quick-card-body {
  flex: 1;
}

.quick-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-card-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background-color: var(--love-theme);
  color: var(--surface-white);
}

.quick-card-status--soon {
  background-color: var(--period-predicted);
  color: var(--text-heading);
}

.quick-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   App Showcase Block (Header + Intro Box + 4-Col UI Mockups)
   ========================================================================== */
.app-showcase {
  padding-top: 16px;
}

.app-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.app-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background-color: var(--surface-blush);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(193, 94, 114, 0.12);
  flex-shrink: 0;
}

.app-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-tagline {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--love-theme);
  margin-bottom: 4px;
}

.app-name {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--text-heading);
  color: var(--surface-white);
  font-size: 0.82rem;
  line-height: 1.25;
}

.store-badge:hover {
  background-color: var(--love-theme);
}

.store-badge--secondary {
  background-color: var(--surface-white);
  color: var(--text-heading);
  border: 1px solid var(--surface-border);
}

.store-badge--secondary:hover {
  background-color: var(--surface-blush-soft);
  border-color: var(--love-theme-light);
  color: var(--love-theme);
}

.store-badge-sub {
  display: block;
  font-size: 0.65rem;
  opacity: 0.8;
  font-family: var(--font-en);
}

.store-badge-main {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Intro Summary Box */
.intro-summary-box {
  background-color: var(--surface-blush-soft);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 40px;
}

.intro-summary-box p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 16px;
}

.intro-summary-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px !important;
}

.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 4-Column Feature Screen Cards */
.feature-screens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.screen-card {
  background-color: var(--surface-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--surface-border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.screen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.screen-mockup {
  background: linear-gradient(180deg, var(--surface-blush) 0%, var(--surface-white) 100%);
  padding: 18px 14px 16px;
  border-bottom: 1px solid var(--surface-border-subtle);
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen-caption {
  padding: 16px 16px 18px;
  flex: 1;
}

.screen-caption-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.screen-caption-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Mini UI Mockup Primitives (CSS representations of LoveLog UI) */
.ui-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.ui-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.ui-cal-cell {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--surface-white);
  border: 1px solid var(--surface-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  color: var(--text-body);
  position: relative;
}

.ui-cal-cell.is-sex {
  border-color: var(--sex-icon);
  background: #fff3f6;
  color: var(--love-theme);
  font-weight: 700;
}

.ui-cal-cell.is-period {
  border-color: var(--period-icon);
  background: #fdf6f1;
  color: #9e6b4f;
  font-weight: 700;
}

.ui-cal-cell.is-predicted {
  border: 1px dashed var(--period-predicted);
  background: var(--surface-predicted);
}

.ui-event-pill {
  background: var(--surface-white);
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid var(--surface-border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  margin-bottom: 6px;
}

.ui-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ui-stat-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 92px;
  padding: 8px 6px 4px;
  background: var(--surface-white);
  border-radius: 8px;
  border: 1px solid var(--surface-border-subtle);
}

.ui-stat-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--love-theme-light);
}

.ui-stat-bar.is-accent {
  background: var(--love-theme);
}

.ui-stat-bar.is-peach {
  background: var(--period-icon);
}

.ui-cycle-box {
  background: var(--surface-white);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--surface-border-subtle);
  text-align: center;
}

.ui-cycle-num {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--love-theme);
  line-height: 1.1;
}

/* ==========================================================================
   Nested Sub-Section Panel (Warm Gray Outer + Stacked White Cards + ○ Heading)
   ========================================================================== */
.nested-panel {
  background-color: var(--surface-warm-gray);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 48px;
}

.nested-panel-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 24px;
  text-align: center;
}

.nested-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.white-feature-card {
  background-color: var(--surface-white);
  border-radius: var(--radius-md);
  padding: 26px 28px;
}

.circle-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.circle-heading::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2.5px solid var(--love-theme);
  flex-shrink: 0;
}

.white-feature-card p {
  font-size: 0.92rem;
  color: var(--text-body);
}

.sub-cards-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.blush-sub-card {
  background-color: var(--surface-blush-soft);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.blush-sub-card-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--love-theme-dark);
  margin-bottom: 8px;
}

.blush-sub-card p {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* ==========================================================================
   Plans Comparison Area (Left Feature Cards + Right Table)
   ========================================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.plan-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-highlight-card {
  background-color: var(--surface-white);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  border: 1px solid var(--surface-border-subtle);
  box-shadow: 0 2px 12px rgba(61, 38, 44, 0.03);
}

.plan-highlight-card p {
  font-size: 0.88rem;
  color: var(--text-body);
}

.plan-table-wrap {
  background-color: var(--surface-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.plan-table th,
.plan-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--surface-border-subtle);
  text-align: center;
}

.plan-table th:first-child,
.plan-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-heading);
}

.plan-table thead th {
  background-color: var(--surface-blush-soft);
  font-weight: 700;
  color: var(--text-heading);
  padding: 18px 16px;
}

.plan-table thead th.is-premium {
  background-color: var(--love-theme);
  color: var(--surface-white);
}

.plan-price-sub {
  display: block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 2px;
}

.plan-table tbody tr:last-child td {
  border-bottom: none;
}

.plan-check {
  color: var(--love-theme);
  font-weight: 700;
  font-size: 1.05rem;
}

.plan-dash {
  color: var(--period-predicted);
}

.plan-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Privacy & Backup Section (2-Column Editorial Split + Blush Callout Box)
   ========================================================================== */
.split-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 56px;
}

.hairline-list-item {
  padding: 18px 0;
  border-top: 1px solid var(--surface-border);
}

.hairline-list-item:last-child {
  border-bottom: 1px solid var(--surface-border);
}

.hairline-list-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.hairline-list-item p {
  font-size: 0.9rem;
  color: var(--text-body);
}

.privacy-diagram-card {
  background-color: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--surface-border-subtle);
}

.diagram-node {
  background-color: var(--surface-blush-soft);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
}

.diagram-node-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
}

.diagram-node-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.diagram-arrow {
  text-align: center;
  padding: 10px 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--love-theme);
}

.diagram-badge-safe {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--surface-predicted);
  font-size: 0.8rem;
  color: var(--text-heading);
  text-align: center;
  font-weight: 500;
}

.backup-callout {
  background-color: var(--surface-blush-soft);
  border-radius: var(--radius-md);
  padding: 32px 36px;
}

.backup-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.backup-list-item {
  background: var(--surface-white);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.backup-list-item .circle-heading {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.backup-list-item p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: var(--surface-white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-ja);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-question:hover {
  background-color: var(--surface-blush-soft);
}

.faq-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--surface-blush);
  color: var(--love-theme);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
  background-color: var(--love-theme);
  color: var(--surface-white);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.85;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ==========================================================================
   Dark Contrast Band (Information & Contact)
   ========================================================================== */
.dark-band {
  background-color: var(--love-theme-deep);
  color: var(--text-on-dark);
  padding: 80px 0;
}

.dark-band-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.dark-card {
  background-color: var(--love-theme-deep-card);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.dark-card-eyebrow {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--love-theme-light);
  margin-bottom: 4px;
}

.dark-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--surface-white);
  margin-bottom: 12px;
}

.dark-card-desc {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  line-height: 1.8;
}

.dark-card-action {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   Soft Gradient Cross-Navigation Band (Links)
   ========================================================================== */
.gradient-band {
  background: linear-gradient(180deg, var(--surface-blush) 0%, #fcf9f8 100%);
  padding: 72px 0;
}

.gradient-band .section-title {
  color: var(--text-heading);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.link-card {
  background-color: var(--surface-white);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: 0 4px 16px rgba(61, 38, 44, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
}

.link-card:hover {
  transform: translateY(-2px);
  color: var(--love-theme);
  box-shadow: var(--shadow-card);
}

.link-card-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--text-heading);
  color: var(--surface-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.link-card:hover .link-card-arrow {
  background-color: var(--love-theme);
}

/* ==========================================================================
   Footer (White Canvas + PageTop + 4-Col Sitemap + Decorative Pastel Strip)
   ========================================================================== */
.site-footer {
  background-color: var(--surface-white);
  padding-top: 56px;
  border-top: 1px solid var(--surface-border-subtle);
}

.footer-top-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 32px;
}

.pagetop-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-heading);
  background: none;
  border: none;
  cursor: pointer;
}

.pagetop-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--text-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pagetop-btn:hover .pagetop-circle {
  background-color: var(--love-theme);
  border-color: var(--love-theme);
  color: var(--surface-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 56px;
}

.footer-brand-desc {
  margin: 14px 0 22px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.footer-legal-inline {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal-inline a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-inline a:hover {
  color: var(--love-theme);
}

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 2px 0;
}

.footer-links a::after {
  content: "›";
  color: var(--period-predicted);
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--love-theme);
}

/* Bottom Decorative Pastel Orb Strip (Inspired by LunaLuna's playful pastel strip) */
.footer-decor-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 20px 24px 28px;
  overflow: hidden;
}

.decor-orb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  opacity: 0.72;
  flex-shrink: 0;
}

.decor-orb--1 { background: radial-gradient(circle at 30% 30%, #f8d4dc, #c15e72); }
.decor-orb--2 { background: radial-gradient(circle at 30% 30%, #fae6d8, #e7bb9f); width: 44px; height: 44px; }
.decor-orb--3 { background: radial-gradient(circle at 30% 30%, #f6eeec, #d87a8c); width: 64px; height: 64px; }
.decor-orb--4 { background: radial-gradient(circle at 30% 30%, #f5e9e2, #d4c4b8); width: 48px; height: 48px; }
.decor-orb--5 { background: radial-gradient(circle at 30% 30%, #ffdbe3, #f47891); width: 52px; height: 52px; }

.footer-copyright {
  text-align: center;
  padding: 0 24px 36px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Subpage (Privacy Policy / Terms) Layout
   ========================================================================== */
.subpage-hero {
  background-color: var(--surface-blush);
  padding: 56px 0;
}

.subpage-hero h1 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 600;
  color: var(--love-theme);
  margin-bottom: 10px;
}

.subpage-hero p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-content {
  padding: 64px 0 88px;
}

.legal-article {
  max-width: 780px;
}

.legal-article h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--surface-border);
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article p {
  font-size: 0.94rem;
  margin-bottom: 14px;
}

.legal-article ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal-article li {
  font-size: 0.94rem;
  margin-bottom: 8px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .feature-screens-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plans-grid,
  .split-feature,
  .dark-band-grid {
    grid-template-columns: 1fr;
  }

  .backup-list {
    grid-template-columns: 1fr;
  }

  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .main-nav {
    display: none;
  }

  .header-mobile-actions {
    display: inline-flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-band {
    padding: 52px 0 56px;
  }

  .section {
    padding: 64px 0;
  }

  .quick-jump-grid,
  .sub-cards-2col {
    grid-template-columns: 1fr;
  }

  .nested-panel {
    padding: 24px 18px;
  }

  .intro-summary-box,
  .backup-callout {
    padding: 22px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .feature-screens-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .store-badges {
    width: 100%;
    flex-direction: column;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }
}
