/* ===== Good Morning FP — Piper.loan Design System ===== */

:root {
  --toss-blue: #3182F6;
  --toss-blue-dark: #1B64DA;
  --toss-blue-soft: #E8F3FF;
  --toss-blue-glow: rgba(49, 130, 246, 0.18);
  --piper-green: var(--toss-blue);
  --piper-green-deep: var(--toss-blue-dark);
  --piper-blue-deep: #171F3D;
  --piper-blue: #E1E7EF;
  --piper-blue-light: #CCF0FF;
  --piper-black: #000000;
  --piper-grey-500: #444444;
  --piper-grey-400: #666666;
  --piper-grey-300: #999999;
  --piper-grey-200: #DDDDDD;
  --piper-grey-100: #F5F5F5;
  --bg-subtle: #F6F7FA;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --header-height: 56px;
  --sticky-offset: 130px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--piper-blue-deep);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  padding-bottom: var(--sticky-offset);
  word-break: keep-all;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
h1, h2, h3, h4, h5, p, li, span, label, a, button, strong, em {
  word-break: keep-all;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-subtle { background: var(--bg-subtle); }

.section-head { margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--piper-blue-deep);
}
.section-head p {
  font-size: 16px;
  color: var(--piper-grey-500);
  font-weight: 500;
  line-height: 1.5;
}
.section-head.center { text-align: center; }

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--toss-blue);
  flex-shrink: 0;
}
.section-label span {
  font-size: 14px;
  font-weight: 600;
  color: var(--piper-blue-deep);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--piper-grey-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link img { width: 34px; height: 34px; object-fit: contain; }
.logo-text strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: block;
  color: var(--piper-blue-deep);
}
.logo-text span { font-size: 11px; color: var(--piper-grey-400); font-weight: 500; }
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--piper-grey-500);
  transition: color .15s;
}
.header-nav a:hover { color: var(--piper-blue-deep); }
.header-phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--piper-blue-deep);
  letter-spacing: -0.02em;
}
.menu-toggle { display: none; background: none; font-size: 22px; padding: 8px; color: var(--piper-blue-deep); }

/* Buttons — glow gradient */
.btn-piper-green,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(120deg, #1B64DA 0%, #3182F6 40%, #5BA1FF 55%, #3182F6 70%, #1B64DA 100%);
  background-size: 200% 200%;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  animation: glowShift 4s ease-in-out infinite;
  box-shadow: 0 6px 20px rgba(49, 130, 246, 0.35);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn-piper-green:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(49, 130, 246, 0.5);
  filter: brightness(1.05);
}
@keyframes glowShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--piper-blue-deep);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--piper-blue);
  transition: background .15s;
}
.btn-ghost:hover { background: #d5dce8; }

/* Hero */
.hero {
  padding: 16px 0 0;
  background: var(--white);
}
.hero-top {
  padding: 48px 0 36px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.22;
  margin-bottom: 28px;
  color: var(--piper-blue-deep);
  min-height: 3.66em;
}
.hero-line { display: inline; }
.hero-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-cta.is-visible {
  opacity: 1;
  transform: none;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.is-visible .reveal-child,
.reveal-child.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero — iPhone mockup */
.hero-phone-area {
  margin: 0 auto 56px;
  padding: 0 0 8px;
  background: transparent;
}
.hero-phone-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 16px 12px;
  background: transparent;
  border-radius: 0;
}
.hero-phone {
  width: 290px;
  opacity: 0;
  transform: translateY(36px) scale(0.96);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-phone.phone-ready {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hero-phone.phone-ready .phone-frame {
  animation: phoneFloat 5s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-phone .phone-screen {
  height: 560px;
}
.hero-phone-app {
  position: relative;
  height: calc(100% - 36px);
  padding: 8px 14px 24px !important;
  background: #fff;
  overflow: hidden;
}
.hero-phone-view {
  display: none;
  height: 100%;
  animation: phoneFadeIn 0.35s ease;
}
.hero-phone-view.is-active { display: flex; flex-direction: column; }

/* Start — trust */
.hps-logo {
  display: flex;
  justify-content: center;
  margin: 18px 0 14px;
}
.hps-logo img {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(49, 130, 246, 0.15);
}
.hps-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--piper-blue-deep);
  margin-bottom: 18px;
}
.hps-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0 4px;
}
.hps-trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--piper-grey-500);
  background: var(--bg-subtle);
  border-radius: 10px;
  padding: 10px 12px;
  word-break: keep-all;
}
.hps-trust-list li span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--toss-blue-soft);
  color: var(--toss-blue);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hps-cta {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 14px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, #1B64DA, #3182F6, #5BA1FF, #3182F6);
  background-size: 200% 200%;
  animation: glowShift 4s ease-in-out infinite;
  box-shadow: 0 8px 20px rgba(49, 130, 246, 0.35);
  transition: transform .15s, filter .15s;
}
.hps-cta.is-pressed { transform: scale(0.97); filter: brightness(0.96); }
.hps-note {
  text-align: center;
  margin-top: 12px;
  font-size: 10px;
  color: var(--piper-grey-300);
  font-weight: 500;
}

