/* =========================================================
   Postra LP — styles.css
   Design system: sky-blue × cream × navy / glass-morphism
   ========================================================= */

:root {
  --bg: #e9f1f9;
  --bg-elev: #f4f8fc;
  --surface: rgba(255, 255, 255, 0.55);
  --surface-strong: rgba(255, 255, 255, 0.78);
  --border: rgba(40, 80, 120, 0.10);
  --border-strong: rgba(40, 80, 120, 0.22);
  --fg: #1b2c44;
  --fg-muted: rgba(27, 44, 68, 0.66);
  --fg-faint: rgba(27, 44, 68, 0.42);
  --accent: #7fb3dc;
  --accent-2: #f3e8d0;
  --sky-top: #dbe9f6;
  --sky-bot: #a7c8e5;
  --cream: #faf3e3;
  --navy: #1b2c44;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-w: 1200px;
  --shadow-soft:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 24px 60px -28px rgba(74, 122, 162, 0.45),
    0 0 0 1px rgba(40, 80, 120, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--fg);
  font-family: "Inter", "Noto Sans JP", ui-sans-serif, system-ui,
    -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  font-feature-settings: "ss01", "cv11", "calt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.65;
  letter-spacing: 0.005em;
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bot) 100%),
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(250, 243, 227, 0.45), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: rgba(127, 179, 220, 0.45);
  color: var(--navy);
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  color: var(--navy);
}

p {
  margin: 0;
  color: var(--fg-muted);
}

