:root {
  color: #fff;
  background: #030104;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(circle at 72% 9%, rgba(125, 28, 203, 0.42), transparent 28rem),
    radial-gradient(circle at 10% 42%, rgba(136, 42, 95, 0.34), transparent 30rem),
    #030104;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

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

.site {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(131, 49, 189, 0.28), transparent 29rem),
    radial-gradient(circle at 16% 49%, rgba(141, 30, 77, 0.22), transparent 32rem);
}

.section-wrap,
.footer-wrap {
  width: min(1200px, calc(100vw - 80px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 3, 11, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100vw - 80px));
  min-height: 64px;
  margin: 0 auto;
}

.brand img,
.footer-logo img {
  width: 122px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
  margin-right: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}

.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-button,
.menu-button,
.lang-menu a {
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 700;
}

.lang-button > img:first-child {
  width: 20px;
  height: 20px;
}

.chevron {
  width: 7px;
  height: 4px;
  transition: transform 180ms ease;
}

.chevron.up {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  right: 42px;
  top: 46px;
  width: 128px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(18, 7, 28, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.lang-menu a {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  text-align: left;
  text-decoration: none;
}

.lang-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  padding: 8px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 790px;
  padding: 132px 0 60px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 260px;
  background: linear-gradient(180deg, transparent, rgba(3, 1, 4, 0.98));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 52px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 20px;
  padding: 9px 14px;
  border: 1px solid rgba(154, 101, 255, 0.38);
  border-radius: 8px;
  color: #c8adff;
  background: rgba(14, 5, 22, 0.72);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
}

.hero-heading {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: 48px;
  line-height: 1.18;
  font-weight: 800;
}

.hero-heading span {
  display: block;
}

.hero-nowrap {
  white-space: nowrap;
}

.hero-subline {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68em;
  font-weight: 500;
  line-height: 1.35;
}

.hero-wordmark {
  width: 188px;
  margin-top: 28px;
}

.hero-text {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.78;
  font-weight: 600;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  filter: drop-shadow(0 35px 80px rgba(0, 0, 0, 0.56));
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.download-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  color: #050505;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(128, 58, 225, 0.28);
}

.download-button img {
  width: 32px;
  height: 32px;
  margin-bottom: 5px;
}

.feature-section {
  position: relative;
  z-index: 2;
  padding: 20px 0 96px;
}

.feature-section h2,
.voice-section h2,
.download-copy h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(42px, 5.1vw, 64px);
  line-height: 1.18;
  font-weight: 300;
}

.feature-section h2 {
  font-size: 38px;
  line-height: 1.28;
  white-space: nowrap;
}

.feature-section h2 strong,
.voice-section h2 strong {
  color: #fff;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.feature-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-height: 138px;
  padding: 26px 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(22, 6, 31, 0.48);
  box-shadow: inset 0 0 0 1px rgba(123, 54, 202, 0.06);
}

.feature-card img {
  width: 68px;
  height: 68px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.voice-section {
  padding: 30px 0 120px;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.arrow-pair {
  display: flex;
  gap: 12px;
}

.arrow-pair span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.06);
  font-size: 38px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.testimonial-card {
  min-height: 196px;
  padding: 34px 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(6, 3, 9, 0.72);
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.person strong {
  font-size: 18px;
}

.testimonial-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
}

.download-section {
  position: relative;
  min-height: 700px;
  padding: 40px 0 0;
  overflow: hidden;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 48px;
  align-items: start;
}

.download-copy {
  padding-top: 80px;
}

.download-media {
  align-self: end;
}

.download-media img {
  width: 100%;
}

.inner-page {
  position: relative;
  min-height: 620px;
  padding: 132px 0 80px;
  overflow: hidden;
}

.page-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 6%, rgba(119, 57, 226, 0.42), transparent 34rem),
    radial-gradient(circle at 8% 78%, rgba(119, 34, 82, 0.32), transparent 30rem),
    linear-gradient(180deg, rgba(16, 6, 24, 0.7), rgba(3, 1, 4, 0.96));
  opacity: 0.88;
  pointer-events: none;
}

