/* 圆谱官网 · 静态样式
   设计令牌与 App 保持同源：暖朱红、绛红、古金与宣纸底色 */

:root {
  --red: #981810;
  --red-deep: #761611;
  --red-ink: #5d120f;
  --gold: #c8a45c;
  --gold-light: #f0deba;
  --gold-soft: #e9c580;
  --paper: #f7f4ee;
  --paper-warm: #fbf7ef;
  --card: #ffffff;
  --ink: #3f3029;
  --muted: #75645a;
  --line: #e5dcd2;
  --wash: #f4ece8;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 2px 10px rgba(63, 48, 41, 0.06);
  --shadow-md: 0 18px 48px rgba(63, 48, 41, 0.12);
  --shadow-lg: 0 32px 80px rgba(63, 48, 41, 0.18);
  --radius-lg: 20px;
  --radius-md: 14px;
  --maxw: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  transition: top 0.2s ease;
}

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.serif {
  font-family: var(--font-serif);
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

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

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(152, 24, 16, 0.22);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  line-height: 1.2;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--red);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(233, 197, 128, 0.22) 0%, rgba(152, 24, 16, 0) 55%),
    linear-gradient(160deg, #8d1712 0%, var(--red) 42%, var(--red-deep) 100%);
  color: #fdf8ee;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(240, 222, 186, 0.05) 0 1px, transparent 1px 22px),
    radial-gradient(circle at 12% 88%, rgba(240, 222, 186, 0.12), transparent 42%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(90, 14, 11, 0.35) 100%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 48px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold-light);
  border: 1px solid rgba(240, 222, 186, 0.36);
  border-radius: 999px;
  padding: 6px 16px;
  margin: 0 0 26px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-soft);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 22px;
  color: #fffaf0;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-soft);
}

.hero-lead {
  font-size: 17px;
  line-height: 1.95;
  color: rgba(253, 248, 238, 0.82);
  max-width: 30em;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold-soft);
  color: var(--red-ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  background: #f2d39a;
}

.btn-ghost {
  border-color: rgba(240, 222, 186, 0.5);
  color: #fdf8ee;
}

.btn-ghost:hover {
  background: rgba(240, 222, 186, 0.12);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(253, 248, 238, 0.7);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg {
  width: 16px;
  height: 16px;
  color: var(--gold-soft);
}

/* 手机叠放 */
.hero-phones {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  position: absolute;
  width: 244px;
  border-radius: 34px;
  background: #1a1512;
  padding: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.phone img {
  width: 100%;
  border-radius: 27px;
}

.phone--back {
  transform: translate(-118px, -34px) rotate(-9deg) scale(0.9);
  opacity: 0.92;
  z-index: 1;
}

.phone--front {
  transform: translate(112px, 40px) rotate(8deg) scale(0.9);
  opacity: 0.92;
  z-index: 1;
}

.phone--main {
  z-index: 2;
  width: 262px;
  transform: translateY(-6px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

/* ---------- 通用区块 ---------- */

.section {
  padding: 96px 0;
}

section[id] {
  scroll-margin-top: 84px;
}

.section--tight {
  padding: 72px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--red);
  margin: 0 0 14px;
  font-weight: 600;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.35;
  letter-spacing: 2px;
  margin: 0 0 16px;
  color: var(--red-deep);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.section--paper {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* 价值三条 */
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.value {
  padding: 34px 32px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.value::before {
  content: attr(data-index);
  position: absolute;
  right: 26px;
  top: 20px;
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1;
  color: var(--wash);
}

.value h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: 1px;
  margin: 0 0 12px;
  color: var(--red-deep);
}

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

/* 功能卡片 */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 164, 92, 0.55);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--wash);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 1px;
  margin: 0 0 10px;
  color: var(--red-deep);
}

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

/* 截图 */
.screens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 26px;
}

.screen-card {
  margin: 0;
  text-align: center;
}

.screen-frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 6px;
  border: 0;
  border-radius: 26px;
  background: #1a1512;
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.screen-frame:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.screen-frame img {
  border-radius: 21px;
  width: 100%;
}

.screen-card figcaption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.screen-card figcaption strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

/* 使用流程 */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}

.flow-step {
  position: relative;
  padding: 30px 26px;
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.flow-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 16px;
  margin-bottom: 18px;
}

.flow-step h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: 1px;
  color: var(--red-deep);
}

.flow-step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* 关于 / 信息表 */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.95;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy strong {
  color: var(--ink);
}

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 10px 30px;
  box-shadow: var(--shadow-sm);
}

.info-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row dt {
  color: var(--muted);
  letter-spacing: 1px;
}

.info-row dd {
  margin: 0;
  color: var(--ink);
  word-break: break-word;
}

/* 下载 */
.download {
  background: linear-gradient(155deg, var(--red-deep) 0%, var(--red) 58%, #a3241c 100%);
  color: #fdf8ee;
  border-radius: 0;
}

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

.download h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 38px);
  letter-spacing: 2px;
  margin: 0 0 16px;
  color: #fffaf0;
}

.download p {
  margin: 0;
  color: rgba(253, 248, 238, 0.8);
  font-size: 15.5px;
  line-height: 1.9;
  max-width: 34em;
}

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

