:root {
  --ink: #13242c;
  --slate: #52656c;
  --muted: #6b7f86;
  --paper: #f5f8f8;
  --mist: #eaf3f4;
  --line: #d7e5e7;
  --white: #fff;
  --teal: #20a7b4;
  --teal-dark: #0b6f7a;
  --lime: #7fd32b;
  --amber: #f3b64d;
  --plum: #604a7b;
  --shadow: 0 18px 44px rgba(19, 36, 44, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: 56px;
  line-height: 1;
}

h2 {
  margin: 0;
  max-width: 780px;
  font-size: 36px;
  line-height: 1.08;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--slate);
  line-height: 1.62;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  margin: 8px 0;
  color: var(--slate);
  line-height: 1.48;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
  padding: 14px 48px;
  border-bottom: 1px solid rgba(215, 229, 231, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 154px;
}

.brand img {
  display: block;
  width: 154px;
  height: auto;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.menu-bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
  font-weight: 850;
}

.site-menu a {
  text-decoration: none;
  white-space: nowrap;
}

.nav-group {
  position: relative;
}

.nav-group summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  color: #43575f;
  cursor: pointer;
}

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

.nav-group summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-panel {
  position: absolute;
  top: 44px;
  right: 0;
  min-width: 270px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.nav-panel a {
  display: block;
  padding: 10px 11px;
  border-radius: 8px;
  color: var(--slate);
}

.nav-panel a:hover,
.nav-panel a:focus {
  color: var(--ink);
  background: var(--mist);
}

.nav-link {
  color: #43575f;
}

.nav-portal,
.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 8px;
}

.nav-portal {
  color: var(--teal-dark);
  border: 1px solid rgba(32, 167, 180, .26);
  background: #eefafb;
}

.nav-cta {
  color: #13242c;
  background: var(--lime);
}

.hero,
.page-hero {
  position: relative;
  min-height: clamp(500px, 58svh, 660px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 64px 56px;
  color: var(--white);
  background-color: #0d252c;
  background-image:
    linear-gradient(90deg, rgba(13, 37, 44, .95) 0%, rgba(13, 37, 44, .88) 43%, rgba(13, 37, 44, .38) 78%, rgba(13, 37, 44, .12) 100%),
    var(--hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero {
  min-height: clamp(540px, 62svh, 700px);
}

.hero-copy,
.page-hero-copy {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero .kicker,
.page-hero .kicker {
  color: #8bedf3;
}

.hero p:not(.kicker),
.page-hero p:not(.kicker) {
  max-width: 700px;
  margin-top: 20px;
  color: #e9f4f5;
  font-size: 19px;
}

.actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.button-secondary,
.button-light {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 17px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
}

.button {
  color: #13242c;
  background: var(--lime);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .12);
}

.button-light {
  color: var(--teal-dark);
  border: 1px solid rgba(32, 167, 180, .25);
  background: #effbfc;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px 48px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof-strip span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfefe;
  font-weight: 850;
}

.section {
  padding: 76px 56px;
}

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

.section-ink {
  color: var(--white);
  background: #13242c;
}

.section-ink p,
.section-ink li {
  color: #d6e6e8;
}

.section-ink .kicker {
  color: #8bedf3;
}

.intro {
  max-width: 900px;
  margin-bottom: 28px;
}

.intro p:not(.kicker) {
  max-width: 760px;
  margin-top: 14px;
  font-size: 17px;
}

.family-grid,
.highlight-grid,
.service-grid,
.detail-grid,
.pricing-grid,
.team-grid,
.support-grid,
.policy-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.family-card,
.highlight-card,
.service-card,
.detail-card,
.price-card,
.team-card,
.support-card,
.policy-card,
.related-card,
.contact-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.family-card,
.highlight-card,
.service-card,
.detail-card,
.price-card,
.team-card,
.support-card,
.policy-card,
.related-card {
  display: grid;
  align-content: start;
  gap: 13px;
  min-height: 210px;
  padding: 20px;
}

.family-card strong,
.highlight-card strong {
  color: var(--teal-dark);
  font-size: 13px;
  text-transform: uppercase;
}

.family-card ul {
  padding-left: 0;
  list-style: none;
}

.family-card li {
  margin: 6px 0;
}

.family-card a,
.service-card a,
.related-card a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.highlight-card {
  background: #fbfefe;
}

.highlight-card b {
  font-size: 28px;
  line-height: 1;
}

.service-card {
  overflow: hidden;
  padding: 0;
}

.service-card img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  padding: 0;
  background: #f8fbfb;
}

.service-card img[src$="yealink-grouped.png"],
.service-card img[src$="teams-phone.png"] {
  object-fit: contain;
  padding: 18px;
}

.service-card div {
  display: grid;
  gap: 11px;
  padding: 18px;
}

.solution-band {
  background: #eef6f7;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
}

.solution-list a {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(19, 36, 44, .07);
}

.solution-list span {
  color: var(--muted);
  font-size: 14px;
}

.login-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background: #0d252c;
}

.login-band p {
  margin-top: 8px;
  color: #d6e6e8;
}

.login-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: 28px;
  align-items: start;
}

