:root {
  --teal: #00796b;
  --teal-dark: #005b50;
  --teal-deep: #003e38;
  --teal-soft: #e9f6f3;
  --gold: #d6ad38;
  --gold-bright: #f0c94d;
  --gold-soft: #fff7d8;
  --ink: #14201e;
  --muted: #64716e;
  --line: #dce7e4;
  --surface: #ffffff;
  --background: #f6f9f8;
  --dark-surface: #102520;
  --radius-sm: 16px;
  --radius: 24px;
  --radius-lg: 34px;
  --shell: 1180px;
  --shadow: 0 24px 65px rgba(16, 66, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 231, 228, 0.82);
  background: rgba(246, 249, 248, 0.93);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background:
    linear-gradient(
      145deg,
      var(--teal),
      var(--teal-dark)
    );
  color: white;
  font-weight: 900;
  box-shadow:
    inset 0 -4px 0 rgba(0, 0, 0, 0.08),
    0 8px 22px rgba(0, 91, 80, 0.14);
}

.brand-mark span {
  transform: translateY(-1px);
}

.brand-copy {
  display: grid;
  line-height: 1.16;
}

.brand-copy strong {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.brand-copy span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.desktop-nav a {
  color: #35443f;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--teal);
}

.mobile-nav {
  display: none;
}

.hero {
  overflow: hidden;
  padding: 104px 0 110px;
  background:
    radial-gradient(
      circle at 86% 10%,
      rgba(214, 173, 56, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 12% 5%,
      rgba(0, 121, 107, 0.14),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #f8fbfa 0%,
      var(--background) 100%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(360px, 0.85fr);
  gap: 78px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h1 span {
  color: var(--teal);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.13rem;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-weight: 780;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 15px 34px rgba(0, 121, 107, 0.22);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border-color: var(--line);
  background: white;
}

.button-light {
  background: white;
  color: var(--teal-deep);
}

.hero-trust {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-trust span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-preview {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      150deg,
      var(--teal-dark),
      var(--teal-deep)
    );
  color: white;
  box-shadow: 0 35px 80px rgba(0, 62, 56, 0.24);
}

.product-preview::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  top: -50px;
  right: -50px;
  border-radius: 50%;
  background: rgba(240, 201, 77, 0.16);
}

.preview-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 4px 4px 20px;
}

.agentpro-logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: white;
}

.agentpro-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.agentpro-preview-brand {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.agentpro-wordmark {
  width: min(170px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.agentpro-preview-brand span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
}

.preview-screen {
  position: relative;
  z-index: 2;
  padding: 25px;
  border-radius: 24px;
  background: #f8fbfa;
  color: var(--ink);
}

.preview-heading {
  display: grid;
  gap: 4px;
}

.preview-heading span,
.preview-balance span,
.preview-grid span {
  color: var(--muted);
  font-size: 0.72rem;
}

.preview-heading strong {
  font-size: 1.05rem;
}

.preview-balance {
  display: grid;
  gap: 5px;
  margin: 22px 0 16px;
  padding: 19px;
  border-radius: 18px;
  background: var(--teal-soft);
}

.preview-balance strong {
  color: var(--teal-dark);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.preview-grid div {
  min-height: 90px;
  display: grid;
  align-content: end;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.preview-grid strong {
  margin-top: 4px;
  font-size: 0.82rem;
}

.preview-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 5px 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #72e6bd;
  box-shadow:
    0 0 0 5px rgba(114, 230, 189, 0.12);
}

.section {
  padding: 100px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  align-items: end;
}

.section-heading > p {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.compact {
  grid-template-columns: 1fr;
}

.capability-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.capability-card {
  min-height: 245px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}

.capability-card.featured {
  background:
    linear-gradient(
      145deg,
      var(--teal),
      var(--teal-dark)
    );
  color: white;
}

.capability-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.card-number {
  display: inline-block;
  margin-bottom: 64px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.capability-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.marketplace-section {
  background:
    linear-gradient(
      180deg,
      #eef6f4,
      #f6f9f8
    );
}

.marketplace-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 86px;
  align-items: center;
}

.marketplace-copy > p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.service-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
  box-shadow: 0 24px 60px rgba(27, 63, 57, 0.07);
}

.service-cloud span {
  padding: 13px 17px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 760;
}

.service-cloud span:nth-child(3n) {
  background: var(--gold-soft);
  color: #765c0f;
}

.business-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 78px;
  padding: clamp(34px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
  color: white;
  box-shadow: var(--shadow);
}

.business-card .eyebrow {
  color: var(--gold-bright);
}

.business-card > div:first-child > p:last-child {
  max-width: 550px;
  color: rgba(255, 255, 255, 0.68);
}

.business-list {
  display: grid;
}

.business-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.business-list span {
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 850;
}

.business-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.trust-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.trust-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}

.trust-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 40px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 900;
}

.trust-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-section {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}

.about-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.about-values span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 780;
}

.contact-section {
  padding-top: 36px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: clamp(34px, 6vw, 60px);
  border-radius: 30px;
  background:
    linear-gradient(
      145deg,
      var(--teal),
      var(--teal-dark)
    );
  color: white;
}

.contact-card .eyebrow {
  color: var(--gold-bright);
}

.contact-card h2 {
  margin-bottom: 12px;
}

.contact-card p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  margin-top: 100px;
  padding: 64px 0 30px;
  background: #0c1e1a;
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.7fr);
  gap: 48px;
}

