:root {
  --paper: #f7f3ee;
  --paper-strong: #fffaf4;
  --ink: #18212f;
  --muted: #667085;
  --orange: #f97316;
  --teal: #00bfa6;
  --line: #e5e1da;
  --shadow: 0 24px 80px rgba(24, 33, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    "HarmonyOS Sans SC",
    "Noto Sans SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  height: 82px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(229, 225, 218, 0.78);
  background: rgba(247, 243, 238, 0.84);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 300px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
  transform: translateX(-18px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(24, 33, 47, 0.72);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-action,
.button-primary,
.button-secondary,
.button-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 760;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.header-action {
  padding: 0 18px;
  color: var(--paper);
  background: var(--ink);
}

.button-primary {
  padding: 0 22px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 16px 36px rgba(24, 33, 47, 0.18);
}

.button-secondary {
  padding: 0 22px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.68);
}

.button-contact {
  padding: 0 20px;
  border: 1px solid rgba(247, 243, 238, 0.42);
  color: var(--paper);
  background: rgba(247, 243, 238, 0.12);
  backdrop-filter: blur(12px);
}

.header-action:hover,
.button-primary:hover,
.button-secondary:hover,
.button-contact:hover {
  transform: translateY(-2px);
}

.button-secondary:active,
.button-secondary:focus,
.button-secondary:focus-visible,
.button-secondary.is-selected {
  border-color: rgba(0, 191, 166, 0.42);
  background: rgba(0, 191, 166, 0.1);
  color: var(--ink);
  box-shadow: 0 0 0 4px rgba(0, 191, 166, 0.12);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 82px));
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 17, 26, 0.84) 0%, rgba(10, 17, 26, 0.62) 42%, rgba(10, 17, 26, 0.18) 74%),
    linear-gradient(180deg, rgba(10, 17, 26, 0.18), rgba(10, 17, 26, 0.58));
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  mix-blend-mode: screen;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: min(760px, calc(100vh - 82px));
  margin: 0 auto;
  padding: 72px 0 58px;
}

.hero-copy {
  max-width: 890px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: rgba(24, 33, 47, 0.66);
  font-size: 14px;
  font-weight: 780;
  line-height: 1;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.9), rgba(24, 33, 47, 0.14));
}

.hero-eyebrow {
  color: rgba(247, 243, 238, 0.84);
  font-size: 16px;
  font-weight: 760;
}

.hero-eyebrow::before {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(0, 191, 166, 0.64));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 890px;
  margin-bottom: 20px;
  font-size: clamp(50px, 4.7vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 18px 58px rgba(0, 0, 0, 0.28);
}

h1 span {
  display: inline;
  white-space: nowrap;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 24px;
  color: rgba(247, 243, 238, 0.78);
  font-size: clamp(17px, 1.55vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  border-top: 1px solid rgba(247, 243, 238, 0.22);
  border-bottom: 1px solid rgba(247, 243, 238, 0.22);
  backdrop-filter: blur(10px);
}

.hero-metrics div {
  min-height: 76px;
  padding: 14px 18px;
  border-right: 1px solid rgba(247, 243, 238, 0.18);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  color: var(--paper);
  font-size: 20px;
  line-height: 1.2;
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: rgba(247, 243, 238, 0.68);
  font-size: 14px;
}

.video-sound-toggle {
  position: absolute;
  right: max(20px, calc((100% - 1180px) / 2));
  bottom: 28px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(247, 243, 238, 0.32);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(24, 33, 47, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(10, 17, 26, 0.24);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  line-height: 1;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.video-sound-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 191, 166, 0.72);
  background: rgba(24, 33, 47, 0.86);
}

.video-sound-toggle[aria-pressed="true"] {
  border-color: rgba(0, 191, 166, 0.74);
  background: rgba(0, 191, 166, 0.86);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.value-band {
  width: 100%;
  margin: 34px 0 0;
  padding: 64px max(20px, calc((100% - 1180px) / 2)) 72px;
  border-top: 1px solid rgba(24, 33, 47, 0.08);
  border-bottom: 1px solid rgba(24, 33, 47, 0.08);
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 191, 166, 0.13), transparent 25%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.72), rgba(237, 232, 225, 0.66));
}

.value-inner {
  display: block;
  margin-bottom: 34px;
}

.value-heading {
  max-width: 880px;
  margin: 0 auto;
  margin-bottom: 0;
  padding: 4px 0;
  text-align: center;
}

.value-heading .eyebrow {
  justify-content: center;
  width: 100%;
}

.section-heading.compact {
  max-width: 660px;
}

.section-heading h2,
.boundary-panel h2,
.contact-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.65vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.boundary-panel p,
.contact-copy p {
  color: rgba(24, 33, 47, 0.68);
  font-size: 18px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.info-card,
.audience-card {
  min-height: 216px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.62);
}

.value-band .card-grid {
  width: 100%;
  gap: 14px;
}

.value-band .info-card {
  min-height: 218px;
  border-color: rgba(24, 33, 47, 0.08);
  background: rgba(255, 250, 244, 0.82);
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.08);
}

.value-band .info-card:nth-child(even) {
  background: rgba(24, 33, 47, 0.94);
}

.value-band .info-card:nth-child(even) h3 {
  color: var(--paper);
}

.value-band .info-card:nth-child(even) p {
  color: rgba(247, 243, 238, 0.7);
}

.info-card h3,
.audience-card h3,
.service-flow h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.info-card p,
.audience-card p,
.service-flow p {
  margin-bottom: 0;
  color: rgba(24, 33, 47, 0.66);
}

.card-mark {
  display: block;
  position: relative;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(0, 191, 166, 0.08)),
    rgba(255, 250, 244, 0.86);
}

.card-mark::before,
.card-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.card-mark::before {
  left: 12px;
  top: 12px;
  width: 18px;
  height: 18px;
  background: var(--orange);
  box-shadow: 12px 12px 0 rgba(0, 191, 166, 0.82);
}

.card-mark::after {
  left: 9px;
  bottom: 9px;
  width: 26px;
  height: 2px;
  background: rgba(24, 33, 47, 0.18);
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: start;
}

.service-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-flow article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.service-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 44px;
  margin-bottom: 42px;
  border: 1px solid rgba(0, 191, 166, 0.28);
  border-radius: 8px;
  color: var(--teal);
  background: rgba(0, 191, 166, 0.08);
  font-family: Inter, Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.service-flow p {
  color: rgba(247, 243, 238, 0.72);
}

.projects-section {
  padding-top: 44px;
}

.projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.32fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 26px;
}

.projects-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 154px;
  padding: 22px 24px;
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.18), transparent 44%),
    var(--ink);
  box-shadow: 0 20px 52px rgba(24, 33, 47, 0.14);
}

.projects-note span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.projects-note strong {
  max-width: 190px;
  font-size: 28px;
  line-height: 1.14;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 176px;
  gap: 14px;
}

.project-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.1);
}

.project-card-large {
  grid-column: span 5;
  grid-row: span 2;
}

.project-gallery .project-card:nth-child(2) {
  grid-column: span 4;
}

.project-gallery .project-card:nth-child(3) {
  grid-column: span 3;
}

.project-gallery .project-card:nth-child(4),
.project-card-poster {
  grid-column: span 2;
}

.project-gallery .project-card:nth-child(5) {
  grid-column: span 3;
}

.project-card img,
.project-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.project-card video {
  background: var(--ink);
}

.project-card video::-webkit-media-controls-panel {
  background-image: linear-gradient(transparent, rgba(10, 17, 26, 0.72));
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 34%, rgba(10, 17, 26, 0.82));
}