/* Compare */
.hps-compare-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 10px;
}
.hps-compare-head strong {
  font-size: 15px;
  color: var(--piper-blue-deep);
  letter-spacing: -0.02em;
}
.hps-compare-head span {
  font-size: 13px;
  font-weight: 700;
  color: var(--toss-blue);
  font-variant-numeric: tabular-nums;
}
.hps-progress {
  height: 6px;
  border-radius: 6px;
  background: var(--bg-subtle);
  overflow: hidden;
  margin-bottom: 18px;
}
.hps-progress i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background: linear-gradient(90deg, #1B64DA, #3182F6, #5BA1FF);
  transition: width 0.4s ease;
}
.hps-lender-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0 0 auto;
}
.hps-lender-list li {
  font-size: 12px;
  font-weight: 600;
  color: var(--piper-grey-300);
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid var(--piper-grey-200);
  background: #fff;
  transition: color .25s, border-color .25s, background .25s;
}
.hps-lender-list li.is-active {
  color: var(--piper-blue-deep);
  border-color: var(--toss-blue);
  background: var(--toss-blue-soft);
}
.hps-lender-list li.is-done::after {
  content: " ✓";
  color: var(--toss-blue);
  font-weight: 700;
}
.hps-compare-note {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  color: var(--piper-grey-400);
  font-weight: 500;
  word-break: keep-all;
}

/* Result */
.hps-result-head {
  margin: 4px 0 12px;
}
.hps-result-head em {
  display: inline-block;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #1B64DA, #3182F6, #5BA1FF, #3182F6);
  background-size: 200% 200%;
  animation: glowShift 4s ease-in-out infinite;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}
.hps-result-head strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--piper-blue-deep);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.hps-result-head span {
  font-size: 11px;
  color: var(--piper-grey-400);
  font-weight: 500;
}
.hps-result-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.hps-result-list .mock-loan-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hps-result-list .mock-loan-item.is-in {
  opacity: 1;
  transform: none;
}
.hps-result-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hps-result-foot > span {
  font-size: 11px;
  color: var(--piper-grey-400);
  font-weight: 500;
  text-align: center;
  word-break: keep-all;
}
.hps-result-foot .mock-cta {
  margin-left: 0;
  justify-content: center;
  width: 100%;
  padding: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hps-result-foot .mock-cta.is-in {
  opacity: 1;
  transform: none;
}

#heroFinger {
  z-index: 12;
}

.mock-scan-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  background: var(--bg-subtle);
  border-radius: 10px;
  border: 1px solid var(--piper-grey-200);
  overflow: hidden;
  position: relative;
}
.mock-scan-bar.is-done {
  opacity: 0;
  max-height: 0;
  padding: 0;
  margin: 0;
  border: none;
  transition: opacity 0.4s, max-height 0.4s, margin 0.4s, padding 0.4s;
}
.mock-scan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--toss-blue);
  flex-shrink: 0;
}
.mock-scan-bar.is-scanning .mock-scan-dot {
  animation: scanPulse 1s ease-in-out infinite;
}
.mock-scan-bar.is-scanning::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(49, 130, 246, 0.12), transparent);
  animation: scanSweep 1.4s ease-in-out infinite;
}
@keyframes scanPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
@keyframes scanSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
.mock-scan-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--piper-grey-500);
}

