/* ---------- Team section ---------- */
.section {
  margin-top: clamp(64px, 10vw, 96px);
}
.section-head {
  margin-bottom: 40px;
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
}
.section-head h2 {
  font-size: clamp(30px, 8vw, 40px); font-weight: 300; letter-spacing: -0.03em;
  margin-top: 8px; max-width: 22ch;
}
.section-head p {
  max-width: 38ch; font-size: 15px; line-height: 1.55;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.topic-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-tile);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.topic-card:hover {
  border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
  box-shadow: var(--shadow-tile-hover);
  transform: translateY(-2px);
}
.topic-card h3 {
  margin: 14px 0 12px;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.topic-card p {
  font-size: 14px;
  line-height: 1.55;
}
.topic-kicker {
  width: fit-content;
  padding: 5px 9px;
  background: var(--accent-weak-2);
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 999px;
  color: var(--accent);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.topic-card-accent {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent-weak-2) 72%, var(--surface)), var(--surface));
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
}
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 980px) { .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .team-grid, .topic-grid { grid-template-columns: 1fr; } }
.lawyer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-tile);
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.lawyer:hover { box-shadow: var(--shadow-tile-hover); transform: translateY(-2px); }
.portrait {
  width: 100%; aspect-ratio: 4/5;
  border-radius: 10px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lawyer h3 {
  font-size: 20px; font-weight: 400; letter-spacing: -0.015em;
}
.lawyer .role {
  font-size: 12px; font-family: 'Geist Mono', monospace;
  color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase;
  margin-top: 4px;
}
.lawyer p { font-size: 14px; line-height: 1.55; margin-top: 14px; margin-bottom: 20px; color: var(--body); }
.lawyer-credits {
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; gap: 16px; flex-wrap: wrap;
  align-items: center;
}
.credit {
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  color: var(--body);
  letter-spacing: 0.02em;
}
.credit strong { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.lawyer-linkedin {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--body);
  background: var(--surface);
  transition: all .15s ease;
}
.lawyer-linkedin:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-weak-2);
}
.lawyer-linkedin svg { width: 14px; height: 14px; }

/* ---------- Footer ---------- */
.footer {
  margin-top: 120px;
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-title {
  font-size: 12px; font-family: 'Geist Mono', monospace;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px;
  font-weight: 500;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--body); }
.footer-links a:hover { color: var(--ink); }
.footer-about { font-size: 14px; line-height: 1.55; color: var(--body); max-width: 34ch; margin-top: 16px; }
.footer-meta {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px;
  font-size: 12px; color: var(--muted);
  font-family: 'Geist Mono', monospace;
  letter-spacing: 0.02em;
}
.footer-meta .legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 8px 18px 0;
  display: flex; gap: 16px; align-items: flex-start; justify-content: space-between;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--body);
  transition: transform .25s ease, border-color .2s, color .2s, background .2s;
  margin-top: 1px;
}
.faq-icon svg { width: 10px; height: 10px; }
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-weak-2);
}
.faq-answer {
  padding: 0 40px 20px 0;
  font-size: 14px; line-height: 1.6; color: var(--body);
  animation: faqOpen .25s ease;
}
.faq-answer p { margin: 0 0 10px; color: inherit; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 8px 0 12px; padding-left: 18px; }
.faq-answer li { margin: 4px 0; }
.faq-answer strong { color: var(--ink); font-weight: 500; }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Globe alignment in full-width hero: shift further to the right edge */
.t-hero.hero-mode-full .globe svg { transform: translateX(18%); }

/* ---------- Hero full-width variant ---------- */
.hero-full {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(28px, 6vw, 56px) clamp(22px, 7vw, 64px);
  min-height: clamp(420px, 72vw, 520px);
  height: 100%;
}
.hero-full h1 {
  font-size: clamp(38px, 11vw, 80px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: 16px;
}
.hero-full h1 em { font-style: normal; color: var(--accent); }
.hero-full .hero-sub-full {
  font-size: 17px; color: var(--body);
  max-width: 52ch; line-height: 1.5;
}
.hero-full-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  margin-top: 48px;
}
.hero-full-cta { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }
.hero-full-trust { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero-full-bottom,
  .process-head,
  .section-head,
  .live-head,
  .auth-footer,
  .fee-row,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-head,
  .section-head {
    margin-bottom: 24px;
  }

  .hero-full-bottom {
    margin-bottom: 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-grid::before {
    display: none;
  }

  .step,
  .step:first-child,
  .step:last-child {
    padding: 0;
  }

  .win {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "route amount"
      "meta amount";
    align-items: start;
    gap: 4px 12px;
  }

  .win-route { grid-area: route; }
  .win-meta { grid-area: meta; }
  .win-amount { grid-area: amount; }

  .faq-answer {
    padding-right: 0;
  }

  .hero-full-cta {
    min-width: 0;
    width: 100%;
  }

  .live-head {
    gap: 12px;
  }

  .live-tag {
    padding: 6px 10px;
    border: 1px solid color-mix(in srgb, var(--success) 18%, transparent);
    box-shadow: 0 10px 20px -18px color-mix(in srgb, var(--success) 45%, transparent);
  }

  .t-hero.hero-mode-full .globe svg {
    transform: translateX(10%);
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-full-bottom {
    margin-top: 32px;
    gap: 24px;
  }

  .hero-full-trust,
  .trust-row {
    gap: 12px;
    flex-wrap: wrap;
  }
}
