:root {
  --ink: #0d1428;
  --muted: #5c6e8b;
  --soft: #f4f7fc;
  --line: #e4eaf4;
  --violet: #5548eb;
  --violet-2: #8d55f5;
  --teal: #16d4c4;
  --navy: #0c1428;
  --footer: #020715;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-container {
  width: min(1600px, 84vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #edf1f7;
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  font-weight: 900;
  font-size: 27px;
  letter-spacing: 0;
}

.brand img {
  width: 46px;
  height: 46px;
}

.main-nav {
  flex: 1;
}

.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.main-nav li {
  position: relative;
}

.main-nav li.has-children {
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 800;
  color: var(--muted);
}

.main-nav a:hover,
.main-nav li:hover > a {
  color: var(--violet);
}

.main-nav .has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg);
  margin-left: 9px;
  margin-top: -4px;
}

.sub-menu {
  position: absolute;
  top: 52px;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(190px, 1fr);
  gap: 8px;
  list-style: none;
  width: max-content;
  min-width: 240px;
  max-width: min(520px, calc(100vw - 32px));
  padding: 14px !important;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  box-shadow: 0 26px 70px rgba(15, 26, 47, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -22px;
  height: 22px;
}

.sub-menu::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.sub-menu:has(li:nth-child(2)) {
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  min-width: 390px;
}

.sub-menu:has(li:nth-child(4)) {
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  min-width: 460px;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.sub-menu li {
  min-width: 0;
}

.sub-menu a {
  width: 100%;
  min-height: 58px;
  padding: 10px 12px 10px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #344259;
  font-size: 15px;
  line-height: 1.3;
  white-space: normal;
  background: transparent;
}

.sub-menu a::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  box-shadow: 0 0 0 5px rgba(85, 72, 235, 0.08);
}

.sub-menu a:hover {
  color: var(--violet);
  border-color: #e3e8ff;
  background: #f6f8ff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 16px;
  font-weight: 800;
}

.login-link {
  color: #3c475d;
}

.signup-link {
  min-width: 126px;
  padding: 13px 26px;
  color: #fff;
  text-align: center;
  border-radius: 18px;
  background: var(--violet);
  box-shadow: 0 18px 34px rgba(85, 72, 235, 0.22);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.page-main {
  overflow-x: clip;
  overflow-y: visible;
}

.hero-section {
  padding: 56px 0 72px;
  background: linear-gradient(110deg, #fafbff 0%, #fff 55%, #fbf8ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.92fr) minmax(500px, 1fr);
  align-items: center;
  gap: 66px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 20px;
  color: #322ce0;
  border: 1px solid #dce4ff;
  border-radius: 999px;
  background: #eef3ff;
  font-weight: 900;
}

.eyebrow span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #746cf2;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 34px 0 26px;
  font-size: 88px;
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-copy h1 strong {
  display: block;
  color: var(--violet-2);
  font-weight: inherit;
}

.hero-copy p {
  max-width: 600px;
  margin: 0 0 38px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 18px;
  color: #fff;
  background: var(--violet);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 20px 48px rgba(85, 72, 235, 0.22);
}

.primary-cta span {
  margin-left: 14px;
  font-size: 34px;
  line-height: 1;
}

.primary-cta.dark {
  min-width: 330px;
  background: var(--navy);
  box-shadow: 0 34px 58px rgba(12, 20, 40, 0.18);
}

.hero-media {
  padding: 7px;
  border: 5px solid #6b57f1;
  border-radius: 46px;
  background: #fff;
  box-shadow: 0 38px 80px rgba(46, 26, 111, 0.16);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.68;
  object-fit: cover;
  border-radius: 36px;
}

.metric-section {
  padding: 68px 0 64px;
  background: #fff;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.metric-grid strong {
  display: block;
  color: #06132d;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 900;
}

.metric-grid span {
  display: block;
  margin-top: 8px;
  color: #93a0b8;
  font-weight: 900;
  letter-spacing: 2px;
}

.coverage-section,
.pricing-section,
.developer-section,
.faq-section {
  padding: 76px 0;
  background: #fff;
}

.section-heading {
  margin-bottom: 76px;
  text-align: center;
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  color: #06132d;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p,
.contact-section p {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.country-card {
  display: flex;
  align-items: center;
  min-height: 132px;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  gap: 26px;
}

.country-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
}

.country-card p {
  margin: 4px 0 0;
  color: var(--violet);
  font-size: 16px;
  font-weight: 900;
}

.flag {
  position: relative;
  display: inline-block;
  flex: 0 0 60px;
  width: 60px;
  height: 42px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.flag-us {
  background: repeating-linear-gradient(to bottom, #c91f3c 0 4px, #fff 4px 8px);
}

.flag-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 22px;
  background: #29477f;
}

.flag-br {
  background: #08a64b;
}

.flag-br::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 13px;
  width: 34px;
  height: 28px;
  background: #f5d13d;
  transform: rotate(45deg);
}

.flag-br::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 21px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2447a9;
}

.flag-in {
  background: linear-gradient(to bottom, #ff762e 0 33%, #fff 33% 66%, #16814a 66%);
}

.flag-in::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 15px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #4d58d9;
}

.flag-ar {
  background: linear-gradient(to bottom, #73b6e7 0 33%, #fff 33% 66%, #73b6e7 66%);
}

.flag-ar::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f7b733;
}

.pricing-tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: -42px auto 72px;
  padding: 7px;
  border-radius: 20px;
  background: #ecf1f8;
}

.pricing-tabs button,
.code-tabs button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.pricing-tabs button {
  min-width: 224px;
  min-height: 60px;
  padding: 0 26px;
  color: var(--muted);
  border-radius: 14px;
  background: transparent;
  font-size: 22px;
}

.pricing-tabs button.active {
  color: var(--violet);
  background: #fff;
  box-shadow: 0 8px 18px rgba(11, 26, 58, 0.12);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}

.pricing-panels > .pricing-grid {
  display: none;
}

.pricing-panels > .pricing-grid.active {
  display: grid;
}

.pricing-footnote {
  margin: 34px auto 0;
  color: #52627e;
  font-size: 14px;
  text-align: center;
}

.pricing-footnote a {
  color: var(--violet);
  font-weight: 900;
}

.price-card {
  position: relative;
  min-height: 490px;
  padding: 44px 42px 42px;
  border: 1px solid var(--line);
  border-radius: 46px;
  background: #f8fafc;
}

.price-card.featured {
  min-height: 520px;
  color: #d9e0ef;
  background: #0c1428;
  box-shadow: 0 34px 80px rgba(6, 19, 45, 0.18);
}

.level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 15px;
  border-radius: 999px;
  background: #e9eef5;
  color: #06132d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
}

.level.recommended {
  background: var(--violet);
  color: #fff;
}

.price-card h3 {
  margin: 24px 0 12px;
  color: inherit;
  font-size: 28px;
  font-weight: 900;
}

.price-card strong {
  display: block;
  color: #101829;
  font-size: 52px;
  line-height: 1.1;
  font-weight: 900;
}

.price-card strong em {
  color: #8290ae;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
}

.price-card.featured strong {
  color: #858dff;
}

.price-cycle {
  margin-top: 22px;
  color: #06132d;
  font-size: 28px;
  font-weight: 900;
}

.price-card.featured .price-cycle {
  color: #fff;
}

.price-card ul {
  list-style: none;
  margin: 30px 0 62px;
  padding: 0;
}

.price-card li {
  position: relative;
  margin: 15px 0;
  padding-left: 30px;
  color: #52627e;
  font-size: 17px;
}

.price-card.featured li {
  color: #d1d7e5;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 11px;
  height: 6px;
  border-left: 2px solid #7889ff;
  border-bottom: 2px solid #7889ff;
  transform: rotate(-45deg);
}

.price-card li.muted {
  color: #9aa8bb;
}

.price-card li.muted::before {
  content: "x";
  top: 0;
  width: auto;
  height: auto;
  border: 0;
  color: #b8c5d5;
  font-size: 18px;
  font-weight: 800;
  transform: none;
}

.price-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  border: 2px solid #dfe6f0;
  border-radius: 16px;
  color: #06132d;
  background: #fff;
  font-size: 18px;
  font-weight: 900;
}

