@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f6fbff;
  --surface: #ffffff;
  --surface-soft: #eaf7fb;
  --ink: #0f2734;
  --muted: #516876;
  --line: #d8e8ee;
  --primary: #0f84a5;
  --primary-dark: #07566d;
  --teal: #0f766e;
  --green: #159461;
  --orange: #f97316;
  --amber-soft: #fff4e8;
  --shadow: 0 18px 50px rgba(15, 39, 52, 0.12);
  --max: 1180px;
  --font-sans: "Graphik Web", "Graphik", "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  --font-display: "Graphik Web", "Graphik", "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.58;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 232, 238, 0.78);
  background: rgba(246, 251, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  width: calc(100vw - 32px);
  max-width: var(--max);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--green));
  box-shadow: 0 10px 22px rgba(15, 132, 165, 0.28);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
}

.nav-links a,
.inline-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:not(.button) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 8px;
  border-radius: 6px;
  color: inherit;
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.nav-links a:not(.button)::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 3px;
  left: 8px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  transition: background-color 180ms ease;
}

.nav-links a:not(.button):hover,
.inline-link:hover {
  color: var(--primary-dark);
}

.nav-links a:not(.button):hover {
  background: rgba(15, 132, 165, 0.08);
}

.nav-links a[aria-current="page"]:not(.button) {
  color: var(--primary-dark);
  font-weight: 700;
  background: #e8f8f3;
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.2);
}

.nav-links a[aria-current="page"]:not(.button)::after {
  background: var(--orange);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  background: #dd5f0c;
}

.button.secondary {
  background: #fff;
  color: var(--primary-dark);
  border-color: #a8d8e7;
}

.button.secondary:hover {
  background: var(--surface-soft);
}

.hero {
  min-height: 76vh;
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 40, 54, 0.86), rgba(8, 40, 54, 0.42) 48%, rgba(8, 40, 54, 0.1)),
    url("/assets/tribemeet-hero.png") center / cover no-repeat;
}

.hero-inner {
  width: calc(100vw - 32px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #bfeefb;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #e7f8fc;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  font-weight: 500;
  line-height: 1.55;
}

.hero .eyebrow,
.hero h1,
.hero-copy,
.hero-proof {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.36);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: #ecfbff;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #62e3aa;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: #fff;
}

.section.warn {
  background: var(--amber-soft);
}

.container {
  width: calc(100vw - 32px);
  max-width: var(--max);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
}

.section-heading.center {
  margin: 0 auto;
  text-align: center;
}

h2 {
  font-family: var(--font-display);
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.018em;
}

h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

h1,
h2,
h3,
p,
li,
td,
th,
a {
  overflow-wrap: break-word;
}

.lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.68;
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 12px 28px rgba(15, 39, 52, 0.06);
}

.card p,
.policy-list li,
.timeline li,
.check-list li {
  color: var(--muted);
  line-height: 1.64;
}

.icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.icon svg {
  width: 23px;
  height: 23px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 42px;
  align-items: center;
}

.panel {
  border: 1px solid #b8dfe9;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.35;
}

.panel-body {
  padding: 20px;
}

.workflow-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.workflow-row:last-child {
  border-bottom: 0;
}

.step-number {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e7f7f1;
  color: #087047;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.25;
}

.tag.orange {
  background: #fff0e6;
  color: #b84b09;
}

.check-list,
.policy-list,
.timeline {
  margin: 20px 0 0;
  padding-left: 20px;
}

.check-list li,
.policy-list li,
.timeline li {
  margin: 10px 0;
}

.cta-band {
  padding: 56px;
  border-radius: 8px;
  background: var(--primary-dark);
  color: #fff;
}

.cta-band p {
  max-width: 760px;
  margin-top: 14px;
  color: #c8eef7;
}

.cta-band .hero-actions {
  margin-top: 26px;
}

