/*!
 * ============================================================
 *  فاکتور ساز آنلاین (Online Invoice Builder)
 *  طراحی و برنامه‌نویسی: م. امین عسکری  |  AminAskariX.ir
 * ------------------------------------------------------------
 *  Online Invoice Builder - Business Logic & Calculations
 *  Crafted with ❤️ by Mohammad Amin Askari (AminAskariX.ir)
 *
 *  Copyright (c) 2026-present, Mohammad Amin Askari - All Rights Reserved.
 *  This source code is licensed for personal and commercial use
 *  by the owner. Unauthorized copying, modification, distribution
 *  or selling of this file, via any medium, is strictly prohibited.
 * ============================================================
 */

html,
body.landing-page {
  min-height: 100%;
  height: auto;
  overflow: auto;
}

body.landing-page {
  background: var(--page-gradient);
  color: var(--color-text-main);
}

body.landing-page::before {
  inset: -18vmax;
}

.landing-shell {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0.75rem;
  box-sizing: border-box;
}

.landing-header {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-header-gradient);
  box-shadow: var(--panel-highlight), var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(150%);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-text-strong);
  text-decoration: none;
  min-width: 220px;
  flex: 0 0 auto;
}

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

.landing-brand img {
  width: 48px;
  height: 48px;
  border-radius: 0.95rem;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.24);
}

.landing-brand span {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.landing-brand strong {
  font-size: 1rem;
  color: var(--color-text-strong);
}

.landing-brand small {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.landing-nav {
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.12rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.landing-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--color-text-muted);
  font-size: 0.76rem;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.landing-nav a:hover,
.landing-nav a[aria-current="page"] {
  color: var(--color-primary-strong);
  border-color: rgba(56, 189, 248, 0.35);
  background: var(--color-primary-soft);
  text-decoration: none;
}

.landing-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1.1rem 0 0.65rem;
  color: var(--color-text-soft);
  font-size: 0.76rem;
}

.landing-breadcrumb a {
  color: var(--color-text-muted);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.72fr);
  gap: 1rem;
  align-items: stretch;
  min-height: 500px;
}

.landing-hero__content,
.landing-hero-card,
.landing-panel,
.landing-related {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-section-gradient);
  box-shadow: var(--panel-highlight), var(--shadow-soft);
}

.landing-hero__content {
  --section-accent-rgb: 56, 189, 248;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.2rem, 4vw, 3.2rem);
  overflow: hidden;
  position: relative;
}

.landing-hero__content::after {
  content: "";
  position: absolute;
  left: -5rem;
  bottom: -5rem;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.2), transparent 62%);
  pointer-events: none;
}

.landing-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0.32rem 0.72rem;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  font-size: 0.74rem;
  font-weight: 700;
}

.landing-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--color-text-strong);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.landing-hero p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 2;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.landing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.landing-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.44);
  color: var(--color-text-muted);
  font-size: 0.76rem;
}

.landing-hero-card {
  --section-accent-rgb: 34, 197, 94;
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 1rem;
  overflow: hidden;
}

.landing-invoice {
  width: min(360px, 100%);
  padding: 1.1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(226, 232, 240, 0.2);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(226, 232, 240, 0.92)),
    #fff;
  color: #0f172a;
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.42);
  transform: rotate(-2deg);
}

.landing-invoice__top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.landing-invoice__top img {
  border-radius: 0.8rem;
}

.landing-invoice__top strong,
.landing-invoice__top span {
  display: block;
}

.landing-invoice__top span {
  margin-top: 0.18rem;
  color: #64748b;
  font-size: 0.76rem;
}

.landing-invoice__line {
  height: 0.7rem;
  margin: 1rem 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  opacity: 0.42;
}

.landing-invoice__line--wide {
  width: 100%;
}

.landing-invoice__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 0.45rem;
}

.landing-invoice__grid span {
  height: 1.8rem;
  border-radius: 0.55rem;
  background: #e2e8f0;
}

.landing-invoice__grid span:nth-child(3n + 1) {
  background: #dbeafe;
}

.landing-invoice__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 0.8rem;
  background: #0f172a;
  color: #e5e7eb;
}

.landing-invoice__total span {
  color: #94a3b8;
  font-size: 0.78rem;
}

.landing-section {
  margin-top: 1rem;
}