.mock-app { padding: 4px 16px 16px; background: var(--white); }
.mock-app-bar,
.mock-app-title,
.mock-loan-item,
.mock-tag,
.mock-cta {
  opacity: 0;
  transform: translateY(16px);
}
.mock-app-bar.is-in,
.mock-app-title.is-in,
.mock-loan-item.is-in,
.mock-tag.is-in,
.mock-cta.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.mock-app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--piper-blue-deep);
}
.mock-app-bar img { border-radius: 6px; }
.mock-trust-badge {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: var(--toss-blue);
  background: var(--toss-blue-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s, transform 0.4s;
}
.mock-trust-badge.is-in {
  opacity: 1;
  transform: scale(1);
}
.mock-app-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--piper-blue-deep);
  margin-bottom: 10px;
}
.mock-scroll-viewport {
  position: relative;
  max-height: 210px;
  overflow: hidden;
  margin: 0 -4px;
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
.mock-scroll-content {
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.mock-scroll-content.is-scrolling,
.mock-scroll-content.is-scrolled {
  transform: translateY(var(--scroll-y, -130px));
}
.mock-scroll-hint {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-size: 10px;
  font-weight: 700;
  color: var(--toss-blue);
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(49, 130, 246, 0.2);
  opacity: 0;
  pointer-events: none;
  animation: none;
}
.mock-scroll-hint.is-visible {
  opacity: 1;
  animation: scrollHintBounce 0.9s ease-in-out infinite;
}
@keyframes scrollHintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(4px); }
}
.mock-loan-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.mock-loan-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--piper-grey-200);
  border-radius: 12px;
  background: var(--white);
}
.mock-loan-item.is-in.mock-loan-best {
  animation: bestGlow 2.5s ease-in-out infinite 0.5s;
}
@keyframes bestGlow {
  0%, 100% { box-shadow: 0 4px 16px var(--toss-blue-glow); }
  50% { box-shadow: 0 6px 24px rgba(49, 130, 246, 0.28); }
}
.mock-loan-best {
  border-color: var(--toss-blue);
  background: var(--toss-blue-soft);
}
.mock-loan-rank {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--piper-blue-deep);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mock-loan-best .mock-loan-rank { background: var(--toss-blue); }
.mock-loan-info { flex: 1; min-width: 0; }
.mock-loan-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--piper-blue-deep);
}
.mock-loan-info span {
  font-size: 11px;
  color: var(--piper-grey-400);
  font-weight: 500;
}
.mock-loan-amt {
  font-size: 13px;
  font-weight: 700;
  color: var(--toss-blue);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mock-app-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}
.mock-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--piper-grey-500);
  background: var(--bg-subtle);
  padding: 4px 8px;
  border-radius: 6px;
}
.mock-cta {
  margin-left: auto;
  background: linear-gradient(120deg, #1B64DA, #3182F6, #5BA1FF, #3182F6);
  background-size: 200% 200%;
  animation: glowShift 4s ease-in-out infinite;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(49, 130, 246, 0.35);
}
.mock-cta.is-in:hover { transform: translateY(-1px); filter: brightness(1.08); }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 0 4px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform .15s, background .15s;
}
.hero-pill-primary {
  background: linear-gradient(120deg, #1B64DA, #3182F6, #5BA1FF, #3182F6);
  background-size: 200% 200%;
  animation: glowShift 4s ease-in-out infinite;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(49, 130, 246, 0.35);
}
.hero-pill-secondary {
  background: var(--piper-blue);
  color: var(--piper-blue-deep);
}
.hero-pill:hover { transform: translateY(-2px); }
.hero-pill-secondary:hover { background: #d5dce8; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-child,
  .mock-app-bar, .mock-app-title, .mock-loan-item, .mock-tag, .mock-cta {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .hero-phone { opacity: 1; transform: none; }
  .hero-phone.phone-ready .phone-frame { animation: none; }
  .hero-cta { opacity: 1; transform: none; }
  .reviews-track { animation: none; }
  .btn-piper-green, .btn-primary, .sticky-btn, .mock-cta, .hero-pill-primary,
  .safety-box, .product-cta-band, .modal-close {
    animation: none;
    background-size: auto;
  }
  .phone-spinner, .phone-finger, .phone-result-badge, .phone-result-cta {
    animation: none !important;
  }
}

/* Product cards — Piper grid */
.product-piper-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 15px;
}
.product-piper-card {
  position: relative;
  display: block;
  padding: 16px 16px 0;
  min-height: 160px;
  border: 1px solid var(--piper-grey-200);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: border-color .2s;
}
.product-piper-card:hover { border-color: var(--piper-grey-300); }
.product-piper-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
  max-width: 56%;
}
.product-piper-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--piper-blue-deep);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.product-piper-card .product-card-sub {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--toss-blue);
  letter-spacing: -0.01em;
  margin: 6px 0 4px;
  word-break: keep-all;
  line-height: 1.45;
}
.product-piper-card .product-card-desc {
  display: none;
  font-size: 13px;
  color: var(--piper-grey-500);
  font-weight: 500;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.product-piper-visual {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 1;
  width: 44%;
  max-width: 150px;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.product-piper-visual .product-art {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 10px;
}
.product-art-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--toss-blue-soft) 0%, var(--white) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(49, 130, 246, 0.15);
  padding: 24px;
  aspect-ratio: 1 / 1;
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.product-art-wrap .product-art,
.product-intro-img .product-art {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.product-piper-card .btn-piper-green {
  font-size: 14px;
  padding: 8px 16px;
}

/* Other products grid on product pages */
.product-piper-list.compact {
  grid-template-columns: repeat(3, 1fr);
}
.product-piper-list.compact .product-piper-card {
  min-height: 140px;
}
.product-piper-list.compact .product-piper-visual { display: none; }
.product-piper-list.compact .product-piper-card .product-card-sub,
.product-piper-list.compact .product-piper-card .product-card-desc { display: none; }

/* Features */
.features-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-box {
  background: var(--white);
  border: 1px solid var(--piper-grey-200);
  border-radius: var(--radius);
  padding: 28px 22px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--toss-blue-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--toss-blue);
}
.feature-box h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--piper-blue-deep);
}
.feature-box p {
  font-size: 14px;
  color: var(--piper-grey-500);
  font-weight: 500;
  line-height: 1.55;
}