.page-hero {
  padding: 72px 0 44px;
  background: linear-gradient(180deg, #e9f8fd, #f6fbff);
}

.page-hero h1 {
  font-family: var(--font-display);
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.page-content {
  padding: 58px 0 82px;
}

.prose {
  max-width: 860px;
}

.prose h2 {
  margin-top: 42px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.14;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.72;
}

.prose p {
  margin-top: 14px;
}

.notice {
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid var(--orange);
  background: #fff8f1;
  color: #5f3b20;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #082836;
  color: #d7edf3;
}

.site-footer .brand {
  color: #fff;
}

.footer-inner {
  width: calc(100vw - 32px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(110px, 0.42fr) minmax(140px, 0.5fr) minmax(250px, 0.82fr);
  grid-template-areas:
    "brand product compliance contact"
    "brand reviewer reviewer reviewer";
  gap: 26px 40px;
  align-items: start;
}

.footer-brand {
  grid-area: brand;
  max-width: 520px;
}

.footer-inner > .footer-column:nth-child(2) {
  grid-area: product;
}

.footer-inner > .footer-column:nth-child(3) {
  grid-area: compliance;
}

.footer-inner > .footer-column:nth-child(4) {
  grid-area: contact;
}

.footer-inner > .footer-column:nth-child(5) {
  grid-area: reviewer;
  padding-top: 18px;
  border-top: 1px solid rgba(215, 237, 243, 0.18);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
}

.footer-links a {
  color: #fff;
  text-underline-offset: 4px;
}

.footer-links a[href^="mailto:tribemeet.contact@gmail.com"] {
  white-space: nowrap;
}

.footer-column h2,
.footer-column h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.fine-print {
  margin-top: 14px;
  color: #a9c6cf;
  font-size: 0.88rem;
  line-height: 1.58;
}

.footer-meta {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #c2dbe3;
  font-size: 0.88rem;
  line-height: 1.56;
}

.footer-meta li {
  margin: 8px 0;
}

.footer-meta strong {
  color: #fff;
}

.reviewer-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #c2dbe3;
  font-size: 0.88rem;
  line-height: 1.56;
}

.reviewer-facts li {
  margin: 0;
}

.product-surface {
  margin-top: 34px;
  border: 1px solid #b8dfe9;
  border-radius: 8px;
  background: #fafdff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.surface-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.35;
}

.surface-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.4fr) minmax(220px, 0.9fr);
  min-height: 360px;
}

.surface-panel {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.surface-panel:last-child {
  border-right: 0;
}

.surface-panel h3 {
  color: var(--ink);
}

.surface-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.surface-item {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.surface-item strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.surface-item span,
.surface-item p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.message-thread {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.message {
  max-width: 82%;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.52;
}

.message.outbound {
  justify-self: end;
  background: #e7f7f1;
  color: #0b6041;
}

.how-steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.how-step {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.how-step::before {
  counter-increment: steps;
  content: counter(steps);
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.fact-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.mini-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.mini-table th,
.mini-table td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.mini-table th {
  color: var(--ink);
  font-weight: 700;
  background: var(--surface-soft);
}

.mt-large {
  margin-top: 48px;
}

:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.72);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.8fr);
    grid-template-areas:
      "brand contact"
      "product compliance"
      "reviewer reviewer";
  }
}

@media (max-width: 920px) {
  .nav {
    padding: 16px 0;
  }

  .nav-links {
    gap: 12px;
  }

  .hero {
    min-height: 74vh;
    background-position: 58% center;
  }

  .grid.three,
  .grid.two,
  .split,
  .surface-grid,
  .facts-grid,
  .how-steps {
    grid-template-columns: 1fr;
  }

  .surface-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .surface-panel:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 62px 0;
  }

  .cta-band {
    padding: 34px 24px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand brand"
      "product compliance"
      "contact contact"
      "reviewer reviewer";
  }

  .reviewer-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav,
  .hero-inner,
  .container,
  .footer-inner {
    width: calc(100vw - 48px);
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    font-size: 0.9rem;
  }

  .hero-inner {
    padding: 44px 0 34px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 16vw, 3.65rem);
  }

  .page-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2rem);
    line-height: 1.08;
  }

  .hero-copy {
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-proof {
    margin-top: 24px;
  }

  .button {
    width: 100%;
  }

  .mini-table {
    display: block;
    overflow-x: auto;
  }

  .card,
  .contact-item {
    padding: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "product"
      "compliance"
      "contact"
      "reviewer";
    gap: 24px;
  }

  .footer-links {
    justify-content: flex-start;
    white-space: normal;
  }

  .footer-links a[href^="mailto:tribemeet.contact@gmail.com"] {
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