.project-card-large::after {
  background:
    linear-gradient(90deg, rgba(10, 17, 26, 0.78), transparent 58%),
    linear-gradient(180deg, transparent 34%, rgba(10, 17, 26, 0.55));
}

.project-card-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  z-index: 1;
  color: var(--paper);
  pointer-events: none;
}

.project-card-copy span {
  display: block;
  margin-bottom: 8px;
  color: rgba(0, 191, 166, 0.9);
  font-size: 12px;
  font-weight: 850;
}

.project-card-copy h3 {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.15;
}

.project-card-copy p {
  max-width: 310px;
  margin: 12px 0 0;
  color: rgba(247, 243, 238, 0.72);
  font-size: 15px;
  line-height: 1.58;
}

.project-card-large .project-card-copy {
  left: 28px;
  right: 28px;
  bottom: 54px;
}

.project-card-large .project-card-copy h3 {
  font-size: 34px;
}

/* Team page */
.nav-links a.active {
  color: var(--ink);
}

.team-page-main {
  background: var(--paper);
}

.team-page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 680px;
  margin-top: -82px;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.team-hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  opacity: 0.82;
}

.team-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 17, 26, 0.94), rgba(10, 17, 26, 0.68) 42%, rgba(10, 17, 26, 0.18)),
    linear-gradient(180deg, rgba(10, 17, 26, 0.56), rgba(10, 17, 26, 0.84));
}

.team-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.team-hero-media img:nth-child(odd) {
  transform: translateY(44px);
}

.team-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 176px 0 72px;
}

.team-hero-content .eyebrow {
  color: var(--teal);
}

.team-hero-content h1 {
  max-width: 820px;
  color: var(--paper);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.96;
}

.team-hero-content p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(247, 243, 238, 0.76);
  font-size: 18px;
  line-height: 1.74;
}

.team-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 880px;
  margin-top: 42px;
  border: 1px solid rgba(247, 243, 238, 0.14);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.08);
  backdrop-filter: blur(16px);
}

.team-hero-metrics div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 104px;
  padding: 22px 24px;
  border-right: 1px solid rgba(247, 243, 238, 0.12);
}

.team-hero-metrics div:last-child {
  border-right: 0;
}

.team-hero-metrics strong,
.team-hero-metrics span {
  display: block;
}

.team-hero-metrics strong {
  color: var(--paper);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.12;
}

.team-hero-metrics span {
  margin-top: 10px;
  color: rgba(247, 243, 238, 0.62);
  font-size: 13px;
  line-height: 1.35;
}

.team-capability-section {
  padding-top: 66px;
}

.team-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.team-capability-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.74);
  box-shadow: 0 16px 42px rgba(24, 33, 47, 0.08);
}

.team-capability-grid span {
  color: var(--orange);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.team-capability-grid h3 {
  margin: 42px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.16;
}

.team-capability-grid p {
  margin: 14px 0 0;
  color: rgba(24, 33, 47, 0.66);
  font-size: 14px;
  line-height: 1.72;
}

.team-member-section {
  padding-top: 46px;
}

.team-member-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.team-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font-size: 15px;
  font-weight: 760;
}

.team-roster {
  display: grid;
  gap: 14px;
}

.team-roster-page {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 0.58fr);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.94);
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.1);
}

.team-card-featured {
  background:
    linear-gradient(135deg, rgba(0, 191, 166, 0.08), transparent 42%),
    rgba(255, 250, 244, 0.96);
}

.team-photo-wrap {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: rgba(24, 33, 47, 0.08);
}

.team-photo-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(24, 33, 47, 0.24));
}

.team-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.team-card-copy {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.team-role {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.42;
}

.team-card-copy h3 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.06;
}

.team-card-copy p {
  margin: 18px 0 0;
  color: rgba(24, 33, 47, 0.68);
  font-size: 14px;
  line-height: 1.78;
}

.team-value-line {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(24, 33, 47, 0.08);
  color: rgba(24, 33, 47, 0.82);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.62;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.team-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 999px;
  color: rgba(24, 33, 47, 0.68);
  background: rgba(24, 33, 47, 0.04);
  font-size: 12px;
  font-weight: 760;
}

@media (max-width: 980px) {
  .team-page-hero {
    min-height: 720px;
  }

  .team-hero-media {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-hero-metrics,
  .team-capability-grid,
  .team-roster-page,
  .team-member-heading {
    grid-template-columns: 1fr;
  }

  .team-hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid rgba(247, 243, 238, 0.12);
  }

  .team-hero-metrics div:last-child {
    border-bottom: 0;
  }

  .team-card {
    grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  }
}

@media (max-width: 640px) {
  .team-page-hero {
    min-height: 760px;
    margin-top: -76px;
  }

  .team-hero-content {
    width: min(100% - 28px, 1180px);
    padding: 142px 0 56px;
  }

  .team-hero-content h1 {
    font-size: 44px;
  }

  .team-hero-content p:not(.eyebrow) {
    font-size: 16px;
  }

  .team-hero-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    opacity: 0.62;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-photo-wrap {
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .team-card-copy {
    padding: 22px;
  }
}
/* End team page */

.modality-section {
  padding-top: 42px;
}

.modality-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: center;
  min-height: 312px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 191, 166, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(255, 250, 244, 0.94), rgba(247, 243, 238, 0.74)),
    var(--paper-strong);
}

.modality-core {
  min-height: 252px;
  padding: 30px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: rgba(24, 33, 47, 0.96);
  color: var(--paper);
}

.modality-core strong {
  display: block;
  max-width: 260px;
  margin-top: 54px;
  color: var(--paper);
  font-size: 36px;
  line-height: 1.08;
}

.modality-core p {
  max-width: 300px;
  margin: 16px 0 0;
  color: rgba(247, 243, 238, 0.68);
  font-size: 15px;
  line-height: 1.62;
}

.core-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
}

.core-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(0, 191, 166, 0.12);
}

.modality-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.modality-list li {
  position: relative;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.72);
}

.modality-list li::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 191, 166, 0.72);
}

.modality-list span {
  display: block;
  margin-bottom: 22px;
  color: rgba(24, 33, 47, 0.44);
  font-size: 12px;
  font-weight: 850;
}

.modality-list strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.audience-card {
  min-height: 190px;
}

.audience-card:nth-child(even) {
  background: rgba(0, 191, 166, 0.06);
}

.boundary-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 40px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 12%, rgba(0, 191, 166, 0.26), transparent 28%),
    var(--ink);
}

.boundary-panel .eyebrow {
  color: rgba(247, 243, 238, 0.72);
}

.boundary-panel .eyebrow::before {
  background: rgba(0, 191, 166, 0.54);
}

.boundary-panel p {
  color: rgba(247, 243, 238, 0.76);
}

.boundary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.boundary-list span {
  min-height: 72px;
  padding: 16px;
  border: 1px solid rgba(247, 243, 238, 0.16);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.08);
  font-weight: 760;
}

.extension-section {
  padding-top: 28px;
}

.extension-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: 30px;
  align-items: start;
  padding: 32px;
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 191, 166, 0.11), transparent 38%),
    rgba(255, 250, 244, 0.82);
  box-shadow: 0 18px 54px rgba(24, 33, 47, 0.08);
}

.extension-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.1;
}

.extension-copy p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(24, 33, 47, 0.68);
  font-size: 18px;
}

.extension-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.extension-list span {
  min-height: 68px;
  padding: 16px;
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.9);
  color: var(--ink);
  font-weight: 760;
}

