/* /pulse marketing page. Colors and type follow queri-pulse's pulse-theme.css. */
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/pulse/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --pulse-green: #14d86e;
  --pulse-green-700: #0fb85c;
  --pulse-green-tint: #e7fbf0;
  --signal-lime: #c8ff4d;
  --accent-blue: #47c7ff;
  --graphite: #111318;
  --bg-app: #f5f7f4;
  --bg-surface: #ffffff;
  --fg-1: #111318;
  --fg-2: #46515a;
  --fg-3: #7c8891;
  --fg-on-accent: #062c17;
  --border-thin: #e5e9e6;
  --shadow-m: 0 6px 16px rgba(17, 19, 24, 0.08);
  --shadow-green: 0 6px 20px rgba(20, 216, 110, 0.28);
  --grad-pulse-glow: linear-gradient(135deg, #14d86e 0%, #c8ff4d 100%);
  --grad-dark-pulse: linear-gradient(160deg, #111318 0%, #163b2a 60%, #14d86e 140%);
  --font-display: 'Satoshi', system-ui, -apple-system, 'Hiragino Sans', sans-serif;
  --font-ui: system-ui, -apple-system, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-app);
  color: var(--fg-1);
  font-family: var(--font-ui);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 247, 244, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-thin);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav-logo img { height: 28px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--fg-2); }
.nav-right a:hover { color: var(--fg-1); }
.lang { display: inline-flex; border: 1px solid var(--border-thin); border-radius: 999px; overflow: hidden; font-size: 12px; font-weight: 600; }
.lang a { padding: 4px 10px; }
.lang a[aria-current] { background: var(--graphite); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform 140ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 140ms;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pulse-green); color: var(--fg-on-accent); box-shadow: var(--shadow-green); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }

/* Hero */
.hero { background: var(--grad-dark-pulse); color: #fff; padding: 96px 0 112px; overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--signal-lime); margin-bottom: 20px;
}
.hero h1 { font-family: var(--font-display); font-size: clamp(30px, 5vw, 60px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; background: var(--grad-pulse-glow); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.hero p { margin-top: 24px; font-size: 18px; color: rgba(255, 255, 255, 0.75); max-width: 560px; }
.hero-cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-mark { justify-self: center; width: 100%; height: auto; max-width: 300px; filter: drop-shadow(0 24px 60px rgba(20, 216, 110, 0.35)); }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .eyebrow { color: var(--pulse-green-700); margin-bottom: 12px; }
h2 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.section-head p { margin-top: 16px; color: var(--fg-2); font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg-surface); border: 1px solid var(--border-thin); border-radius: 20px;
  padding: 28px; box-shadow: 0 1px 2px rgba(17, 19, 24, 0.04);
}
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--pulse-green-tint);
  color: var(--pulse-green-700); display: grid; place-items: center; margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--fg-2); font-size: 15px; }

/* Steps */
.steps { background: var(--bg-surface); border-top: 1px solid var(--border-thin); border-bottom: 1px solid var(--border-thin); }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--pulse-green-700); margin-bottom: 12px; letter-spacing: 0.08em; }
.steps .card { background: var(--bg-app); box-shadow: none; }

/* CTA */
.cta { padding: 0 0 96px; }
.cta-box {
  background: var(--grad-dark-pulse); color: #fff; border-radius: 28px;
  padding: 64px 48px; text-align: center;
}
.cta-box p { margin: 16px auto 32px; max-width: 520px; color: rgba(255, 255, 255, 0.75); }

/* Footer */
footer { border-top: 1px solid var(--border-thin); padding: 32px 0; font-size: 13px; color: var(--fg-3); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a:hover { color: var(--fg-1); }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { max-width: 72px; justify-self: start; order: -1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .nav-right .hide-sm { display: none; }
  .hero { padding: 64px 0 80px; }
  section { padding: 72px 0; }
  .cta-box { padding: 48px 24px; }
}

/* Legal pages (/pulse/privacy/, /pulse/terms/) */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc .eyebrow { color: var(--pulse-green-700); margin-bottom: 12px; }
.doc h1 { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
.doc-date { margin-top: 12px; color: var(--fg-3); font-size: 14px; }
.doc h2 { font-size: 20px; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--fg-2); font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 12px 0 0 22px; display: grid; gap: 8px; }
.doc a { color: var(--pulse-green-700); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.doc code { font-size: 14px; background: var(--pulse-green-tint); padding: 1px 6px; border-radius: 6px; }
.doc > .wrap > p:first-of-type { margin-top: 0; }
.doc-date + p { margin-top: 32px !important; }
.connect-note { margin-top: 24px; color: var(--fg-2); font-size: 15px; }
.connect-note a { color: var(--pulse-green-700); text-decoration: underline; text-underline-offset: 2px; }
.doc ul + p { margin-top: 12px; }
.doc p, .doc li, .doc h1, .doc h2, .connect-note, #connect h2, #connect p { text-wrap: pretty; }
