:root {
  --fb-blue: #1877F2;
  --bg: #F5F7FB;
  --text: #1C1E21;
  --muted: #6B7280;
  --radius: 18px;
  --shadow-1: 0 10px 30px rgba(24, 119, 242, 0.12), 0 4px 16px rgba(0,0,0,0.06);
  --ring: 0 0 0 8px rgba(24,119,242,.12);
  --border: rgba(0,0,0,0.08);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  background: radial-gradient(1200px 800px at 50% -20%, rgba(24,119,242,.12), transparent 60%), var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 12px 16px calc(120px + var(--safe-bottom));
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(160%) blur(8px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--fb-blue);
  font-weight: 800;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  flex-shrink: 0;
}

.brand-name {
  font-weight: 700;
  letter-spacing: .3px;
  color: #1F2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #F3F4F6;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
}

.lang-pill::after {
  content: "▾";
  font-size: 11px;
  opacity: .7;
}

.cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.cta-single { max-width: 320px; }

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 700;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
  min-width: 140px;
  line-height: 1;
}

.btn svg { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

.btn-outline {
  background: #F3F8FF;
  color: #0b58c8;
  border-color: rgba(24,119,242,.25);
}

.btn-outline:hover { background: #eaf3ff; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #EDF4FF;
  color: #1F3B78;
  border: 1px solid rgba(24,119,242,0.22);
  font-size: 12px;
}

.hero {
  position: relative;
  margin: 20px 0 8px;
  padding: 22px 16px 24px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #EAF2FF, #F7FAFF);
  box-shadow: var(--shadow-1);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 10px;
}

.hero h1 {
  margin: 10px 0 8px;
  font-size: 26px;
  line-height: 1.25;
}

.hero p {
  margin: 0 0 14px;
  color: #3F4B5E;
  line-height: 1.7;
}

.hero .chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 12px;
}

.safe-tip {
  margin: 12px 0 0 !important;
  font-size: 13px;
  color: #5b6b82 !important;
}

.blob {
  position: absolute;
  filter: blur(40px);
  opacity: .55;
  animation: blob 16s ease-in-out infinite;
  pointer-events: none;
}

.blob.b1 {
  width: 320px;
  height: 320px;
  left: -120px;
  top: -80px;
  background:
    radial-gradient(circle at 30% 30%, rgba(68, 172, 255, 0.8), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(74, 115, 255, 0.7), transparent 55%);
}

.blob.b2 {
  width: 280px;
  height: 280px;
  right: -80px;
  bottom: -80px;
  background:
    radial-gradient(circle at 40% 40%, rgba(50, 196, 255, 0.7), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(99, 92, 255, 0.65), transparent 60%);
  animation-delay: -6s;
}

@keyframes blob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
}

.device {
  position: relative;
  width: 220px;
  height: 440px;
  margin: 6px auto 0;
  border-radius: 32px;
  background: linear-gradient(160deg, #0E1630, #0B1430);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.18), 0 10px 30px rgba(24,119,242,.15);
}

.device .notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #0B1224;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06);
}

.device .screen {
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(24,119,242,.14), rgba(108,131,255,.14)),
    radial-gradient(200px 200px at 70% 20%, rgba(255,255,255,.16), transparent 50%);
  overflow: hidden;
}

.kpi {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 120px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  color: #0F172A;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  animation: float 6s ease-in-out infinite;
}

.kpi h4 {
  margin: 0 0 6px;
  font-size: 12px;
  color: #1F3B78;
}

.bar {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, #69B7FF, #1877F2);
}

.kpi small {
  display: block;
  margin-top: 6px;
  color: #1F3B78;
  opacity: .8;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.section {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  margin: 14px 0;
  box-shadow: var(--shadow-1);
}

.section h2 {
  font-size: 18px;
  margin: 2px 0 12px;
}

.muted { color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
}

.icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1E3A8A;
  background: linear-gradient(135deg, rgba(24,119,242,.12), rgba(99,90,255,.12));
  border: 1px solid var(--border);
  font-size: 14px;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.feature p {
  margin: 0;
  color: #4B5563;
  line-height: 1.6;
  font-size: 13px;
}

.media-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.media {
  position: relative;
  min-height: 120px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(24,119,242,.06), rgba(99,90,255,.06));
  overflow: hidden;
  border: 1px solid var(--border);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgba(24,119,242,.08), transparent 60%);
}

.media .overlay-card {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  color: #1F2937;
  backdrop-filter: blur(8px);
  font-size: 13px;
  line-height: 1.55;
}

.cases {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}

.case-card {
  scroll-snap-align: start;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.case-card h4 { margin: 0 0 8px; }
.case-card p {
  margin: 0 0 10px;
  color: #4B5563;
  font-size: 13px;
  line-height: 1.6;
}

.stat {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(24,119,242,.1);
  color: #0b58c8;
  border: 1px solid rgba(24,119,242,.22);
}

.callout {
  position: relative;
  background: linear-gradient(135deg, #F0F6FF, #F8FBFF);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.callout h3 {
  margin: 4px 0 8px;
  font-size: 18px;
}

.callout .cta { margin-top: 12px; }

.disclaimer {
  margin: 14px 0 0;
  font-size: 12px;
  color: #9CA3AF;
  line-height: 1.6;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: saturate(160%) blur(8px);
  background: rgba(255,255,255,0.95);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(14px + var(--safe-bottom));
  z-index: 9999;
}

.sticky-cta .hint {
  font-size: 12px;
  color: #6B7280;
  margin: 0 0 8px 2px;
}

.sticky-cta .cta-single {
  max-width: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(90px + var(--safe-bottom));
  transform: translateX(-50%) translateY(12px);
  background: rgba(28, 30, 33, 0.92);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 760px) {
  .hero-content { grid-template-columns: 1fr; }
  .device { margin-top: 12px; height: 360px; width: 180px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
