@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/vazirmatn-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/vazirmatn-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/vazirmatn-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/vazirmatn-bold.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}

:root {
  --bg: #f5f9ff;
  --surface: #ffffff;
  --surface-2: #f2f7ff;
  --ink: #0d1b2e;
  --ink-2: #24344d;
  --muted: #5e7089;
  --muted-2: #8294ac;
  --line: #dde8f7;
  --line-2: #eaf1fb;
  --blue: #2f80ed;
  --blue-dark: #1f63c4;
  --blue-soft: #e8f2ff;
  --cyan: #45b6f0;
  --navy: #0b1526;
  --navy-2: #10233d;
  --green: #14a37f;
  --green-soft: #e5f7f1;
  --orange: #e07b39;
  --red: #e05a5a;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 46, 0.05), 0 4px 14px rgba(13, 27, 46, 0.05);
  --shadow-md: 0 10px 30px rgba(24, 62, 120, 0.1), 0 2px 8px rgba(24, 62, 120, 0.05);
  --shadow-lg: 0 30px 80px rgba(18, 50, 100, 0.18), 0 8px 24px rgba(18, 50, 100, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html[lang="en"] body {
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.7;
}

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

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

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 44px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 44px));
}

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

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

:focus-visible {
  outline: 3px solid rgba(47, 128, 237, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(18, 50, 100, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

html[lang="en"] .brand {
  letter-spacing: -0.01em;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 4px 10px rgba(47, 128, 237, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 8px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}

.lang-toggle {
  height: 36px;
  min-width: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.lang-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}

html[lang="fa"] .lang-when-en,
html[lang="en"] .lang-when-fa {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 11px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 0.88rem;
  border-radius: 9px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: 13px;
}

.btn-primary {
  background: linear-gradient(180deg, #4a95f5 0%, var(--blue) 55%, #2874de 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 128, 237, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(47, 128, 237, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: #b9d2f4;
  color: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: #c3d7f1;
}

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn-light:hover {
  transform: translateY(-1px);
}

.btn-version {
  font-weight: 500;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 440px at 78% 8%, rgba(69, 182, 240, 0.2), transparent 62%),
    radial-gradient(760px 420px at 12% 18%, rgba(47, 128, 237, 0.14), transparent 60%),
    linear-gradient(180deg, #f4f9ff 0%, var(--bg) 78%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(47, 128, 237, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 128, 237, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 25%, transparent 75%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 14px 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

html[lang="en"] .eyebrow {
  padding: 6px 14px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(20, 163, 127, 0.5);
  animation: pulse 2.4s ease-out infinite;
  flex: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(20, 163, 127, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(20, 163, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 163, 127, 0); }
}

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(2.25rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

html[lang="en"] .hero h1 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.grad {
  background: linear-gradient(100deg, var(--blue) 5%, #2aa4de 48%, #19b3a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.lede {
  margin-top: 20px;
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--muted);
}

html[lang="en"] .lede {
  line-height: 1.75;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted-2);
}

.price-line {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}

.price-line .price-amount {
  color: var(--ink);
  font-size: 1.02rem;
}

.price-line a {
  color: var(--blue);
  font-weight: 600;
}

.price-sep {
  color: var(--muted-2);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--ink-2);
}

.hero-points svg {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  flex: none;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero app mock */
.hero-visual {
  position: relative;
  padding: 18px 0 54px;
}

.hero-glow {
  position: absolute;
  inset: 10% 6% 12%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(47, 128, 237, 0.22), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}

.app-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}

.app-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 0.98rem;
}

.app-title img {
  border-radius: 7px;
}

.app-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 3px 8px;
  border-radius: 99px;
}

.app-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
}

.app-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.app-path {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.74rem;
  color: var(--muted);
  font-family: "Inter", monospace;
  direction: ltr;
  overflow: hidden;
}

.app-path svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  flex: none;
}

.app-path span:nth-child(2) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-path-label {
  margin-inline-start: auto;
  font-family: "Vazirmatn", sans-serif;
  font-size: 0.7rem;
  color: var(--muted-2);
  white-space: nowrap;
}

.folder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.folder-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: #fbfdff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 8px 10px;
  text-align: center;
}