.price-card.featured a {
  color: #fff;
  border-color: var(--violet);
  background: var(--violet);
}

.crown {
  position: absolute;
  top: 50px;
  right: 62px;
  width: 100px;
  height: 72px;
  opacity: 0.16;
  border-bottom: 10px solid #fff;
}

.crown::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 82px;
  height: 54px;
  border: 10px solid #fff;
  border-bottom: 0;
  transform: skew(12deg);
}

.usecase-section,
.testimonial-section,
.contact-section {
  padding: 76px 0;
  background: #f5f8fc;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.usecase-grid article {
  min-height: 250px;
  padding: 34px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}

.usecase-grid i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 28px;
  border-radius: 18px;
  color: var(--violet);
  background: #eef2ff;
  font-size: 34px;
}

.usecase-grid h3 {
  margin: 0 0 14px;
  font-size: 23px;
  font-weight: 900;
}

.usecase-grid p {
  max-width: 420px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}

.developer-grid {
  display: grid;
  grid-template-columns: minmax(440px, 0.9fr) minmax(520px, 1fr);
  gap: 80px;
  align-items: center;
}

.developer-grid h2 {
  margin: 0 0 36px;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.2;
  font-weight: 900;
}

.developer-grid h2 strong {
  color: var(--violet);
}

.developer-grid p {
  max-width: 760px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 20px;
}