.extension-note {
  grid-column: 1 / -1;
  padding: 18px 20px;
  border-left: 3px solid var(--orange);
  background: rgba(247, 243, 238, 0.78);
}

.extension-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 16px;
}

.extension-note p {
  margin: 0;
  color: rgba(24, 33, 47, 0.64);
  font-size: 15px;
}

.contact-section {
  display: grid;
  gap: 14px;
}

.contact-copy {
  max-width: 640px;
}

.contact-copy p {
  max-width: 520px;
  margin: 8px 0 0;
}

.contact-cluster {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 16px;
  align-items: stretch;
}

.contact-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.74);
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-panel-head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 181, 154, 0.14);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel-head strong {
  display: block;
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.24;
}

.contact-panel-head p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
}

.contact-card-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 98px;
  padding: 14px 16px;
  background: rgba(255, 250, 244, 0.84);
}

.contact-card-item span,
.contact-card-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.contact-card-item strong {
  display: block;
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-card-item small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.contact-link {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-link:focus-visible {
  text-decoration: underline;
}

.contact-qr-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 181, 154, 0.12), rgba(249, 115, 22, 0.08)),
    rgba(255, 250, 244, 0.92);
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-qr-copy h3 {
  margin: 10px 0 0;
  font-size: 21px;
  line-height: 1.15;
}

.contact-qr-figure {
  margin: 0;
  max-width: 236px;
  padding: 12px;
  border-radius: 16px;
  background: #fffaf4;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(24, 33, 47, 0.08);
}

.contact-qr-figure img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.contact-qr-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
}

.site-footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: center;
}

.site-footer-links a {
  color: inherit;
  text-decoration: none;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  text-decoration: underline;
}


.site-footer-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 980px;
  text-align: left;
}

.site-footer-info p {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.72);
  color: rgba(24, 33, 47, 0.68);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer-info strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
}

.site-footer-info a {
  color: inherit;
  text-decoration: none;
}

.site-footer-info a:hover,
.site-footer-info a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .site-footer-info {
    grid-template-columns: 1fr;
  }
}

.icp-link {
  color: inherit;
  text-decoration: none;
}

.icp-link:hover,
.icp-link:focus-visible {
  text-decoration: underline;
}

.site-footer-copyright {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-footer-filing {
  margin: 8px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    padding: 14px 0;
  }

  .nav-links {
    display: none;
  }

  .split-section,
  .projects-heading,
  .boundary-panel,
  .extension-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: min(700px, calc(100vh - 76px));
    padding-top: 48px;
    padding-bottom: 58px;
  }

  h1 {
    max-width: 760px;
    font-size: clamp(46px, 8vw, 68px);
    line-height: 1.04;
  }

  h1 span {
    display: block;
    white-space: normal;
  }

  .card-grid.four,
  .card-grid.five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 232px;
  }

  .project-gallery .project-card.project-card {
    grid-column: span 1;
    grid-row: auto;
  }

  .project-gallery .project-card-large.project-card {
    grid-column: span 2;
    grid-row: span 1;
  }

  .modality-map {
    grid-template-columns: 1fr;
  }

  .modality-core {
    margin: 0 auto;
  }

  .value-inner {
    margin-bottom: 26px;
  }

  .contact-qr-card {
    grid-template-columns: 1fr;
  }

  .contact-cluster {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card-item-wide {
    grid-column: auto;
  }

  .contact-panel-head,
  .contact-card-item,
  .contact-base-row,
  .contact-qr-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-qr-figure {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero-inner,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .brand-logo {
    width: 220px;
    height: 56px;
    transform: none;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-inner {
    min-height: 680px;
    padding: 52px 0 76px;
  }

  h1 {
    font-size: 44px;
  }

  h1 span {
    display: block;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .video-sound-toggle {
    right: 14px;
    bottom: 18px;
  }

  .section {
    padding: 48px 0;
  }

  .value-band {
    margin-top: 10px;
    padding-top: 52px;
    padding-bottom: 54px;
  }

  .card-grid.four,
  .card-grid.five,
  .service-flow,
  .project-gallery,
  .modality-map ul,
  .boundary-list,
  .extension-list {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-auto-rows: 230px;
  }

  .project-gallery .project-card.project-card,
  .project-card-large {
    grid-column: auto;
  }

  .project-card-large .project-card-copy h3 {
    font-size: 28px;
  }

  .info-card,
  .audience-card,
  .service-flow article {
    min-height: auto;
  }

  .modality-map,
  .boundary-panel,
  .extension-panel {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer-main {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
}

/* AI solution page */
.solution-page {
  background: #f7f3ee;
}

.solution-page .nav-links a.active {
  color: var(--ink);
}

.solution-main {
  padding-bottom: 28px;
}

.solution-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding-top: 42px;
}

.solution-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 0 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.solution-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.06;
  text-shadow: none;
}

.solution-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(24, 33, 47, 0.68);
  font-size: 18px;
}

.solution-hero-points,
.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.solution-hero-points span,
.solution-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 999px;
  color: rgba(24, 33, 47, 0.74);
  background: rgba(247, 243, 238, 0.82);
  font-size: 14px;
  font-weight: 720;
}

.solution-proof-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background: #18212f;
  color: #fffaf4;
}

.solution-proof-panel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.solution-proof-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 17, 26, 0.38);
}

.solution-proof-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
}

.solution-proof-copy span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 250, 244, 0.72);
  font-size: 13px;
  font-weight: 760;
}

.solution-proof-copy strong {
  display: block;
  max-width: 320px;
  font-size: 26px;
  line-height: 1.18;
}

.solution-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 22px;
  align-items: start;
  padding-top: 42px;
}

.solution-form,
.solution-preview,
.solution-pay,
.solution-result-card {
  border: 1px solid rgba(24, 33, 47, 0.12);
  border-radius: 8px;
  background: #fffaf4;
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.07);
}

.solution-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.solution-form-head,
.solution-panel-head,
.solution-result-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.solution-form-head h2,
.solution-panel-head h2,
.solution-result-head h2 {
  margin: 0 0 4px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.16;
}

.solution-form-head p,
.solution-panel-head p,
.solution-result-head p {
  margin: 0;
  color: rgba(24, 33, 47, 0.62);
}

.solution-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fffaf4;
  background: var(--ink);
  font-size: 14px;
  font-weight: 820;
}

.solution-form label {
  display: grid;
  gap: 8px;
  color: rgba(24, 33, 47, 0.74);
  font-size: 14px;
  font-weight: 760;
}

.solution-form .solution-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.68);
  color: rgba(24, 33, 47, 0.66);
  font-size: 13px;
  line-height: 1.65;
}

.solution-form .solution-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  padding: 0;
  accent-color: #00bfa6;
}

.solution-form .solution-consent a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.solution-form .solution-consent a:hover,
.solution-form .solution-consent a:focus-visible {
  text-decoration: underline;
}