.folder-tile img {
  margin-bottom: 2px;
}

.folder-tile b {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.tile-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.folder-tile small {
  font-size: 0.6rem;
  color: var(--muted-2);
  font-family: "Inter", sans-serif;
  letter-spacing: 0.01em;
  direction: ltr;
}

.folder-tile-wide {
  grid-column: span 2;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  text-align: start;
}

.folder-tile-wide img {
  width: 36px;
  height: 36px;
  margin: 0;
}

.folder-tile-wide .tile-copy {
  align-items: flex-start;
  text-align: start;
}

.app-result {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  background: var(--green-soft);
  border: 1px solid #cfeee4;
  border-radius: 11px;
  padding: 10px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0b7d60;
}

.result-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

.result-check svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.undo {
  margin-inline-start: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0b7d60;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 7px;
  padding: 3px 8px;
}

.folder-fly {
  position: absolute;
  z-index: 2;
  inset-inline-end: 10px;
  bottom: 0;
  width: 72px;
  filter: drop-shadow(0 16px 22px rgba(20, 70, 130, 0.22));
  transform: rotate(-6deg);
}

/* Trust */
.trust-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.trust-item svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Sections */
.section {
  padding: 88px 0;
  scroll-margin-top: 84px;
}

.section-soft {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(47, 128, 237, 0.06), transparent 60%),
    #eef5ff;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

html[lang="fa"] .kicker {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.85rem;
}

.section-head h2,
.download-copy h2,
.cross-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
}

html[lang="en"] .section-head h2,
html[lang="en"] .download-copy h2,
html[lang="en"] .cross-card h2 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-sub {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #c4dbf7;
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(180deg, #eef6ff, #e2efff);
  border: 1px solid #d7e8fd;
  color: var(--blue);
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--muted);
}

/* Before / after */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.ba-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.ba-card-good {
  border-color: #c9e6dc;
  box-shadow: 0 14px 36px rgba(20, 163, 127, 0.1);
}

.ba-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--muted-2);
}

.ba-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 99px;
}

.ba-badge-bad {
  background: #fdeeee;
  color: #c04545;
}

.ba-badge-good {
  background: var(--green-soft);
  color: #0b7d60;
}

.file-list,
.folder-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 7px;
}

.file-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #fbfdff;
  border: 1px solid var(--line-2);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: var(--ink-2);
  direction: ltr;
}

.file-list small {
  margin-inline-start: auto;
  font-size: 0.68rem;
  color: var(--muted-2);
}

.file-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: none;
}