.store {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(240, 222, 186, 0.35);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.store svg {
  width: 30px;
  height: 30px;
  color: var(--gold-soft);
  flex: none;
}

.store div {
  min-width: 0;
}

.store strong {
  display: block;
  font-size: 16px;
  letter-spacing: 1px;
}

.store span {
  display: block;
  font-size: 13px;
  color: rgba(253, 248, 238, 0.68);
}

.store-tag {
  margin-left: auto;
  flex: none;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(240, 222, 186, 0.5);
  color: var(--gold-light);
}

/* 联系 */
.contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 1px;
  margin: 0 0 10px;
  color: var(--red-deep);
}

.contact-card h3 svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.contact-card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  overflow-wrap: break-word;
}

.contact-card p a {
  word-break: break-all;
}

.contact-card small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  word-break: normal;
}

/* ---------- 页脚 ---------- */

.site-footer {
  background: #2f221d;
  color: rgba(247, 244, 238, 0.72);
  padding: 64px 0 34px;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247, 244, 238, 0.12);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 3px;
  color: #fbf5e9;
}

.footer-brand p {
  margin: 6px 0 0;
  line-height: 1.8;
  font-size: 13.5px;
}

.footer-col h4 {
  margin: 4px 0 14px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #fbf5e9;
  font-weight: 600;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 10px;
  color: rgba(247, 244, 238, 0.68);
  text-decoration: none;
  line-height: 1.7;
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(247, 244, 238, 0.55);
}

.footer-bottom a {
  color: rgba(247, 244, 238, 0.66);
}

/* ---------- 灯箱 ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(28, 18, 14, 0.9);
  padding: 28px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 88vh;
  width: auto;
  max-width: min(420px, 90vw);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(247, 244, 238, 0.4);
  background: transparent;
  color: #f7f4ee;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.lightbox-open {
  overflow: hidden;
}

/* ---------- 法务页 ---------- */

.legal-hero {
  background: linear-gradient(150deg, var(--red-deep), var(--red));
  color: #fdf8ee;
  padding: 66px 0 56px;
}

.legal-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: 3px;
  margin: 0 0 12px;
}

.legal-hero p {
  margin: 0;
  color: rgba(253, 248, 238, 0.78);
  font-size: 14px;
  letter-spacing: 1px;
}

.legal-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}

.legal-body .legal-note {
  border-left: 3px solid var(--gold);
  background: var(--paper-warm);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 36px;
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--red-deep);
  margin: 42px 0 14px;
  scroll-margin-top: 92px;
}

.legal-body h3 {
  font-size: 16.5px;
  margin: 26px 0 8px;
  color: var(--ink);
}

.legal-body p,
.legal-body li {
  color: #4a3a32;
  font-size: 15px;
  line-height: 1.95;
}

.legal-body ul {
  padding-left: 1.3em;
  margin: 10px 0 16px;
}

.legal-body li {
  margin-bottom: 6px;
}

.legal-body strong {
  color: var(--ink);
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 14px;
}

.legal-body th,
.legal-body td {
  border: 1px solid var(--line);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}

.legal-body th {
  background: var(--wash);
  color: var(--red-deep);
  font-weight: 600;
  white-space: nowrap;
}

.legal-body .legal-contact {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
}

.legal-body .legal-contact p {
  margin: 4px 0;
  font-size: 14.5px;
}

.legal-footer-note {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- 首屏入场动效 ---------- */

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-copy > * {
  animation: rise-in 0.8s both ease-out;
}

.hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}

.hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}

.hero-copy > :nth-child(4) {
  animation-delay: 0.24s;
}

.hero-copy > :nth-child(5) {
  animation-delay: 0.32s;
}

.hero-phones {
  animation: rise-in 1s 0.12s both ease-out;
}

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

  .hero-copy > *,
  .hero-phones {
    animation: none;
  }

  .btn,
  .feature,
  .screen-frame {
    transition: none;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 32px;
  }

  .hero-phones {
    height: 540px;
  }

  .phone {
    width: 214px;
  }

  .phone--main {
    width: 232px;
  }

  .phone--back {
    transform: translate(-96px, -30px) rotate(-9deg) scale(0.9);
  }

  .phone--front {
    transform: translate(92px, 34px) rotate(8deg) scale(0.9);
  }

  .features,
  .values {
    gap: 22px;
  }

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

@media (max-width: 880px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 14px 24px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }

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

  .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 62px;
    padding-bottom: 68px;
    text-align: left;
  }

  .hero-phones {
    height: 540px;
    margin-top: 10px;
  }

  .values,
  .features,
  .flow,
  .contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about,
  .download .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .section {
    padding: 68px 0;
  }

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

@media (max-width: 620px) {
  .brand-sub {
    display: none;
  }

  .hero-phones {
    height: 460px;
  }

  .phone {
    width: 186px;
    border-radius: 28px;
    padding: 6px;
  }

  .phone img {
    border-radius: 23px;
  }

  .phone--main {
    width: 200px;
  }

  .phone--back {
    transform: translate(-82px, -26px) rotate(-9deg) scale(0.9);
  }

  .phone--front {
    transform: translate(80px, 28px) rotate(8deg) scale(0.9);
  }

  .values,
  .features,
  .flow,
  .contacts,
  .screens {
    grid-template-columns: minmax(0, 1fr);
  }

  .screens {
    gap: 26px;
  }

  .screen-frame {
    max-width: 320px;
    margin: 0 auto;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .info-row {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
  }

  .legal-body {
    padding: 40px 20px 72px;
  }

  .legal-body table {
    font-size: 13px;
  }

  .legal-body th,
  .legal-body td {
    padding: 9px 10px;
  }
}
