/* tapa. Homepage — Premium Light */

.homepage {
  --hp-bg: #FFFFFF;
  --hp-bg-soft: #F8F8F7;
  --hp-surface: #F1F0EE;
  --hp-surface-alt: #EDEBE7;
  --hp-text: #111111;
  --hp-muted: rgba(17, 17, 17, 0.62);
  --hp-subtle: rgba(17, 17, 17, 0.42);
  --hp-border: rgba(17, 17, 17, 0.10);
  --hp-accent: #00AEEF;
  --hp-crypto: #26A17B;
  --hp-soft-blue: #EAF8FF;
  --hp-soft-green: #EAF8F1;
  --hp-shadow: 0 24px 80px rgba(17, 17, 17, 0.08);
  --hp-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --hp-r: 18px;
  --hp-font: 'Inter', system-ui, -apple-system, sans-serif;

  font-family: var(--hp-font);
  background: var(--hp-bg);
  color: var(--hp-text);
  -webkit-font-smoothing: antialiased;
}

.homepage * { box-sizing: border-box; }

.homepage a:not(.hp-btn) { color: inherit; text-decoration: none; }
.homepage a.hp-btn { text-decoration: none; }

.homepage h1, .homepage h2, .homepage h3 {
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-weight: 700;
  color: var(--hp-text);
}

.homepage p { color: var(--hp-muted); line-height: 1.65; }

.hp-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.hp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hp-border);
}

.hp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.hp-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hp-logo span { color: var(--hp-accent); }

.hp-nav { display: none; gap: 28px; }
.hp-nav a { font-size: 0.875rem; color: var(--hp-muted); transition: color 0.15s; }
.hp-nav a:hover { color: var(--hp-text); }

.hp-header__actions { display: none; gap: 10px; align-items: center; }

.hp-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hp-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--hp-text);
  border-radius: 2px;
}

.hp-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  border-top: 1px solid var(--hp-border);
}

.hp-mobile-nav--open { display: flex; }
.hp-mobile-nav a { padding: 12px 0; font-size: 0.9375rem; color: var(--hp-muted); }

@media (min-width: 960px) {
  .hp-nav, .hp-header__actions { display: flex; }
  .hp-menu-btn { display: none; }
}

/* Buttons */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hp-font);
  font-weight: 600;
  line-height: 1.2;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  min-height: 48px;
  padding: 0 24px;
  font-size: 0.9375rem;
  transition: transform 0.15s var(--hp-ease), box-shadow 0.15s;
  color: var(--hp-text);
}

.hp-btn:active { transform: scale(0.98); }
.hp-btn--sm { height: 40px; padding: 0 18px; font-size: 0.8125rem; }
.hp-btn--lg { height: 52px; padding: 0 28px; font-size: 0.9375rem; }
.hp-btn--xl { height: 56px; padding: 0 36px; font-size: 1rem; }
.hp-btn--full { width: 100%; }

.hp-btn--dark {
  background: var(--hp-text);
  color: #ffffff;
}

.homepage a.hp-btn--dark,
.homepage a.hp-btn--dark:visited,
.homepage button.hp-btn--dark,
.auth-page a.hp-btn--dark,
.auth-page a.hp-btn--dark:visited,
.auth-page button.hp-btn--dark {
  color: #ffffff;
}

.hp-btn--dark:hover { box-shadow: 0 8px 32px rgba(17, 17, 17, 0.18); }

.hp-btn--outline {
  background: var(--hp-bg);
  color: var(--hp-text);
  border: 1px solid var(--hp-border);
}

.homepage a.hp-btn--outline,
.homepage a.hp-btn--outline:visited,
.auth-page a.hp-btn--outline,
.auth-page a.hp-btn--outline:visited {
  color: var(--hp-text);
}

.hp-btn--outline:hover { background: var(--hp-bg-soft); }

.hp-btn--ghost {
  background: transparent;
  color: var(--hp-muted);
}