.solution-form input,
.solution-form textarea,
.solution-form select {
  width: 100%;
  border: 1px solid rgba(24, 33, 47, 0.14);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.solution-form input,
.solution-form select {
  height: 46px;
  padding: 0 13px;
}

.solution-form textarea {
  resize: vertical;
  min-height: 104px;
  padding: 12px 13px;
}

.solution-form input:focus,
.solution-form textarea:focus,
.solution-form select:focus {
  border-color: rgba(0, 191, 166, 0.66);
  background: #fffaf4;
  box-shadow: 0 0 0 4px rgba(0, 191, 166, 0.12);
}

.solution-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.solution-submit,
.pay-done,
.pay-check {
  border: 0;
  cursor: pointer;
}

.solution-submit:disabled,
.pay-done:disabled,
.pay-check:disabled {
  cursor: wait;
  opacity: 0.72;
}

.solution-side {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
}

.solution-report-center-link {
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  align-items: center;
  border: 1px dashed rgba(24, 33, 47, 0.16);
  border-radius: 8px;
  color: rgba(24, 33, 47, 0.68);
  background: rgba(255, 250, 244, 0.48);
  font-size: 14px;
  font-weight: 780;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.solution-report-center-link:hover {
  border-color: rgba(0, 191, 166, 0.4);
  color: var(--ink);
  background: rgba(0, 191, 166, 0.08);
}

.solution-preview,
.solution-pay {
  padding: 22px;
}

.solution-empty {
  margin-top: 18px;
  padding: 22px;
  border: 1px dashed rgba(24, 33, 47, 0.2);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.72);
}

.solution-empty strong,
.solution-preview-content h3 {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.24;
}

.solution-empty p,
.solution-preview-content p {
  margin-bottom: 0;
  color: rgba(24, 33, 47, 0.66);
}

.solution-preview-content {
  margin-top: 18px;
}

.solution-preview-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.solution-preview-list div {
  padding: 14px;
  border-radius: 8px;
  background: rgba(0, 191, 166, 0.08);
  color: rgba(24, 33, 47, 0.72);
}

.solution-preview-list strong {
  color: var(--ink);
}

.solution-preview-intro {
  font-size: 16px;
  line-height: 1.78;
}

.solution-preview-guidance {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.solution-preview-insight {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.76);
}

.solution-preview-insight strong {
  color: var(--ink);
  font-size: 14px;
}

.solution-preview-insight span {
  color: rgba(24, 33, 47, 0.66);
  font-size: 14px;
  line-height: 1.58;
}

.solution-preview-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.solution-preview-pay-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.solution-preview-pay-link:hover {
  color: var(--ink);
}

.solution-preview-lock {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(0, 191, 166, 0.18);
  border-radius: 8px;
  background: rgba(0, 191, 166, 0.08);
}

.solution-preview-lock strong {
  color: var(--ink);
}

.solution-preview-lock span {
  color: rgba(24, 33, 47, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.solution-funnel-steps {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.solution-funnel-step {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.78);
}

.solution-funnel-step strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.solution-funnel-step span {
  color: rgba(24, 33, 47, 0.62);
  font-size: 13px;
  line-height: 1.52;
}

.pay-card {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.pay-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 191, 166, 0.08), transparent 52%),
    #fffaf4;
  color: var(--ink);
}

.pay-compact span {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 840;
  line-height: 1.2;
}

.pay-compact p {
  max-width: 280px;
  margin: 7px 0 0;
  color: rgba(24, 33, 47, 0.62);
  font-size: 14px;
  line-height: 1.55;
}

.pay-compact strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.pay-done,
.pay-check {
  width: 100%;
}

.pay-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pay-methods button {
  height: 42px;
  border: 1px solid rgba(24, 33, 47, 0.14);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.72);
  color: rgba(24, 33, 47, 0.72);
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.pay-methods button:hover {
  border-color: rgba(0, 191, 166, 0.36);
  color: var(--ink);
  transform: translateY(-1px);
}

.pay-methods button.active {
  border-color: rgba(0, 191, 166, 0.42);
  background:
    linear-gradient(135deg, rgba(0, 191, 166, 0.16), rgba(255, 250, 244, 0.78)),
    rgba(0, 191, 166, 0.1);
  color: var(--ink);
}

.pay-wechat-box {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.7);
}

.pay-wechat-box[hidden] {
  display: none;
}

.pay-qr {
  display: grid;
  place-items: center;
  gap: 8px;
  aspect-ratio: 1;
  border: 1px solid rgba(24, 33, 47, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(24, 33, 47, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(24, 33, 47, 0.08) 1px, transparent 1px),
    #fffaf4;
  background-size: 16px 16px;
  color: var(--ink);
}

.pay-qr[hidden] {
  display: none;
}

.pay-qr-empty {
  min-height: 58px;
  aspect-ratio: auto;
  border-style: dashed;
  background: rgba(255, 250, 244, 0.78);
}

.pay-qr img {
  display: block;
  width: min(220px, 86%);
  aspect-ratio: 1;
  padding: 10px;
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(24, 33, 47, 0.1);
}

.pay-qr span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fffaf4;
  font-weight: 820;
}

.pay-qr small {
  color: rgba(24, 33, 47, 0.58);
  font-size: 14px;
  font-weight: 800;
}

.pay-wechat-box p {
  margin: 0;
  color: rgba(24, 33, 47, 0.66);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.solution-result-section {
  padding-top: 34px;
}

.solution-result-head {
  justify-content: space-between;
  margin-bottom: 20px;
}

.solution-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-end;
}

.solution-result-actions button {
  cursor: pointer;
}

.solution-followup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 22px;
  border: 1px solid rgba(0, 191, 166, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 191, 166, 0.16), transparent 56%),
    #18212f;
  color: #fffaf4;
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.12);
}

.solution-followup[hidden] {
  display: none;
}

.solution-followup h3 {
  margin: 0 0 8px;
  color: #fffaf4;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
}

.solution-followup p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 250, 244, 0.72);
  line-height: 1.68;
}

.solution-followup-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.solution-followup .button-secondary {
  border-color: rgba(255, 250, 244, 0.24);
  color: #fffaf4;
  background: rgba(255, 250, 244, 0.08);
}

.solution-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.solution-result-card {
  padding: 22px;
}

.solution-result-hero-card,
.solution-roadmap-card,
.solution-value-card,
.solution-next-card {
  grid-column: 1 / -1;
}

.solution-result-hero-card {
  overflow: hidden;
  border-color: rgba(0, 191, 166, 0.22);
  background:
    linear-gradient(135deg, rgba(24, 33, 47, 0.96), rgba(24, 33, 47, 0.86)),
    #18212f;
  color: #fffaf4;
}

.solution-result-hero-card h3 {
  max-width: 760px;
  color: #fffaf4;
  font-size: clamp(28px, 3vw, 42px);
}

.solution-result-hero-card p {
  max-width: 820px;
  color: rgba(255, 250, 244, 0.72);
  font-size: 17px;
  line-height: 1.78;
}

.solution-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.solution-result-meta span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 250, 244, 0.18);
  border-radius: 999px;
  color: rgba(255, 250, 244, 0.78);
  background: rgba(255, 250, 244, 0.08);
  font-size: 13px;
  font-weight: 760;
}

.solution-result-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.22;
}

.solution-result-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: rgba(24, 33, 47, 0.68);
}

.solution-result-card li::marker {
  color: var(--teal);
}

.solution-roadmap,
.solution-value-grid {
  display: grid;
  gap: 12px;
}

.solution-roadmap-item {
  padding: 16px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.66);
}

.solution-roadmap-item strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.solution-roadmap-item span {
  display: block;
  margin-top: 4px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 820;
}

.solution-roadmap-item p {
  margin: 8px 0 10px;
  color: rgba(24, 33, 47, 0.66);
}

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

.solution-value-item {
  min-height: 142px;
  padding: 18px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.66);
}

.solution-value-item span {
  display: block;
  color: rgba(24, 33, 47, 0.56);
  font-size: 13px;
  font-weight: 780;
}

.solution-value-item strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.18;
}

