/* Project Insight — Meta verification landing (Insight UI tokens + visual polish) */
:root {
  color-scheme: light;
  --bg: #f6f4f1;
  --bg-elevated: #ffffff;
  --ink: #1c1b1a;
  --ink-muted: #5c5955;
  --line: #e3ded6;
  --accent: #2f5d50;
  --accent-hover: #244a40;
  --accent-soft: #e7f0ec;
  --accent-glow: rgba(47, 93, 80, 0.12);
  --shadow: 0 10px 30px rgba(28, 27, 26, 0.06);
  --shadow-lg: 0 18px 50px rgba(28, 27, 26, 0.09);
  --radius: 14px;
  --radius-lg: 22px;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --max: 720px;
  --max-wide: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: var(--font);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 8% -12%, #ebe6de 0%, transparent 55%),
    radial-gradient(900px 520px at 96% 4%, #dfece6 0%, transparent 52%),
    radial-gradient(700px 400px at 50% 100%, #efeae3 0%, transparent 60%),
    var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-header {
  border-bottom: 1px solid rgba(227, 222, 214, 0.85);
  background: rgba(246, 244, 241, 0.82);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner,
.site-footer__inner {
  width: min(100% - 2.5rem, var(--max-wide));
  margin-inline: auto;
}

.site-main {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  flex: 1;
  padding: 2.5rem 0 3.5rem;
}

.site-main--wide {
  width: min(100% - 2.5rem, var(--max-wide));
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.logo {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 8px;
  background:
    linear-gradient(145deg, #3d7a69 0%, var(--accent) 55%, #1f3f36 100%);
  box-shadow: 0 4px 10px var(--accent-glow);
  flex-shrink: 0;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

.eyebrow {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}

h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.85rem, 4.4vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.subhead {
  margin: 0 0 1.15rem;
  color: var(--ink-muted);
  font-size: clamp(1.02rem, 2vw, 1.12rem);
  line-height: 1.5;
  max-width: 36rem;
}

.lede,
.prose p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--ink-muted);
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose li::marker {
  color: var(--accent);
}

/* —— Home hero —— */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem 2.5rem;
  align-items: stretch;
}

.hero-copy {
  background:
    linear-gradient(165deg, #ffffff 0%, #fbfaf8 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.35rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #7aa896 55%, transparent);
}

.flow-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
  list-style: none;
  padding: 0;
}

.flow-pills li {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(47, 93, 80, 0.12);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-top: 1.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px var(--accent-glow);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--line);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--accent-soft);
  transform: none;
}

.secondary-note {
  margin: 1.35rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.meta-line {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.placeholder {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.05em 0.35em;
  border-radius: 4px;
  font-size: 0.95em;
}

/* —— Visual stage / mock UIs —— */
.hero-visual {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.mock-stack {
  display: grid;
  gap: 1rem;
}

.mock {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfaf8, #f3f0eb);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.mock__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d2ccc3;
}

.mock__dot:nth-child(1) { background: #c9b8a8; }
.mock__dot:nth-child(2) { background: #b7c4bc; }
.mock__dot:nth-child(3) { background: #a8b9c4; }

.mock__body {
  padding: 0.95rem 1rem 1.1rem;
}

/* Post caption card */
.post-card {
  display: grid;
  gap: 0.7rem;
}

.post-card__media {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background:
    linear-gradient(145deg, #dfe8e3 0%, #c5d5cd 40%, #e8e2d8 100%);
  position: relative;
  overflow: hidden;
}

.post-card__media::after {
  content: "";
  position: absolute;
  inset: 18% 22% auto auto;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  filter: blur(2px);
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.avatar {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d8f82, #2f5d50);
  flex-shrink: 0;
}

.avatar--soft {
  background: linear-gradient(135deg, #c4b5a5, #8a7a6a);
}

.avatar--cool {
  background: linear-gradient(135deg, #9bb0c0, #5a7588);
}

.post-card__handle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.post-card__caption {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.post-card__stats {
  display: flex;
  gap: 0.9rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.post-card__stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Comment thread */
.thread {
  display: grid;
  gap: 0.7rem;
}

.comment {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
}

.comment__bubble {
  background: #f3f0eb;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
}

.comment__name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.15rem;
}

.comment__text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.comment--highlight .comment__bubble {
  background: var(--accent-soft);
  border: 1px solid rgba(47, 93, 80, 0.14);
}

/* Chat UI */
.chat {
  display: grid;
  gap: 0.65rem;
}

.chat__msg {
  max-width: 92%;
  border-radius: 14px;
  padding: 0.65rem 0.8rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.chat__msg--user {
  justify-self: end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 5px;
}

.chat__msg--bot {
  justify-self: start;
  background: #f3f0eb;
  color: var(--ink);
  border-bottom-left-radius: 5px;
}

.chat__cite {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: #fff;
  border: 1px solid rgba(47, 93, 80, 0.18);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.1rem;
}

.feature-card h2 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Inner pages */
.page-card {
  background:
    linear-gradient(165deg, #ffffff 0%, #fbfaf8 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem 2.15rem;
}

.page-card.prose h1 {
  font-size: clamp(1.55rem, 3.5vw, 2rem);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.35);
}

.site-footer__inner {
  display: grid;
  gap: 0.65rem;
}

.site-footer a {
  color: var(--ink-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: 2;
  }
}

@media (max-width: 520px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-main,
  .site-main--wide {
    padding: 1.75rem 0 2.75rem;
  }

  .hero-copy,
  .page-card {
    padding: 1.5rem 1.2rem 1.6rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