.simple-state {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(760px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 70px 24px 120px;
  text-align: center;
}

.simple-state h1 {
  margin: 0 0 56px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.15;
}

.simple-state img {
  width: 232px;
  margin-bottom: 26px;
  opacity: 0.92;
}

.simple-state p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 20px;
}

.blog-shell,
.blog-detail {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 80px));
  margin: 0 auto;
  padding: 42px 0 96px;
}

.blog-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.blog-heading p,
.blog-detail-copy p {
  margin: 0 0 14px;
  color: #9a65ff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.blog-heading h1,
.blog-detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.12;
}

.blog-heading span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 600;
}

.blog-topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.blog-topic-row span,
.blog-topic-row a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(13, 5, 20, 0.68);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: stretch;
  min-height: 330px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 16%, rgba(142, 68, 255, 0.22), transparent 24rem),
    linear-gradient(135deg, rgba(22, 7, 34, 0.88), rgba(8, 3, 12, 0.82));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.blog-featured:hover,
.blog-list-card:hover {
  transform: translateY(-3px);
  border-color: rgba(149, 89, 255, 0.52);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

.blog-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.blog-featured-copy > span,
.blog-list-copy span {
  width: fit-content;
  padding: 8px 11px;
  border: 1px solid rgba(154, 101, 255, 0.34);
  border-radius: 8px;
  color: #c8adff;
  background: rgba(13, 5, 20, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.blog-featured-copy time,
.blog-list-copy time,
.blog-meta {
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.blog-featured-copy time {
  margin-top: 20px;
}

.blog-featured-copy h2 {
  max-width: 650px;
  margin: 14px 0 14px;
  color: #fff;
  font-size: 34px;
  line-height: 1.24;
}

.blog-featured-copy p {
  max-width: 660px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 600;
}

.blog-featured-copy strong {
  width: fit-content;
  color: #b992ff;
  font-size: 15px;
}

.blog-featured-media,
.blog-list-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(15, 7, 24, 0.78);
}

.blog-featured-media img,
.blog-list-media img,
.blog-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-media img,
.blog-list-media img {
  opacity: 0.88;
  transition: transform 240ms ease, opacity 240ms ease;
}

.blog-featured:hover img,
.blog-list-card:hover img {
  transform: scale(1.04);
  opacity: 0.98;
}

.blog-list-section {
  margin-top: 42px;
}

.blog-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.blog-list-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.25;
}

.blog-list-heading p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  text-align: right;
}

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

.blog-list-card {
  display: grid;
  grid-template-rows: 138px minmax(0, 1fr);
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(10, 4, 15, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.blog-list-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
}

.blog-list-copy > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-list-copy h3 {
  margin: 16px 0 10px;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
}

.blog-list-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}

.blog-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.blog-back:hover {
  color: #fff;
}

.blog-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-detail-copy h1 {
  max-width: 720px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.blog-detail-copy strong {
  display: block;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.75;
}

.blog-detail-media {
  height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(15, 7, 24, 0.78);
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 54px;
  align-items: start;
  margin-top: 46px;
}

.blog-content {
  display: grid;
  gap: 34px;
}

.blog-content h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 28px;
  line-height: 1.3;
}

.blog-content p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.9;
  font-weight: 600;
}

.blog-side {
  position: sticky;
  top: 96px;
  padding: 22px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(13, 5, 20, 0.68);
}

.blog-side h2,
.related-posts h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
}

.blog-side ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
}

.blog-side li {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  font-weight: 700;
}

.related-posts {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.related-posts > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-posts a {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(13, 5, 20, 0.68);
}

.related-posts a:hover {
  border-color: rgba(149, 89, 255, 0.48);
}

.related-posts span {
  color: #9a65ff;
  font-size: 13px;
  font-weight: 800;
}

.related-posts strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.pagination,
.post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 32px;
}

.pagination .page-index,
.pagination .page-pre,
.pagination .page-next,
.pagination .page-last,
.pagination .page-numbar {
  display: contents;
}