.homepage a.hp-btn--ghost,
.homepage a.hp-btn--ghost:visited,
.auth-page a.hp-btn--ghost,
.auth-page a.hp-btn--ghost:visited {
  color: var(--hp-muted);
}

.hp-btn--ghost:hover { color: var(--hp-text); }

/* Labels & sections */
.hp-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-accent);
  margin-bottom: 16px;
}

.hp-label--green { color: var(--hp-crypto); }

.hp-section {
  padding: 100px 0;
}

.hp-section--soft {
  background: var(--hp-bg-soft);
  border-top: 1px solid var(--hp-border);
  border-bottom: 1px solid var(--hp-border);
}

.hp-section__head {
  max-width: 560px;
  margin-bottom: 56px;
}

.hp-section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hp-section__head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 16px;
}

.hp-section__head p {
  font-size: 1.0625rem;
}

.hp-reveal, .hp-fade {
  opacity: 0;
  transform: translateY(24px);
}

/* Hero — text left, coin cluster right */
.hp-hero {
  position: relative;
  padding: 120px 0 72px;
  background:
    radial-gradient(ellipse 55% 50% at 82% 38%, rgba(0, 174, 239, 0.07) 0%, transparent 62%),
    radial-gradient(ellipse 40% 35% at 12% 88%, rgba(248, 248, 247, 1) 0%, transparent 55%),
    #FFFFFF;
  overflow: hidden;
}

.hp-hero__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .hp-hero__grid {
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 0 32px;
    align-items: center;
    min-height: min(88vh, 760px);
  }
}

.hp-hero__copy--protected {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

@media (min-width: 1024px) {
  .hp-hero__copy--protected {
    padding-right: 20px;
  }
}

.hp-hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 24px;
  max-width: 14ch;
}

.hp-hero__sub {
  font-size: clamp(1.0625rem, 2vw, 1.125rem);
  max-width: 42ch;
  margin-bottom: 32px;
}

.hp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hp-hero__note {
  font-size: 0.875rem;
  color: var(--hp-subtle);
  max-width: 38ch;
}

/* Coin cluster visual */
.hp-hero__visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 1;
  isolation: isolate;
}

@media (min-width: 1024px) {
  .hp-hero__visual {
    max-width: none;
    width: 100%;
    margin: 0;
    aspect-ratio: 1 / 0.92;
    min-height: 440px;
  }
}

.hp-coin-cluster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hp-coin-cluster__glow {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.1) 0%, rgba(180, 220, 255, 0.06) 45%, transparent 72%);
  filter: blur(2px);
  pointer-events: none;
}

.hp-coin-cluster__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: auto;
}

.hp-coin-cluster__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 520px;
  margin: auto;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.hp-coin-cluster__fallback.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hp-coin-cluster--ready .hp-coin-cluster__fallback {
  visibility: hidden;
}

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

@media (max-width: 1023px) {
  .hp-hero { padding-top: 100px; }
  .hp-hero__visual { max-width: 300px; }
  .hp-coin-cluster__fallback { max-width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-coin-cluster__canvas { display: none; }
}

/* Reframe — text + phone mockups */
.hp-reframe-layout {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hp-reframe-layout {
    grid-template-columns: 42% 58%;
    gap: 40px;
  }
}

.hp-reframe-layout__copy .hp-section__head {
  margin-bottom: 28px;
}

.hp-reframe-layout__copy .hp-btn {
  margin-top: 4px;
}

.hp-reframe-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(16px, 4vw, 32px);
  position: relative;
  padding: 12px 0 8px;
}