.landing-feature-tabs,
.landing-table-section,
.landing-chart-section,
.landing-checklist-section,
.landing-article,
.landing-cta {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-section-gradient);
  box-shadow: var(--panel-highlight), var(--shadow-soft);
  padding: clamp(1rem, 2.6vw, 1.6rem);
}

.landing-section--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.landing-section__head {
  margin-bottom: 0.85rem;
}

.landing-section__head p {
  max-width: 880px;
  margin: 0.5rem 0 0;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.9;
}

.landing-section__head h2,
.landing-panel h2,
.landing-related h2 {
  margin: 0;
  color: var(--color-text-strong);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.5;
  letter-spacing: 0;
}

.landing-panel {
  --section-accent-rgb: 139, 92, 246;
  padding: clamp(1rem, 2.6vw, 1.6rem);
}

.landing-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.landing-tab-card {
  min-height: 210px;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.52), rgba(2, 6, 23, 0.62));
  box-shadow: var(--panel-highlight);
}

.landing-tab-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  border-radius: 0.7rem;
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  font-weight: 800;
}

.landing-tab-card h3 {
  margin: 0 0 0.5rem;
  color: var(--color-text-strong);
  font-size: 1rem;
  line-height: 1.55;
}

.landing-tab-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.85;
  font-size: 0.86rem;
}

.landing-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.36);
}

.landing-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.landing-table th,
.landing-table td {
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  text-align: right;
  vertical-align: top;
  line-height: 1.85;
}

.landing-table th {
  color: #7dd3fc;
  font-size: 0.78rem;
  background: rgba(56, 189, 248, 0.08);
}

.landing-table td {
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.84rem;
}

.landing-table tr:last-child td {
  border-bottom: 0;
}

.landing-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  gap: 1rem;
  align-items: stretch;
}

.landing-chart {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.36);
}

.landing-chart__bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(90px, 0.32fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 2.75rem;
  color: var(--color-text-main);
}

.landing-chart__bar::after {
  content: "";
  position: absolute;
  inset-inline-start: calc(32% + 0.75rem);
  width: min(var(--bar-size), 100%);
  max-width: calc(68% - 0.75rem);
  height: 0.78rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  opacity: 0.8;
}

.landing-chart__bar span {
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.landing-chart__bar strong {
  position: relative;
  z-index: 1;
  padding-inline-start: 0.75rem;
  color: var(--color-text-strong);
  font-size: 0.78rem;
}

.landing-accounting-note {
  padding: 1rem;
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 12% 0, rgba(34, 197, 94, 0.14), transparent 36%), rgba(15, 23, 42, 0.36);
}

.landing-accounting-note h3 {
  margin: 0 0 0.55rem;
  color: var(--color-text-strong);
  font-size: 1rem;
}

.landing-accounting-note p {
  margin: 0;
  color: rgba(226, 232, 240, 0.84);
  line-height: 1.9;
}

.landing-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.landing-check-grid article {
  display: flex;
  gap: 0.65rem;
  min-height: 110px;
  padding: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.34);
}

.landing-check-grid i {
  flex: 0 0 1.7rem;
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
  font-size: 0.75rem;
}

.landing-check-grid p {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  line-height: 1.8;
  font-size: 0.84rem;
}

.landing-article {
  display: grid;
  gap: 1rem;
}

.landing-article article {
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.26);
}

.landing-article article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.landing-article h2 {
  margin: 0 0 0.65rem;
  color: var(--color-text-strong);
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  line-height: 1.55;
}

.landing-article p {
  max-width: 1040px;
  margin: 0 0 0.75rem;
  color: rgba(226, 232, 240, 0.86);
  line-height: 2.05;
}

.landing-article p:last-child {
  margin-bottom: 0;
}

.landing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  --section-accent-rgb: 34, 197, 94;
}

.landing-cta h2 {
  margin: 0;
  color: var(--color-text-strong);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.5;
}

.landing-cta p {
  max-width: 820px;
  margin: 0.55rem 0 0;
  color: rgba(226, 232, 240, 0.84);
  line-height: 1.9;
}

.landing-panel p,
.landing-related p,
.landing-faq p,
.landing-step p {
  color: rgba(226, 232, 240, 0.84);
  line-height: 1.95;
}

