:root {
  --ink: #263b40;
  --muted: #708387;
  --accent: #20b98e;
  --accent-dark: #16846b;
  --aqua: #43b6c2;
  --paper: #ffffff;
  --mist: #f2f8f7;
  --line: #dce9e6;
  --shadow: 0 18px 55px rgba(29, 87, 80, 0.1);
  --content: 1200px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-size: 16px;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: #000;
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  min-height: 230px;
  padding: 18px 56px;
  align-items: flex-start;
  justify-content: space-between;
  color: #fff;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand-link img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.main-navigation {
  display: flex;
  width: 500px;
  margin-top: 38px;
  align-items: flex-end;
  flex-direction: column;
  gap: 15px;
}

.main-navigation a {
  position: relative;
  color: rgba(255, 255, 255, 0.58);
  font-size: 20px;
  line-height: 1.2;
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a[aria-current="page"] {
  color: #fff;
  transform: translateX(-4px);
}

.hero-copy h1,
.section-copy h2,
.page-hero h1 {
  margin: 0;
  font-weight: 500;
}

.home-hero {
  position: relative;
  height: 1080px;
  overflow: hidden;
  color: #fff;
  background: #28b89e url("/public/index/images/home-social-background.jpg") center/cover no-repeat;
}

.home-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: none;
  pointer-events: none;
}

.home-hero .hero-copy {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 760px);
  margin: 0 auto;
  padding-top: 184px;
  text-align: center;
}

.hero-product-visual {
  position: absolute;
  z-index: 1;
  top: 500px;
  left: 50%;
  width: min(104vw, 1411px);
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.home-hero h1 {
  max-width: none;
  font-size: clamp(48px, 4.8vw, 68px);
  font-weight: 700;
  line-height: 1.18;
}

.home-hero .hero-lead {
  max-width: 560px;
  margin: 18px auto 20px;
  font-size: 18px;
  line-height: 1.62;
}

.download-actions {
  display: grid;
  width: min(628px, 100%);
  margin: 0 auto;
  grid-template-areas:
    "android windows mac"
    "ios windows mac";
  grid-template-columns: 220px 176px 176px;
  grid-template-rows: 74px 74px;
  justify-content: center;
  gap: 24px 28px;
}

.download-actions .platform-button:nth-child(1) { grid-area: android; }
.download-actions .platform-button:nth-child(2) { grid-area: ios; }
.download-actions .platform-button:nth-child(3) { grid-area: windows; }
.download-actions .platform-button:nth-child(4) { grid-area: mac; }

.platform-button {
  display: flex;
  min-height: 0;
  height: 100%;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 18px;
  filter: drop-shadow(0 7px 14px rgba(7, 77, 72, 0.14));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.platform-button::before {
  display: none;
  content: "";
}

.platform-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.platform-button:hover,
.platform-button:focus-visible {
  transform: translateY(-2px);
  filter: drop-shadow(0 11px 20px rgba(7, 77, 72, 0.22));
}

.download-actions .platform-button:nth-child(3),
.download-actions .platform-button:nth-child(4) {
  flex-direction: column;
}

a:not(.platform-button)[href$="mchat-windows-client.zip"],
a:not(.platform-button)[href$="mchat-macos-client.dmg"],
a:not(.platform-button)[href$="mchat-android-client.apk"],
a:not(.platform-button)[href*="itunes.apple.com"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

a:not(.platform-button)[href$="mchat-windows-client.zip"]::before,
a:not(.platform-button)[href$="mchat-macos-client.dmg"]::before,
a:not(.platform-button)[href$="mchat-android-client.apk"]::before,
a:not(.platform-button)[href*="itunes.apple.com"]::before {
  display: inline-block;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

a:not(.platform-button)[href$="mchat-windows-client.zip"]::before {
  background-image: url("/public/index/images/windows-mark.svg");
}

a:not(.platform-button)[href$="mchat-macos-client.dmg"]::before {
  background-image: url("/public/index/images/mac-mark.svg");
}

a:not(.platform-button)[href$="mchat-android-client.apk"]::before {
  background-image: url("/public/index/images/google-play-mark.svg");
}

a:not(.platform-button)[href*="itunes.apple.com"]::before {
  background-image: url("/public/index/images/app-store-mark.svg");
}

.story-section {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.story-section .section-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - 48px), 1200px);
  height: 100%;
  min-height: inherit;
  margin-inline: auto;
  align-items: center;
}

.section-copy {
  width: min(520px, 48%);
}

.section-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.2;
}

.section-copy h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 500;
}