.solution-value-item p {
  margin-top: 10px;
  color: rgba(24, 33, 47, 0.64);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .solution-hero,
  .solution-workbench,
  .solution-result {
    grid-template-columns: 1fr;
  }

  .solution-value-grid {
    grid-template-columns: 1fr;
  }

  .solution-side {
    position: static;
  }

  .solution-proof-panel {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .solution-hero-copy,
  .solution-form,
  .solution-preview,
  .solution-pay,
  .solution-result-card {
    padding: 18px;
  }

  .solution-form-row,
  .pay-methods {
    grid-template-columns: 1fr;
  }

  .pay-compact {
    align-items: flex-start;
    flex-direction: column;
  }

  .solution-result-head {
    display: grid;
  }

  .solution-result-actions {
    justify-content: flex-start;
  }

  .solution-followup {
    align-items: flex-start;
    flex-direction: column;
  }

  .solution-followup-actions {
    justify-content: flex-start;
  }
}

/* Paid report page */
.report-page {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(237, 232, 225, 0.92)),
    var(--paper);
}

.report-main {
  padding-bottom: 28px;
}

.report-cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 22px;
  align-items: stretch;
  padding-top: 42px;
}

.report-cover-copy,
.report-action-panel,
.report-card,
.report-state-card,
.report-center-card {
  border: 1px solid rgba(24, 33, 47, 0.12);
  border-radius: 8px;
  background: #fffaf4;
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.07);
}

.report-cover-copy {
  position: relative;
  overflow: hidden;
  padding: 34px;
  color: #fffaf4;
  background:
    linear-gradient(135deg, rgba(0, 191, 166, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(24, 33, 47, 0.98), rgba(24, 33, 47, 0.88));
}

.report-cover-copy .eyebrow {
  color: rgba(255, 250, 244, 0.72);
}

.report-cover-copy h1 {
  max-width: 860px;
  margin-bottom: 18px;
  color: #fffaf4;
  font-size: clamp(34px, 4.2vw, 58px);
  text-shadow: none;
}

.report-cover-copy p:not(.eyebrow) {
  max-width: 820px;
  color: rgba(255, 250, 244, 0.74);
  font-size: 17px;
  line-height: 1.8;
}

.report-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.report-meta-pill {
  display: grid;
  gap: 5px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(255, 250, 244, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.08);
}

.report-meta-pill small {
  color: rgba(255, 250, 244, 0.54);
  font-size: 12px;
  font-weight: 760;
}

.report-meta-pill strong {
  color: #fffaf4;
  font-size: 13px;
  line-height: 1.35;
}

.report-action-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 24px;
}

.report-action-panel strong {
  font-size: 24px;
  line-height: 1.18;
}

.report-action-panel p {
  color: rgba(24, 33, 47, 0.66);
}

.report-actions,
.report-followup-actions,
.report-center-actions,
.report-leave-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.report-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 14px;
}

.report-card,
.report-state-card {
  padding: 24px;
}

.report-card-wide,
.report-state-card {
  grid-column: 1 / -1;
}

.report-card h2,
.report-state-card h2,
.report-center-card h2 {
  margin-bottom: 14px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.18;
}

.report-card ul,
.report-roadmap-item ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: rgba(24, 33, 47, 0.68);
}

.report-card li::marker,
.report-roadmap-item li::marker {
  color: var(--teal);
}

.report-context-grid,
.report-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.report-context-item,
.report-value-item,
.report-roadmap-item {
  padding: 16px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.7);
}

.report-context-item span,
.report-value-item span,
.report-roadmap-item span {
  display: block;
  color: rgba(24, 33, 47, 0.54);
  font-size: 12px;
  font-weight: 820;
}

.report-context-item strong,
.report-value-item strong,
.report-roadmap-item strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
}

.report-problem-box {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(0, 191, 166, 0.18);
  border-radius: 8px;
  background: rgba(0, 191, 166, 0.08);
}

.report-problem-box p {
  margin: 0 0 8px;
  color: rgba(24, 33, 47, 0.68);
}

.report-value-card {
  border-color: rgba(0, 191, 166, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 191, 166, 0.08), transparent 58%),
    #fffaf4;
}

.report-value-item p {
  margin: 8px 0 0;
  color: rgba(24, 33, 47, 0.58);
}

.report-value-item small {
  display: block;
  margin-top: 10px;
  color: rgba(24, 33, 47, 0.58);
  line-height: 1.55;
}

.report-roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.report-roadmap-item p {
  margin: 10px 0;
  color: rgba(24, 33, 47, 0.66);
}

.report-followup {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 10px;
  padding: 26px;
  border-radius: 8px;
  color: #fffaf4;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.18), transparent 42%),
    var(--ink);
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.12);
}

.report-followup[hidden] {
  display: none;
}

.report-followup h2 {
  max-width: 760px;
  margin-bottom: 10px;
  color: #fffaf4;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
}

.report-followup p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 250, 244, 0.72);
}

.report-followup .button-secondary,
.report-leave-actions .button-secondary {
  border-color: rgba(255, 250, 244, 0.24);
  color: #fffaf4;
  background: rgba(255, 250, 244, 0.08);
}

.report-leave-modal .contact-modal-dialog {
  text-align: center;
}

.report-leave-actions {
  justify-content: center;
  margin-top: 16px;
}

.report-center-hero {
  padding-top: 42px;
  padding-bottom: 24px;
}

.report-center-hero h1 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(38px, 4.4vw, 64px);
  text-shadow: none;
}

.report-center-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(24, 33, 47, 0.68);
  font-size: 18px;
}

.report-center-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.report-center-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.report-center-card p {
  margin: 0;
  color: rgba(24, 33, 47, 0.62);
}

.report-center-state {
  width: fit-content;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(0, 191, 166, 0.12);
  font-size: 12px;
  font-weight: 820;
}

.report-center-meta {
  display: grid;
  gap: 5px;
  color: rgba(24, 33, 47, 0.58);
  font-size: 13px;
}

@media (max-width: 980px) {
  .report-cover,
  .report-body,
  .report-center-grid {
    grid-template-columns: 1fr;
  }

  .report-meta,
  .report-context-grid,
  .report-value-grid,
  .report-roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-followup {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .report-cover-copy,
  .report-action-panel,
  .report-card,
  .report-state-card,
  .report-center-card,
  .report-followup {
    padding: 18px;
  }

  .report-meta,
  .report-context-grid,
  .report-value-grid,
  .report-roadmap {
    grid-template-columns: 1fr;
  }
}
/* End AI solution page */
/* Simplified home page */
.home-simple .site-header .nav-links a.active {
  color: var(--ink);
}

.home-simple .home-hero {
  min-height: clamp(540px, calc(100vh - 150px), 700px);
}

.home-simple .home-hero::after {
  background:
    linear-gradient(90deg, rgba(10, 17, 26, 0.86) 0%, rgba(10, 17, 26, 0.62) 48%, rgba(10, 17, 26, 0.2) 78%),
    linear-gradient(180deg, rgba(10, 17, 26, 0.1), rgba(10, 17, 26, 0.55));
}

.home-simple .home-hero-inner {
  min-height: clamp(540px, calc(100vh - 150px), 700px);
  padding: 64px 0 46px;
}

.home-simple .hero-copy {
  max-width: 820px;
}

.home-simple .hero-lede {
  max-width: 640px;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 620;
}

.home-simple .home-hero-secondary {
  color: var(--ink);
}

.home-user-section,
.home-proof-section {
  padding-top: 68px;
  padding-bottom: 68px;
}

.home-user-heading {
  display: block;
  margin-bottom: 24px;
}

.home-user-heading .section-heading {
  margin-bottom: 0;
}

.home-user-action-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.home-user-action {
  display: inline-flex;
  min-height: 52px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 1px solid rgba(0, 191, 166, 0.72);
  border-radius: 999px;
  color: #082522;
  background: var(--teal);
  box-shadow: 0 18px 42px rgba(0, 191, 166, 0.28);
  font-size: 16px;
  font-weight: 860;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.home-user-action:hover,
.home-user-action:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 191, 166, 0.92);
  background: #22d8c8;
  box-shadow: 0 24px 56px rgba(0, 191, 166, 0.34);
}