.dot-img { background: #56b6f5; }
.dot-doc { background: #e05a5a; }
.dot-vid { background: #9a6df0; }
.dot-zip { background: #f0b04a; }
.dot-aud { background: #14a37f; }

.folder-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fbfffd;
  border: 1px solid #e2f2ec;
}

.folder-list b {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.folder-list small {
  display: block;
  font-size: 0.68rem;
  color: var(--muted-2);
  font-family: "Inter", sans-serif;
  direction: ltr;
  text-align: inherit;
}

.folder-count {
  margin-inline-start: auto;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-soft);
  min-width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  padding: 0 5px;
}

.ba-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--blue);
}

.ba-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[dir="rtl"] .ba-arrow svg {
  transform: scaleX(-1);
}

/* Plans */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.plan-pro {
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(140deg, #63b3ff, var(--blue) 45%, #19b3a0) border-box;
  box-shadow: 0 24px 60px rgba(47, 128, 237, 0.16);
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-head h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.plan-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 99px;
  padding: 5px 12px;
  white-space: nowrap;
}

.plan-badge-pro {
  color: #fff;
  background: linear-gradient(90deg, var(--blue), #1d9fc9);
  border-color: transparent;
}

.plan-sub {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 11px;
}

.check-list li {
  position: relative;
  padding-inline-start: 30px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f80ed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.plan-pro .check-list li::before {
  background-color: var(--green-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314a37f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
}

.plan-btn {
  margin-top: auto;
  width: 100%;
}

.plan-note {
  margin-top: 12px;
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--muted-2);
  text-align: center;
}

.plans-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--muted-2);
}

.plan-price {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
}

.plan-price b {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.plan-price .price-suffix {
  font-size: 0.82rem;
  color: var(--muted);
}

.trial-how {
  margin-top: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 84px;
}

.trial-how h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.trial-steps {
  list-style: none;
  padding: 0;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trial-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface-2);
  border-radius: 14px;
  padding: 16px;
}

.trial-steps .step-num {
  margin-bottom: 0;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 0.9rem;
}

.trial-steps b {
  display: block;
  font-size: 0.95rem;
}

.trial-steps p {
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--muted);
}

.trial-why {
  margin-top: 16px;
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--muted-2);
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.steps li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(180deg, #eaf4ff, #dcecff);
  border: 1px solid #d2e5fd;
  color: var(--blue);
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}

.steps h3 {
  font-size: 1.04rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.steps p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--muted);
}

/* Download */
.download-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 34px;
  background:
    radial-gradient(600px 260px at 85% 0%, rgba(69, 182, 240, 0.35), transparent 65%),
    radial-gradient(500px 260px at 8% 100%, rgba(47, 128, 237, 0.3), transparent 60%),
    linear-gradient(135deg, #0c1c33, #102a4c 55%, #123c68);
  border-radius: 26px;
  padding: 44px;
  color: #fff;
  box-shadow: 0 30px 80px rgba(11, 30, 58, 0.3);
  overflow: hidden;
  position: relative;
}

.download-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 20%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000, transparent 70%);
  pointer-events: none;
}

.download-copy,
.download-side {
  position: relative;
  z-index: 1;
}

.download-copy .kicker {
  color: #7cc4ff;
}

.download-copy h2 {
  color: #fff;
}

.download-sub {
  margin-top: 12px;
  font-size: 0.96rem;
  line-height: 1.95;
  color: #b8cbe3;
  max-width: 580px;
}

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

.download-card .btn-primary {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.download-card .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: none;
}

.download-card .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.download-alt {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
}

.download-alt a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #9fc2e8;
  transition: color 0.16s ease;
}

.download-alt a:hover {
  color: #fff;
}

.download-alt svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-note {
  margin-top: 20px;
  font-size: 0.78rem;
  line-height: 1.9;
  color: #8fa9c9;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.download-price {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 0.82rem;
  color: #b8cbe3;
}

.download-price b {
  color: #fff;
  font-size: 1rem;
}

.download-price a {
  color: #7cc4ff;
  font-weight: 600;
}

.verify {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}

.verify-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.hash-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.hash-row .sha-code {
  flex: 1 1 260px;
  margin-top: 0;
  font-size: 0.7rem;
  overflow-wrap: anywhere;
}

.copy-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.16s ease;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.verify-how {
  margin-top: 12px;
  font-size: 0.78rem;
  color: #b8cbe3;
}

.verify-cmd {
  display: block;
  margin-top: 8px;
  font-size: 0.68rem;
  color: #cfe2f7;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
  overflow-wrap: anywhere;
  font-family: "Inter", monospace;
}

.verify-msg {
  margin-top: 8px;
  font-size: 0.76rem;
  color: #8ff0c7;
}

.verify-vt {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #7cc4ff;
}

.download-side {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px;
  align-self: start;
}

.req-block h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.req-block ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
}

.req-block li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: #b8cbe3;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 9px;
}

.req-block li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.req-block li span:last-child {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  direction: ltr;
}

.sha {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
}

.sha summary {
  cursor: pointer;
  font-size: 0.78rem;
  color: #9fc2e8;
  list-style: none;
}

.sha summary::-webkit-details-marker {
  display: none;
}

.sha summary::before {
  content: "+";
  display: inline-block;
  width: 16px;
  font-family: "Inter", sans-serif;
  color: #7cc4ff;
}