.code-tabs {
  display: flex;
  gap: 18px;
}

.code-tabs button {
  min-width: 124px;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  color: #06132d;
  font-size: 18px;
}

.code-card {
  min-height: 390px;
  padding: 34px;
  border-radius: 34px;
  background: #1d1d2f;
  color: #dfe6ff;
  box-shadow: 0 30px 70px rgba(12, 18, 34, 0.22);
}

.window-dots {
  display: flex;
  gap: 10px;
  margin-bottom: 34px;
}

.window-dots span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) {
  background: #ff4b55;
}

.window-dots span:nth-child(2) {
  background: #f3bd18;
}

.window-dots span:nth-child(3) {
  background: #25d267;
}

.code-card pre {
  min-height: 210px;
  margin: 0;
  color: #eef2ff;
  font-family: Consolas, Monaco, monospace;
  font-size: 17px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.code-card code {
  color: inherit;
}

.code-card pre::first-line {
  color: #858dff;
}

.code-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7e89aa;
}

.code-footer a {
  color: #8090ff;
  font-size: 20px;
  font-weight: 900;
}

.testimonial-section {
  overflow: hidden;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 40px;
  transition: transform 0.35s ease;
}

.testimonial-track article {
  flex: 0 0 calc((100% - 80px) / 3);
  min-height: 300px;
  padding: 34px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 24, 42, 0.04);
}

.stars {
  color: var(--violet);
  font-size: 24px;
  letter-spacing: 2px;
}

.testimonial-track p {
  min-height: 130px;
  margin: 24px 0 30px;
  color: #31415b;
  font-size: 18px;
  font-style: italic;
  line-height: 1.35;
}

.testimonial-track h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.testimonial-track span {
  color: #91a0b9;
  font-weight: 900;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--violet);
  cursor: pointer;
  font-size: 36px;
  box-shadow: 0 14px 28px rgba(15, 25, 45, 0.13);
}

.slider-btn.prev {
  left: 14px;
}

.slider-btn.next {
  right: 14px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 58px;
}

.slider-dots span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #cbd5e3;
}

.slider-dots span.active {
  background: var(--violet);
}

.narrow {
  max-width: 960px;
}

.faq-list {
  display: grid;
  gap: 20px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
}

.faq-item:nth-child(1),
.faq-item:nth-child(2n) {
  border-color: #121a2c;
}

.faq-item button {
  width: 100%;
  min-height: 96px;
  padding: 0 34px;
  border: 0;
  background: transparent;
  color: #06132d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  text-align: left;
  font: inherit;
  font-size: 21px;
  font-weight: 900;
}

.faq-item button span {
  flex: 0 0 auto;
  font-size: 38px;
  font-weight: 400;
}

.faq-item p {
  display: none;
  margin: -20px 40px 34px;
  color: var(--muted);
  font-size: 19px;
}

.faq-item.open {
  border-color: var(--violet);
}

.faq-item.open p {
  display: block;
}

.faq-hero {
  padding: 82px 0 64px;
  background: #f4f7fd;
  text-align: center;
}

.faq-hero h1 {
  margin: 0;
  color: #06132d;
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
}