.footer-logo .brand-copy span {
  color: rgba(255, 255, 255, 0.55);
}

.footer-brand > p {
  max-width: 390px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.58);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column strong {
  margin-bottom: 4px;
  font-size: 0.84rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
  }

  .mobile-nav nav {
    position: absolute;
    top: 56px;
    right: 0;
    min-width: 220px;
    display: grid;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
  }

  .mobile-nav nav a {
    padding: 12px 13px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
  }

  .hero {
    padding-top: 78px;
  }

  .hero-grid,
  .section-heading,
  .marketplace-grid,
  .business-card,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .capability-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    min-height: 62px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .mobile-nav summary {
    width: 42px;
    height: 42px;
  }

  .brand-copy span {
    display: none;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero {
    padding: 54px 0 64px;
  }

  .hero-copy {
    margin-bottom: 28px;
    font-size: 1.04rem;
  }

  .actions {
    display: grid;
  }

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

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

  .product-preview {
    margin-top: 8px;
    padding: 18px;
    border-radius: 26px;
  }

  .preview-screen {
    padding: 18px;
  }

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

  .preview-grid div {
    min-height: 82px;
    padding: 12px;
  }

  .preview-grid strong {
    font-size: 0.76rem;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading,
  .marketplace-grid,
  .business-card,
  .about-grid {
    gap: 30px;
  }

  .capability-grid {
    margin-top: 34px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .capability-card {
    min-height: 0;
    padding: 22px;
  }

  .card-number {
    margin-bottom: 24px;
  }

  .capability-card h3 {
    margin-bottom: 8px;
  }

  .capability-card p {
    font-size: 0.96rem;
  }

  .service-cloud {
    padding: 24px 16px;
    gap: 9px;
  }

  .service-cloud span {
    padding: 10px 13px;
    font-size: 0.8rem;
  }

  .business-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .business-card {
    gap: 30px;
    padding: 28px 22px;
  }

  .business-list div {
    padding: 13px 0;
  }

  .trust-section {
    padding-top: 58px;
    padding-bottom: 48px;
  }

  .trust-grid {
    margin-top: 32px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trust-grid article {
    padding: 24px;
  }

  .trust-icon {
    margin-bottom: 24px;
  }

  .about-section {
    padding-top: 54px;
  }

  .contact-section {
    padding-top: 26px;
  }

  .contact-card {
    align-items: stretch;
    flex-direction: column;
    padding: 30px 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .site-footer {
    margin-top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* AgentPro web brand lockup */
.preview-top {
  width: 100%;
  padding-bottom: 18px;
}

.agentpro-web-lockup {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
}

.agentpro-web-shield {
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  display: block;
  object-fit: contain;
}

.agentpro-web-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
  align-content: center;
}

.agentpro-web-name {
  line-height: 0.95;
  white-space: nowrap;
  font-size: clamp(2rem, 5vw, 2.65rem);
  font-weight: 850;
  letter-spacing: -0.055em;
}

.agentpro-agent {
  color: var(--teal);
}

.agentpro-pro {
  color: var(--gold);
}

.agentpro-web-tagline {
  color: #33413e;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

@media (max-width: 620px) {
  .agentpro-web-lockup {
    gap: 12px;
    padding: 12px 14px;
  }

  .agentpro-web-shield {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .agentpro-web-name {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .agentpro-web-tagline {
    font-size: 0.7rem;
  }
}

/* Enlarge shield artwork while preserving full tip */
.agentpro-web-shield-frame {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.agentpro-web-shield {
  width: 88px;
  height: 88px;
  max-width: none;
  display: block;
  object-fit: contain;
  transform: scale(2.65);
  transform-origin: center;
}

@media (max-width: 620px) {
  .agentpro-web-shield-frame {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
  }

  .agentpro-web-shield {
    width: 82px;
    height: 82px;
    transform: scale(2.65);
  }
}
