/* ---- voocier v3: unified light canvas ---- */

.home-page,
body.home-page {
  --home-width: 1080px;
  --home-gutter: 24px;
  --home-gap-section: 88px;
  --home-gap-head: 28px;
  --home-gap-stack: 12px;
  --home-gap-inline: 8px;
  --home-card-radius: 16px;
  --home-card-gap: 14px;
  --home-icon-size: 34px;
  --home-canvas: #ffffff;
  --home-soft: #f7f7f8;
  --home-card-bg: #ffffff;
  --home-line: rgba(0, 0, 0, 0.08);
  --home-line-soft: rgba(0, 0, 0, 0.05);
  --home-accent-a: #e84393;
  --home-accent-b: #9b59b6;
  --home-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.04);
  --home-shadow-card-hover: 0 2px 6px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.07);
  font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
  min-height: 100vh;
  background-color: var(--home-canvas);
}

.home-page .header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.home-container {
  width: 100%;
  max-width: var(--home-width);
  margin-inline: auto;
  padding-inline: var(--home-gutter);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.header-actions-home {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions-home .btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.home-main {
  display: flex;
  flex-direction: column;
}

.home-section {
  padding-top: var(--home-gap-section);
}

.home-section:first-child {
  padding-top: 56px;
}

.home-section-head {
  text-align: center;
  margin-bottom: var(--home-gap-head);
}

.home-section-label {
  margin: var(--home-gap-inline) 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

.home-section-label::before {
  content: '\2726  ';
  color: var(--home-accent-a);
  opacity: 0.85;
}

.home-section-title {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--color-text-primary);
}

.home-section-desc {
  margin: var(--home-gap-stack) auto 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

/* Hero */
.home-section--hero {
  position: relative;
  padding-top: 72px;
}

.home-section--hero .home-hero {
  padding-top: 8px;
}

.home-hero {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.hero-title {
  margin: 0 0 var(--home-gap-stack);
  font-size: clamp(36px, 5.8vw, 54px);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 1.06;
  color: var(--color-text-primary);
}

.hero-accent {
  background: linear-gradient(135deg, var(--home-accent-a), var(--home-accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 0 auto var(--home-gap-head);
  max-width: 560px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-hero-primary:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

/* Mid-page soft band (use cases + how it works) */
.home-band {
  width: 100%;
}

.home-band--soft {
  margin-top: var(--home-gap-section);
  padding-block: 72px;
  background: var(--home-soft);
  border-block: 1px solid rgba(0, 0, 0, 0.04);
}

.home-band--soft .home-section {
  padding-top: 0;
}

.home-band--soft .home-section + .home-section {
  padding-top: 64px;
}

/* Cards */
.home-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-card-gap);
}

@media (min-width: 640px) {
  .home-card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .home-card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .home-card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-card {
  background: var(--home-card-bg);
  border: 1px solid var(--home-line-soft);
  border-radius: var(--home-card-radius);
  padding: 24px;
  box-shadow: var(--home-shadow-card);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.home-band--soft .home-card {
  background: #ffffff;
}

.home-card:hover {
  border-color: var(--home-line);
  box-shadow: var(--home-shadow-card-hover);
  transform: translateY(-2px);
}

.home-card-icon {
  width: var(--home-icon-size);
  height: var(--home-icon-size);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--home-soft);
  border: 1px solid var(--home-line-soft);
  color: var(--color-text-primary);
  margin-bottom: var(--home-gap-stack);
}

.home-card-icon svg {
  width: 17px;
  height: 17px;
}

.home-card h3 {
  margin: 0 0 var(--home-gap-inline);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.home-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* Steps */
.steps-row {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-card--step {
  display: grid;
  grid-template-columns: 30px 3em minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  min-width: 0;
}

.step-num {
  grid-column: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border-radius: var(--radius-full);
  border: 1px solid var(--home-line-soft);
  background: var(--home-soft);
  color: var(--color-text-tertiary);
  font-size: 12px;
  font-weight: 600;
}

.home-band--soft .step-num {
  background: #ffffff;
}

.home-card--step h3 {
  grid-column: 2;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
  height: calc(1.45em * 2);
  color: var(--color-text-primary);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.home-card--step p {
  grid-column: 3;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  min-height: calc(1.7em * 2);
  color: var(--color-text-secondary);
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* FAQ  open list, no heavy box */
.home-panel {
  max-width: 720px;
  margin-inline: auto;
}

#faq.home-section {
  padding-bottom: 32px;
}

.faq-list {
  margin: 0;
}

.faq-item {
  padding: var(--home-gap-head) 0;
  border-bottom: 1px solid var(--home-line-soft);
}

.faq-item:first-child {
  padding-top: 4px;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item dt {
  margin: 0 0 var(--home-gap-inline);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.faq-item dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

/* CTA  typography-led, no card box */
.home-section--cta {
  padding-top: 52px;
  padding-bottom: 88px;
}

.home-cta {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  padding: 0;
}

.home-cta-title {
  margin: 0 0 var(--home-gap-stack);
  font-size: clamp(28px, 4.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--color-text-primary);
}

.home-cta-desc {
  margin: 0 auto 32px;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.home-section--cta .btn-hero-primary {
  padding: 15px 34px;
  font-size: 15px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.1);
}

.home-section--cta .btn-hero-primary:hover {
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.16);
}

/* Footer  minimal */
.footer-link-btn {
  border: none;
  background: none;
  padding: 4px 6px;
  font-size: 13px;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.footer-link-btn:hover {
  color: var(--color-text-primary);
}

.footer-dot {
  color: var(--color-text-tertiary);
  font-size: 12px;
}

.site-footer {
  text-align: center;
  padding-block: 40px 44px;
  border-top: 1px solid var(--home-line-soft);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  margin-bottom: 0;
  padding-bottom: var(--home-gap-head);
  border-bottom: 1px solid var(--home-line-soft);
}

.site-footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--home-gap-stack);
  padding-top: var(--home-gap-head);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-tertiary);
}

.site-footer a {
  color: var(--color-text-secondary);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-text-primary);
}

.site-footer-contact {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
}

.site-footer-label {
  color: var(--color-text-tertiary);
}

.site-footer-contact a {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.site-footer-contact a:hover {
  color: var(--color-text-primary);
}

.site-footer-copy {
  font-size: 12px;
  color: var(--color-text-tertiary);
}

@media (max-width: 640px) {
  .home-page,
  body.home-page {
    --home-gap-section: 64px;
    --home-gap-head: 24px;
    --home-gutter: 20px;
  }

  .home-section--hero {
    padding-top: 48px;
  }

  .home-band--soft {
    padding-block: 52px;
  }

  .home-band--soft .home-section + .home-section {
    padding-top: 48px;
  }

  .home-page .header-inner {
    padding-inline: var(--home-gutter);
  }

  .hero-desc {
    font-size: 16px;
  }

  .home-section--cta {
    padding-top: 40px;
    padding-bottom: 72px;
  }

  .home-cta-desc {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .site-footer {
    padding-block: 32px 36px;
  }
}