.landing-check-list {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.landing-check-list li {
  position: relative;
  padding-inline-start: 1.8rem;
  color: var(--color-text-main);
  line-height: 1.8;
}

.landing-check-list li::before {
  content: "\f00c";
  position: absolute;
  inset-inline-start: 0;
  top: 0.15rem;
  width: 1.2rem;
  height: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  font-family: "Font Awesome 6 Free";
  font-size: 0.62rem;
  font-weight: 900;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 0.75rem;
}

.landing-step {
  min-height: 170px;
  padding: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.54), rgba(2, 6, 23, 0.62));
  box-shadow: var(--panel-highlight);
}

.landing-step span {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  color: #0f172a;
  font-weight: 800;
}

.landing-step p {
  margin: 0;
  font-size: 0.86rem;
}

.landing-faq {
  display: grid;
  gap: 0.65rem;
}

.landing-faq details {
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.52), rgba(2, 6, 23, 0.62));
  overflow: hidden;
}

.landing-faq summary {
  cursor: pointer;
  padding: 0.95rem 1rem;
  color: var(--color-text-strong);
  font-weight: 700;
  list-style: none;
}

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

.landing-faq p {
  margin: 0;
  padding: 0 1rem 1rem;
}

.landing-related {
  --section-accent-rgb: 245, 158, 11;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1rem;
  padding: clamp(1rem, 2.6vw, 1.6rem);
}

.landing-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.landing-related__grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.36);
  color: var(--color-text-main);
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.landing-related__grid a:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.1);
}

.landing-footer {
  margin-top: 1rem;
}

.landing-footer .footer-landing-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.65rem;
  margin: 0.45rem auto 0;
  max-width: 900px;
}

.landing-footer .footer-landing-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  padding: 0.08rem 0.18rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.67rem;
  line-height: 1.7;
  white-space: nowrap;
  transition: color var(--transition-fast), text-shadow var(--transition-fast), filter var(--transition-fast);
}

.landing-footer .footer-landing-nav a::after {
  content: "";
  position: absolute;
  right: 0.12rem;
  left: 0.12rem;
  bottom: 0.08rem;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.2), rgba(34, 197, 94, 0.72), rgba(125, 211, 252, 0.2), transparent);
  opacity: 0;
  transform: scaleX(0.32);
  transform-origin: center;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.landing-footer .footer-landing-nav a::before {
  content: "";
  position: absolute;
  inset: 0 -0.25rem;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 18%, rgba(125, 211, 252, 0.18) 44%, rgba(34, 197, 94, 0.18) 54%, transparent 76%);
  opacity: 0;
  transform: translateX(70%);
}

.landing-footer .footer-landing-nav a:hover,
.landing-footer .footer-landing-nav a:focus-visible,
.landing-footer .footer-landing-nav a[aria-current="page"] {
  color: var(--color-primary-strong);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.36);
  filter: brightness(1.06);
}

.landing-footer .footer-landing-nav a:hover::before,
.landing-footer .footer-landing-nav a:focus-visible::before {
  animation: footer-link-sheen 0.7s ease-out;
}

.landing-footer .footer-landing-nav a:hover::after,
.landing-footer .footer-landing-nav a:focus-visible::after,
.landing-footer .footer-landing-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

body.theme-light .landing-hero p,
body.theme-light .landing-panel p,
body.theme-light .landing-related p,
body.theme-light .landing-faq p,
body.theme-light .landing-step p,
body.theme-light .landing-section__head p,
body.theme-light .landing-tab-card p,
body.theme-light .landing-table td,
body.theme-light .landing-accounting-note p,
body.theme-light .landing-check-grid p,
body.theme-light .landing-article p,
body.theme-light .landing-cta p {
  color: #475569;
}

body.theme-light .landing-badges span,
body.theme-light .landing-related__grid a,
body.theme-light .landing-tab-card,
body.theme-light .landing-table-wrap,
body.theme-light .landing-chart,
body.theme-light .landing-check-grid article {
  background: rgba(255, 255, 255, 0.62);
}

body.theme-light .landing-accounting-note {
  background: radial-gradient(circle at 12% 0, rgba(34, 197, 94, 0.16), transparent 36%), rgba(255, 255, 255, 0.64);
}

body.theme-light .landing-table th {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.1);
}

body.theme-light .landing-footer .footer-landing-nav a {
  color: #64748b;
}