.hp-reframe-showcase::before {
  content: '';
  position: absolute;
  width: min(100%, 520px);
  height: 72%;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 174, 239, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hp-reframe-device {
  flex: 0 1 auto;
  width: min(42vw, 200px);
  text-align: center;
  transition: transform 0.6s var(--hp-ease), opacity 0.6s var(--hp-ease);
}

.hp-reframe-device--tapa {
  width: min(48vw, 240px);
  z-index: 2;
}

.hp-reframe-device__frame {
  background: linear-gradient(160deg, #f4f4f3 0%, #e8e8e6 100%);
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 48px rgba(17, 17, 17, 0.1),
    0 4px 12px rgba(17, 17, 17, 0.06);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.hp-reframe-device--plain .hp-reframe-device__frame {
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.06);
}

.hp-reframe-device--tapa .hp-reframe-device__frame {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 32px 64px rgba(17, 17, 17, 0.12),
    0 8px 24px rgba(0, 174, 239, 0.08);
}

.hp-reframe-device__status {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  margin-bottom: 6px;
  gap: 4px;
}

.hp-reframe-device--plain .hp-reframe-device__status span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c8c8c6;
}

.hp-reframe-device__url {
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--hp-subtle);
  letter-spacing: 0.02em;
}

.hp-reframe-device__screen {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  padding: 14px 12px;
  border: 1px solid var(--hp-border);
}

.hp-reframe-device--plain .hp-reframe-device__screen {
  background: #fafafa;
}

.hp-reframe-device__caption {
  margin-top: 14px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hp-subtle);
}

/* Plain screen skeleton */
.hp-reframe-screen--plain .hp-reframe-screen__avatar--ghost {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ececea;
  margin: 4px auto 12px;
}

.hp-reframe-screen__line {
  height: 8px;
  border-radius: 6px;
  background: #ececea;
  margin: 0 auto 8px;
}

.hp-reframe-screen__line--title { width: 56%; }
.hp-reframe-screen__line--sub { width: 42%; margin-bottom: 18px; }

.hp-reframe-screen__pill {
  height: 34px;
  border-radius: 10px;
  background: #f0f0ee;
  border: 1px solid #e8e8e6;
  margin-bottom: 8px;
}

.hp-reframe-device--plain .hp-reframe-screen__pill:nth-child(5) { opacity: 0.85; }
.hp-reframe-device--plain .hp-reframe-screen__pill:nth-child(6) { opacity: 0.7; }
.hp-reframe-device--plain .hp-reframe-screen__pill:nth-child(7) { opacity: 0.55; }

/* Tapa screen — mini public page */
.hp-reframe-screen--tapa {
  text-align: left;
}

.hp-reframe-screen__profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hp-reframe-screen__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, #eaf8ff, #edede7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hp-reframe-screen__name {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.hp-reframe-screen__bio {
  font-size: 0.625rem;
  color: var(--hp-subtle);
  margin-top: 2px;
}

.hp-reframe-screen__link {
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--hp-bg-soft);
  border: 1px solid var(--hp-border);
  font-size: 0.6875rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.hp-reframe-screen__product {
  border-radius: 12px;
  border: 1px solid var(--hp-border);
  overflow: hidden;
  margin-bottom: 8px;
  background: #fff;
}

.hp-reframe-screen__product-cover {
  height: 52px;
  background: linear-gradient(135deg, #eaf8ff 0%, #e8f5e9 55%, #edede7 100%);
}

.hp-reframe-screen__product-body {
  padding: 10px 12px;
}

.hp-reframe-screen__product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.hp-reframe-screen__product-meta span {
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hp-subtle);
}

.hp-reframe-screen__product-meta strong {
  font-size: 0.625rem;
  color: var(--hp-crypto);
  font-weight: 700;
}