.faq-hero p {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.faq-type-tabs a {
  color: #59687f;
}

.faq-type-tabs a.active,
.faq-type-tabs a:hover {
  color: var(--violet);
}

.faq-entry button strong {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.faq-entry .faq-answer {
  display: none;
  margin: -18px 40px 34px;
}

.faq-entry.open .faq-answer {
  display: block;
}

.faq-entry .faq-answer-preview {
  display: -webkit-box;
  max-width: 840px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.faq-entry .faq-answer-preview p,
.faq-entry .faq-answer-preview ul,
.faq-entry .faq-answer-preview ol {
  display: block;
  margin: 0 0 12px;
}

.faq-entry .faq-answer-preview ul,
.faq-entry .faq-answer-preview ol {
  padding-left: 20px;
}

.faq-read-more {
  display: inline-flex;
  margin-top: 18px;
  color: var(--violet);
  font-size: 16px;
  font-weight: 900;
}

.empty-state {
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 10px;
  color: #06132d;
  font-size: 24px;
}

.empty-state p {
  display: block;
  margin: 0;
  color: var(--muted);
}

.faq-detail-main {
  padding-top: 0;
}

.faq-detail-type {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--violet);
  font-size: 13px;
  font-weight: 900;
}

.faq-detail-body {
  margin-top: 28px;
}

.faq-side-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f7;
  color: #52627e;
  font-weight: 800;
}

.faq-side-link:hover {
  color: var(--violet);
}

.faq-side-title {
  margin-top: 34px;
}

.home-blog-section {
  padding: 76px 0;
  background: #fff;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.home-blog-card {
  display: grid;
  grid-template-rows: 130px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 42, 0.04);
}

.home-blog-card img,
.home-blog-card > span {
  width: 100%;
  height: 130px;
}

.home-blog-card img {
  object-fit: cover;
}

.home-blog-card > span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dfe5ff;
  color: #7b83f2;
  font-size: 34px;
}

.home-blog-card div {
  padding: 16px;
}

.home-blog-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
  margin: 0 0 10px;
  color: #08132c;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 900;
}

.home-blog-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 61px;
  margin: 0 0 12px;
  color: #61718b;
  font-size: 13px;
  line-height: 1.55;
}

.home-blog-card small {
  color: #8c98af;
  font-weight: 900;
}

.home-blog-more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.contact-section {
  text-align: center;
  background: #f4f7fd;
}

.contact-section p {
  max-width: 700px;
  margin-bottom: 62px;
}

.site-footer {
  padding: 70px 0 60px;
  background: var(--footer);
  color: #8390ad;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 70px;
}

.brand-light {
  color: #fff;
  min-width: 0;
  margin-bottom: 42px;
  font-size: 24px;
}

.brand-light img {
  width: 42px;
  height: 42px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 34px;
  font-size: 16px;
}

.footer-brand p {
  max-width: 380px;
  font-size: 16px;
  line-height: 1.55;
}