/* Stats */
.stats-band { padding: 8px 0; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat-item strong {
  display: block;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #1B64DA, #3182F6, #5BA1FF, #3182F6);
  background-size: 200% 200%;
  animation: glowShift 4s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat-item span {
  font-size: 14px;
  color: var(--piper-grey-500);
  font-weight: 500;
  margin-top: 6px;
  display: block;
}

/* Process */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.process-step {
  background: var(--bg-subtle);
  border: 1px solid var(--piper-grey-200);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
}
.process-num {
  width: 20px;
  height: 20px;
  background: var(--piper-blue-deep);
  color: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 12px;
}
.process-step h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--piper-blue-deep);
}
.process-step p {
  font-size: 13px;
  color: var(--piper-grey-500);
  font-weight: 500;
  line-height: 1.5;
}

/* Safety */
.safety-box {
  background: linear-gradient(125deg, #0f1630 0%, #171F3D 35%, #243056 50%, #171F3D 65%, #0f1630 100%);
  background-size: 220% 220%;
  animation: glowShift 6s ease-in-out infinite;
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: 0 16px 40px rgba(23, 31, 61, 0.25);
}
.safety-box h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 22px;
}
.safety-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.safety-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* Reviews — horizontal marquee */
.reviews-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  padding: 8px 0 4px;
}
.reviews-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: reviewMarquee 48s linear infinite;
}
.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}
@keyframes reviewMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-item {
  flex: 0 0 300px;
  width: 300px;
  background: var(--white);
  border: 1px solid var(--piper-grey-200);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(23, 31, 61, 0.04);
  transition: border-color .2s, box-shadow .2s;
}
.review-item:hover {
  border-color: rgba(49, 130, 246, 0.35);
  box-shadow: 0 12px 32px rgba(49, 130, 246, 0.12);
}
.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(49, 130, 246, 0.25);
  background: var(--piper-blue);
}
.review-meta-wrap { min-width: 0; }
.review-meta {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--piper-blue-deep);
}
.review-meta span {
  font-weight: 500;
  color: var(--piper-grey-400);
}
.review-stars {
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #F5A524;
  line-height: 1;
}
.review-product {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--piper-blue-deep);
  background: var(--piper-blue);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.review-text {
  font-size: 14px;
  color: var(--piper-grey-500);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 12px;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.8em;
}
.review-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.review-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--piper-blue-deep);
  background: var(--piper-blue);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

/* FAQ — Piper accordion */
.faq-wrap { max-width: 100%; }
.faq-item { border-bottom: 1px solid var(--piper-grey-200); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  color: var(--piper-grey-500);
  transition: color .15s;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.faq-item.open .faq-q,
.faq-q:hover { color: var(--piper-blue-deep); font-weight: 600; }
.faq-q .arrow {
  color: var(--piper-grey-300);
  font-size: 12px;
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0;
  font-size: 14px;
  color: var(--piper-grey-500);
  font-weight: 500;
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s, padding .3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 18px; }

/* Product detail page */
.page-hero {
  padding: 48px 0 36px;
  background: var(--bg-subtle);
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--piper-blue-deep);
}
.page-hero p {
  font-size: 16px;
  color: var(--piper-grey-500);
  font-weight: 500;
  max-width: 560px;
  line-height: 1.6;
}
.page-hero .category-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--piper-blue-deep);
  background: var(--piper-blue);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--piper-grey-200);
}
.detail-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--piper-blue-deep);
}
.detail-list { list-style: none; }
.detail-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--piper-grey-200);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  gap: 8px;
  color: var(--piper-grey-500);
}
.detail-list li::before { content: "✓"; color: var(--toss-blue); font-weight: 700; }