.hp-reframe-screen__product-title {
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hp-reframe-screen__buy {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 8px;
  background: var(--hp-text);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 600;
  font-family: inherit;
  cursor: default;
}

.hp-reframe-showcase.is-transformed .hp-reframe-device--plain {
  opacity: 0.45;
  transform: scale(0.94) translateY(8px);
}

.hp-reframe-showcase.is-transformed .hp-reframe-device--tapa {
  transform: translateY(-6px);
}

@media (max-width: 639px) {
  .hp-reframe-showcase {
    gap: 12px;
  }

  .hp-reframe-device {
    width: 46%;
  }

  .hp-reframe-device--tapa {
    width: 52%;
  }

  .hp-reframe-device__screen {
    min-height: 240px;
    padding: 10px 8px;
  }

  .hp-reframe-screen__product-cover {
    height: 40px;
  }
}

/* Build flow */
.hp-build {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 960px) {
  .hp-build { grid-template-columns: 1fr 1fr; }
}

.hp-build__copy h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  margin-bottom: 32px;
}

.hp-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.hp-steps li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 28px;
}

.hp-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--hp-surface);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-steps strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 4px;
  color: var(--hp-text);
}

.hp-steps span {
  font-size: 0.875rem;
  color: var(--hp-muted);
  line-height: 1.55;
}

.hp-builder {
  border-radius: var(--hp-r);
  border: 1px solid var(--hp-border);
  background: var(--hp-bg);
  box-shadow: var(--hp-shadow);
  overflow: hidden;
}

.hp-builder__toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hp-border);
  background: var(--hp-bg-soft);
}

.hp-builder__toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hp-surface-alt);
}

.hp-builder__toolbar em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--hp-subtle);
}

.hp-builder__canvas {
  padding: 20px;
  min-height: 320px;
}

.hp-builder__block {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--hp-border);
  background: var(--hp-bg-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(12px);
}

.hp-builder__block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hp-builder__handle {
  color: var(--hp-subtle);
  cursor: grab;
}

/* Blocks grid */
.hp-blocks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .hp-blocks-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }
  .hp-block-module--lg { grid-column: span 2; }
  .hp-block-module--accent { grid-row: span 1; }
}

.hp-block-module {
  padding: 20px;
  border-radius: var(--hp-r);
  border: 1px solid var(--hp-border);
  background: var(--hp-bg);
  box-shadow: 0 2px 12px rgba(17, 17, 17, 0.04);
  transition: transform 0.25s var(--hp-ease), box-shadow 0.25s;
}

.hp-block-module:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow);
}

.hp-block-module__tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hp-subtle);
  margin-bottom: 8px;
}

.hp-block-module strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.hp-block-module em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--hp-muted);
}

.hp-block-module--accent {
  background: var(--hp-soft-green);
  border-color: rgba(38, 161, 123, 0.2);
}

.hp-block-module--lg .hp-block-module__tag { color: var(--hp-accent); }

/* Payment flow */
.hp-payflow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

@media (min-width: 900px) {
  .hp-payflow { flex-wrap: nowrap; justify-content: space-between; }
}

.hp-payflow__step {
  flex: 1 1 140px;
  max-width: 180px;
  text-align: center;
}

.hp-payflow__num {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--hp-surface);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hp-payflow__step p {
  font-size: 0.75rem;
  margin-top: 10px;
}

.hp-payflow__card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--hp-border);
  background: var(--hp-bg);
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.hp-payflow__card strong { font-size: 0.8125rem; }
.hp-payflow__card span { font-size: 0.75rem; color: var(--hp-crypto); font-weight: 600; }

.hp-payflow__select {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--hp-bg-soft);
  border: 1px solid var(--hp-border);
  font-size: 0.75rem;
  text-align: left;
}

.hp-payflow__card--done {
  background: var(--hp-soft-green);
  border-color: rgba(38, 161, 123, 0.2);
}

.hp-payflow__unlock {
  color: var(--hp-crypto) !important;
}

.hp-payflow__tokens {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 80px;
  align-items: center;
}

.hp-token-sm {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
}

.hp-token-sm--usdt { background: var(--hp-soft-green); color: var(--hp-crypto); }
.hp-token-sm--ton { background: var(--hp-soft-blue); color: var(--hp-accent); }