.home-user-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-user-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf4;
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-user-card:hover,
.home-proof-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 191, 166, 0.32);
  box-shadow: 0 24px 64px rgba(24, 33, 47, 0.1);
}

.home-user-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #fffaf4;
  background: var(--ink);
  font-size: 14px;
  font-weight: 820;
}

.home-user-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.22;
}

.home-user-card p {
  margin-bottom: 0;
  color: rgba(24, 33, 47, 0.66);
  font-size: 15px;
  line-height: 1.72;
}

.home-proof-section {
  width: 100%;
  max-width: none;
  background: #18212f;
  color: #fffaf4;
}

.home-proof-section > * {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.home-proof-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.home-proof-heading .section-heading {
  margin-bottom: 0;
}

.home-proof-heading .eyebrow,
.home-proof-heading h2 {
  color: #fffaf4;
}

.home-proof-heading .eyebrow::before {
  background: linear-gradient(90deg, var(--orange), rgba(0, 191, 166, 0.64));
}

.home-proof-heading p {
  color: rgba(255, 250, 244, 0.68) !important;
}

.home-proof-heading .button-primary {
  flex: 0 0 auto;
  color: var(--ink);
  background: #fffaf4;
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-proof-card {
  display: flex;
  flex-direction: column;
  min-height: 282px;
  padding: 22px;
  border: 1px solid rgba(255, 250, 244, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-proof-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  color: rgba(255, 250, 244, 0.7);
  font-size: 13px;
  font-weight: 760;
}

.home-proof-topline span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #fffaf4;
  background: rgba(0, 191, 166, 0.18);
}

.home-proof-card h3 {
  margin-bottom: 12px;
  color: #fffaf4;
  font-size: 22px;
  line-height: 1.24;
}

.home-proof-card p {
  margin-bottom: 20px;
  color: rgba(255, 250, 244, 0.68);
}

.home-proof-card a {
  margin-top: auto;
  color: #7ee7dc;
  font-weight: 780;
}

.home-footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: rgba(24, 33, 47, 0.68);
  font-size: 14px;
}

.home-footer-contact a {
  color: inherit;
}

@media (max-width: 980px) {
  .home-user-grid,
  .home-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-user-heading,
  .home-proof-heading {
    display: grid;
    align-items: start;
  }

  .home-proof-heading .button-primary {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .home-simple .home-hero,
  .home-simple .home-hero-inner {
    min-height: calc(100vh - 170px);
  }

  .home-user-grid,
  .home-proof-grid {
    grid-template-columns: 1fr;
  }

  .home-user-section,
  .home-proof-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .home-proof-section > * {
    width: min(100% - 28px, 1180px);
  }

  .home-user-card,
  .home-proof-card {
    min-height: auto;
  }
}
/* End simplified home page *//* Custom AI page */
.site-header .nav-links a.active {
  color: var(--ink);
}

.custom-ai-hero {
  min-height: clamp(560px, calc(100vh - 130px), 720px);
}

.custom-ai-hero::after {
  background:
    linear-gradient(90deg, rgba(10, 17, 26, 0.88) 0%, rgba(10, 17, 26, 0.64) 46%, rgba(10, 17, 26, 0.16) 76%),
    linear-gradient(180deg, rgba(10, 17, 26, 0.12), rgba(10, 17, 26, 0.58));
}

.custom-ai-hero-inner {
  min-height: clamp(560px, calc(100vh - 130px), 720px);
}

.custom-ai-capability-section,
.custom-ai-video-section {
  padding-top: 68px;
  padding-bottom: 68px;
}

.custom-ai-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.custom-ai-capability-grid article {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf4;
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.06);
}

.custom-ai-capability-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: #fffaf4;
  background: var(--ink);
  font-size: 14px;
  font-weight: 820;
}

.custom-ai-capability-grid h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.22;
}

.custom-ai-capability-grid p {
  margin-bottom: 0;
  color: rgba(24, 33, 47, 0.66);
}

.custom-ai-video-section {
  width: 100%;
  max-width: none;
  background: #18212f;
  color: #fffaf4;
}

.custom-ai-video-section > * {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.custom-ai-video-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.custom-ai-video-heading .section-heading {
  margin-bottom: 0;
}

.custom-ai-video-heading .eyebrow,
.custom-ai-video-heading h2 {
  color: #fffaf4;
}

.custom-ai-video-heading .eyebrow::before {
  background: linear-gradient(90deg, var(--orange), rgba(0, 191, 166, 0.64));
}

.custom-ai-video-heading p {
  color: rgba(255, 250, 244, 0.68) !important;
}

.custom-ai-video-heading .button-primary {
  flex: 0 0 auto;
  color: var(--ink);
  background: #fffaf4;
}

.custom-ai-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.custom-ai-video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 250, 244, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.07);
}

.custom-ai-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #101722;
}

.custom-ai-video-card div {
  padding: 18px;
}

.custom-ai-video-card span {
  display: block;
  margin-bottom: 10px;
  color: rgba(126, 231, 220, 0.82);
  font-size: 13px;
  font-weight: 780;
}

.custom-ai-video-card h3 {
  margin-bottom: 10px;
  color: #fffaf4;
  font-size: 22px;
  line-height: 1.24;
}

.custom-ai-video-card p {
  margin-bottom: 0;
  color: rgba(255, 250, 244, 0.68);
}