.sha[open] summary::before {
  content: "−";
}

.sha-code {
  display: block;
  margin-top: 10px;
  font-size: 0.62rem;
  line-height: 1.7;
  color: #cfe2f7;
  word-break: break-all;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
  direction: ltr;
  font-family: "Inter", monospace;
}

.side-note {
  margin-top: 14px;
  font-size: 0.74rem;
  line-height: 1.8;
  color: #8fa9c9;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease;
}

.faq-item[open] {
  border-color: #c2daf7;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--blue);
  flex: none;
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--muted);
  max-width: 92%;
}

/* Cross promo */
.cross-promo {
  padding-top: 30px;
  padding-bottom: 96px;
}

.cross-card {
  display: flex;
  align-items: center;
  gap: 26px;
  background: linear-gradient(120deg, #0d1b2e, #122c4d 60%, #15385f);
  border-radius: 24px;
  padding: 32px 38px;
  color: #fff;
  box-shadow: 0 24px 60px rgba(11, 30, 58, 0.24);
}

.cross-card > img {
  border-radius: 16px;
  flex: none;
  box-shadow: 0 12px 28px rgba(224, 123, 57, 0.28);
}

.cross-card .kicker {
  color: #f0a869;
  margin-bottom: 4px;
}

.cross-card h2 {
  color: #fff;
  font-size: 1.35rem;
}

.cross-card p:not(.kicker) {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.85;
  color: #a9bdd6;
}

.cross-card .btn {
  margin-inline-start: auto;
  flex: none;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 52px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.brand-footer {
  color: #fff;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #9db0c8;
  max-width: 320px;
}

.footer-note {
  font-size: 0.8rem !important;
  color: #7186a2 !important;
}

.footer-col h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #7f95b1;
  margin-bottom: 12px;
}

html[lang="fa"] .footer-col h3 {
  letter-spacing: 0;
  font-size: 0.86rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: #c3d2e4;
  padding: 5px 0;
  transition: color 0.16s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.8rem;
  color: #7f95b1;
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .hero-copy {
    max-width: 680px;
  }
  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px;
  }
  .download-side {
    max-width: 420px;
  }
}