/* Product detail pages */
.page-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hero-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--toss-blue);
  background: var(--toss-blue-soft);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.product-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: 48px;
  align-items: center;
}
.product-intro-img {
  display: flex;
  justify-content: center;
}

/* iPhone mockup — product page */
.phone-device {
  position: relative;
  width: 260px;
  margin: 0 auto;
}
.hero-phone.phone-device {
  width: 290px;
  margin: 0;
}
.phone-frame {
  position: relative;
  background: linear-gradient(160deg, #3a3a3c 0%, #1c1c1e 40%, #0a0a0a 100%);
  border-radius: 42px;
  padding: 10px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.12) inset,
    0 -1px 0 rgba(0,0,0,0.5) inset,
    0 28px 60px rgba(23, 31, 61, 0.28);
}
.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #0a0a0a;
  border-radius: 16px;
  z-index: 5;
}
.phone-screen {
  position: relative;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  height: 520px;
}
.phone-home-bar {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(0,0,0,0.25);
  border-radius: 4px;
  z-index: 6;
}
.phone-btn {
  position: absolute;
  background: linear-gradient(90deg, #3a3a3c, #636366, #3a3a3c);
  border-radius: 2px;
  z-index: 2;
}
.phone-btn-silent { left: -3px; top: 90px; width: 3px; height: 22px; }
.phone-btn-vol-up { left: -3px; top: 130px; width: 3px; height: 36px; }
.phone-btn-vol-down { left: -3px; top: 176px; width: 3px; height: 36px; }
.phone-btn-power { right: -3px; top: 150px; width: 3px; height: 52px; }

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--piper-blue-deep);
}
.phone-status-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}
.phone-status-icons i {
  display: block;
  width: 10px;
  height: 8px;
  background: var(--piper-blue-deep);
  border-radius: 1px;
  opacity: 0.85;
}
.phone-status-icons i:last-child {
  width: 16px;
  height: 8px;
  border: 1.5px solid var(--piper-blue-deep);
  background: linear-gradient(90deg, var(--toss-blue) 65%, transparent 65%);
  background-clip: padding-box;
}

.phone-app {
  position: relative;
  height: calc(100% - 40px);
  padding: 0 14px 28px;
  overflow: hidden;
}
.phone-view {
  display: none;
  height: 100%;
  animation: phoneFadeIn 0.35s ease;
}
.phone-view.is-active { display: block; }
@keyframes phoneFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.phone-app-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.phone-app-head img { border-radius: 5px; }
.phone-app-head strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--piper-blue-deep);
}
.phone-app-sub {
  font-size: 11px;
  color: var(--piper-grey-400);
  font-weight: 500;
  margin-bottom: 10px;
}

.phone-product-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 400px;
  overflow: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.phone-product-list::-webkit-scrollbar { display: none; }
.phone-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid var(--piper-grey-200);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.phone-product-row.is-target {
  border-color: rgba(49, 130, 246, 0.45);
}
.phone-product-row.is-tapped {
  background: var(--toss-blue-soft);
  border-color: var(--toss-blue);
  transform: scale(0.98);
  box-shadow: 0 4px 16px rgba(49, 130, 246, 0.2);
}
.phone-product-info strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--piper-blue-deep);
  letter-spacing: -0.02em;
}
.phone-product-info span {
  font-size: 10px;
  color: var(--piper-grey-400);
  font-weight: 500;
}
.phone-product-row em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: var(--toss-blue);
  white-space: nowrap;
}

.phone-view-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
}
.phone-view-loading.is-active { display: flex; }
.phone-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--toss-blue-soft);
  border-top-color: var(--toss-blue);
  border-radius: 50%;
  animation: phoneSpin 0.7s linear infinite;
  margin-bottom: 14px;
}
@keyframes phoneSpin { to { transform: rotate(360deg); } }
.phone-view-loading p {
  font-size: 13px;
  font-weight: 700;
  color: var(--piper-blue-deep);
  margin-bottom: 4px;
}
.phone-view-loading span {
  font-size: 11px;
  color: var(--piper-grey-400);
  font-weight: 500;
}

