/* ==========================================================================
   Folia 音乐播放器官网 — clean official download site
   White surfaces, deep blue accent, restrained spacing.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-blue: #eef4ff;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #172232;
  --muted: #5c6b7f;
  --dim: #8491a3;
  --blue: #155eef;
  --blue-dark: #0d49c4;
  --blue-soft: #eaf1ff;
  --blue-line: #cfe0ff;
  --green: #127c56;
  --red: #c63c52;
  --line: #e3e8f0;
  --line-strong: #cfd8e5;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --container: 1160px;
  --header-h: 72px;
  --shadow-sm: 0 1px 2px rgba(16, 35, 68, 0.04);
  --shadow-md: 0 14px 36px rgba(16, 35, 68, 0.09);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue",
    Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  scrollbar-width: auto;
  scrollbar-color: var(--blue) #e8f3f0;
}

html::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

html::-webkit-scrollbar-track {
  background: #e8f3f0;
}

html::-webkit-scrollbar-thumb {
  border: 3px solid #e8f3f0;
  border-radius: 999px;
  background: var(--blue);
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--blue-dark);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--blue);
  color: #fff;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

table {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 9px 14px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: calc(100% - 40px);
  max-width: var(--container);
  margin-inline: auto;
}

.container--narrow {
  width: calc(100% - 40px);
  max-width: 880px;
  margin-inline: auto;
}

.section {
  padding: 68px 0;
}

.section--tight {
  padding: 44px 0;
}

.section--soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.section--line {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.section-head p {
  max-width: 650px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  width: 3px;
  height: 14px;
  flex: none;
  border-radius: 2px;
  background: var(--blue);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-dark);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--sm {
  min-height: 36px;
  padding: 0 15px;
  font-size: 12px;
}

.btn--lg {
  min-height: 50px;
  padding: 0 25px;
  font-size: 15px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.inline-link {
  color: var(--blue);
  border-bottom: 1px solid rgba(21, 94, 239, 0.28);
}

.inline-link:hover {
  border-color: var(--blue);
}

.text-dim {
  color: var(--dim);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(16, 35, 68, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 40px);
  max-width: var(--container);
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand__sub {
  margin-top: 3px;
  color: var(--dim);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"]:not(.btn) {
  background: var(--blue-soft);
  color: var(--blue);
}

.site-nav .btn {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span {
  margin: 5px 0;
}

.site-header.is-open .nav-toggle span {
  opacity: 0;
}

.site-header.is-open .nav-toggle::before {
  transform: translateY(6.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle::after {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Hero */
.hero-official {
  padding: calc(var(--header-h) + 54px) 0 54px;
  border-bottom: 1px solid var(--line);
  background: #f6f9ff;
}

.hero-official__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: center;
}

.hero-official__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--blue);
}

.hero-official__title {
  margin-top: 18px;
  font-size: clamp(2.5rem, 4.6vw, 3.65rem);
  letter-spacing: -0.04em;
}

.hero-official__subtitle {
  margin-top: 12px;
  color: var(--blue);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-official__lead {
  max-width: 525px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.hero-official__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-official__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  color: var(--dim);
  font-size: 11px;
}

.hero-official__meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-official__meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.6;
}

.hero-official__visual {
  min-width: 0;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 44px rgba(21, 94, 239, 0.11);
}

.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.browser-frame__dots {
  display: flex;
  gap: 5px;
}

.browser-frame__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6deea;
}

.browser-frame__dots i:first-child {
  background: #e9a48e;
}

.browser-frame__dots i:nth-child(2) {
  background: #e8c46e;
}

.browser-frame__dots i:nth-child(3) {
  background: #8fc58e;
}

.browser-frame__title {
  color: var(--dim);
  font-size: 10px;
}

.browser-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-official__caption {
  margin-top: 10px;
  color: var(--dim);
  font-size: 11px;
  text-align: right;
}