@media (max-width: 860px) {
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ba-arrow {
    margin-inline: auto;
    transform: rotate(90deg);
  }
  html[dir="rtl"] .ba-arrow svg {
    transform: none;
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .trial-steps {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .cross-card {
    flex-wrap: wrap;
    padding: 28px;
  }
  .cross-card .btn {
    margin-inline-start: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .container,
  .narrow {
    width: calc(100% - 32px);
  }
  .nav {
    height: 64px;
    gap: 10px;
  }
  .nav-github {
    display: none;
  }
  .hero {
    padding-top: 44px;
  }
  .hero-grid {
    padding-bottom: 48px;
    gap: 44px;
  }
  .hero h1 {
    font-size: clamp(2rem, 8.4vw, 2.6rem);
  }
  .lede {
    font-size: 1rem;
  }
  .section {
    padding: 64px 0;
    scroll-margin-top: 74px;
  }
  .section-head {
    margin-bottom: 34px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .trust-row {
    justify-content: flex-start;
    gap: 12px 22px;
    padding: 18px 0 22px;
  }
  .download-card {
    padding: 28px 22px;
    border-radius: 22px;
  }
  .trial-how {
    padding: 22px 20px;
    scroll-margin-top: 74px;
  }
  .download-actions .btn,
  .cta-row .btn {
    width: 100%;
  }
  .download-side {
    max-width: none;
  }
  .cross-promo {
    padding-bottom: 64px;
  }
  .cross-card {
    gap: 18px;
  }
  .cross-card > img {
    width: 52px;
    height: 52px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .app-card {
    padding: 14px;
    border-radius: 18px;
  }
  .folder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .folder-tile-wide {
    grid-column: span 2;
  }
  .folder-fly {
    width: 64px;
    bottom: 0;
    inset-inline-end: 6px;
  }
  .hero-note {
    font-size: 0.78rem;
  }
  .plan-card {
    padding: 24px 20px;
  }
  .plan-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .file-list small {
    display: none;
  }
  .faq-item {
    padding: 0 16px;
  }
  .faq-item p {
    max-width: 100%;
  }
  .footer-brand p {
    max-width: 100%;
  }
}

/* Real app window frame */
.app-window {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding-inline: 14px;
  background: #eef4fc;
  border-bottom: 1px solid var(--line);
}

.win-dots {
  display: flex;
  gap: 6px;
}

.win-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccd9ea;
}

.win-dots i:first-child { background: #ff5f57; }
.win-dots i:nth-child(2) { background: #febc2e; }
.win-dots i:last-child { background: #28c840; }

.window-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-2);
}

.app-window img {
  display: block;
  width: 100%;
  height: auto;
}

.app-window-sm {
  border-radius: 14px;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  line-height: 1.5;
}

.float-card b {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
}

.float-card small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted-2);
}

.float-a {
  inset-block-end: 18px;
  inset-inline-start: -14px;
}

.float-b {
  inset-block-end: 18px;
  inset-inline-end: -14px;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex: none;
}

.mini-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.mini-amber {
  background: #fff3e0;
  color: var(--orange);
}

/* Quote band */
.quote-band {
  padding: 54px 0 60px;
  background:
    radial-gradient(700px 260px at 20% 0%, rgba(47, 128, 237, 0.09), transparent 60%),
    radial-gradient(600px 260px at 85% 100%, rgba(20, 163, 127, 0.08), transparent 60%),
    #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-inner {
  max-width: 860px;
  text-align: center;
}

.quote-text {
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.quote-text::before {
  content: "«";
  color: var(--blue);
  margin-inline-end: 4px;
}

.quote-text::after {
  content: "»";
  color: var(--blue);
  margin-inline-start: 4px;
}

.quote-sub {
  margin: 16px auto 0;
  max-width: 700px;
  font-size: 0.98rem;
  line-height: 1.95;
  color: var(--muted);
}

/* Feature rows with real screenshots */
.feature-rows {
  display: grid;
  gap: 64px;
  margin-bottom: 64px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
}

.feature-row.flip .fr-media {
  order: 2;
}

.fr-media {
  position: relative;
  margin: 0;
}

.fr-media figcaption {
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--muted-2);
  text-align: center;
}

.fr-text .kicker {
  margin-bottom: 8px;
}

.fr-text h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
  text-wrap: balance;
}

.fr-text > p:not(.kicker) {
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--muted);
}

.fr-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.fr-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.fr-list svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.mini-card .feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}

.mini-card .feature-icon svg {
  width: 20px;
  height: 20px;
}

.mini-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.mini-card p {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .float-a { inset-inline-start: 0; }
  .float-b { inset-inline-end: 0; }
}

@media (max-width: 860px) {
  .feature-rows { gap: 46px; margin-bottom: 46px; }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-row.flip .fr-media { order: 0; }
  .fr-media { max-width: 640px; width: 100%; margin-inline: auto; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .mini-grid { grid-template-columns: 1fr; }
  .float-card { padding: 8px 11px; }
  .float-card small { display: none; }
  .quote-band { padding: 40px 0 44px; }
}

/* Subpages: privacy, contact, 404 */
.page-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.page-head h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
  text-wrap: balance;
}

.page-lead {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--muted);
}

.page-updated {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--muted-2);
}

.panel {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}

.panel h2 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.panel p,
.panel li {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--muted);
}

.panel code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 0.78rem;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.panel-note {
  border-color: #f4d3bd;
  background: #fff8f2;
}

.mail-inline {
  color: var(--blue);
  border-bottom: 1px solid rgba(47, 128, 237, 0.3);
  word-break: break-all;
}

.mail-box {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 0.85rem;
  word-break: break-all;
}

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

@media (max-width: 560px) {
  .panel { padding: 20px 18px; }
  .page-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