.hp-payflow__arrow {
  display: none;
  color: var(--hp-subtle);
  font-size: 1.25rem;
  padding-top: 48px;
}

@media (min-width: 900px) {
  .hp-payflow__arrow { display: block; }
}

.hp-payflow__step--active .hp-payflow__card {
  box-shadow: 0 0 0 2px rgba(0, 174, 239, 0.25);
}

/* Examples */
.hp-examples {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) { .hp-examples { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hp-examples { grid-template-columns: repeat(4, 1fr); } }

.hp-example {
  padding: 20px;
  border-radius: var(--hp-r);
  background: var(--hp-bg);
  border: 1px solid var(--hp-border);
  transition: transform 0.25s;
}

.hp-example:hover { transform: translateY(-4px); }

.hp-example__type {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hp-muted);
  margin-bottom: 16px;
}

.hp-example__page {
  padding: 16px;
  border-radius: 14px;
  background: var(--hp-bg-soft);
  border: 1px solid var(--hp-border);
}

.hp-example__av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hp-surface);
  margin-bottom: 10px;
}

.hp-example[data-theme="freelancer"] .hp-example__av { background: linear-gradient(135deg, #E8E6E3, #D4D0CB); }
.hp-example[data-theme="seller"] .hp-example__av { background: linear-gradient(135deg, var(--hp-soft-blue), #D0EEF8); }
.hp-example[data-theme="business"] .hp-example__av { background: linear-gradient(135deg, var(--hp-soft-green), #D4EDE0); }
.hp-example[data-theme="creator"] .hp-example__av { background: linear-gradient(135deg, #F0EBFF, #DDD4F5); }

.hp-example__line {
  height: 8px;
  border-radius: 4px;
  background: var(--hp-surface);
  margin-bottom: 12px;
}

.hp-example__line--title { width: 60%; height: 10px; }

.hp-example__chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 500;
  background: var(--hp-bg);
  border: 1px solid var(--hp-border);
  margin: 0 4px 6px 0;
  color: var(--hp-muted);
}

.hp-example__chip--fill {
  background: var(--hp-text);
  color: #fff;
  border-color: var(--hp-text);
}

/* Trust */
.hp-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .hp-trust { grid-template-columns: 1fr 1fr; }
}

.hp-trust__copy h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: 28px;
}

.hp-trust__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hp-trust__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hp-border);
  font-size: 0.9375rem;
  color: var(--hp-text);
}

.hp-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--hp-soft-green);
  color: var(--hp-crypto);
  font-size: 0.6875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hp-trust__mini {
  padding: 24px;
  border-radius: var(--hp-r);
  background: var(--hp-bg-soft);
  border: 1px solid var(--hp-border);
  box-shadow: var(--hp-shadow);
}

.hp-trust__mini-bar {
  height: 10px;
  border-radius: 6px;
  background: var(--hp-surface);
  margin-bottom: 10px;
  width: 70%;
}

.hp-trust__mini-bar--short { width: 45%; margin-bottom: 20px; }

.hp-trust__mini-card {
  height: 48px;
  border-radius: 12px;
  background: var(--hp-bg);
  border: 1px solid var(--hp-border);
  margin-bottom: 8px;
}

.hp-trust__mini-card--green {
  background: var(--hp-soft-green);
  border-color: rgba(38, 161, 123, 0.2);
}

/* Compare */
.hp-compare {
  border-radius: var(--hp-r);
  border: 1px solid var(--hp-border);
  overflow: hidden;
  background: var(--hp-bg);
}

.hp-compare__row {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 8px;
  padding: 16px 20px;
  align-items: center;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--hp-border);
}

.hp-compare__row:last-child { border-bottom: none; }

.hp-compare__row--head {
  background: var(--hp-bg-soft);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--hp-muted);
}

.hp-compare__tapa {
  color: var(--hp-accent);
  font-weight: 700;
}

.hp-compare__row span:first-child { color: var(--hp-text); font-weight: 500; }