.footer-email {
  display: inline-flex;
  margin-top: 28px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.footer-email:hover {
  color: #dce4ff;
}

.footer-socials {
  display: flex;
  gap: 18px;
  margin-top: 30px;
}

.footer-socials a {
  display: inline-flex;
  width: 48px;
  height: 48px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.footer-socials img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.footer-menu h3 {
  margin: 10px 0 36px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li + li {
  margin-top: 20px;
}

.footer-menu a {
  color: #6f7d9a;
  font-size: 16px;
  font-weight: 800;
}

.footer-menu a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid rgba(120, 138, 176, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: #405071;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 5px;
}

.footer-bottom div {
  display: flex;
  gap: 44px;
}

.footer-bottom a {
  color: #7988a7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

.footer-bottom a:hover {
  color: #fff;
}

.breadcrumb-band {
  padding: 18px 0;
  background: #f5f8fd;
  color: #77849a;
  font-size: 14px;
}

.breadcrumb-band a {
  color: #5f6df2;
}

.inner-hero {
  padding: 72px 0 66px;
  background: linear-gradient(110deg, #f7faff 0%, #fff 58%, #fbf8ff 100%);
}

.inner-hero.center {
  text-align: center;
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(480px, 1fr);
  align-items: center;
  gap: 72px;
}

.inner-hero h1 {
  max-width: 780px;
  margin: 18px 0 22px;
  color: #08132c;
  font-size: 48px;
  line-height: 1;
  font-weight: 900;
}

.inner-hero h1 strong {
  color: var(--violet);
}

.inner-hero.center h1,
.inner-hero.center p {
  margin-left: auto;
  margin-right: auto;
}

.inner-hero p {
  max-width: 720px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 17px;
}

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

.hero-actions-inline {
  align-items: center;
  flex-wrap: nowrap;
}

.hero-actions-inline .primary-cta.dark {
  width: auto;
  min-width: 244px;
}

.hero-actions-inline .secondary-cta {
  gap: 10px;
  min-width: 266px;
}

.hero-actions-inline .secondary-cta i {
  font-size: 21px;
  line-height: 1;
}

.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #12203a;
  font-size: 16px;
  font-weight: 900;
}

.device-frame {
  padding: 7px;
  border: 4px solid #7664f2;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(85, 72, 235, 0.16);
}

.device-frame img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
  border-radius: 21px;
}

.subtle-section {
  padding: 74px 0;
  background: #f5f8fc;
}

.white-section {
  padding: 74px 0;
  background: #fff;
}

.legal-hero {
  padding: 78px 0 68px;
  background: linear-gradient(110deg, #f7faff 0%, #fff 58%, #fbf8ff 100%);
}

.legal-kicker {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 16px;
  border: 1px solid #dce4ff;
  border-radius: 999px;
  color: var(--violet);
  background: #eef3ff;
  font-size: 13px;
  font-weight: 900;
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  color: #08132c;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 900;
}

.legal-hero p {
  max-width: 760px;
  margin: 0 0 18px;
  color: #5e6e86;
  font-size: 18px;
  line-height: 1.65;
}

.legal-hero small {
  color: #7e8ba3;
  font-size: 14px;
  font-weight: 900;
}

.legal-section {
  padding: 68px 0 84px;
  background: #f6f8fc;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.legal-side {
  position: sticky;
  top: 104px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 42, 0.04);
}

.legal-side strong {
  display: block;
  margin-bottom: 18px;
  color: #08132c;
  font-size: 15px;
  font-weight: 900;
}

.legal-side a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #64738d;
  font-size: 14px;
  font-weight: 800;
}

.legal-side a:hover {
  color: var(--violet);
  background: #eef2ff;
}

.legal-card {
  padding: 44px 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 24, 42, 0.05);
}

.legal-copy {
  color: #26364f;
  font-size: 16px;
  line-height: 1.72;
}

.legal-copy h2 {
  margin: 34px 0 16px;
  color: #08132c;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy h3 {
  margin: 26px 0 12px;
  color: #18243a;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 900;
}

.legal-copy p {
  margin: 0 0 18px;
}

.legal-copy ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.legal-copy li {
  margin-bottom: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.feature-card.active,
.feature-card:hover {
  border-color: #151d31;
  box-shadow: 0 16px 40px rgba(16, 24, 42, 0.08);
}

.feature-card i {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--violet);
  font-size: 24px;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: #08132c;
  font-size: 18px;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: #5f6e88;
  font-size: 14px;
}

.feature-grid.resi-usecase-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.resi-usecase-grid .feature-card {
  min-height: 178px;
  padding: 24px;
}

.resi-usecase-grid .feature-card i {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  font-size: 22px;
}

.resi-usecase-grid .feature-card h3 {
  font-size: 17px;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 0.9fr);
  gap: 60px;
  align-items: center;
}

.check-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  margin: 16px 0;
  padding-left: 34px;
  color: #45566f;
  font-size: 17px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid #c9a139;
  border-bottom: 2px solid #c9a139;
  transform: rotate(-45deg);
}

.quote-card {
  padding: 34px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 24, 42, 0.07);
}

.quote-card .stars {
  margin-bottom: 16px;
}

.quote-card p {
  margin: 0 0 24px;
  color: #43536d;
  font-style: italic;
}

.quote-card strong {
  display: block;
  color: #08132c;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 48px;
  text-align: center;
}

.mini-stats strong {
  display: block;
  color: #08132c;
  font-size: 28px;
}

.mini-stats span {
  color: #7d8ba2;
  font-weight: 800;
}

.page-cta {
  padding: 78px 0;
  text-align: center;
  background: var(--violet);
  color: #fff;
}

.page-cta h2 {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 900;
}

.page-cta p {
  margin: 0 auto 28px;
  max-width: 760px;
  color: #e5e4ff;
}

.page-cta .secondary-cta {
  background: #0c1428;
  border-color: #0c1428;
  color: #fff;
}

.page-cta .primary-cta {
  min-width: 150px;
  min-height: 48px;
  border-radius: 10px;
  background: #fff;
  color: var(--violet);
  font-size: 15px;
}

.pricing-sales-cta {
  padding: 98px 0 104px;
  background: #f4f7fd;
  color: #06132d;
}

.pricing-sales-cta h2 {
  margin-bottom: 32px;
  font-size: 40px;
}

.pricing-sales-cta p {
  max-width: 690px;
  margin-bottom: 58px;
  color: #52627e;
  font-size: 19px;
  line-height: 1.55;
}

.pricing-sales-cta .primary-cta {
  min-width: 340px;
  min-height: 70px;
  border-radius: 16px;
  background: var(--violet);
  color: #fff;
  box-shadow: 0 18px 36px rgba(85, 72, 235, 0.24);
  font-size: 20px;
}

