:root {
  color-scheme: dark light;
  --bg: #061018;
  --bg-2: #091823;
  --ink: #0f1720;
  --ink-2: #465666;
  --paper: #f5f7f6;
  --white: #ffffff;
  --line: rgba(15, 23, 32, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #f7fbfd;
  --muted: #a8b8c5;
  --teal: #40d7c2;
  --teal-2: #118b7f;
  --teal-soft: rgba(64, 215, 194, 0.14);
  --container: 1180px;
  --radius: 22px;
  --shadow: 0 28px 80px rgba(8, 18, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 13, 19, 0.88);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand,
.site-nav a,
.header-cta,
.language-switch a,
.button,
.contact-email,
.site-footer a,
.concierge-panel a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(64, 215, 194, 0.48);
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 0.94rem;
  line-height: 1.15;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--muted);
}

.language-switch a,
.language-switch span {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 32px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 950;
}

.language-switch .active {
  background: var(--teal);
  color: #03110f;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(64, 215, 194, 0.48);
  border-radius: 999px;
  color: var(--teal);
  font-weight: 850;
  white-space: nowrap;
}

.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 88px 0 96px;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 12%, rgba(64, 215, 194, 0.11), transparent 35%),
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(135deg, #03080d 0%, var(--bg) 54%, var(--bg-2) 100%);
  background-size: auto, 68px 68px, 68px 68px, auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.95fr);
  gap: 72px;
  align-items: center;
}

.hero-content {
  max-width: 690px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-2);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .eyebrow,
.contact-section .eyebrow {
  color: var(--teal);
}

.hero h1,
.section-heading h2,
.section-copy h2,
.intro-grid h2,
.contact-panel h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(3.05rem, 5.15vw, 5.35rem);
  line-height: 1.04;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(1.18rem, 1.65vw, 1.5rem);
  font-weight: 680;
}

.hero-support {
  max-width: 630px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  font-weight: 560;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 950;
}

.button-primary {
  background: var(--teal);
  color: #03110f;
  box-shadow: 0 18px 44px rgba(64, 215, 194, 0.18);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.operator-panel {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  padding: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 30px;
  background: rgba(8, 20, 30, 0.94);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-top i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(64, 215, 194, 0.1);
}

.operator-panel h2 {
  margin: 16px 0 26px;
  max-width: 440px;
  color: var(--text);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 28px;
}

.flow-line span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
}

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.panel-tags span {
  padding: 10px 12px;
  border: 1px solid rgba(64, 215, 194, 0.24);
  border-radius: 999px;
  background: rgba(64, 215, 194, 0.08);
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 850;
}

.panel-note {
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.panel-note strong {
  color: var(--text);
}

.panel-note p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section {
  padding: 112px 0;
}

.section-white {
  background: var(--white);
}

.section-muted {
  background: #edf3f1;
}

.section-dark {
  color: var(--text);
  background: linear-gradient(135deg, #040b10, var(--bg));
}

.intro-grid,
.split-layout,
.partner-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.section-copy h2,
.contact-panel h2 {
  color: var(--ink);
  font-size: clamp(2.25rem, 4.25vw, 4.45rem);
}

.intro-text,
.section-copy p,
.section-heading p,
.contact-panel p {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading.inverted h2,
.section-heading.inverted p {
  color: var(--text);
}

.section-heading.inverted p {
  color: var(--muted);
}

.pain-grid,
.agent-list,
.model-cards,
.service-grid,
.partner-cards,
.proof-grid {
  display: grid;
  gap: 18px;
}

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

.pain-grid article,
.agent-list article,
.service-grid article,
.partner-cards article,
.proof-grid article {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(15, 23, 32, 0.055);
}

.pain-grid article {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  color: var(--ink);
  font-weight: 900;
}

.pain-grid span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal-2);
}

.agent-list {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.agent-list article {
  min-height: 190px;
  padding: 22px;
}

.agent-list b,
.service-grid span {
  color: var(--teal-2);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.agent-list p {
  margin: 26px 0 0;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.25;
}

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

.model-cards article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.model-cards h3,
.service-grid h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.model-cards h3,
.model-cards p {
  color: var(--text);
}

.model-cards p {
  margin: 0;
  color: var(--muted);
}

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

.service-grid article {
  min-height: 255px;
  padding: 28px;
}

.service-grid h3 {
  margin-top: 28px;
  color: var(--ink);
}

.service-grid p {
  margin: 0;
  color: var(--ink-2);
}

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

.partner-cards article {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 24px;
  color: var(--ink);
  font-weight: 950;
}

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

.proof-grid article {
  min-height: 104px;
  display: flex;
  align-items: center;
  padding: 24px;
  color: var(--ink);
  font-weight: 900;
}

.contact-section {
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(64, 215, 194, 0.12), transparent 38%),
    linear-gradient(135deg, #03080d, var(--bg));
}

.contact-panel {
  max-width: 900px;
  text-align: center;
}

.contact-panel h2,
.contact-panel p {
  color: var(--text);
}

.contact-panel p {
  color: var(--muted);
}

.contact-email {
  display: inline-block;
  max-width: 100%;
  margin-top: 30px;
  padding: 18px 24px;
  border-radius: 999px;
  background: var(--teal);
  color: #03110f;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 950;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.site-footer {
  padding: 34px 0;
  background: #03080d;
  color: var(--muted);
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  color: var(--text);
  font-weight: 900;
}

.concierge-button {
  position: fixed;
  right: 24px;
  bottom: 18px;
  z-index: 35;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(64, 215, 194, 0.4);
  border-radius: 999px;
  background: #07131c;
  color: var(--teal);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
}

.concierge-panel {
  position: fixed;
  right: 24px;
  bottom: 74px;
  z-index: 35;
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 120px));
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background: rgba(7, 19, 28, 0.98);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.concierge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.concierge-header button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.concierge-panel p {
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.concierge-options {
  display: grid;
  gap: 8px;
}

.concierge-options button {
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-align: left;
}

.concierge-answer {
  min-height: 58px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(64, 215, 194, 0.09);
  color: var(--text);
}

.concierge-panel a {
  display: block;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 900;
  overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 0 12px;
  }

  .hero-grid,
  .intro-grid,
  .split-layout,
  .partner-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .operator-panel {
    justify-self: start;
    max-width: 720px;
  }

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

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 18px 0 0;
    gap: 16px;
  }

  .header-actions {
    justify-content: space-between;
    width: 100%;
  }

  .brand-copy strong,
  .brand-copy small {
    white-space: normal;
  }

  .header-cta {
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .hero,
  .section {
    padding: 76px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.85rem);
    line-height: 1.05;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .operator-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .flow-line,
  .pain-grid,
  .agent-list,
  .model-cards,
  .service-grid,
  .partner-cards,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .agent-list article,
  .service-grid article,
  .model-cards article {
    min-height: auto;
  }

  .intro-grid h2,
  .section-heading h2,
  .section-copy h2,
  .contact-panel h2 {
    font-size: clamp(2rem, 10vw, 3.15rem);
  }

  .concierge-button {
    right: 16px;
    bottom: 12px;
    max-width: calc(100vw - 32px);
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.84rem;
  }

  .concierge-panel {
    right: 16px;
    bottom: 62px;
  }
}

@media (max-width: 520px) {
  .contact-email {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    border-radius: 22px;
  }
}
