/*
Theme Name: Punch LP
Theme URI: https://wp-test.moyamoya-design.com
Author: Azzpichon
Description: BtoB SaaS（勤怠管理ツール）LP用WordPressテーマ。乗り換え訴求型。
Version: 1.0.0
Text Domain: punch-theme
*/

/* ── Design Tokens ───────────────────────── */
:root {
  --bg:        oklch(98.5% 0.004 240);
  --bg-dark:   oklch(14% 0.025 248);
  --fg:        oklch(16% 0.022 248);
  --fg-muted:  oklch(52% 0.014 248);
  --fg-light:  oklch(70% 0.010 248);
  --accent:    oklch(54% 0.19  155);
  --accent-dk: oklch(44% 0.17  155);
  --border:    oklch(88% 0.008 240);
  --border-dk: oklch(28% 0.025 248);

  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'DM Sans', sans-serif;

  --r: 3px;
  --header-h: 68px;

  /* Fluid type */
  --t-xs:  clamp(0.6875rem, 0.9vw, 0.8125rem);
  --t-sm:  clamp(0.875rem,  1.1vw, 1rem);
  --t-md:  clamp(1rem,      1.4vw, 1.125rem);
  --t-lg:  clamp(1.25rem,   2vw,   1.75rem);
  --t-xl:  clamp(2rem,      4.5vw, 3.5rem);
  --t-2xl: clamp(2.75rem,   6.5vw, 5.25rem);

  /* Spacing */
  --s-xs: 0.5rem;
  --s-sm: 1rem;
  --s-md: 2rem;
  --s-lg: 4rem;
  --s-xl: 7rem;
  --s-2xl: 11rem;

  --container: min(1160px, 100% - 4rem);
}

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout helpers ──────────────────────── */
.container { width: var(--container); margin-inline: auto; }

/* ── Header ──────────────────────────────── */
header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: color-mix(in oklch, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
}

.logo {
  font-family: var(--font-en);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  list-style: none;
}

.header-nav a {
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--fg); }

.btn-header {
  font-family: var(--font-ja);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.55em 1.4em;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-header:hover { background: var(--accent-dk); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  inset-inline: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: var(--s-md);
  flex-direction: column;
  gap: var(--s-md);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
}

.mobile-nav.open { opacity: 1; pointer-events: all; transform: translateY(0); }

.mobile-nav a {
  font-size: var(--t-md);
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--fg); }

/* ── Section base ────────────────────────── */
section {
  padding-block: var(--s-xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-md);
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-heading {
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-wrap: balance;
  margin-bottom: var(--s-md);
}

.section-sub {
  font-size: var(--t-md);
  font-weight: 300;
  line-height: 1.9;
  color: var(--fg-muted);
  max-width: 52ch;
  text-wrap: pretty;
}

/* ── 1. Hero ─────────────────────────────── */
#hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 0;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-bg-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 70% at 55% 55%, transparent 20%, var(--bg) 90%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(54% 0.19 155 / 0.07) 0%, transparent 70%);
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100dvh - var(--header-h));
  padding-block: var(--s-lg);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-md);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.15s forwards;
}

.hero-kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero-catch {
  font-size: var(--t-2xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: var(--s-md);
  text-wrap: balance;
  max-width: 12em;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-catch .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  line-height: 1.9;
  color: var(--fg-muted);
  max-width: 44ch;
  margin-bottom: var(--s-lg);
  letter-spacing: 0.02em;
  text-wrap: pretty;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.45s forwards;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.6s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.9em 2em;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ja);
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--r);
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px oklch(54% 0.19 155 / 0.25);
}

.btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

.hero-note {
  font-size: var(--t-xs);
  color: var(--fg-light);
  letter-spacing: 0.04em;
}

/* hero stats */
.hero-stats {
  display: flex;
  gap: var(--s-xl);
  margin-top: var(--s-2xl);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.75s forwards;
}

.stat-num {
  font-family: var(--font-en);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.4em;
}

.stat-num span {
  font-size: 0.55em;
  font-weight: 400;
  color: var(--accent);
  vertical-align: super;
}

.stat-label {
  font-size: var(--t-xs);
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* ── 2. Problem ──────────────────────────── */
#problem {
  background: var(--bg-dark);
  color: var(--bg);
}

#problem .section-label { color: oklch(70% 0.15 155); }
#problem .section-label::before { background: oklch(70% 0.15 155); }

#problem .section-heading { color: var(--bg); }
#problem .section-sub { color: oklch(65% 0.012 248); }

.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl);
  align-items: center;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  margin-top: var(--s-lg);
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-sm);
  padding: var(--s-md);
  border: 1px solid var(--border-dk);
  border-radius: calc(var(--r) * 2);
  transition: border-color 0.2s;
}