.pricing-sales-cta .direct-contact {
  margin: 36px auto 0;
  color: #52627e;
  font-size: 18px;
}

.pricing-sales-cta .direct-contact a {
  color: var(--violet);
  font-weight: 900;
}

.compact-faq .faq-item button {
  min-height: 72px;
  font-size: 16px;
}

.compact-faq .faq-item p {
  font-size: 15px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(16, 24, 42, 0.09);
}

.blog-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  background: #dfe5ff;
  color: #7b83f2;
  font-size: 40px;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card > div:not(.blog-thumb) {
  padding: 24px;
}

.blog-card h3 {
  margin: 0 0 12px;
  color: #08132c;
  font-size: 18px;
  line-height: 1.28;
}

.blog-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 78px;
  margin: 0 0 18px;
  color: #61718b;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #8190aa;
  font-size: 13px;
}

.blog-meta strong {
  color: #121a2c;
}

.tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
}

.pagination-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
}

.pagination-row span {
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #65748d;
  font-size: 13px;
}

.pagination-row span.active {
  background: var(--violet);
  color: #fff;
}

.pagination-row a {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #65748d;
  font-size: 13px;
  font-weight: 900;
}

.pagination-row a.active,
.pagination-row a:hover {
  border-color: var(--violet);
  background: var(--violet);
  color: #fff;
}

.pagination-row a.page-step {
  width: auto;
  min-width: 78px;
  padding: 0 16px;
  border-radius: 999px;
}

.pagination-row a.disabled {
  pointer-events: none;
  opacity: 0.42;
}

.pagination-row .page-ellipsis {
  min-width: 24px;
  height: 34px;
  color: #94a0b6;
  font-weight: 900;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  align-items: start;
}

.article-main h1 {
  max-width: 880px;
  margin: 0 0 26px;
  color: #11182b;
  font-size: 46px;
  line-height: 1.12;
  font-weight: 900;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.calendar-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6ebff;
  color: #6259f4;
  font-size: 22px;
}

.article-meta strong {
  display: block;
  color: #11182b;
  font-size: 19px;
  font-weight: 900;
}

.article-meta p {
  margin: 3px 0 0;
  color: #8290aa;
}

.article-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 390px;
  margin-bottom: 34px;
  border-radius: 24px;
  background: #dfe5ff;
  color: #95a0fb;
  font-size: 74px;
}

.article-cover img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.article-body {
  color: #17243a;
  font-size: 18px;
  line-height: 1.65;
}

.article-body h2 {
  margin: 34px 0 18px;
  color: #11182b;
  font-size: 28px;
  font-weight: 900;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ol {
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 14px;
}

.article-table {
  width: 100%;
  overflow: hidden;
  margin: 22px 0 34px;
  border-collapse: collapse;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(17, 24, 43, 0.06);
}

.article-table th,
.article-table td {
  padding: 14px 16px;
  border: 1px solid #dfe6f2;
  text-align: center;
}

.article-table th {
  background: #4c73aa;
  color: #fff;
  text-transform: uppercase;
}

.article-table td:first-child,
.article-table th:first-child {
  text-align: left;
}

.article-action {
  margin-top: 36px;
  padding: 26px;
  border-radius: 8px;
  background: #f1f5fb;
  text-align: center;
}

.article-action strong {
  display: block;
  margin-bottom: 22px;
}

.article-action a {
  display: inline-flex;
  min-width: 150px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  border-radius: 6px;
  background: #0c65c9;
  color: #fff;
  font-weight: 900;
}

.article-action a.green {
  background: #27a361;
}

.article-side {
  position: sticky;
  top: 108px;
}

.article-side h2 {
  margin: 0 0 24px;
  color: #11182b;
  font-size: 24px;
  font-weight: 900;
}

.side-article {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 110px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.side-article span,
.side-article img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
}

.side-article span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dfe5ff;
  color: #7b83f2;
  font-size: 28px;
}

.side-article img {
  object-fit: cover;
}

.side-article h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 8px;
  color: #11182b;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.side-article p {
  margin: 0;
  color: #8290aa;
}

.faq-side .side-article {
  display: block;
  min-height: 0;
  padding: 18px 20px;
}

.faq-side .side-article h3 {
  -webkit-line-clamp: 3;
  margin-bottom: 10px;
  font-size: 16px;
}