.service-copy {
  display: grid;
  gap: 22px;
}

.service-copy .lead {
  font-size: 18px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list li {
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  list-style-position: inside;
}

.media-panel {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  padding: 0;
  background: #f8fbfb;
}

.media-panel img[src$="yealink-grouped.png"],
.media-panel img[src$="teams-phone.png"] {
  object-fit: contain;
  padding: 24px;
}

.media-panel figcaption {
  padding: 16px 18px;
  color: var(--muted);
  font-size: 14px;
}

.price-card b {
  color: var(--teal-dark);
  font-size: 26px;
}

.related-card {
  min-height: 150px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
}

.contact-panel,
.form-panel {
  padding: 22px;
}

.contact-panel {
  display: grid;
  gap: 20px;
}

.contact-line {
  display: grid;
  gap: 4px;
}

.contact-line span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-line a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.field textarea {
  min-height: 142px;
  resize: vertical;
}

.site-footer {
  padding: 56px 56px 30px;
  color: #dbeaec;
  background: #10262d;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) repeat(3, minmax(160px, .7fr));
  gap: 28px;
  align-items: start;
}

.footer-brand img {
  width: 156px;
  height: auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--white);
}

.footer-brand p {
  margin-top: 16px;
  color: #dbeaec;
}

.footer-column {
  display: grid;
  gap: 9px;
}

.footer-column h3 {
  color: var(--white);
  font-size: 16px;
}

.footer-column a,
.footer-column span {
  color: #dbeaec;
  text-decoration: none;
}

.copyright {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: #afc3c8;
  font-size: 14px;
}

@media (max-width: 1050px) {
  .site-header {
    padding: 14px 24px;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-menu {
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .nav-group summary,
  .site-menu > a {
    min-height: 42px;
    padding: 8px 10px;
  }

  .nav-panel {
    position: static;
    min-width: 0;
    margin: 4px 0 8px;
    box-shadow: none;
  }

  .hero,
  .page-hero {
    background-position: center;
    background-size: cover;
  }

  .family-grid,
  .highlight-grid,
  .service-grid,
  .detail-grid,
  .pricing-grid,
  .team-grid,
  .support-grid,
  .policy-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-layout,
  .contact-layout,
  .login-band {
    grid-template-columns: 1fr;
  }

  .media-panel {
    position: static;
  }

  .login-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 720px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .site-header {
    padding: 12px 18px;
  }

  .brand img {
    width: 142px;
  }

  .hero,
  .page-hero {
    min-height: 520px;
    padding: 64px 20px;
    background-position: center;
    background-size: cover;
  }

  .hero p:not(.kicker),
  .page-hero p:not(.kicker) {
    font-size: 17px;
  }

  .proof-strip,
  .section,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .family-grid,
  .highlight-grid,
  .service-grid,
  .detail-grid,
  .pricing-grid,
  .team-grid,
  .support-grid,
  .policy-grid,
  .related-grid,
  .solution-list,
  .footer-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .media-panel img {
    height: 280px;
  }

  .login-band {
    padding: 22px;
  }
}