body.theme-light .landing-footer .footer-landing-nav a:hover,
body.theme-light .landing-footer .footer-landing-nav a:focus-visible,
body.theme-light .landing-footer .footer-landing-nav a[aria-current="page"] {
  color: #0369a1;
  text-shadow: 0 0 10px rgba(14, 165, 233, 0.26);
}

@media (min-width: 768px) {
  .landing-shell {
    padding: 1rem 1rem 1.2rem;
  }
}

@media (max-width: 1280px) {
  .landing-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  }

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

@media (max-width: 980px) {
  .landing-hero,
  .landing-section--split,
  .landing-related,
  .landing-chart-grid,
  .landing-cta {
    grid-template-columns: 1fr;
  }

  .landing-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .landing-nav {
    width: 100%;
    padding-bottom: 0.35rem;
  }

  .landing-steps,
  .landing-tabs,
  .landing-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-cta .btn {
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .landing-shell {
    width: 100%;
    padding: 0.5rem;
  }

  .landing-header {
    top: 0.4rem;
    padding: 0.6rem;
    border-radius: 0.95rem;
  }

  .landing-brand {
    min-width: 0;
    width: 100%;
    gap: 0.55rem;
  }

  .landing-brand img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .landing-brand strong,
  .landing-brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .landing-nav {
    gap: 0.3rem;
    margin: 0 -0.15rem;
    padding-inline: 0.15rem;
    scrollbar-width: none;
  }

  .landing-nav::-webkit-scrollbar {
    display: none;
  }

  .landing-nav a {
    min-height: 2rem;
    padding: 0.36rem 0.62rem;
    font-size: 0.7rem;
  }

  .landing-hero {
    min-height: 0;
    gap: 0.75rem;
  }

  .landing-hero__content,
  .landing-hero-card,
  .landing-panel,
  .landing-related {
    border-radius: 0.95rem;
  }

  .landing-hero__content,
  .landing-panel,
  .landing-related,
  .landing-feature-tabs,
  .landing-table-section,
  .landing-chart-section,
  .landing-checklist-section,
  .landing-article,
  .landing-cta {
    padding: 0.95rem;
  }

  .landing-hero h1 {
    font-size: clamp(1.6rem, 10vw, 2.35rem);
    line-height: 1.35;
  }

  .landing-hero p {
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .landing-hero-card {
    min-height: 250px;
    padding: 0.85rem;
  }

  .landing-invoice {
    transform: none;
    padding: 0.85rem;
  }

  .landing-invoice__grid {
    gap: 0.35rem;
  }

  .landing-invoice__grid span {
    height: 1.35rem;
  }

  .landing-actions .btn {
    flex: 1 1 auto;
    min-width: min(100%, 10rem);
  }

  .landing-actions .btn-text {
    display: inline-block;
  }

  .landing-steps,
  .landing-tabs,
  .landing-check-grid,
  .landing-related__grid {
    grid-template-columns: 1fr;
  }

  .landing-step,
  .landing-tab-card,
  .landing-check-grid article {
    min-height: 0;
  }

  .landing-table {
    min-width: 620px;
  }

  .landing-chart__bar {
    grid-template-columns: minmax(76px, 0.38fr) minmax(0, 1fr);
  }

  .landing-chart__bar::after {
    inset-inline-start: calc(38% + 0.65rem);
    max-width: calc(62% - 0.65rem);
  }

  .landing-article p {
    line-height: 1.95;
  }

  .landing-cta .btn {
    width: 100%;
  }

  .landing-footer .app-footer__text--secondary {
    white-space: normal;
  }

  .landing-footer .footer-landing-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.08rem 0.62rem;
    max-width: min(100%, 26rem);
    padding-inline: 0.25rem;
  }

  .landing-footer .footer-landing-nav a {
    max-width: 100%;
    padding: 0.06rem 0.04rem 0.1rem;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .landing-actions {
    flex-direction: column;
  }

  .landing-footer .footer-landing-nav a {
    font-size: 0.64rem;
  }

  .landing-footer .footer-landing-nav {
    gap: 0.06rem 0.5rem;
  }
}

@keyframes footer-link-sheen {
  0% {
    opacity: 0;
    transform: translateX(70%);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-70%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-related__grid a,
  .landing-nav a,
  .landing-footer .footer-landing-nav a:hover::before,
  .landing-footer .footer-landing-nav a:focus-visible::before {
    animation: none;
  }

  .landing-related__grid a,
  .landing-nav a {
    transition: none;
  }
}