.pagination a,
.pagination .page-status,
.pagination .page-none,
.pagination .page-num,
.post-nav a,
.post-tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(13, 5, 20, 0.68);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.pagination .page-num-current {
  color: #fff;
  border-color: rgba(149, 89, 255, 0.58);
  background: rgba(149, 89, 255, 0.18);
}

.pagination a:hover,
.post-nav a:hover,
.post-tags a:hover {
  color: #fff;
  border-color: rgba(149, 89, 255, 0.48);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.faq-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 80px));
  margin: 0 auto;
  padding: 42px 0 96px;
}

.faq-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.faq-heading p {
  margin: 0 0 14px;
  color: #9a65ff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.faq-heading h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.12;
}

.faq-heading span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 600;
}

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

.faq-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
}

.faq-toc a {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(13, 5, 20, 0.68);
  font-weight: 700;
}

.faq-toc a:hover {
  color: #fff;
  border-color: rgba(149, 89, 255, 0.48);
}

.faq-groups {
  display: grid;
  gap: 32px;
}

.faq-group {
  scroll-margin-top: 92px;
}

.faq-group h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.25;
}

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

.faq-item {
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(22, 7, 34, 0.84), rgba(8, 3, 12, 0.78));
}

.faq-item h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
}

.faq-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.72;
  font-weight: 600;
}

.api-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  gap: 52px;
  width: min(900px, calc(100vw - 80px));
  margin: 0 auto;
  padding: 52px 0 170px;
}

.api-card {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 94px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: rgba(12, 5, 17, 0.42);
}

.api-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.api-card h1,
.api-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.api-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.legal-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 54px;
  width: min(1180px, calc(100vw - 80px));
  margin: 0 auto;
  padding: 48px 54px 64px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #111;
  background: rgba(255, 255, 255, 0.96);
}

.legal-card h1 {
  margin: 0 0 36px;
  font-size: 32px;
  line-height: 1.2;
}

.legal-card h2 {
  margin: 34px 0 14px;
  font-size: 20px;
  line-height: 1.35;
}

.legal-card h3 {
  margin: 24px 0 10px;
  font-size: 16px;
  line-height: 1.45;
}

.legal-card p {
  margin: 0 0 14px;
  color: #222;
  font-size: 14px;
  line-height: 1.78;
}

.legal-card .list-line {
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.legal-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  padding-left: 24px;
  border-left: 2px solid rgba(99, 94, 255, 0.38);
}