.problem-item:hover { border-color: oklch(45% 0.025 248); }

.problem-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: oklch(22% 0.03 248);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-icon svg { width: 18px; height: 18px; }

.problem-text strong {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--bg);
  margin-bottom: 0.3em;
  letter-spacing: 0.01em;
}

.problem-text p {
  font-size: var(--t-xs);
  font-weight: 300;
  color: oklch(60% 0.012 248);
  line-height: 1.7;
}

.problem-visual {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.compare-label {
  font-size: var(--t-xs);
  color: oklch(55% 0.012 248);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-xs);
  font-family: var(--font-en);
}

.compare-row {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  margin-bottom: var(--s-sm);
}

.compare-name {
  font-size: var(--t-xs);
  color: oklch(55% 0.012 248);
  width: 72px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.bar-track {
  flex: 1;
  height: 8px;
  background: oklch(22% 0.03 248);
  border-radius: 99px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 1s cubic-bezier(0.4,0,0.2,1);
}

.bar-fill.bad  { background: oklch(52% 0.06 25); }
.bar-fill.good { background: var(--accent); }

.bar-val {
  font-family: var(--font-en);
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--bg);
  width: 3em;
  text-align: right;
}

/* ── 3. Solution ─────────────────────────── */
.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl);
  align-items: center;
}

.solution-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  margin-top: var(--s-lg);
}

.solution-point {
  display: flex;
  align-items: flex-start;
  gap: var(--s-sm);
}

.check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: oklch(54% 0.19 155 / 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.check-icon svg { width: 12px; height: 12px; color: var(--accent); }

.solution-point-text strong {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.3em;
}

.solution-point-text p {
  font-size: var(--t-xs);
  color: var(--fg-muted);
  line-height: 1.75;
}

/* UI mockup */
.mockup-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px oklch(16% 0.022 248 / 0.08);
}

.mockup-topbar {
  background: var(--fg);
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}

.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }

.mockup-content { padding: var(--s-md); }

.mockup-row {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mockup-row:last-child { border-bottom: none; }

.mockup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

.mockup-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }

.mockup-line { height: 8px; border-radius: 4px; background: var(--border); }

.mockup-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.badge-green { background: oklch(54% 0.19 155 / 0.12); color: var(--accent-dk); }
.badge-gray  { background: var(--border); color: var(--fg-muted); }

/* ── 4. Testimonials ─────────────────────── */
#testimonials {
  background: oklch(97% 0.006 240);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
  margin-top: var(--s-xl);
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--s-md) var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  transition: box-shadow 0.2s, transform 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 12px 40px oklch(16% 0.022 248 / 0.08);
  transform: translateY(-3px);
}

.testimonial-metric { display: flex; flex-direction: column; gap: 4px; }

.metric-num {
  font-family: var(--font-en);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}

.metric-label {
  font-size: var(--t-xs);
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.testimonial-quote {
  font-size: var(--t-sm);
  font-weight: 300;
  line-height: 1.85;
  color: var(--fg);
  text-wrap: pretty;
  flex: 1;
}

.testimonial-source {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: var(--s-sm);
  border-top: 1px solid var(--border);
}

.source-company {
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.04em;
}

.source-role { font-size: var(--t-xs); color: var(--fg-muted); }

/* ── 5. Steps ────────────────────────────── */
.steps-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl);
  align-items: end;
  margin-bottom: var(--s-xl);
}

.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-md);
  padding: var(--s-md) 0;
}

.step-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.step-week {
  font-family: var(--font-en);
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.step-title {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.step-desc {
  font-size: var(--t-xs);
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.75;
}

.steps-aside {
  background: var(--bg-dark);
  color: var(--bg);
  border-radius: 12px;
  padding: var(--s-lg);
}

.steps-aside-heading {
  font-size: var(--t-lg);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--s-md);
  color: var(--bg);
}

.steps-aside p {
  font-size: var(--t-sm);
  font-weight: 300;
  line-height: 1.85;
  color: oklch(65% 0.012 248);
}

.aside-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: var(--s-lg);
  padding-top: var(--s-md);
  border-top: 1px solid var(--border-dk);
}

.aside-stat-num {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.aside-stat-label { font-size: var(--t-sm); color: oklch(55% 0.012 248); }

/* ── 6. Pricing ──────────────────────────── */
#pricing {
  background: oklch(97% 0.006 240);
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-md);
  margin-top: var(--s-xl);
  max-width: 780px;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  transition: box-shadow 0.2s;
}