.section-copy p,
.section-copy li {
  color: inherit;
  font-size: 20px;
  line-height: 1.9;
}

.section-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-visual {
  position: absolute;
  z-index: 1;
  right: 7%;
  bottom: 0;
  width: min(46vw, 650px);
}

.private-story {
  height: 980px;
  color: #151515;
  background: #fff;
}

.private-story .section-copy {
  margin-left: 60px;
}

.private-story .section-copy h2 {
  color: #6e6e6e;
}

.private-story .story-visual {
  right: 7%;
  bottom: 0;
  width: 596px;
}

.desktop-story {
  height: 1280px;
  color: #fff;
  background: #296c72 url("/public/index/images/home-desktop-background.jpg") center/cover no-repeat;
}

.desktop-story .section-inner {
  align-items: flex-start;
}

.desktop-story .section-copy {
  width: 100%;
  margin: 118px auto 0;
  text-align: center;
}

.desktop-story .story-visual {
  right: auto;
  bottom: 55px;
  left: 50%;
  width: min(90vw, 1154px);
  transform: translateX(-50%);
}

.call-story {
  height: 930px;
  color: #5c5c5c;
  background: #fff url("/public/index/images/private-chat-preview.webp") right center/auto no-repeat;
}

.call-story .section-inner {
  align-items: flex-start;
}

.call-story .section-copy {
  width: 100%;
  margin: 120px 0 0;
}

.call-story .section-copy h3,
.call-story .section-copy p {
  width: 410px;
}

.call-story .story-visual {
  display: none;
}

.security-story {
  height: 899px;
  color: #fff;
  background: #0e6f6b url("/public/index/images/home-security-background.jpg") center/cover no-repeat;
}

.security-story .section-inner {
  align-items: flex-start;
}

.security-story .section-copy {
  margin: 490px 0 0 auto;
}

.security-story .story-visual {
  right: auto;
  left: 12%;
  bottom: 155px;
  width: min(30vw, 500px);
}