.phone-view-result { position: relative; padding-top: 8px; }
.phone-back {
  position: absolute;
  left: 0;
  top: 0;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--toss-blue);
  padding: 0 6px;
  cursor: pointer;
}
.phone-result-badge {
  display: inline-block;
  margin: 4px 0 10px 28px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #1B64DA, #3182F6, #5BA1FF, #3182F6);
  background-size: 200% 200%;
  animation: glowShift 4s ease-in-out infinite;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.phone-view-result h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--piper-blue-deep);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.phone-result-sub {
  font-size: 12px;
  color: var(--piper-grey-400);
  font-weight: 500;
  margin-bottom: 14px;
  word-break: keep-all;
}
.phone-result-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.phone-result-card {
  background: var(--bg-subtle);
  border: 1px solid var(--piper-grey-200);
  border-radius: 12px;
  padding: 12px 10px;
}
.phone-result-card span {
  display: block;
  font-size: 10px;
  color: var(--piper-grey-400);
  font-weight: 600;
  margin-bottom: 4px;
}
.phone-result-card strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--toss-blue);
  letter-spacing: -0.02em;
}
.phone-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.phone-result-tags em {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  color: var(--piper-blue-deep);
  background: var(--piper-blue);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.phone-result-cta {
  text-align: center;
  background: linear-gradient(120deg, #1B64DA, #3182F6, #5BA1FF, #3182F6);
  background-size: 200% 200%;
  animation: glowShift 4s ease-in-out infinite;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(49, 130, 246, 0.35);
  margin-bottom: 8px;
}
.phone-result-note {
  text-align: center;
  font-size: 10px;
  color: var(--piper-grey-300);
  font-weight: 500;
}

.phone-finger {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(49, 130, 246, 0.28);
  border: 2px solid rgba(49, 130, 246, 0.7);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity .25s, transform .25s;
  z-index: 10;
  box-shadow: 0 0 0 6px rgba(49, 130, 246, 0.12);
}
.phone-finger.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.phone-finger.is-tap {
  transform: translate(-50%, -50%) scale(0.75);
  background: rgba(49, 130, 246, 0.45);
}

.product-intro-body h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--piper-blue-deep);
}
.product-intro-body > p {
  font-size: 15px;
  color: var(--piper-grey-500);
  line-height: 1.65;
  font-weight: 500;
  margin-bottom: 24px;
}
.product-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.product-highlight {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid var(--piper-grey-200);
}
.product-highlight span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--piper-grey-400);
  margin-bottom: 4px;
}
.product-highlight strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--piper-blue-deep);
  letter-spacing: -0.02em;
}
.product-check-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.product-check-list li {
  font-size: 14px;
  font-weight: 500;
  color: var(--piper-grey-500);
  padding: 14px 16px 14px 40px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--piper-grey-200);
  position: relative;
  line-height: 1.5;
}
.product-check-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--toss-blue);
  font-weight: 700;
}
.product-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.product-info-card {
  background: var(--white);
  border: 1px solid var(--piper-grey-200);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.product-info-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--piper-blue-deep);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.product-info-card p {
  font-size: 14px;
  color: var(--piper-grey-500);
  line-height: 1.6;
  font-weight: 500;
}
.product-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.product-case {
  background: var(--white);
  border: 1px solid var(--piper-grey-200);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.product-case h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--piper-blue-deep);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.product-case-desc {
  font-size: 13px;
  color: var(--piper-grey-400);
  font-weight: 500;
  margin-bottom: 10px;
}
.product-case-result {
  font-size: 14px;
  font-weight: 600;
  color: var(--toss-blue);
  line-height: 1.5;
}
.product-caution-list {
  list-style: none;
  max-width: 720px;
}
.product-caution-list li {
  font-size: 14px;
  font-weight: 500;
  color: var(--piper-grey-500);
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid var(--piper-grey-200);
  position: relative;
  line-height: 1.55;
}
.product-caution-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--toss-blue);
  font-weight: 700;
}
.product-faq { max-width: 100%; }
.product-cta-band {
  background: linear-gradient(125deg, #1B64DA 0%, #3182F6 35%, #5BA1FF 50%, #3182F6 65%, #1B64DA 100%);
  background-size: 220% 220%;
  animation: glowShift 5s ease-in-out infinite;
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(49, 130, 246, 0.3);
}
.product-cta-band h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.product-cta-band p {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 500;
  margin-bottom: 20px;
}
.product-cta-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.product-cta-band .btn-primary {
  background: var(--white);
  color: var(--toss-blue);
}
.product-cta-band .btn-primary:hover { background: var(--toss-blue-soft); }
.product-cta-band .btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.product-cta-band .btn-ghost:hover { background: rgba(255,255,255,0.25); }

/* Footer */
.site-footer {
  background: var(--piper-blue-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 24px;
  font-size: 13px;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.site-footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.footer-info { list-style: none; padding: 0; margin: 0; }
.footer-info li { margin-bottom: 6px; line-height: 1.6; font-weight: 500; }
.footer-info span { color: rgba(255, 255, 255, 0.45); }
.footer-legal { font-size: 11px; line-height: 1.75; font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
}

/* Sticky bar — transparent outer, glass inner */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: transparent;
  padding: 0 16px 14px;
  pointer-events: none;
}
.sticky-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(23, 31, 61, 0.1);
  overflow: hidden;
}
.sticky-mobile {
  display: none;
}
.sticky-panel {
  padding: 14px 18px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
  align-items: center;
}
.sticky-panel + .sticky-panel {
  border-left: 1px solid var(--piper-grey-200);
}
.sticky-panel-head { grid-column: 1 / -1; margin-bottom: 2px; }
.sticky-panel-head h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--piper-blue-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sticky-panel-head h3 .ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--toss-blue-soft);
  border-radius: 50%;
  font-size: 10px;
}
.sticky-panel-head p {
  font-size: 11px;
  color: var(--piper-grey-400);
  margin-top: 2px;
  font-weight: 500;
}
.sticky-fields { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.sticky-input,
.sticky-select {
  padding: 9px 12px;
  border: 1px solid var(--piper-grey-200);
  border-radius: 8px;
  background: rgba(246, 247, 250, 0.8);
  width: 110px;
  outline: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--piper-blue-deep);
  transition: border-color .15s, background .15s;
}
.sticky-input::placeholder { color: var(--piper-grey-300); font-weight: 400; }
.sticky-input:focus,
.sticky-select:focus {
  border-color: var(--toss-blue);
  background: var(--white);
}
.sticky-select { width: 130px; cursor: pointer; }
.sticky-check {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--piper-grey-400);
  font-weight: 500;
}
.sticky-check input { accent-color: var(--toss-blue); width: 13px; height: 13px; }
.sticky-check a { color: var(--piper-blue-deep); font-weight: 600; }
.sticky-btn {
  background: linear-gradient(120deg, #1B64DA, #3182F6, #5BA1FF, #3182F6);
  background-size: 200% 200%;
  animation: glowShift 4s ease-in-out infinite;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  min-width: 96px;
  transition: transform .1s, box-shadow .2s, filter .2s;
  box-shadow: 0 4px 14px rgba(49, 130, 246, 0.35);
}
.sticky-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(49, 130, 246, 0.5);
  filter: brightness(1.06);
}
.sticky-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.sticky-msg { grid-column: 1 / -1; font-size: 11px; font-weight: 500; margin-top: 2px; }
.sticky-msg.error { color: #e53e3e; }
.sticky-msg.ok { color: var(--toss-blue); }

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--piper-grey-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
}
.form-input:focus { border-color: var(--toss-blue); }