/* --- Grain overlay ---------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: soft-light;
  z-index: 1;
}

/* --- Floating orbs ---------------------------------------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.55;
}
.orb-1 {
  width: 520px;
  height: 520px;
  left: -10%;
  top: 4%;
  background: radial-gradient(closest-side, rgba(250, 243, 227, 0.9), transparent 70%);
  animation: orb-float 14s ease-in-out infinite;
}
.orb-2 {
  width: 460px;
  height: 460px;
  right: -8%;
  top: 30%;
  background: radial-gradient(closest-side, rgba(127, 179, 220, 0.7), transparent 70%);
  animation: orb-float 18s ease-in-out infinite reverse;
}
.orb-3 {
  width: 380px;
  height: 380px;
  left: 40%;
  bottom: -8%;
  background: radial-gradient(closest-side, rgba(195, 222, 244, 0.6), transparent 70%);
  animation: orb-float 22s ease-in-out infinite;
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* --- Utilities -------------------------------------------- */
.text-gradient {
  background: linear-gradient(90deg, var(--navy) 0%, #5a8fc0 50%, #c9a06a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hr-soft {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin: 0.5rem 0;
}

.sp-only { display: none; }

@media (max-width: 720px) {
  .sp-only { display: inline; }
  .hide-sp { display: none !important; }
}

/* --- Buttons ---------------------------------------------- */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 140ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, opacity 220ms ease;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(180deg, #8fc0e2 0%, #5e94c2 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 14px 30px -12px rgba(74, 122, 162, 0.55),
    0 0 0 1px rgba(40, 80, 120, 0.10);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 18px 36px -12px rgba(74, 122, 162, 0.65),
    0 0 0 1px rgba(40, 80, 120, 0.12);
}

.btn-ghost {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn-sm {
  height: 2.25rem;
  padding: 0 0.95rem;
  font-size: 0.875rem;
}
.btn-lg {
  height: 3.25rem;
  padding: 0 1.6rem;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
}

/* --- Header ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem clamp(1rem, 3vw, 2rem);
  background: linear-gradient(180deg, rgba(233, 241, 249, 0.7), rgba(233, 241, 249, 0.35));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, background 220ms ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: linear-gradient(180deg, rgba(233, 241, 249, 0.92), rgba(233, 241, 249, 0.75));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.brand-mark {
  display: inline-block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow:
    0 6px 14px -6px rgba(74, 122, 162, 0.45),
    0 0 0 1px rgba(40, 80, 120, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}
.brand-mark img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: cover;
}
.brand-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
  color: var(--fg-muted);
}
.nav a {
  position: relative;
  padding: 0.4rem 0;
  transition: color 160ms ease;
}
.nav a:hover {
  color: var(--navy);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), #c9a06a);
  transition: right 200ms ease;
}
.nav a:hover::after {
  right: 0;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  padding: 9px 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 220ms ease, opacity 220ms ease;
}
.menu-toggle span + span { margin-top: 4px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: sticky;
  top: var(--header-h, 64px);
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, rgba(233, 241, 249, 0.96), rgba(233, 241, 249, 0.88));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu a {
  padding: 0.55rem 0.25rem;
  font-size: 0.98rem;
  color: var(--fg);
}
.mobile-menu .btn-primary,
.mobile-menu .btn-ghost {
  width: 100%;
}

/* --- Hero ------------------------------------------------- */
.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 7vw, 6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2rem;
  padding: 0 0.875rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(127, 179, 220, 0.8);
  animation: dot-pulse 1.6s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

.hero-title {
  margin-top: 1.25rem;
  font-size: clamp(2.25rem, 5.4vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.028em;
}

.hero-sub {
  margin-top: 1.25rem;
  max-width: 30em;
  font-size: clamp(0.98rem, 1.4vw, 1.075rem);
  color: var(--fg-muted);
  line-height: 1.8;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-meta {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  color: var(--fg-muted);
  font-size: 0.88rem;
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.check {
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #8fc0e2, #5e94c2);
  box-shadow: 0 0 10px rgba(127, 179, 220, 0.5);
  position: relative;
}
.check::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2.5 6.5l2.4 2.4L9.5 3.5' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/10px 10px no-repeat;
}

/* --- Hero visual / post stack ----------------------------- */
.hero-visual {
  position: relative;
  height: 480px;
}
.card-stack {
  position: absolute;
  inset: 0;
}

.post-card {
  position: absolute;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(250, 243, 227, 0.55));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  width: 320px;
  animation: float-card 8s ease-in-out infinite;
  color: var(--fg);
}

.post-card--x {
  top: 20px;
  left: 8%;
  z-index: 3;
  animation-delay: 0s;
}
.post-card--ig {
  top: 130px;
  right: 4%;
  z-index: 2;
  animation-delay: -2s;
  width: 270px;
}
.post-card--yt {
  bottom: 24px;
  left: 22%;
  z-index: 1;
  animation-delay: -4s;
  width: 290px;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.sns-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
}
.sns-x { background: #1b2c44; }
.sns-ig { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.sns-yt { background: #ff0033; }

.post-time {
  font-size: 0.72rem;
  color: var(--fg-faint);
  letter-spacing: 0.04em;
}
.post-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--fg);
}
.post-text.small {
  font-size: 0.85rem;
}
.post-text .hash {
  display: block;
  margin-top: 0.5rem;
  color: var(--accent);
  font-weight: 500;
}
.post-foot {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.shimmer-track {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 9999px;
  background: rgba(40, 80, 120, 0.08);
  overflow: hidden;
}
.shimmer-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(127, 179, 220, 0.7) 30%, rgba(243, 232, 208, 0.8) 60%, transparent 100%);
  animation: shimmer-slide 1.6s ease-in-out infinite;
}
@keyframes shimmer-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.ai-tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.post-image {
  height: 110px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(143, 192, 226, 0.45), rgba(250, 243, 227, 0.7)),
    radial-gradient(circle at 20% 30%, #c9d8e9, transparent 60%),
    radial-gradient(circle at 80% 80%, #f3e8d0, transparent 60%);
  margin-bottom: 0.7rem;
  border: 1px solid var(--border);
}

.loader-line {
  height: 10px;
  border-radius: 9999px;
  background: rgba(40, 80, 120, 0.08);
  position: relative;
  overflow: hidden;
  margin: 0.4rem 0;
}
.loader-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(127, 179, 220, 0.7), transparent);
  animation: shimmer-slide 1.6s ease-in-out infinite;
}
.loader-line.short { width: 60%; }

/* --- Sections --------------------------------------------- */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-inner.narrow {
  max-width: 780px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 0.9rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.025em;
}
.section-sub {
  margin-top: 0.9rem;
  max-width: 56ch;
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.85;
}

/* --- Pain grid -------------------------------------------- */
.pain-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.pain-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.pain-card h3 {
  margin: 0.85rem 0 0.5rem;
  font-size: 1.05rem;
}
.pain-card p {
  font-size: 0.92rem;
}
.pain-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(143, 192, 226, 0.25), rgba(143, 192, 226, 0.08));
  color: #2c5781;
  border: 1px solid var(--border);
}

/* --- Features grid ---------------------------------------- */
.feature-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.feature-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(250, 243, 227, 0.55));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 20px 36px -16px rgba(74, 122, 162, 0.4);
}
.feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1rem;
  color: #2c5781;
  background: linear-gradient(180deg, rgba(143, 192, 226, 0.35), rgba(243, 232, 208, 0.4));
  border: 1px solid var(--border);
}
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.93rem;
}

/* --- Steps ------------------------------------------------ */
.step-list {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  counter-reset: step;
}
.step-card {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.step-num {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--fg-faint);
  margin-bottom: 0.75rem;
}
.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}
.step-card p {
  font-size: 0.93rem;
}

/* --- Pricing ---------------------------------------------- */
.plan-grid {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.6rem 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.plan-card:hover {
  transform: translateY(-3px);
}
.plan-card--featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 243, 227, 0.7));
  border-color: var(--border-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 30px 70px -24px rgba(74, 122, 162, 0.5);
  transform: translateY(-6px);
}
.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  color: #fff;
  background: linear-gradient(180deg, #8fc0e2, #5e94c2);
  box-shadow: 0 6px 14px -6px rgba(74, 122, 162, 0.55);
}
.plan-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.plan-desc {
  margin-top: 0.4rem;
  font-size: 0.92rem;
}
.plan-price {
  margin: 1.25rem 0 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  color: var(--navy);
}
.price-yen {
  font-size: 1.1rem;
  font-weight: 600;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-unit {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-left: 0.15rem;
}
.plan-features {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.plan-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--fg);
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #8fc0e2, #5e94c2)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2.5 6.5l2.4 2.4L9.5 3.5' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/9px 9px no-repeat;
}
.pricing-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--fg-faint);
  text-align: center;
}