.hp-yes { color: var(--hp-crypto); font-weight: 700; text-align: center; }
.hp-no { color: var(--hp-subtle); text-align: center; }

@media (max-width: 640px) {
  .hp-compare { overflow-x: auto; }
  .hp-compare__row { min-width: 520px; }
}

/* SEO */
.hp-seo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .hp-seo { grid-template-columns: 1fr 1fr; }
}

.hp-seo__text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 20px;
}

.hp-seo__text p { margin-bottom: 16px; font-size: 1rem; }
.hp-seo__muted { font-size: 0.9375rem !important; color: var(--hp-subtle) !important; }

.hp-seo__page {
  padding: 20px;
  border-radius: var(--hp-r);
  background: var(--hp-bg-soft);
  border: 1px solid var(--hp-border);
  box-shadow: var(--hp-shadow);
}

.hp-seo__page-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hp-seo__page-head span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--hp-surface);
}

.hp-seo__page-head strong { display: block; font-size: 0.875rem; }
.hp-seo__page-head em { font-style: normal; font-size: 0.75rem; color: var(--hp-subtle); }

.hp-seo__page-block {
  height: 44px;
  border-radius: 12px;
  background: var(--hp-bg);
  border: 1px solid var(--hp-border);
  margin-bottom: 8px;
}

.hp-seo__page-block--accent {
  background: var(--hp-soft-blue);
  border-color: rgba(0, 174, 239, 0.2);
  height: 56px;
}

/* FAQ */
.hp-faq { max-width: 680px; }

.hp-faq__item {
  border-bottom: 1px solid var(--hp-border);
  padding: 4px 0;
}

.hp-faq__item summary {
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--hp-text);
}

.hp-faq__item summary::-webkit-details-marker { display: none; }

.hp-faq__item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--hp-subtle);
  transition: transform 0.25s;
}

.hp-faq__item[open] summary::after { transform: rotate(45deg); }

.hp-faq__item p {
  padding-bottom: 18px;
  font-size: 0.9375rem;
  margin: 0;
}

/* CTA */
.hp-cta {
  padding: 100px 0 120px;
}

.hp-cta__box {
  text-align: center;
  padding: 72px 40px;
  border-radius: 24px;
  background: var(--hp-bg-soft);
  border: 1px solid var(--hp-border);
}

.hp-cta__box h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.hp-cta__box p {
  font-size: 1.0625rem;
  margin-bottom: 32px;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.hp-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--hp-border);
  background: var(--hp-bg);
}

.hp-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.hp-footer p {
  margin-top: 12px;
  font-size: 0.875rem;
  max-width: 260px;
}

.hp-footer h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--hp-muted);
}

.hp-footer ul { list-style: none; padding: 0; margin: 0; }
.hp-footer li { margin-bottom: 8px; }
.hp-footer a { font-size: 0.875rem; color: var(--hp-subtle); }
.hp-footer a:hover { color: var(--hp-text); }

.hp-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--hp-border);
  font-size: 0.8125rem;
  color: var(--hp-subtle);
}

@media (max-width: 640px) {
  .hp-footer__grid { grid-template-columns: 1fr; }
  .hp-cta__box { padding: 48px 24px; }
  .hp-hero__scene { min-height: 420px; }
}

/* Cookie banner on homepage */
.homepage .cookie-banner {
  background: var(--hp-bg);
  border-color: var(--hp-border);
  box-shadow: var(--hp-shadow);
}

.homepage .cookie-banner__title { color: var(--hp-text); }
.homepage .cookie-banner__text { color: var(--hp-muted); }
.homepage .cookie-btn--primary { background: var(--hp-text); border-color: var(--hp-text); }

@media (prefers-reduced-motion: reduce) {
  .hp-reveal, .hp-fade { opacity: 1; transform: none; }
  .hp-token, .hp-builder__block { animation: none !important; }
}