/* Modal & toast */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 31, 61, 0.45);
  backdrop-filter: blur(4px);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 440px;
  width: 100%;
  padding: 28px;
}
.modal-box h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--piper-blue-deep);
}
.modal-box p { font-size: 13px; color: var(--piper-grey-500); line-height: 1.7; font-weight: 500; }
.modal-close {
  margin-top: 16px;
  background: linear-gradient(120deg, #1B64DA, #3182F6, #5BA1FF, #3182F6);
  background-size: 200% 200%;
  animation: glowShift 4s ease-in-out infinite;
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(49, 130, 246, 0.35);
}
.toast {
  position: fixed;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--piper-blue-deep);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  z-index: 500;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(23, 31, 61, 0.2);
}
.toast.show { opacity: 1; }

/* Desktop product card sizing */
@media (min-width: 768px) {
  .product-piper-card {
    padding: 24px 20px 0;
    min-height: 280px;
  }
  .product-piper-card h3 { font-size: 22px; }
  .product-piper-card .product-card-sub { display: block; }
  .product-piper-card .product-card-desc { display: block; }
  .product-piper-visual {
    max-width: 175px;
    width: 42%;
    bottom: 12px;
    right: 12px;
  }
  .product-piper-body { max-width: 54%; padding-bottom: 20px; }
  .product-piper-card .btn-piper-green { font-size: 16px; padding: 10px 20px; }
}

@media (min-width: 1024px) {
  .product-piper-list { grid-template-columns: repeat(3, 1fr); gap: 15px 20px; }
  .product-piper-card { min-height: 320px; }
}