/* --- FAQ -------------------------------------------------- */
.faq-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 220ms ease;
}
.faq-item[open] {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(250, 243, 227, 0.45));
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 auto;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--fg-muted);
  transition: transform 220ms ease;
}
.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 12px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }

.faq-body {
  padding: 0 1.35rem 1.25rem;
  color: var(--fg-muted);
  font-size: 0.93rem;
  line-height: 1.85;
}

/* --- CTA -------------------------------------------------- */
.section-cta {
  padding-top: 2rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.cta-card {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 243, 227, 0.6));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 40px 90px -36px rgba(74, 122, 162, 0.55);
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(127, 179, 220, 0.6), transparent 50%, rgba(201, 160, 106, 0.4));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.cta-title {
  margin-top: 0.9rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
}
.cta-sub {
  margin: 1.1rem auto 0;
  max-width: 50ch;
  color: var(--fg-muted);
}
.cta-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 2rem;
  padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(233, 241, 249, 0.4), rgba(233, 241, 249, 0.8));
  backdrop-filter: blur(8px);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 3rem;
}
.footer-brand .brand-mark { display: inline-block; }
.footer-brand .brand-name {
  margin-left: 0.65rem;
}
.footer-tag {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
  max-width: 22em;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-cols h4 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 0.85rem;
  font-weight: 600;
}
.footer-cols a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: var(--fg-muted);
  transition: color 160ms ease;
}
.footer-cols a:hover {
  color: var(--navy);
}
.footer-cols .muted {
  font-size: 0.88rem;
  color: var(--fg-faint);
  margin: 0.15rem 0;
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--fg-faint);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* =========================================================
   Legal pages (terms / privacy / tokushoho)
   ========================================================= */

.legal-page {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 6vw, 5rem);
}

.legal-page .legal-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 0.9rem;
}

.legal-page h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
}

.legal-page .legal-meta {
  font-size: 0.85rem;
  color: var(--fg-faint);
  margin-bottom: 2.5rem;
}

.legal-page article {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(250, 243, 227, 0.45));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 30px 70px -36px rgba(74, 122, 162, 0.4);
}

.legal-page h2 {
  font-size: 1.15rem;
  margin: 2.25rem 0 0.85rem;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.legal-page h2:first-child {
  margin-top: 0;
}
.legal-page h3 {
  font-size: 0.98rem;
  margin: 1.4rem 0 0.6rem;
  color: var(--navy);
}

.legal-page p,
.legal-page li {
  font-size: 0.93rem;
  line-height: 1.95;
  color: var(--fg);
}
.legal-page p {
  margin: 0.85rem 0;
}

.legal-page ul,
.legal-page ol {
  margin: 0.85rem 0;
  padding-left: 1.4rem;
}
.legal-page ol { padding-left: 1.6rem; }
.legal-page li { margin: 0.35rem 0; }

.legal-page strong {
  color: var(--navy);
  font-weight: 600;
}

.legal-page .hr-soft {
  margin: 2rem 0;
}

.legal-page .legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--fg-muted);
  transition: color 160ms ease;
}
.legal-page .legal-back:hover {
  color: var(--navy);
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.legal-page th,
.legal-page td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.8;
}
.legal-page th {
  background: rgba(127, 179, 220, 0.12);
  font-weight: 600;
  color: var(--navy);
  width: 32%;
  white-space: nowrap;
}
.legal-page tr:last-child th,
.legal-page tr:last-child td {
  border-bottom: 0;
}
@media (max-width: 640px) {
  .legal-page th,
  .legal-page td {
    display: block;
    width: 100%;
    white-space: normal;
    border-bottom: 0;
    padding: 0.6rem 0.9rem;
  }
  .legal-page th {
    background: rgba(127, 179, 220, 0.18);
    padding-top: 0.85rem;
  }
  .legal-page td {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
  }
}

.legal-contact {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(127, 179, 220, 0.1);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  line-height: 1.85;
}
.legal-contact p { margin: 0.15rem 0; }

/* --- Reveal on scroll ------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-visual {
    height: 420px;
    max-width: 540px;
    margin: 1rem auto 0;
    width: 100%;
  }
  .pain-grid,
  .feature-grid,
  .step-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  .plan-card--featured { transform: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; flex-direction: column; justify-content: center; }
  .header-actions .btn-primary { display: none; }
  .pain-grid,
  .feature-grid,
  .step-list { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero-visual { height: 380px; }
  .post-card { width: 86%; max-width: 320px; }
  .post-card--x { left: 4%; }
  .post-card--ig { right: 4%; top: 110px; }
  .post-card--yt { left: 10%; bottom: 10px; }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    flex: 1 1 100%;
  }
}

@media (max-width: 420px) {
  .footer-cols { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