.pricing-card:hover { box-shadow: 0 12px 36px oklch(16% 0.022 248 / 0.07); }

.pricing-card.featured { border-color: var(--accent); position: relative; }

.featured-badge {
  position: absolute;
  top: -12px;
  left: var(--s-lg);
  background: var(--accent);
  color: #fff;
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 3px 12px;
  border-radius: 99px;
}

.pricing-plan {
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-price { display: flex; align-items: baseline; gap: 4px; }

.price-num {
  font-family: var(--font-en);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
}

.price-unit { font-size: var(--t-xs); color: var(--fg-muted); }

.pricing-desc { font-size: var(--t-xs); color: var(--fg-muted); line-height: 1.7; }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-xs);
  color: var(--fg);
}

.pricing-features li svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

.pricing-cta {
  display: block;
  text-align: center;
  padding: 0.8em;
  border-radius: var(--r);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.pricing-cta.outline { border: 1.5px solid var(--border); color: var(--fg); }
.pricing-cta.outline:hover { border-color: var(--accent); color: var(--accent); }
.pricing-cta.filled { background: var(--accent); color: #fff; }
.pricing-cta.filled:hover { background: var(--accent-dk); }

.pricing-note { margin-top: var(--s-md); font-size: var(--t-xs); color: var(--fg-light); letter-spacing: 0.04em; }

/* ── 7. FAQ ──────────────────────────────── */
.faq-intro { max-width: 520px; margin-bottom: var(--s-xl); }

.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

details.faq-item { border-bottom: 1px solid var(--border); }

summary.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  padding: var(--s-md) 0;
  cursor: pointer;
  list-style: none;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--fg);
  line-height: 1.6;
  letter-spacing: 0.01em;
  user-select: none;
}

summary.faq-q::-webkit-details-marker { display: none; }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  color: var(--fg-muted);
}

.faq-icon svg { width: 12px; height: 12px; transition: transform 0.2s; }

details[open] .faq-icon { background: var(--accent); border-color: var(--accent); color: #fff; }
details[open] .faq-icon svg { transform: rotate(45deg); }

.faq-a {
  padding: 0 0 var(--s-md);
  font-size: var(--t-sm);
  font-weight: 300;
  line-height: 1.9;
  color: var(--fg-muted);
  text-wrap: pretty;
}

/* ── 8. Footer CTA ───────────────────────── */
#footer-cta {
  background: var(--bg-dark);
  text-align: center;
  padding-block: var(--s-2xl);
}

#footer-cta .section-label { color: oklch(70% 0.15 155); justify-content: center; }
#footer-cta .section-label::before { background: oklch(70% 0.15 155); }

.footer-cta-heading {
  font-size: var(--t-2xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
  margin-bottom: var(--s-md);
}

.footer-cta-sub {
  font-size: var(--t-md);
  font-weight: 300;
  color: oklch(60% 0.012 248);
  margin-bottom: var(--s-xl);
  line-height: 1.85;
}

.footer-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-md);
  flex-wrap: wrap;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.9em 2em;
  border: 1.5px solid var(--border-dk);
  color: oklch(70% 0.012 248);
  font-family: var(--font-ja);
  font-size: var(--t-md);
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: var(--r);
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-outline-light:hover { border-color: oklch(50% 0.025 248); color: #fff; }

/* ── Footer ──────────────────────────────── */
footer {
  padding-block: var(--s-lg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  flex-wrap: wrap;
}

.footer-copy { font-size: var(--t-xs); color: var(--fg-light); letter-spacing: 0.06em; }

.footer-links { display: flex; gap: var(--s-md); list-style: none; }

.footer-links a {
  font-size: var(--t-xs);
  color: var(--fg-light);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--fg-muted); }

/* ── Animations ──────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 900px) {
  :root {
    --container: min(1160px, 100% - 2.5rem);
    --s-xl: 5rem;
    --s-2xl: 7rem;
  }

  .header-nav { display: none; }
  .btn-header.desktop { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .problem-inner,
  .solution-inner { grid-template-columns: 1fr; gap: var(--s-lg); }

  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 2; }

  .steps-header { grid-template-columns: 1fr; gap: var(--s-lg); }

  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }

  .hero-stats { flex-wrap: wrap; gap: var(--s-lg); margin-top: var(--s-lg); }
}

@media (max-width: 600px) {
  :root {
    --container: min(1160px, 100% - 2rem);
    --s-lg: 2.5rem;
    --s-xl: 4rem;
    --s-2xl: 5rem;
  }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: auto; }

  .hero-cta-group { flex-direction: column; align-items: flex-start; }

  .footer-cta-group { flex-direction: column; align-items: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: var(--s-sm); }
}