.news-section {
  padding: 88px 24px 96px;
  background: linear-gradient(180deg, #f4fbf9, #fff);
  border-top: 1px solid rgba(41, 177, 144, 0.13);
}

.news-panel {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 56px 64px 48px;
  background: #fff;
  border: 1px solid rgba(41, 177, 144, 0.15);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.news-title,
.section-heading {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.news-title::after,
.section-heading::after {
  display: block;
  width: 60px;
  height: 4px;
  margin: 16px auto 0;
  content: "";
  background: linear-gradient(90deg, var(--accent), var(--aqua));
  border-radius: 99px;
}

.news-desc,
.section-intro {
  max-width: 820px;
  margin: 22px auto 40px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
  text-align: center;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.news-item {
  display: flex;
  min-height: 68px;
  padding: 10px 8px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e7efee;
}

.news-link {
  min-width: 0;
  overflow: hidden;
  color: #334d50;
  font-size: 18px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-link::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 14px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.news-link:hover {
  color: var(--accent-dark);
}

.news-time {
  flex: 0 0 auto;
  color: #95a6a7;
  font-size: 15px;
}

.news-more {
  margin-top: 38px;
  text-align: center;
}

.outline-button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 26px;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  border: 1px solid #42b99b;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.outline-button:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--aqua));
}

.page-hero {
  display: flex;
  min-height: 580px;
  padding: 210px 24px 70px;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background-color: #2aa98f;
  background-position: center;
  background-size: cover;
}

.page-hero h1 {
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.2;
}

.page-hero p {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: 21px;
  line-height: 1.8;
}

.download-hero {
  background-image: linear-gradient(rgba(0, 68, 70, 0.52), rgba(0, 68, 70, 0.62)), url("/public/index/images/download-header-background.jpg");
}

.faq-hero {
  background-image: linear-gradient(rgba(16, 69, 76, 0.16), rgba(16, 69, 76, 0.16)), url("/public/index/images/faq-header-background.jpg");
}

.updates-hero {
  background-image: linear-gradient(rgba(13, 73, 70, 0.2), rgba(13, 73, 70, 0.2)), url("/public/index/images/updates-header-background.jpg");
}

.gradient-hero {
  min-height: 420px;
  background-image: linear-gradient(135deg, #28b98d 0%, #45aeba 58%, #559ec2 100%);
}

.download-main {
  padding: 82px 24px 96px;
  background: #eaf7f6 url("/public/index/images/download-panel-background.jpg") center top/cover no-repeat;
}

.platform-grid {
  display: grid;
  width: min(100%, 1100px);
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.download-card {
  min-height: 250px;
  padding: 38px;
  color: #fff;
  background: rgba(10, 35, 39, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(7, 38, 41, 0.16);
}

.download-card .platform-label {
  color: #86e9dc;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-card h2 {
  margin: 14px 0 12px;
  font-size: 30px;
  font-weight: 500;
}

.download-card p {
  min-height: 54px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.download-card a {
  display: inline-flex;
  min-height: 46px;
  padding: 0 22px;
  align-items: center;
  color: #122d30;
  font-weight: 600;
  background: #fff;
  border-radius: 7px;
}

.download-card a:hover {
  color: #fff;
  background: var(--accent);
}

.feature-showcase {
  position: relative;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.feature-showcase .section-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - 48px), 1200px);
  min-height: inherit;
  margin: auto;
  height: 100%;
  align-items: flex-start;
}

.feature-showcase:nth-child(even) .section-copy {
  margin-left: auto;
}

.feature-private {
  height: 1188px;
  background-image: url("/public/index/images/feature-private-background.jpg");
}

.feature-private .section-copy {
  margin-top: 150px;
}

.feature-desktop {
  height: 1370px;
  color: #5f6466;
  background-image: url("/public/index/images/feature-desktop-background.jpg");
  background-size: auto;
}

.feature-desktop .section-copy {
  margin-top: 250px;
}

.feature-call {
  height: 1325px;
  color: #5f6466;
  background-image: url("/public/index/images/feature-call-background.jpg");
  background-position: center top;
  background-size: auto;
}

.feature-call .section-copy {
  margin-top: 210px;
}

.feature-finish {
  height: 1350px;
  color: #4e5558;
  background-image: url("/public/index/images/feature-finish-background.jpg");
  background-size: auto;
}

.feature-finish .section-copy {
  margin-top: 240px;
}

.inline-actions {
  display: flex;
  margin-top: 26px;
  flex-wrap: wrap;
  gap: 12px;
}

.inline-actions a {
  padding: 13px 22px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
}

.faq-main,
.plain-main,
.privacy-main,
.blog-main {
  padding: 76px 24px 96px;
  background: var(--mist);
}

.faq-list {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.faq-item + .faq-item {
  margin-top: 18px;
}

.faq-question {
  display: grid;
  width: 100%;
  min-height: 62px;
  padding: 0 22px;
  color: #fff;
  text-align: left;
  background: linear-gradient(90deg, rgba(36, 175, 136, 0.95), rgba(71, 174, 183, 0.92)), url("/public/index/images/faq-row-background.png") center/cover no-repeat;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
}

.faq-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #218d75;
  background: #fff;
  border-radius: 50%;
  font-weight: 700;
}

.faq-question::after {
  content: "+";
  font-size: 26px;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  padding: 28px 36px 34px 78px;
  color: #4f6265;
  line-height: 1.85;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 9px 9px;
}

.faq-answer p {
  margin: 0 0 14px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a,
.privacy-document a,
.article-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-tabs {
  display: flex;
  margin-top: 74px;
  justify-content: center;
  gap: min(16vw, 320px);
}

.section-tabs a {
  padding: 0 4px 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(28px, 3vw, 52px);
  font-weight: 700;
}

.section-tabs a[aria-current="page"] {
  color: #fff;
  border-bottom: 8px solid #fff;
}

.content-card {
  width: min(100%, 1120px);
  min-height: 420px;
  margin: 0 auto;
  padding: 50px 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.content-card h2 {
  margin: 0 0 24px;
  font-size: 30px;
  font-weight: 600;
}

.empty-state {
  margin-top: 70px;
  padding: 50px 24px;
  color: #7c8e91;
  text-align: center;
  background: #f6faf9;
  border: 1px dashed #c8ded9;
  border-radius: 10px;
}

.privacy-document,
.blog-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(37, 151, 134, 0.14);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.privacy-document {
  padding: 60px 72px;
}

.privacy-meta {
  display: grid;
  margin-bottom: 42px;
  padding: 22px 28px;
  color: #4f6669;
  background: #edf8f5;
  border-radius: 9px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.privacy-meta p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.privacy-lead {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.privacy-lead p,
.privacy-content p,
.privacy-content li {
  font-size: 17px;
  line-height: 2;
}

.privacy-lead p,
.privacy-content p {
  margin: 14px 0;
  text-align: justify;
}

.privacy-toc {
  margin: 38px 0;
  padding: 28px 34px;
  background: #f5fbf9;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
}

.privacy-toc h2 {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 25px;
}

.privacy-toc ol {
  display: grid;
  margin: 0;
  padding-left: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 30px;
}

.privacy-content section {
  padding: 26px 0 10px;
  scroll-margin-top: 30px;
}

.privacy-content h2 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-size: 29px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.privacy-content h3 {
  margin: 25px 0 8px;
  color: #288a78;
  font-size: 21px;
}

.privacy-table-wrap {
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.privacy-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.privacy-table th,
.privacy-table td {
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e7efed;
}

.privacy-table th {
  color: #277c6c;
  background: #edf8f5;
}

.related-links {
  margin-top: 42px;
  padding: 28px 34px;
  background: linear-gradient(135deg, #ecf9f5, #eff8fb);
  border-radius: 9px;
}

.related-links h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.related-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  padding: 9px 16px;
  background: #fff;
  border: 1px solid #d8eae6;
  border-radius: 6px;
}

.blog-shell {
  display: grid;
  overflow: hidden;
  grid-template-columns: 215px minmax(0, 1fr);
}

.blog-sidebar {
  padding: 42px 22px;
  background: linear-gradient(180deg, #eff9f6, #f7fbfa);
  border-right: 1px solid #e3efed;
}

.blog-sidebar a {
  display: flex;
  min-height: 52px;
  padding: 0 18px;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, #2ebc93, #49aeba);
  border-radius: 7px;
}

.blog-content {
  min-width: 0;
  padding: 46px 50px 56px;
}

.blog-content > h2,
.article-title {
  margin: 0 0 26px;
  padding-bottom: 17px;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.45;
  border-bottom: 1px solid var(--line);
}

.blog-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-entry {
  display: flex;
  min-height: 172px;
  padding: 24px 0;
  gap: 28px;
  border-bottom: 1px solid #e6efed;
}

.blog-thumb {
  flex: 0 0 220px;
  height: 140px;
  overflow: hidden;
  background: #eaf5f2;
  border-radius: 8px;
}

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

.blog-summary {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.blog-summary h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
}

.blog-summary p,
.article-content {
  margin: 0;
  color: #6c8082;
  font-size: 16px;
  line-height: 1.9;
}

.blog-date,
.post-time {
  color: #95a5a6;
  font-size: 14px;
}

.blog-date {
  margin-top: auto;
  text-align: right;
}

.template-preview {
  padding: 68px 24px;
  color: #829596;
  text-align: center;
  background: #f6fbfa;
  border: 1px dashed #cce3de;
  border-radius: 8px;
}

.article-content {
  color: #40585b;
  font-size: 17px;
}

.article-content img {
  height: auto;
}

.article-navigation {
  margin-top: 36px;
  padding: 18px 22px;
  color: #607779;
  background: #f4faf8;
  border-radius: 7px;
}

.article-navigation p {
  margin: 5px 0;
}

.back-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--accent-dark);
}

.pagination {
  margin-top: 30px;
  text-align: center;
}

.mobile-download-page {
  min-height: 100vh;
  padding: 38px 20px 60px;
  color: #204348;
  text-align: center;
  background: linear-gradient(155deg, #edfcfb, #dff6f7);
}

.mobile-mini-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.mobile-mini-nav a {
  color: var(--accent-dark);
}

.mobile-download-card {
  width: min(100%, 620px);
  margin: 50px auto 0;
  padding: 42px 30px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.mobile-download-card img {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 18px;
}

.mobile-download-card h1 {
  margin: 0;
  font-size: 36px;
}

.mobile-download-card p {
  color: var(--muted);
  line-height: 1.8;
}

.mobile-download-button {
  display: inline-flex;
  min-height: 50px;
  margin-top: 16px;
  padding: 0 28px;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--aqua));
  border-radius: 999px;
}

.mobile-download-card .device-preview {
  width: min(100%, 340px);
  height: auto;
  margin: 36px auto 0;
  border-radius: 14px;
}

.mobile-install-guide {
  width: min(100%, 960px);
  margin: 38px auto 0;
  padding: 36px;
  text-align: left;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(27, 156, 150, 0.16);
  border-radius: 18px;
}

.mobile-install-guide h2 {
  margin: 0;
  font-size: 30px;
  text-align: center;
}

.mobile-guide-intro {
  max-width: 760px;
  margin: 14px auto 28px;
  color: var(--muted);
  line-height: 1.85;
  text-align: center;
}

.mobile-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mobile-guide-grid article {
  padding: 22px;
  background: #fff;
  border-radius: 12px;
}

.mobile-guide-grid h3 {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 19px;
}

.mobile-guide-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.mobile-guide-grid a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  min-height: 370px;
  padding: 52px 24px;
  color: #fff;
  background: #050505;
}

.footer-inner {
  display: grid;
  width: min(100%, 960px);
  margin: 0 auto;
  grid-template-columns: 1fr 2.5fr 1fr;
  gap: 48px;
}

.footer-column + .footer-column {
  padding-left: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.55);
}

.footer-column h2 {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  font-weight: 400;
}

.footer-nav,
.footer-downloads,
.footer-related {
  display: grid;
  gap: 13px;
}

.footer-nav a,
.footer-related a {
  color: rgba(255, 255, 255, 0.58);
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"],
.footer-related a:hover {
  color: #fff;
}

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

.footer-downloads a {
  display: flex;
  min-height: 50px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  color: #151515;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  border-radius: 7px;
}

.footer-note {
  width: min(100%, 960px);
  margin: 34px auto 0;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.return-top {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 24px;
  display: none;
  width: 46px;
  height: 46px;
  color: #fff;
  background: rgba(23, 145, 117, 0.92);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 9px 24px rgba(20, 89, 77, 0.25);
  cursor: pointer;
}

.return-top::before {
  content: "↑";
  font-size: 23px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 130px;
    padding: 18px 24px;
  }

  .brand-link {
    font-size: 25px;
  }

  .main-navigation {
    width: auto;
    margin-top: 7px;
    gap: 9px;
  }

  .main-navigation a {
    font-size: 15px;
  }

  .home-hero {
    height: 900px;
  }

  .home-hero .hero-copy {
    padding-top: 190px;
  }

  .story-section,
  .feature-showcase {
    height: 700px;
    min-height: 700px;
  }

  .section-copy {
    width: 56%;
  }

  .section-copy p,
  .section-copy li {
    font-size: 17px;
  }

  .privacy-document {
    padding: 44px 36px;
  }

  .privacy-meta,
  .privacy-toc ol {
    grid-template-columns: 1fr;
  }

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

  .footer-column:last-child {
    grid-column: 1 / -1;
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .content-width,
  .home-hero .hero-copy,
  .story-section .section-inner,
  .feature-showcase .section-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .site-header {
    min-height: 158px;
    padding: 14px 16px;
  }

  .brand-link {
    font-size: 20px;
  }

  .brand-link img {
    width: 34px;
    height: 34px;
  }

  .main-navigation {
    gap: 7px;
  }

  .main-navigation a {
    font-size: 13px;
  }

  .home-hero {
    height: 760px;
    background-position: 58% center;
  }

  .home-hero .hero-copy {
    padding-top: 168px;
  }

  .home-hero h1 {
    font-size: 34px;
  }

  .home-hero .hero-lead {
    max-width: 340px;
    margin-top: 14px;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.7;
  }

  .download-actions {
    width: min(340px, 100%);
    grid-template-areas:
      "android ios"
      "windows mac";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 56px 112px;
    gap: 10px;
  }

  .download-actions .platform-button:nth-child(3),
  .download-actions .platform-button:nth-child(4) {
    flex-direction: row;
  }

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

  .mobile-install-guide {
    padding: 28px 18px;
  }

  .mobile-install-guide h2 {
    font-size: 26px;
  }

  .mobile-guide-grid {
    grid-template-columns: 1fr;
  }

  .story-section,
  .feature-showcase {
    height: 620px;
    min-height: 620px;
  }

  .story-section::after,
  .feature-showcase::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(255, 255, 255, 0.26);
  }

  .desktop-story::after,
  .security-story::after,
  .feature-showcase::after {
    background: rgba(0, 52, 55, 0.25);
  }

  .feature-showcase::after {
    background: rgba(0, 52, 55, 0.46);
  }

  .feature-showcase {
    color: #fff;
  }

  .story-section .section-inner,
  .feature-showcase .section-inner {
    z-index: 2;
  }

  .private-story .section-inner,
  .desktop-story .section-inner,
  .call-story .section-inner,
  .security-story .section-inner {
    align-items: flex-start;
  }

  .section-copy,
  .desktop-story .section-copy,
  .call-story .section-copy,
  .security-story .section-copy,
  .feature-showcase:nth-child(even) .section-copy {
    width: 100%;
    margin: 0;
    text-align: left;
  }

  .story-visual {
    right: 10%;
    width: 72vw;
    opacity: 0.28;
  }

  .private-story .section-copy,
  .desktop-story .section-copy,
  .call-story .section-copy,
  .security-story .section-copy {
    margin: 64px 0 0;
  }

  .section-copy h2 {
    margin-bottom: 18px;
    font-size: 36px;
  }

  .section-copy h3 {
    font-size: 21px;
  }

  .section-copy p,
  .section-copy li {
    font-size: 16px;
    line-height: 1.8;
  }

  .feature-showcase h1,
  .feature-showcase .section-copy h2 {
    font-size: 34px !important;
    line-height: 1.25;
  }

  .feature-showcase .section-inner .section-copy {
    margin: 64px 0 0;
  }

  .desktop-story .story-visual {
    right: auto;
    bottom: 0;
    left: 50%;
    width: 760px;
    transform: translateX(-50%);
  }

  .call-story {
    background-position: 68% center;
    background-size: auto 100%;
  }

  .call-story::after {
    background: rgba(255, 255, 255, 0.78);
  }

  .call-story .section-copy h3,
  .call-story .section-copy p {
    width: 100%;
  }

  .hero-product-visual {
    top: 510px;
    width: 720px;
    opacity: 1;
  }

  .security-story .story-visual {
    left: 15%;
    width: 62vw;
  }

  .news-section,
  .faq-main,
  .plain-main,
  .privacy-main,
  .blog-main,
  .download-main {
    padding: 50px 16px 64px;
  }

  .news-panel,
  .content-card,
  .privacy-document {
    padding: 36px 22px;
  }

  .news-title,
  .section-heading {
    font-size: 34px;
  }

  .news-desc,
  .section-intro,
  .news-link {
    font-size: 16px;
  }

  .page-hero {
    min-height: 490px;
    padding-top: 180px;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .page-hero p {
    font-size: 17px;
  }

  .download-hero {
    background-image: linear-gradient(120deg, #28b89e, #3994b6);
  }

  .section-tabs {
    margin-top: 52px;
    gap: 45px;
  }

  .section-tabs a {
    font-size: 25px;
  }

  .download-card {
    min-height: 0;
    padding: 28px;
  }

  .faq-answer {
    padding: 24px;
  }

  .privacy-lead p,
  .privacy-content p,
  .privacy-content li {
    font-size: 16px;
    line-height: 1.9;
  }

  .blog-shell {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .blog-content {
    padding: 34px 22px 44px;
  }

  .blog-entry {
    flex-direction: column;
  }

  .blog-thumb {
    width: 100%;
    height: 220px;
    flex-basis: auto;
  }

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

  .footer-column + .footer-column,
  .footer-column:last-child {
    grid-column: auto;
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 0;
  }
}

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

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


/* MCHAT_DOWNLOAD_VERIFICATION */
.download-verification {
  padding: 0 24px 96px;
  background: #eaf7f6;
}

.verification-inner {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border: 1px solid rgba(24, 109, 108, 0.16);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(7, 38, 41, 0.08);
}

.verification-inner h2 {
  margin: 0 0 12px;
  color: #173f42;
  font-size: 30px;
  font-weight: 600;
}

.verification-intro,
.verification-note {
  margin: 0;
  color: #536d70;
  line-height: 1.8;
}

.verification-list {
  display: grid;
  margin: 28px 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.verification-list li {
  min-width: 0;
  padding: 22px;
  background: #f2f9f8;
  border-radius: 10px;
}

.verification-list h3 {
  margin: 0 0 8px;
  color: #173f42;
  font-size: 18px;
}

.verification-list p {
  margin: 0 0 12px;
  color: #668083;
  font-size: 14px;
}

.verification-list code {
  display: block;
  color: #155f63;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-all;
}

@media (max-width: 760px) {
  .download-verification {
    padding: 0 16px 64px;
  }

  .verification-inner {
    padding: 28px 22px;
  }

  .verification-inner h2 {
    font-size: 26px;
  }

  .verification-list {
    grid-template-columns: 1fr;
  }
}