/* Trust strip */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-strip__inner span {
  position: relative;
  padding: 15px 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.trust-strip__inner span:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-strip__inner span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--blue);
  font-weight: 700;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: var(--blue-line);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}

.feature-card__icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  font-size: 16px;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.split__copy h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
}

.split__copy > p {
  max-width: 500px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.split__copy .btn-row {
  margin-top: 22px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.check-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.check-list svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--blue);
}

.check-list strong {
  color: var(--text);
  font-weight: 600;
}

.split__media {
  min-width: 0;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.media-frame__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.media-frame__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6deea;
}

.media-frame__bar i:first-child {
  background: #e9a48e;
}

.media-frame__bar i:nth-child(2) {
  background: #e8c46e;
}

.media-frame__bar i:nth-child(3) {
  background: #8fc58e;
}

.media-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.media-frame__caption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

/* Download */
.download-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.download-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.download-head p {
  max-width: 600px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.download-head__version {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: none;
  padding-bottom: 3px;
}

.download-head__version strong {
  color: var(--blue);
  font-size: 16px;
}

.download-head__version span {
  color: var(--dim);
  font-size: 11px;
}

.download-table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.download-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.download-table th {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  white-space: nowrap;
}

.download-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  vertical-align: middle;
}

.download-table tbody tr:first-child td {
  border-top: 0;
}

.download-table tbody tr:hover {
  background: #fbfcff;
}

.platform-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--blue);
}

.platform-icon svg {
  width: 16px;
  height: 16px;
}

.download-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius-sm);
  background: #f8fbff;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.download-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--blue);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step__num {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.step h3 {
  font-size: 16px;
}

.step p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* FAQ */
.faq-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 0;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-item__icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon {
  border-color: var(--blue);
  color: var(--blue);
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-item__answer {
  max-width: 760px;
  padding: 0 52px 18px 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.faq-item__answer p + p {
  margin-top: 8px;
}

/* About */
.about-folia {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.about-folia h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.1rem);
}

.about-folia > div > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.about-folia__copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.about-folia__copy p + p {
  margin-top: 14px;
}

/* CTA */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: var(--bg-blue);
}

.cta-band h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.65rem);
}

.cta-band p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  flex: none;
  gap: 9px;
}

/* Subpage hero */
.page-hero {
  padding: calc(var(--header-h) + 48px) 0 44px;
  border-bottom: 1px solid var(--line);
  background: #f6f9ff;
}

.page-hero__inner {
  position: relative;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  color: var(--dim);
  font-size: 11px;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb span[aria-current] {
  color: var(--muted);
}

.breadcrumb .sep {
  color: var(--line-strong);
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.page-hero__lead {
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--muted);
  font-size: 10px;
}

.page-hero__meta svg {
  width: 11px;
  height: 11px;
  color: var(--blue);
}

/* Download cards */
.os-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.os-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.os-card.is-detected {
  border-color: var(--blue);
  background: #f8fbff;
}

.os-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.os-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}

.os-card__icon svg {
  width: 19px;
  height: 19px;
}

.os-card__badge {
  padding: 3px 7px;
  border: 1px solid var(--blue-line);
  border-radius: 4px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
}

.os-card h2 {
  margin-top: 18px;
  font-size: 17px;
}

.os-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.os-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.os-card__meta {
  color: var(--dim);
  font-size: 10px;
}

.os-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.os-card__link svg {
  width: 13px;
  height: 13px;
}

.requirements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
  border-top: 1px solid var(--line);
}