@media (max-width: 980px) {
  .custom-ai-capability-grid,
  .custom-ai-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-ai-video-heading {
    display: grid;
  }

  .custom-ai-video-heading .button-primary {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .custom-ai-capability-grid,
  .custom-ai-video-grid {
    grid-template-columns: 1fr;
  }

  .custom-ai-capability-grid article {
    min-height: auto;
  }

  .custom-ai-video-section > * {
    width: min(100% - 28px, 1180px);
  }
}
/* End custom AI page */
/* Proof six card layout */
.home-proof-grid-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-proof-grid-six .home-proof-card {
  min-height: 310px;
  padding: 20px;
  border-color: rgba(255, 250, 244, 0.14);
  background: rgba(255, 250, 244, 0.065);
}

.home-proof-grid-six .home-proof-card h3 {
  margin-bottom: 12px;
  color: #fffaf4;
  font-size: 21px;
  line-height: 1.22;
}

.home-proof-before {
  margin-bottom: 16px !important;
  color: rgba(255, 250, 244, 0.56) !important;
  font-size: 14px;
  line-height: 1.56;
}

.home-proof-after {
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(126, 231, 220, 0.24);
  border-radius: 8px;
  background: rgba(0, 191, 166, 0.1);
}

.home-proof-after span {
  display: block;
  margin-bottom: 7px;
  color: rgba(126, 231, 220, 0.86);
  font-size: 13px;
  font-weight: 820;
}

.home-proof-after strong {
  display: block;
  margin-bottom: 7px;
  color: #fffaf4;
  font-size: 24px;
  line-height: 1.12;
}

.home-proof-after p {
  margin: 0 !important;
  color: rgba(255, 250, 244, 0.7) !important;
  font-size: 14px;
  line-height: 1.48;
}

@media (max-width: 980px) {
  .home-proof-grid-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-proof-grid-six {
    grid-template-columns: 1fr;
  }

  .home-proof-grid-six .home-proof-card {
    min-height: auto;
  }
}
/* End proof six card layout */
/* Custom AI video redesign */
.custom-ai-video-section {
  background: #f7f3ee;
  color: var(--ink);
}

.custom-ai-video-section > * {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.custom-ai-video-headerline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 28px;
  align-items: start;
  margin-bottom: 26px;
}

.custom-ai-video-headerline .section-heading {
  margin-bottom: 0;
}

.custom-ai-video-headerline .eyebrow,
.custom-ai-video-headerline h2 {
  color: var(--ink);
}

.custom-ai-video-headerline p {
  color: rgba(24, 33, 47, 0.68) !important;
}

.custom-ai-video-note {
  min-height: 174px;
  padding: 26px;
  border-radius: 8px;
  background: #18212f;
  color: #fffaf4;
}

.custom-ai-video-note span {
  display: block;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 820;
}

.custom-ai-video-note strong {
  display: block;
  max-width: 220px;
  font-size: 28px;
  line-height: 1.12;
}

.custom-ai-video-showcase {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.custom-ai-video-tile {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(24, 33, 47, 0.16);
  border-radius: 8px;
  background: #18212f;
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.08);
}

.custom-ai-video-featured {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 520px;
}

.custom-ai-video-small,
.custom-ai-video-placeholder {
  grid-column: span 2;
}

.custom-ai-video-tile video,
.custom-ai-video-placeholder-visual {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-ai-video-placeholder-visual {
  background:
    linear-gradient(135deg, rgba(247, 243, 238, 0.95), rgba(220, 238, 235, 0.86)),
    radial-gradient(circle at 28% 24%, rgba(0, 191, 166, 0.22), transparent 32%),
    radial-gradient(circle at 74% 20%, rgba(249, 115, 22, 0.16), transparent 28%);
}

.custom-ai-video-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 17, 26, 0.04) 0%, rgba(10, 17, 26, 0.18) 44%, rgba(10, 17, 26, 0.78) 100%);
  pointer-events: none;
}

.custom-ai-video-placeholder::after {
  background: linear-gradient(180deg, rgba(10, 17, 26, 0.02), rgba(10, 17, 26, 0.72));
}

.custom-ai-video-card-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  padding: 0;
}

.custom-ai-video-sound {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 250, 244, 0.28);
  border-radius: 50%;
  color: #fffaf4;
  background: rgba(24, 33, 47, 0.76);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(10, 17, 26, 0.22);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.custom-ai-video-sound::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  width: 11px;
  height: 10px;
  background: currentColor;
  clip-path: polygon(0 30%, 35% 30%, 78% 0, 78% 100%, 35% 70%, 0 70%);
}

.custom-ai-video-sound::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 10px;
  height: 14px;
  border-right: 2px solid currentColor;
  transform: rotate(36deg);
  transform-origin: center;
}

.custom-ai-video-sound[aria-pressed="true"]::after {
  right: 7px;
  top: 9px;
  width: 8px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0 999px 999px 0;
  transform: none;
}

.custom-ai-video-sound:hover,
.custom-ai-video-sound[aria-pressed="true"] {
  border-color: rgba(126, 231, 220, 0.72);
  background: rgba(0, 191, 166, 0.86);
}

.custom-ai-video-sound:hover {
  transform: translateY(-1px);
}

.custom-ai-video-featured .custom-ai-video-card-copy {
  left: 28px;
  right: 28px;
  bottom: 26px;
}

.custom-ai-video-card-copy span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 820;
}

.custom-ai-video-card-copy h3 {
  margin-bottom: 7px;
  color: #fffaf4;
  font-size: 24px;
  line-height: 1.12;
}

.custom-ai-video-featured .custom-ai-video-card-copy h3 {
  font-size: clamp(34px, 4vw, 48px);
}

.custom-ai-video-card-copy p {
  margin-bottom: 0;
  color: rgba(255, 250, 244, 0.78);
  font-size: 15px;
  line-height: 1.45;
}

.custom-ai-video-featured .custom-ai-video-card-copy p {
  max-width: 650px;
  font-size: 17px;
}

@media (max-width: 980px) {
  .custom-ai-video-headerline,
  .custom-ai-video-showcase {
    grid-template-columns: 1fr;
  }

  .custom-ai-video-featured,
  .custom-ai-video-small,
  .custom-ai-video-placeholder {
    grid-column: auto;
    grid-row: auto;
  }

  .custom-ai-video-featured {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .custom-ai-video-section > * {
    width: min(100% - 28px, 1180px);
  }

  .custom-ai-video-featured,
  .custom-ai-video-tile {
    min-height: 300px;
  }

  .custom-ai-video-note {
    min-height: auto;
  }
}
/* End custom AI video redesign */
/* Custom AI contact CTA */
.custom-ai-contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 18px;
  align-items: stretch;
  padding-top: 42px;
  padding-bottom: 42px;
}

.custom-ai-contact-copy,
.custom-ai-contact-card {
  border: 1px solid rgba(24, 33, 47, 0.12);
  border-radius: 8px;
}

.custom-ai-contact-copy {
  padding: 34px;
  background: #fffaf4;
}

.custom-ai-contact-copy h2 {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.06;
}

.custom-ai-contact-copy p:not(.eyebrow) {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(24, 33, 47, 0.68);
  font-size: 18px;
}

.custom-ai-contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  background: #18212f;
  color: #fffaf4;
}

.custom-ai-contact-card h3 {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 24px;
  line-height: 1.2;
}

.custom-ai-contact-card p {
  margin: 0 0 12px;
  color: rgba(255, 250, 244, 0.9);
  font-size: 16px;
}

.custom-ai-contact-card a {
  color: inherit;
}

@media (max-width: 980px) {
  .custom-ai-contact-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .custom-ai-contact-copy,
  .custom-ai-contact-card {
    padding: 22px;
  }
}
/* End custom AI contact CTA */
/* Home contact module */
.home-contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  gap: 18px;
  align-items: stretch;
  padding-top: 54px;
  padding-bottom: 54px;
}

.home-contact-copy,
.home-contact-card {
  border: 1px solid rgba(24, 33, 47, 0.12);
  border-radius: 8px;
}

.home-contact-copy {
  padding: 34px;
  background: #fffaf4;
}

.home-contact-copy h2 {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.08;
}

.home-contact-copy p:not(.eyebrow) {
  max-width: 800px;
  color: rgba(24, 33, 47, 0.68);
  font-size: 18px;
}

.home-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.home-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 22px;
  align-items: center;
  padding: 28px;
  background: #18212f;
  color: #fffaf4;
}

.home-contact-info h3 {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 24px;
  line-height: 1.2;
}

.home-contact-info p {
  display: grid;
  gap: 4px;
  margin: 0 0 14px;
}

.home-contact-info span {
  color: rgba(255, 250, 244, 0.56);
  font-size: 13px;
  font-weight: 760;
}

.home-contact-info strong,
.home-contact-info a {
  color: #fffaf4;
  font-size: 16px;
  font-weight: 720;
}

.home-contact-qr {
  margin: 0;
}