.back-blog {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.newsletter-section {
  padding: 78px 0;
  text-align: center;
  background: var(--violet);
  color: #fff;
}

.newsletter-section h2 {
  margin: 0 0 22px;
  font-size: 38px;
  font-weight: 900;
}

.newsletter-section p {
  margin: 0 0 34px;
  color: #eeedff;
  font-size: 18px;
}

.newsletter-section form {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.newsletter-section input,
.newsletter-section button {
  min-height: 60px;
  border: 0;
  border-radius: 14px;
  font: inherit;
}

.newsletter-section input {
  width: min(460px, 100%);
  padding: 0 24px;
  color: #11182b;
}

.newsletter-section button {
  min-width: 160px;
  color: var(--violet);
  background: #fff;
  font-weight: 900;
}

.newsletter {
  padding: 64px 0;
  text-align: center;
  background: var(--violet);
  color: #fff;
}

.newsletter p {
  color: #e8e6ff;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.newsletter input {
  width: min(360px, 70vw);
  height: 42px;
  border: 0;
  border-radius: 9px;
  padding: 0 16px;
}

.newsletter button {
  height: 42px;
  border: 0;
  border-radius: 9px;
  padding: 0 18px;
  background: #fff;
  color: var(--violet);
  font-weight: 900;
}

.faq-tabs {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
  color: #59687f;
  font-weight: 800;
}

.faq-tabs span.active,
.faq-tabs a.active {
  color: var(--violet);
}

.doc-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: 116px;
  align-self: start;
  max-height: calc(100vh - 132px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0 18px;
  scrollbar-width: thin;
}

.doc-sidebar::-webkit-scrollbar {
  width: 6px;
}

.doc-sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #d6deec;
}

.doc-sidebar h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #0d1428;
  font-weight: 900;
}

.doc-sidebar > p {
  margin: 0 0 16px;
  color: #8b96ab;
  font-size: 11px;
  font-weight: 800;
}

.doc-sidebar a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: #6b7890;
  font-size: 12px;
  line-height: 1.35;
}

.doc-menu {
  display: grid;
  gap: 2px;
}

.doc-menu-group {
  position: relative;
  margin: 2px 0 4px;
}

.doc-menu-title {
  padding-right: 34px !important;
  color: #38465c !important;
  font-weight: 800;
}

.doc-menu-toggle {
  position: absolute;
  top: 2px;
  right: 4px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.doc-menu-toggle::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid #77849a;
  border-bottom: 2px solid #77849a;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.15s ease;
}

.doc-menu-toggle:hover {
  background: #f2f5fb;
}

.doc-menu-group.is-collapsed .doc-menu-toggle::before {
  transform: rotate(-45deg) translate(-1px, -1px);
}

.doc-menu-group.is-collapsed .doc-submenu {
  display: none;
}

.doc-submenu {
  display: grid;
  gap: 1px;
  margin: 1px 0 6px 10px;
  padding-left: 10px;
  border-left: 1px solid #e7edf7;
}

.doc-sidebar .doc-submenu a {
  padding-top: 7px;
  padding-bottom: 7px;
  color: #7b8799;
  font-size: 11px;
}

.doc-sidebar a:hover,
.doc-sidebar a.active {
  background: #eef2ff;
  color: var(--violet);
}

.doc-content {
  max-width: 1060px;
}

.doc-topic {
  display: none;
}

.doc-topic.is-active {
  display: block;
}

.doc-content section {
  padding-bottom: 52px;
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 52px;
}

.doc-content h1,
.doc-content h2 {
  margin: 0 0 18px;
  color: #08132c;
  font-weight: 900;
}

.doc-content h1 {
  font-size: 32px;
}

.doc-content h2 {
  font-size: 28px;
}

.doc-content p,
.doc-content li {
  color: #4f5f77;
}

.doc-content h3 {
  margin: 22px 0 10px;
  color: #11182b;
  font-size: 18px;
}

.doc-note {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: 8px;
  background: #f4f7ff;
  color: #4f5f77;
}

.doc-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.doc-card-grid article {
  padding: 18px;
  border: 1px solid #e4eaf4;
  border-radius: 8px;
  background: #fff;
}

.doc-card-grid h3 {
  margin-top: 0;
}

.doc-content pre {
  overflow: auto;
  padding: 18px;
  border-radius: 8px;
  background: #0c1428;
  color: #e5e9f6;
}

.doc-page {
  position: relative;
}

.doc-page .doc-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  min-height: calc(100vh - 82px);
}

.doc-page .doc-sidebar {
  position: sticky;
  top: 104px;
  z-index: 20;
  width: auto;
  max-height: calc(100vh - 126px);
  background: #fff;
}

.doc-page .doc-content {
  margin-left: 0;
  max-width: 980px;
  min-height: 70vh;
}