.legal-toc a {
  display: block;
  padding: 10px 0;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.legal-toc a:first-child {
  color: #4964ff;
}

.site-footer {
  position: relative;
  z-index: 3;
  padding: 38px 0 44px;
  border-top: 1px solid rgba(125, 28, 203, 0.28);
  background: rgba(3, 1, 4, 0.92);
}

.footer-wrap {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-cols h2 {
  margin: 0 0 16px;
  font-size: 16px;
}

.footer-cols p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.footer-cols a {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.footer-wrap small {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 980px) {
  .section-wrap,
  .footer-wrap {
    width: min(100% - 48px, 760px);
  }

  .site-header {
    top: 0;
    width: 100%;
  }

  .nav-shell {
    width: min(100% - 48px, 760px);
    min-height: 60px;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(14, 5, 22, 0.98);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 8px;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 44px;
  }

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

  .hero-media {
    display: none;
  }

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

  .hero-wordmark {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
  }

  .hero-heading {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-size: 40px;
  }

  .download-buttons {
    justify-content: center;
  }

  .feature-grid,
  .testimonial-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
  }

  .feature-card img {
    width: 48px;
    height: 48px;
  }

  .section-heading-row {
    align-items: flex-start;
  }

  .arrow-pair {
    display: none;
  }

  .download-copy {
    padding-top: 0;
    text-align: center;
  }

  .download-media {
    width: min(460px, 100%);
    margin: 0 auto;
  }

  .api-grid {
    grid-template-columns: 1fr;
  }

  .blog-shell,
  .blog-detail {
    width: min(100% - 48px, 760px);
    padding-top: 28px;
  }

  .blog-list-grid,
  .blog-detail-hero,
  .blog-detail-layout,
  .related-posts > div {
    grid-template-columns: 1fr;
  }

  .blog-featured {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 22px;
    min-height: auto;
    padding: 28px;
  }

  .blog-featured-copy h2 {
    font-size: 28px;
  }

  .blog-featured-copy p {
    font-size: 15px;
  }

  .blog-featured-media {
    height: 100%;
    min-height: 238px;
  }

  .blog-list-heading {
    align-items: start;
    flex-direction: column;
  }

  .blog-list-heading p {
    max-width: 100%;
    text-align: left;
  }

  .blog-list-card {
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-rows: none;
    height: 170px;
    min-height: 168px;
  }

  .blog-list-media {
    min-height: 168px;
    border-width: 0 1px 0 0;
    border-radius: 0;
  }

  .blog-list-copy {
    overflow: hidden;
    padding: 18px;
  }

  .blog-list-copy h3 {
    display: -webkit-box;
    margin: 14px 0 0;
    overflow: hidden;
    font-size: 18px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .blog-list-copy p {
    display: none;
  }

  .blog-detail-media {
    height: 360px;
  }

  .blog-side {
    position: static;
  }

  .faq-shell {
    width: min(100% - 48px, 760px);
    padding-top: 28px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-toc {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legal-card {
    width: min(100% - 48px, 760px);
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 38px 24px 44px;
  }

  .legal-toc {
    position: static;
    order: -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    padding-left: 0;
    padding-bottom: 18px;
    border-left: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }

  .legal-toc a {
    padding: 0;
    font-size: 13px;
  }

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

  .footer-wrap small {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .section-wrap,
  .footer-wrap {
    width: calc(100vw - 32px);
  }

  .site-header {
    top: 0;
    width: 100%;
  }

  .nav-shell {
    width: calc(100vw - 32px);
  }

  .brand img,
  .footer-logo img {
    width: 118px;
  }

  .lang-button span {
    display: none;
  }

  .hero-kicker {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .hero-heading {
    font-size: 26px;
    line-height: 1.22;
  }

  .hero-wordmark {
    width: 150px;
  }

  .download-button {
    width: 82px;
    height: 82px;
  }

  .voice-section h2,
  .download-copy h2 {
    font-size: 38px;
  }

  .feature-section h2 {
    font-size: 26px;
    white-space: normal;
  }

  .blog-shell,
  .blog-detail {
    width: calc(100vw - 32px);
  }

  .blog-heading h1,
  .blog-detail-copy h1 {
    font-size: 38px;
  }

  .blog-heading span,
  .blog-detail-copy strong {
    font-size: 16px;
  }

  .blog-featured {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .blog-featured-copy h2 {
    font-size: 25px;
  }

  .blog-featured-copy p {
    font-size: 15px;
  }

  .blog-featured-media {
    height: 190px;
  }

  .blog-list-card {
    grid-template-columns: 112px minmax(0, 1fr);
    height: 156px;
    min-height: 156px;
  }

  .blog-list-media {
    min-height: 156px;
    border-width: 0 1px 0 0;
    border-radius: 0;
  }

  .blog-list-copy {
    padding: 16px;
  }

  .blog-list-copy > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .blog-list-copy h3 {
    margin: 12px 0 0;
    font-size: 17px;
  }

  .blog-list-copy p {
    display: none;
  }

  .blog-detail-media {
    height: 230px;
  }

  .feature-card {
    padding: 20px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .simple-state h1 {
    margin-bottom: 36px;
  }

  .api-grid {
    width: calc(100vw - 32px);
  }

  .faq-shell {
    width: calc(100vw - 32px);
  }

  .faq-heading h1 {
    font-size: 38px;
  }

  .faq-heading span {
    font-size: 16px;
  }

  .faq-toc {
    grid-template-columns: 1fr;
  }

  .faq-item {
    padding: 22px 20px;
  }
}