.requirements div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.requirements dt {
  color: var(--dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.requirements dd {
  margin: 3px 0 0;
  color: var(--text);
  font-size: 13px;
}

.install-steps {
  display: grid;
  gap: 0;
  counter-reset: install;
}

.install-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  counter-increment: install;
}

.install-step::before {
  content: "0" counter(install);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.install-step h3 {
  font-size: 15px;
}

.install-step p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* Article */
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: 56px;
  align-items: start;
}

.article {
  max-width: 780px;
}

.article > * + * {
  margin-top: 14px;
}

.article h2 {
  margin-top: 36px;
  font-size: clamp(1.4rem, 2.2vw, 1.65rem);
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  margin-top: 24px;
  font-size: 16px;
}

.article p,
.article li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.article strong {
  color: var(--text);
  font-weight: 600;
}

.article a:not(.btn) {
  color: var(--blue);
  border-bottom: 1px solid rgba(21, 94, 239, 0.25);
}

.article ul,
.article ol {
  display: grid;
  gap: 7px;
  padding-left: 4px;
}

.article ul li {
  position: relative;
  padding-left: 17px;
}

.article ul li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.article ol {
  counter-reset: list;
}

.article ol li {
  position: relative;
  padding-left: 24px;
  counter-increment: list;
}

.article ol li::before {
  content: counter(list) ".";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.article blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background: var(--bg-blue);
  color: var(--text);
  font-size: 15px;
  line-height: 1.85;
}

.article table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 13px;
}