@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --sticky-offset: 74px; }
  body { padding-bottom: var(--sticky-offset); }
  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    padding: 16px 20px;
    border-bottom: 1px solid var(--piper-grey-200);
    gap: 12px;
  }
  .menu-toggle { display: block; }
  .section { padding: 56px 0; }
  .features-row, .stats-row, .safety-items { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .review-item { flex: 0 0 260px; width: 260px; }
  .reviews-track { animation-duration: 36s; }
  .footer-grid, .product-detail-grid { grid-template-columns: 1fr; }
  .product-piper-list { grid-template-columns: 1fr; gap: 14px; }
  .product-piper-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0 0 18px;
  }
  .product-piper-visual {
    position: static;
    order: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 18px 18px 0;
    justify-content: center;
    align-items: center;
    z-index: 1;
  }
  .product-piper-visual .product-art {
    width: auto;
    max-width: 180px;
    max-height: 140px;
    margin: 0 auto;
  }
  .product-piper-body {
    order: 1;
    max-width: 100%;
    width: 100%;
    align-items: center;
    text-align: center;
    padding: 14px 18px 0;
    gap: 14px;
    z-index: 2;
  }
  .product-piper-card h3,
  .product-piper-card .product-card-sub,
  .product-piper-card .product-card-desc {
    display: block;
    text-align: center;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
  .product-piper-card h3 {
    font-size: 20px;
    line-height: 1.45;
  }
  .product-piper-card .product-card-sub {
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0 6px;
  }
  .product-piper-card .product-card-desc {
    font-size: 14px;
    line-height: 1.65;
  }
  .product-piper-card .btn-piper-green {
    align-self: center;
    position: relative;
    z-index: 3;
  }
  .product-piper-list.compact { grid-template-columns: 1fr; }
  .product-intro-grid { grid-template-columns: 1fr; }
  .phone-device { width: 230px; }
  .phone-screen { height: 460px; }
  .product-check-list { grid-template-columns: 1fr; }
  .product-info-cards { grid-template-columns: 1fr; }
  .product-cases { grid-template-columns: 1fr; }
  .hero-phone.phone-device { width: 250px; }
  .hero-phone .phone-screen { height: 500px; }
  .hero-phone .mock-scroll-viewport { max-height: 300px !important; }

  /* Mobile text wrap + center */
  .hero h1,
  .section-head,
  .section-head h2,
  .section-head p,
  .section-label,
  .feature-box,
  .feature-box h3,
  .feature-box p,
  .process-step,
  .process-step h4,
  .process-step p,
  .safety-box,
  .safety-box h3,
  .safety-item,
  .stat-item,
  .faq-wrap,
  .faq-q,
  .faq-a,
  .product-intro-body,
  .product-intro-body h2,
  .product-intro-body > p,
  .product-cta-band,
  .product-cta-band h2,
  .product-cta-band p,
  .product-piper-body,
  .product-piper-card h3,
  .product-card-sub,
  .product-card-desc,
  .review-item,
  .review-text,
  .review-meta,
  .site-footer,
  .footer-grid,
  .footer-grid > div,
  .footer-info,
  .footer-info li,
  .footer-legal,
  .footer-bottom,
  .hero-pill {
    text-align: center;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }
  .section-label { justify-content: center; }
  .feature-icon,
  .process-num { margin-left: auto; margin-right: auto; }
  .product-cta-actions { justify-content: center; flex-wrap: wrap; }
  .faq-q { justify-content: center; text-align: center; flex-wrap: wrap; }
  .footer-info { list-style: none; padding: 0; }
  .review-top { justify-content: center; }
  .review-tags { justify-content: center; }

  /* Sticky mobile — dedicated simple form */
  .sticky-bar {
    padding: 0;
    background: #fff;
    border-top: 1px solid var(--piper-grey-200);
    box-shadow: 0 -4px 20px rgba(23, 31, 61, 0.08);
    pointer-events: auto;
  }
  .sticky-desktop { display: none !important; }
  .sticky-mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
    gap: 8px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    pointer-events: auto;
  }
  .sticky-mobile input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--piper-grey-200);
    border-radius: 10px;
    background: var(--bg-subtle);
    font-size: 15px;
    font-weight: 500;
    color: var(--piper-blue-deep);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
  }
  .sticky-mobile input:focus {
    border-color: var(--toss-blue);
    background: #fff;
  }
  .sticky-mobile input::placeholder {
    color: var(--piper-grey-300);
    font-weight: 400;
  }
  .sticky-mobile button {
    height: 44px;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    background: #3182F6;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
    box-shadow: none;
    animation: none;
  }
  .sticky-mobile button:disabled {
    opacity: 0.55;
  }
  .sticky-mobile-msg {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: var(--toss-blue);
  }
  .sticky-mobile-msg.error { color: #e53e3e; }
  .sticky-mobile-msg:empty,
  .sticky-mobile-msg[hidden] { display: none; }

  /* Reduce mobile paint cost */
  .sticky-bar-inner,
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .site-header { background: #fff; }
  .hero-phone.phone-ready .phone-frame { animation: none; }
  .reviews-track { animation-duration: 48s; }
}