.doc-page .doc-content section {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}

.doc-table th,
.doc-table td {
  padding: 12px 14px;
  border: 1px solid #e4eaf4;
  text-align: left;
}

.doc-table th {
  background: #edf3ff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 28px;
  max-width: 760px;
  margin: 42px auto;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.contact-card i {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--violet);
  margin-bottom: 18px;
  font-size: 22px;
}

.support-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 14px;
  background: #f5f8fc;
  text-align: left;
}

.support-box ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #5d6b83;
}

@media (max-width: 1280px) {
  .site-container {
    width: min(1120px, 84vw);
  }

  .header-inner {
    gap: 24px;
  }

  .brand {
    min-width: 170px;
    font-size: 26px;
  }

  .main-nav > ul {
    gap: 20px;
  }

  .main-nav a,
  .header-actions {
    font-size: 16px;
  }

  .hero-grid,
  .developer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: 78px;
  }

  .hero-copy p,
  .developer-grid p {
    font-size: 19px;
  }

  .country-grid,
  .metric-grid,
  .feature-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .site-container {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 76px;
    justify-content: space-between;
  }

  .brand {
    min-width: 0;
    font-size: 24px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    padding: 12px 18px 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav > ul {
    display: block;
  }

  .main-nav li + li {
    margin-top: 6px;
  }

  .main-nav a {
    width: 100%;
    min-height: 42px;
  }

  .sub-menu {
    position: static;
    display: block;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0 0 6px 16px !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .sub-menu::before,
  .sub-menu::after,
  .sub-menu a::before {
    display: none;
  }

  .sub-menu li + li {
    margin-top: 2px;
  }

  .header-actions {
    display: none;
  }

  .hero-section,
  .coverage-section,
  .pricing-section,
  .developer-section,
  .faq-section,
  .usecase-section,
  .testimonial-section,
  .contact-section {
    padding: 58px 0;
  }

  .hero-grid,
  .developer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 62px;
  }

  .primary-cta.dark {
    min-width: 0;
    width: 100%;
  }

  .hero-actions-inline {
    flex-wrap: wrap;
  }

  .hero-actions-inline .primary-cta.dark,
  .hero-actions-inline .secondary-cta {
    width: 100%;
    min-width: 0;
  }

  .hero-media {
    border-radius: 30px;
  }

  .hero-media img {
    border-radius: 22px;
  }

  .pricing-grid,
  .usecase-grid,
  .feature-grid,
  .why-grid,
  .home-blog-grid,
  .blog-detail-layout,
  .legal-layout,
  .inner-hero-grid,
  .doc-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .article-side {
    position: static;
  }

  .legal-side {
    position: static;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-section form {
    flex-direction: column;
  }

  .doc-sidebar {
    position: static;
  }

  .doc-page .doc-layout {
    display: grid;
    min-height: auto;
  }

  .doc-page .doc-sidebar {
    position: static;
    width: auto;
    max-height: none;
  }

  .doc-page .doc-content {
    margin-left: 0;
    max-width: none;
  }

  .price-card,
  .price-card.featured {
    min-height: 0;
  }

  .testimonial-track article {
    flex-basis: 100%;
  }

  .slider-btn.prev {
    left: 6px;
  }

  .slider-btn.next {
    right: 6px;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 46px;
  }

  .section-heading h2,
  .contact-section h2,
  .developer-grid h2,
  .legal-hero h1 {
    font-size: 36px;
  }

  .legal-card {
    padding: 28px;
  }

  .footer-bottom div {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero-copy p,
  .section-heading p,
  .contact-section p,
  .developer-grid p {
    font-size: 18px;
  }

  .metric-grid,
  .country-grid,
  .blog-grid,
  .home-blog-grid,
  .contact-grid,
  .mini-stats {
    grid-template-columns: 1fr;
  }

  .pricing-tabs {
    width: 100%;
  }

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

  .pricing-tabs button {
    min-width: 0;
    width: 50%;
    font-size: 17px;
  }

  .country-card,
  .price-card,
  .usecase-grid article,
  .testimonial-track article,
  .code-card {
    padding: 28px;
  }

  .price-card strong {
    font-size: 50px;
  }

  .faq-item button {
    min-height: 92px;
    padding: 0 24px;
    font-size: 19px;
  }

  .faq-item p {
    margin: -12px 24px 26px;
  }

  .faq-entry .faq-answer {
    margin: -12px 24px 26px;
  }

  .faq-hero h1 {
    font-size: 42px;
  }
}