.article th,
.article td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article th {
  background: var(--surface-2);
  color: var(--dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.article td {
  color: var(--muted);
}

.article td strong {
  color: var(--text);
}

.article code,
.legal code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--blue-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.article__note {
  padding: 14px 16px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius-sm);
  background: #f8fbff;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.article__note strong {
  color: var(--blue);
}

.article .btn-row {
  margin-top: 24px;
}

.article h2,
.article h3,
.legal h2 {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.article-aside__title {
  color: var(--dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-aside nav {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.article-aside a {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.article-aside a:hover {
  color: var(--blue);
}

.article-aside .btn {
  width: 100%;
  margin-top: 16px;
}

.article-aside .btn--primary,
.article-aside .btn--primary:hover {
  color: #fff;
}

/* Feature rows */
.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row__num {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.feature-row h3 {
  font-size: 16px;
}

.feature-row p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.feature-row p + p {
  margin-top: 7px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.info-cards--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--blue);
}

.info-card__icon svg {
  width: 18px;
  height: 18px;
}

.info-card h3 {
  font-size: 15px;
}

.info-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* Legal */
.legal {
  max-width: 820px;
  margin-inline: auto;
  padding-bottom: 10px;
}

.legal h2 {
  margin-top: 34px;
  font-size: 20px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.legal ul {
  display: grid;
  gap: 6px;
  padding-left: 0;
}

.legal ul li {
  position: relative;
  padding-left: 17px;
}

.legal ul li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--dim);
}

.legal a {
  color: var(--blue);
  border-bottom: 1px solid rgba(21, 94, 239, 0.25);
}

.legal__meta {
  color: var(--dim);
  font-size: 11px;
}

/* Footer */
.site-footer {
  padding: 48px 0 22px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.7fr));
  gap: 36px;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.footer-brand__domain {
  display: inline-block;
  margin-top: 14px;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.footer-col__title {
  margin-bottom: 12px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.footer-col nav {
  display: grid;
  gap: 8px;
}

.footer-col a {
  width: fit-content;
  color: var(--muted);
  font-size: 12px;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 10px;
  line-height: 1.8;
}

.footer-bottom p {
  max-width: 760px;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom a:hover {
  color: var(--blue);
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 8px 24px rgba(16, 35, 68, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.back-to-top svg {
  width: 19px;
  height: 19px;
}

/* 404 */
.error-page {
  padding: calc(var(--header-h) + 64px) 0 72px;
  background: #f6f9ff;
}

.error-page__inner {
  max-width: 760px;
}

.error-code {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.error-page h1 {
  max-width: 640px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.error-page p {
  max-width: 500px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.error-page .btn-row {
  margin-top: 24px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.error-links a:hover {
  color: var(--blue);
}

/* Long-form safety: keep columns and article text inside the viewport. */
.hero-official__grid > *,
.split > *,
.article-shell > *,
.download-head > *,
.about-folia > *,
.footer-grid > *,
.feature-row > * {
  min-width: 0;
}

.article,
.article-shell,
.legal,
.page-hero__inner,
.about-folia,
.split {
  width: 100%;
}

.article p,
.article li,
.article td,
.legal p,
.legal li,
.legal td {
  overflow-wrap: anywhere;
}

.article table {
  -webkit-overflow-scrolling: touch;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-official__grid {
    gap: 34px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-cards--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    gap: 34px;
  }

  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 26px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 20px 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 28px rgba(16, 35, 68, 0.1);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a:not(.btn) {
    height: 44px;
    padding: 0 10px;
    font-size: 14px;
  }

  .site-nav .btn {
    width: 100%;
    margin: 8px 0 0;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
  }

  .hero-official {
    padding-top: calc(var(--header-h) + 38px);
    padding-bottom: 38px;
  }

  .hero-official__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-official__copy {
    max-width: 680px;
  }

  .hero-official__visual {
    max-width: 640px;
  }

  .trust-strip__inner {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip__inner span:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .trust-strip__inner span:nth-child(3),
  .trust-strip__inner span:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .split__copy {
    order: -1;
  }

  .download-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .download-head__version {
    align-items: flex-start;
  }

  .about-folia {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 62px;
  }

  .container,
  .container--narrow {
    width: calc(100% - 32px);
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .section {
    padding: 46px 0;
  }

  .section--tight {
    padding: 32px 0;
  }

  .hero-official {
    padding-top: calc(var(--header-h) + 30px);
    padding-bottom: 32px;
  }

  .hero-official__title {
    margin-top: 14px;
    font-size: clamp(2.1rem, 9.4vw, 2.65rem);
  }

  .hero-official__subtitle {
    margin-top: 9px;
    font-size: 15px;
  }

  .hero-official__lead {
    font-size: 14px;
  }

  .hero-official__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-official__actions .btn {
    width: 100%;
  }

  .hero-official__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
  }

  .browser-frame__bar {
    height: 30px;
  }

  .hero-official__caption {
    text-align: left;
  }

  .trust-strip__inner span {
    padding: 12px 10px;
    font-size: 11px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-card__icon {
    margin-bottom: 14px;
  }

  .download-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .download-table,
  .download-table tbody,
  .download-table tr,
  .download-table td {
    display: block;
    width: 100%;
  }

  .download-table thead {
    display: none;
  }

  .download-table tr {
    margin-bottom: 10px;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  .download-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 5px 0;
    border: 0;
    text-align: right;
  }

  .download-table td::before {
    content: attr(data-label);
    color: var(--dim);
    font-size: 11px;
    font-weight: 500;
    text-align: left;
  }

  .download-table td[data-label="平台"] {
    display: block;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .download-table td[data-label="平台"]::before,
  .download-table td[data-label="下载"]::before {
    display: none;
  }

  .download-table td[data-label="下载"] {
    display: block;
    padding: 12px 0 0;
  }

  .download-table td[data-label="下载"] .btn {
    width: 100%;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .step {
    padding: 18px 20px;
  }

  .faq-item summary {
    padding: 15px 16px;
    font-size: 13px;
  }

  .faq-item__answer {
    padding: 0 44px 15px 16px;
  }

  .faq-list {
    border-radius: var(--radius-sm);
  }

  .about-folia h2,
  .section-head h2 {
    font-size: 1.55rem;
  }

  .cta-band {
    padding: 22px 20px;
  }

  .cta-band__actions {
    width: 100%;
  }

  .cta-band__actions .btn {
    flex: 1;
  }

  .page-hero {
    padding: calc(var(--header-h) + 34px) 0 32px;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 7.8vw, 2.35rem);
  }

  .page-hero__lead {
    font-size: 13px;
  }

  .os-grid {
    grid-template-columns: 1fr;
  }

  .requirements {
    grid-template-columns: 1fr;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 42px 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .feature-row p {
    grid-column: 2;
  }

  .article h2 {
    margin-top: 30px;
  }

  .article table {
    display: table;
    width: 100%;
    table-layout: fixed;
    white-space: normal;
  }

  .article th,
  .article td {
    padding: 8px 6px;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
    vertical-align: top;
  }

  .article th:first-child,
  .article td:first-child {
    width: 24%;
  }

  .article th:nth-child(2),
  .article td:nth-child(2) {
    width: 24%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    margin-top: 28px;
  }


  .error-page {
    padding-top: calc(var(--header-h) + 42px);
  }

  .back-to-top {
    right: 16px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 460px) {
  .hero-official__meta {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom__links {
    margin-top: 10px;
  }

  .cta-band__actions {
    flex-direction: column;
  }

  .cta-band__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Folia — V5 “STAGE” light editorial theme
   CounterFlame-like launch page, re-coloured in teal + coral.
   ========================================================================== */

:root {
  --bg: #f7fbfa;
  --bg-soft: #f1f8f6;
  --bg-blue: #e7f6f2;
  --surface: #ffffff;
  --surface-2: #f6faf8;
  --text: #0e211f;
  --muted: #5d716e;
  --dim: #8ba09c;
  --blue: #0f766e;
  --blue-dark: #0a5b54;
  --blue-soft: #e5f5f1;
  --blue-line: #c6e7e0;
  --green: #467c2e;
  --red: #d95b45;
  --coral: #ff6b4a;
  --gold: #c38a2d;
  --line: #e0ece8;
  --line-strong: #cadcd7;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 18px;
  --shadow-sm: 0 10px 30px rgba(13, 56, 52, 0.06);
  --shadow-md: 0 22px 54px rgba(13, 56, 52, 0.12);
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

html {
  background: var(--bg);
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(720px 420px at 96% -6%, rgba(15, 118, 110, 0.06), transparent 66%),
    radial-gradient(620px 360px at 2% 16%, rgba(255, 107, 74, 0.045), transparent 68%);
  background-repeat: no-repeat;
  color: var(--text);
}

::selection {
  background: var(--blue);
  color: #fff;
}

/* Header */
.site-header {
  border-top: 3px solid var(--blue);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(13, 56, 52, 0.07);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(15, 118, 110, 0.52) 35%, rgba(195, 138, 45, 0.48) 68%, transparent 100%);
  pointer-events: none;
}

.brand__name {
  font-size: 18px;
  letter-spacing: 0.04em;
}

.brand__sub {
  color: var(--dim);
}

.site-nav a:not(.btn) {
  border-radius: 5px;
  color: var(--muted);
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"]:not(.btn) {
  background: var(--blue-soft);
  color: var(--blue);
}

.site-nav .btn {
  border-radius: 6px;
}

/* Buttons */
.btn {
  border-radius: 7px;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.16);
}

.btn--primary:hover {
  background: var(--blue-dark);
}

.btn--ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: none;
}

.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Hero */
.hero-official {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 58px) 0 52px;
  border-bottom: 1px solid var(--line);
  background-color: #f8fbfa;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.055) 1px, transparent 1px),
    radial-gradient(650px 460px at 90% 30%, rgba(255, 107, 74, 0.075), transparent 68%),
    radial-gradient(620px 500px at 12% 18%, rgba(15, 118, 110, 0.07), transparent 70%);
  background-size: 64px 64px, 64px 64px, auto, auto;
}

.hero-official::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(15, 118, 110, 0.65) 28%, rgba(195, 138, 45, 0.6) 62%, transparent 100%);
  pointer-events: none;
}

.hero-official__grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 46px;
  align-items: center;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-kicker__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--blue);
}

.hero-kicker__domain {
  margin-left: 4px;
  padding-left: 9px;
  border-left: 1px solid var(--line-strong);
  color: var(--dim);
  font-weight: 500;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}

.hero-pills li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: var(--coral);
}

.hero-official__title {
  margin-top: 20px;
  color: var(--text);
  font-size: clamp(3rem, 4.8vw, 4.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-title-brand {
  color: var(--blue);
}

.hero-title-accent {
  color: var(--coral);
}

.hero-official__lead {
  max-width: 545px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-official__actions {
  gap: 10px;
  margin-top: 24px;
}

.hero-official__actions .btn {
  gap: 10px;
}

.hero-official__actions .btn svg {
  transition: transform 0.2s ease;
}

.hero-official__actions .btn:hover svg {
  transform: translateX(3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: var(--dim);
  font-size: 10px;
  line-height: 1.5;
}

.hero-official__visual {
  min-width: 0;
}

.hero-shot {
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(13, 56, 52, 0.16);
}

.hero-shot__media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #e7f2ef;
}

.hero-shot__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: opacity 0.18s ease;
}

.hero-shot__overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 78%;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  background: rgba(5, 18, 16, 0.76);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-shot__overlay strong {
  color: #fff;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.hero-shot__overlay span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
}

.hero-shot__index {
  color: #ffb28f !important;
  font-family: var(--mono);
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-shot__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  padding: 8px 3px 0;
}

.hero-shot__caption {
  flex: 1;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hero-shot__dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-shot__dots button {
  display: block;
  width: 18px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #d7e6e2;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-shot__dots button:hover {
  background: #a9cfc8;
}

.hero-shot__dots button.is-active {
  background: var(--blue);
  transform: scaleY(1.7);
}

.hero-shot__arrows {
  display: flex;
  gap: 4px;
}

.hero-shot__arrows button {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.hero-shot__arrows button:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue);
}

.hero-shot__arrows button:active {
  transform: translateY(1px);
}

/* Section language */
.section {
  padding: 68px 0;
}

.section--features {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7fbfa;
}

.section--soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.section-head--center {
  max-width: 760px;
}

.section-head--center h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.045em;
}

.section-head p {
  margin-top: 12px;
  font-size: 14px;
}

.eyebrow {
  gap: 6px;
  margin-bottom: 12px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "//";
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.section-head--center .eyebrow {
  justify-content: center;
}

/* Feature cards */
.feature-grid {
  counter-reset: feature;
  gap: 16px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 56, 52, 0.055);
  counter-increment: feature;
}

.feature-card::before {
  content: "0" counter(feature);
  position: absolute;
  top: 12px;
  right: 16px;
  color: #dcebe7;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 0;
  left: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.48), rgba(195, 138, 45, 0.42), transparent);
  opacity: 0.8;
}

.feature-card:hover {
  border-color: var(--blue-line);
  border-top-color: var(--blue);
  box-shadow: 0 16px 36px rgba(13, 56, 52, 0.08);
}

.feature-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 5px;
  background: var(--blue-soft);
  color: var(--blue);
}

.feature-card__icon svg {
  width: 18px;
  height: 18px;
}

.feature-card h3 {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.feature-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

#features .btn-row .btn {
  min-height: 40px;
  font-size: 12px;
}

/* Split sections */
.split {
  gap: 48px;
}

.split__copy h2 {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  letter-spacing: -0.045em;
}

.split__copy > p {
  max-width: 510px;
  margin-top: 15px;
  font-size: 13.5px;
  line-height: 1.9;
}

.check-list {
  counter-reset: mode;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.check-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 9px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  counter-increment: mode;
}

.check-list li::before {
  content: "0" counter(mode);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.check-list svg {
  display: none;
}

.check-list strong {
  color: var(--text);
  font-weight: 600;
}

.media-frame {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(13, 56, 52, 0.12);
}

.media-frame__bar {
  display: none;
}

.media-frame img {
  border-radius: 11px;
}

.media-frame__caption {
  right: 12px;
  bottom: 12px;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(5, 18, 16, 0.72);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.media-frame__caption::before {
  background: var(--coral);
}

/* Download */
.download-head {
  align-items: flex-start;
  margin-bottom: 26px;
}

.download-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  letter-spacing: -0.045em;
}

.download-head p {
  font-size: 13px;
}

.download-head__version {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.download-head__version strong {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.download-head__version span {
  padding-left: 8px;
  border-left: 1px solid var(--line);
  font-size: 10px;
}

.download-table-wrap {
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(13, 56, 52, 0.06);
}

.download-table th {
  background: #f6faf8;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-table td {
  padding: 15px 16px;
}

.download-table tbody tr:hover {
  background: #f8fcfb;
}

.platform-icon {
  border-radius: 5px;
}

.platform-name {
  font-size: 12px;
}

.download-note {
  border-color: var(--blue-line);
  border-radius: 5px;
  background: #f3faf8;
}

.requirements dd {
  color: var(--text);
}

/* Steps */
.steps {
  gap: 16px;
}

.step {
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(13, 56, 52, 0.05);
}

.step__num {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.step h3 {
  font-size: 16px;
}

.step p {
  font-size: 12.5px;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 52px;
  align-items: start;
}

.faq-layout > .section-head {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  margin-bottom: 0;
}

.faq-layout > .faq-list {
  grid-column: 2;
}

.faq-layout > .btn-row {
  grid-column: 2;
  margin-top: 0;
}

.faq-layout .section-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.faq-list {
  display: grid;
  gap: 10px;
  overflow: visible;
  border: 0;
  background: transparent;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(13, 56, 52, 0.045);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  padding: 17px 20px;
  font-size: 13px;
}

.faq-item__icon {
  border-radius: 4px;
}

.faq-item[open] .faq-item__icon {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue);
}

.faq-item__answer {
  font-size: 12.5px;
}

/* Reviews */
.reviews {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 56, 52, 0.05);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.review-avatar--a {
  background: var(--blue);
}

.review-avatar--b {
  background: var(--coral);
}

.review-avatar--c {
  background: var(--gold);
}

.review-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.review-meta strong {
  font-size: 12px;
}

.review-meta span {
  margin-top: 2px;
  color: var(--dim);
  font-size: 9px;
}

.review-stars {
  margin-left: auto;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.review-card p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.review-card footer {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 9px;
}

.reviews__note {
  margin-top: 20px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-align: center;
}

.reviews__note strong {
  color: var(--blue);
  font-weight: 600;
}

/* About */
.about-folia {
  gap: 48px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(13, 56, 52, 0.055);
}

.about-folia h2 {
  font-size: clamp(1.8rem, 3vw, 2.25rem);
}

.about-folia > div > p {
  font-size: 13px;
}

.about-folia__copy {
  font-size: 13px;
  line-height: 1.95;
}

/* CTA */
.cta-band {
  display: block;
  padding: 54px 32px;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(42% 90% at 100% 0%, rgba(255, 178, 143, 0.22), transparent 66%),
    linear-gradient(135deg, #0f766e 0%, #0b635c 54%, #0a514c 100%);
  box-shadow: 0 28px 62px rgba(13, 56, 52, 0.2);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.cta-band p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.cta-band__actions {
  justify-content: center;
  margin-top: 20px;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.cta-band .btn--primary:hover {
  background: #f1faf7;
}

.cta-band .btn--ghost {
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
  color: #fff;
}

.cta-band .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Subpage hero and cards */
.page-hero {
  border-bottom: 1px solid var(--line);
  background-color: #f8fbfa;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.04) 1px, transparent 1px),
    radial-gradient(520px 320px at 90% 10%, rgba(255, 107, 74, 0.06), transparent 70%);
  background-size: 64px 64px, 64px 64px, auto;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

.breadcrumb a:hover,
.article-aside a:hover {
  color: var(--blue);
}

.page-hero__meta span {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.8);
}

.os-card {
  border-top: 2px solid var(--blue);
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(13, 56, 52, 0.05);
}

.os-card.is-detected {
  background: #f3fbf8;
}

.os-card__icon {
  border-radius: 5px;
}

.os-card__badge {
  border-radius: 3px;
}

.info-card {
  border-top: 2px solid var(--blue);
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(13, 56, 52, 0.05);
}

.info-card__icon {
  border-radius: 5px;
}

.article blockquote {
  border-left-color: var(--blue);
  background: var(--bg-blue);
  border-radius: 0 6px 6px 0;
}

.article-aside {
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(13, 56, 52, 0.05);
}

.article th {
  background: #f5faf8;
}

.article code,
.legal code {
  border-color: var(--blue-line);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.article__note {
  border-color: var(--blue-line);
  background: #f4faf8;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #f2f8f6;
}

.footer-brand__domain {
  color: var(--blue);
  font-weight: 600;
}

.footer-col a:hover,
.footer-bottom a:hover {
  color: var(--blue);
}

/* Back to top */
.back-to-top {
  border-color: var(--line-strong);
  color: var(--blue);
}

.back-to-top:hover {
  border-color: var(--blue);
  background: var(--blue);
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-official__title {
    font-size: clamp(2.9rem, 5.6vw, 3.9rem);
  }

  .hero-shot__caption {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-official {
    padding-top: calc(var(--header-h) + 38px);
  }

  .hero-official__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-official__copy {
    max-width: 700px;
  }

  .hero-official__visual {
    max-width: 640px;
  }

  .hero-official__title {
    font-size: clamp(2.8rem, 8.2vw, 4rem);
  }

  .hero-stats {
    gap: 14px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .faq-layout > .section-head,
  .faq-layout > .faq-list,
  .faq-layout > .btn-row {
    position: static;
    grid-column: auto;
  }

  .section-head h2 {
    font-size: clamp(1.75rem, 5vw, 2.35rem);
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .about-folia {
    gap: 24px;
  }

  .download-head {
    align-items: flex-start;
  }

  .download-head__version {
    align-items: flex-start;
  }

  .cta-band {
    padding: 38px 22px;
  }

  .cta-band__actions {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .hero-official {
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 34px;
  }

  .hero-official__title {
    margin-top: 16px;
    font-size: clamp(2.3rem, 9.3vw, 2.95rem);
  }

  .hero-kicker {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .hero-kicker__domain {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .hero-pills li {
    font-size: 9px;
  }

  .hero-official__lead {
    margin-top: 17px;
    font-size: 13.5px;
  }

  .hero-official__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
    margin-top: 22px;
  }

  .hero-official__actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 22px;
    padding-top: 0;
  }

  .hero-stats > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats > div:first-child {
    border-top: 1px solid var(--line);
  }

  .hero-stats dt {
    font-size: 14px;
  }

  .hero-stats dd {
    margin-top: 0;
    font-size: 10px;
    text-align: right;
  }

  .hero-shot {
    padding: 7px;
    border-radius: 10px;
  }

  .hero-shot__overlay {
    bottom: 9px;
    left: 9px;
    padding: 8px 9px;
  }

  .hero-shot__overlay strong {
    font-size: 12px;
  }

  .hero-shot__overlay span {
    font-size: 8px;
  }

  .hero-shot__bar {
    min-height: 26px;
    padding-top: 6px;
  }

  .hero-shot__dots button {
    width: 13px;
  }

  .hero-shot__arrows button {
    width: 20px;
    height: 20px;
    font-size: 13px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head--center h2 {
    font-size: 1.9rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-card {
    padding: 20px;
  }

  .split__copy h2 {
    font-size: 1.8rem;
  }

  .check-list li {
    grid-template-columns: 32px 1fr;
    font-size: 12px;
  }

  .about-folia {
    padding: 24px 20px;
  }

  .review-card {
    padding: 18px;
  }

  .reviews__note {
    line-height: 1.8;
  }

  .cta-band {
    border-radius: 12px;
  }

  .cta-band__actions {
    flex-direction: column;
  }

  .cta-band__actions .btn {
    width: 100%;
  }
}

/* Show full screenshots, never crop the product UI inside its frame. */
.hero-shot__media img,
.media-frame img,
.browser-frame img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