.home-contact-qr img {
  display: block;
  width: 148px;
  height: 148px;
  border-radius: 8px;
  background: #fffaf4;
  object-fit: cover;
}

.home-contact-qr figcaption {
  margin-top: 8px;
  color: rgba(255, 250, 244, 0.68);
  font-size: 13px;
  text-align: center;
}

body.modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 17, 26, 0.72);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.contact-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 30px 28px 26px;
  border: 1px solid rgba(24, 33, 47, 0.12);
  border-radius: 8px;
  background: #fffaf4;
  box-shadow: 0 34px 120px rgba(24, 33, 47, 0.28);
  text-align: center;
}

.contact-modal-dialog h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.18;
}

.contact-modal-dialog p:not(.eyebrow) {
  color: rgba(24, 33, 47, 0.68);
  line-height: 1.68;
}

.contact-modal-dialog img {
  display: block;
  width: min(250px, 100%);
  margin: 18px auto 12px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: #fff;
}

.contact-modal-dialog strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 780;
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(24, 33, 47, 0.14);
  border-radius: 999px;
  background: rgba(247, 243, 238, 0.96);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
}

@media (max-width: 980px) {
  .home-contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-contact-copy,
  .home-contact-card {
    padding: 22px;
  }

  .home-contact-card {
    grid-template-columns: 1fr;
  }

  .home-contact-qr img {
    width: 100%;
    height: auto;
    max-width: 220px;
  }

  .home-contact-qr figcaption {
    text-align: left;
  }
}
/* End home contact module */

/* Legal pages */
.legal-main {
  padding-top: 44px;
  padding-bottom: 76px;
}

.legal-card {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: #fffaf4;
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.07);
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
}

.legal-updated {
  margin: 10px 0 24px;
  color: rgba(24, 33, 47, 0.56);
  font-size: 14px;
}

.legal-card h2 {
  margin: 28px 0 8px;
  font-size: 20px;
  line-height: 1.28;
}

.legal-card p {
  margin: 0 0 14px;
  color: rgba(24, 33, 47, 0.72);
}

.legal-card a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .legal-main {
    padding-top: 24px;
  }

  .legal-card {
    padding: 24px;
  }
}
/* End legal pages */

/* Admin pages */
.admin-page {
  background:
    radial-gradient(circle at top left, rgba(0, 191, 166, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 28%),
    var(--paper);
}

.admin-header {
  width: min(1280px, calc(100% - 40px));
}

.admin-main {
  padding-top: 32px;
  padding-bottom: 72px;
}

.admin-login-card,
.admin-dashboard {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.96);
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.08);
}

.admin-login-card h1,
.admin-dashboard h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.admin-login-form,
.admin-filters {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.admin-login-form label,
.admin-filters label {
  display: grid;
  gap: 8px;
  color: rgba(24, 33, 47, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.admin-login-form input,
.admin-filters input,
.admin-filters select,
.admin-follow-form input,
.admin-follow-form select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(24, 33, 47, 0.14);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.8);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.admin-login-message {
  margin: 14px 0 0;
  color: #a33b2d;
  min-height: 1.5em;
}

.admin-dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding: 8px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.82);
}

.admin-tabs button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(24, 33, 47, 0.68);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-tabs button.active {
  color: #fffaf4;
  background: var(--ink);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.admin-stat-card {
  padding: 18px;
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  background: #fffaf4;
}

.admin-stat-card span {
  display: block;
  color: rgba(24, 33, 47, 0.56);
  font-size: 13px;
}

.admin-stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.1;
}

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

.admin-overview-card,
.admin-export-card,
.admin-python-note {
  padding: 22px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: #fffaf4;
}

.admin-overview-card h2,
.admin-export-card h2,
.admin-python-note h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
}

.admin-funnel-list,
.admin-reminder-list {
  display: grid;
  gap: 10px;
}

.admin-funnel-item,
.admin-reminder-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.82);
}

.admin-funnel-item span,
.admin-reminder-item span {
  color: rgba(24, 33, 47, 0.62);
  font-size: 14px;
}

.admin-funnel-item strong,
.admin-reminder-item strong {
  font-size: 22px;
}

.admin-funnel-item em {
  color: var(--teal);
  font-style: normal;
  font-weight: 900;
}

.admin-reminder-item {
  grid-template-columns: auto minmax(0, 1fr);
}

.admin-reminder-item p {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: rgba(24, 33, 47, 0.58);
  font-size: 13px;
}

.admin-filters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-table-card {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: #fffaf4;
}

.admin-table-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
  align-items: center;
  color: rgba(24, 33, 47, 0.64);
}

.admin-leads-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.admin-lead-card {
  padding: 18px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  border-radius: 8px;
  background: rgba(247, 243, 238, 0.78);
}

.admin-lead-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.admin-lead-id {
  display: block;
  color: rgba(24, 33, 47, 0.52);
  font-size: 12px;
  word-break: break-all;
}

.admin-lead-head h3 {
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 1.25;
}

.admin-lead-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(24, 33, 47, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.admin-badge-paid {
  color: #155e45;
  background: rgba(0, 191, 166, 0.15);
}

.admin-badge-pending,
.admin-badge-not_created {
  color: #8a4d11;
  background: rgba(249, 115, 22, 0.14);
}

.admin-badge-failed {
  color: #9b1c1c;
  background: rgba(220, 38, 38, 0.12);
}

.admin-badge-follow-new,
.admin-badge-follow-pending {
  color: #334155;
}

.admin-badge-follow-processed {
  color: #155e45;
  background: rgba(0, 191, 166, 0.12);
}

.admin-badge-follow-ignored {
  color: #64748b;
}

.admin-lead-grid,
.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.admin-lead-meta {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.9);
}

.admin-lead-meta span {
  color: rgba(24, 33, 47, 0.52);
  font-size: 12px;
}

.admin-lead-meta strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

.admin-lead-detail {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.88);
}

.admin-lead-detail summary {
  cursor: pointer;
  font-weight: 800;
}

.admin-lead-detail summary::-webkit-details-marker {
  display: none;
}

.admin-follow-form {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
}

.admin-follow-form button {
  min-height: 44px;
}

.admin-empty {
  margin: 20px 0 0;
  color: rgba(24, 33, 47, 0.64);
}

.admin-events-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
}

.admin-events-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-events-table th,
.admin-events-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(24, 33, 47, 0.08);
  text-align: left;
  vertical-align: top;
}

.admin-events-table th {
  color: rgba(24, 33, 47, 0.52);
  font-size: 12px;
  font-weight: 900;
}

.admin-events-table td {
  color: rgba(24, 33, 47, 0.78);
  word-break: break-word;
}

.admin-export-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(0, 191, 166, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.admin-export-card p {
  margin: 0;
  color: rgba(24, 33, 47, 0.64);
}

.admin-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.admin-python-note {
  margin-top: 16px;
}

.admin-python-note pre {
  margin: 0;
  overflow-x: auto;
  padding: 16px;
  border-radius: 8px;
  background: #18212f;
  color: #fffaf4;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .admin-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-filters,
  .admin-overview-grid,
  .admin-export-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .admin-dashboard-head {
    flex-direction: column;
  }

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

  .admin-lead-head {
    flex-direction: column;
  }

  .admin-lead-badges {
    justify-content: flex-start;
  }

  .admin-lead-grid,
  .admin-detail-grid,
  .admin-filters,
  .admin-overview-grid,
  .admin-export-grid,
  .admin-follow-form {
    grid-template-columns: 1fr;
  }
}
/* End admin pages */
