@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/Vazirmatn-Arabic-400.woff2") format("woff2");
}

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/Vazirmatn-Arabic-500.woff2") format("woff2");
}

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/Vazirmatn-Arabic-600.woff2") format("woff2");
}

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/Vazirmatn-Arabic-700.woff2") format("woff2");
}

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("/fonts/Vazirmatn-Arabic-800.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --page: #f5f9fc;
  --surface: #ffffff;
  --surface-soft: #f1f7fb;
  --line: #dce7ee;
  --line-strong: #bfd0dd;
  --text: #122033;
  --muted: #5f7084;
  --faint: #8999aa;
  --blue: #168af2;
  --blue-deep: #064f72;
  --blue-soft: #eaf5ff;
  --green: #16a971;
  --green-soft: #e9f8f0;
  --cyan: #12b8d0;
  --cyan-soft: #e6f9fb;
  --amber: #e9a21f;
  --amber-soft: #fff4df;
  --red: #ce4f42;
  --red-soft: #fff0ee;
  --ink-gradient: linear-gradient(135deg, #064f72 0%, #0b789b 48%, #0aa176 100%);
  --brand-gradient: linear-gradient(135deg, #168af2 0%, #12b8d0 45%, #16a971 100%);
  --warm-gradient: linear-gradient(135deg, rgba(22, 138, 242, 0.13), rgba(18, 184, 208, 0.13) 48%, rgba(233, 162, 31, 0.16));
  --shadow: 0 18px 42px rgba(6, 79, 114, 0.12);
  --shadow-soft: 0 10px 24px rgba(6, 79, 114, 0.075);
  font-family:
    "Vazirmatn",
    "Vazir",
    "Yekan Bakh",
    "IRANSans",
    Tahoma,
    Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(22, 138, 242, 0.08) 0%, transparent 26%),
    linear-gradient(225deg, rgba(22, 169, 113, 0.08) 0%, transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--page) 42%, #eef6f8 100%);
  font-family: inherit;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(32, 139, 232, 0.25);
  outline-offset: 2px;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

h1 {
  max-width: 760px;
  color: var(--blue-deep);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.home-copy h1 {
  background: var(--ink-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  max-width: 760px;
  color: var(--blue-deep);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}

h3 {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0;
}

p {
  max-width: 710px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.95;
}

.site-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 11px max(18px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(220, 231, 238, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.site-brand,
.footer-brand,
.site-nav,
.header-cta,
.btn,
.hero-actions,
.promise-line,
.purchase-notes,
.guide-actions,
.site-footer nav {
  display: flex;
  align-items: center;
}

.site-brand,
.footer-brand {
  gap: 10px;
  color: var(--blue-deep);
  font-size: 20px;
  font-weight: 700;
}

.site-brand img,
.footer-brand img {
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.site-nav {
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--blue-soft);
  color: var(--blue);
}

.header-cta,
.btn {
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}

.header-cta,
.btn.primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(22, 138, 242, 0.22);
}

.btn.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--blue-deep);
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.home-hero,
.page-hero,
.site-section,
.fallback-page {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 46px;
  align-items: center;
  min-height: 620px;
  padding: 58px 0 36px;
}

.home-copy {
  display: grid;
  gap: 22px;
  align-content: center;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.promise-line,
.purchase-notes {
  flex-wrap: wrap;
  gap: 9px;
}

.promise-line span,
.purchase-notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
}

.hero-stage {
  position: relative;
  isolation: isolate;
  min-height: 555px;
  overflow: hidden;
  border: 1px solid rgba(191, 208, 221, 0.8);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-stage::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.72) 74%),
    linear-gradient(180deg, transparent 45%, rgba(255, 255, 255, 0.42));
  content: "";
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-stage .hero-visual {
  position: absolute;
  right: 32px;
  bottom: 26px;
  z-index: 2;
}

.hero-visual::before {
  position: absolute;
  inset: 34px 44px 24px;
  z-index: -1;
  border-radius: 8px;
  background: #dbeefb;
  content: "";
}

.hero-visual img {
  width: min(290px, 72vw);
  height: 535px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow);
  animation: hero-float 7s ease-in-out infinite;
}

.hero-stage .hero-visual img {
  width: 230px;
  height: 420px;
  box-shadow: 0 22px 48px rgba(6, 79, 114, 0.2);
}

.page-hero {
  padding: 72px 0 28px;
}

.page-hero-copy {
  display: grid;
  gap: 18px;
}

.site-section {
  padding: 58px 0;
}

.visual-story {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(191, 208, 221, 0.85);
  border-radius: 8px;
  background:
    var(--warm-gradient),
    rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.visual-story > div {
  display: grid;
  gap: 14px;
  align-content: center;
  padding-inline: 8px;
}

.visual-story img {
  display: block;
  width: 100%;
  min-height: 320px;
  max-height: 430px;
  border: 1px solid rgba(191, 208, 221, 0.75);
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 34px rgba(6, 79, 114, 0.13);
}

.visual-support img {
  object-position: left center;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.section-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.step-row,
.plan-grid,
.support-grid,
.trouble-grid,
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.status-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.support-grid,
.trouble-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.step-card,
.plan-card,
.info-card,
.support-card,
.status-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--shadow-soft);
}

.step-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.step-card > span,
.timeline-item > span,
.reseller-steps span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green-soft), var(--cyan-soft));
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 30px;
  align-items: start;
}

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

.plan-card {
  display: grid;
  gap: 15px;
  align-content: start;
  min-height: 365px;
  padding: 20px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.plan-card:hover,
.plan-card.focused {
  transform: translateY(-2px);
  border-color: rgba(32, 139, 232, 0.48);
  box-shadow: var(--shadow);
}

.plan-card.focused {
  animation: pricing-focus 1.1s ease-out 1;
}

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

.plan-kind,
.recommended-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.plan-kind {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.recommended-badge {
  background: var(--green-soft);
  color: var(--green);
}

.plan-price {
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.plan-details {
  display: grid;
  gap: 8px;
}

.plan-details div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.plan-details dt {
  color: var(--faint);
  font-size: 13px;
  font-weight: 600;
}

.plan-details dd {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.plan-cta {
  margin-top: auto;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-chip {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.filter-chip.active {
  border-color: rgba(32, 139, 232, 0.38);
  background: var(--blue-soft);
  color: var(--blue);
}

.compare-wrap {
  margin-top: 34px;
}

.compare-wrap h2 {
  margin-bottom: 14px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.compare-table th {
  color: var(--blue-deep);
  font-weight: 800;
}

.compare-table td a {
  color: var(--blue);
  font-weight: 800;
}

.portal-preview {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 138, 242, 0.12), rgba(18, 184, 208, 0.1), rgba(22, 169, 113, 0.1)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.portal-preview-frame {
  justify-self: center;
  overflow: hidden;
  width: min(280px, 100%);
  height: 520px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(18, 32, 51, 0.1);
}

.portal-preview-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.portal-preview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.portal-preview-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  min-height: 120px;
  padding: 18px;
  border: 1px solid rgba(220, 231, 238, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.portal-preview-item > span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}

.portal-preview-item strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.portal-preview-item p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.support-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.support-band > div {
  display: grid;
  gap: 12px;
}

.faq-section {
  padding-top: 36px;
}

.faq-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  min-height: 50px;
  margin-bottom: 16px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.faq-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.faq-item p {
  max-width: none;
  padding: 0 16px 16px;
}

.faq-item[open] {
  border-color: rgba(32, 139, 232, 0.3);
  background: #fbfdff;
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.timeline::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  right: 18px;
  width: 2px;
  background: var(--line);
  content: "";
  animation: timeline-grow 900ms ease-out both;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.timeline-item > div {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.guide-section {
  display: grid;
  gap: 20px;
}

.guide-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.guide-tab {
  display: grid;
  gap: 7px;
  justify-items: start;
  min-height: 108px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.guide-tab strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}

.guide-tab.active {
  border-color: rgba(29, 168, 111, 0.42);
  background: var(--green-soft);
  color: var(--green);
}

.guide-tab:hover {
  transform: translateY(-1px);
}

.guide-panel,
.diagnostic-panel,
.reseller-copy,
.reseller-steps,
.legal-page {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.guide-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  animation: guide-panel-in 220ms ease-out both;
}

.clean-list,
.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list {
  counter-reset: guide-step;
}

.clean-list li,
.check-list li {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

.clean-list li {
  counter-increment: guide-step;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
}

.clean-list li::before {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  content: counter(guide-step);
  font-size: 12px;
  font-weight: 800;
}

.guide-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.trouble-grid {
  margin-top: 18px;
}

.info-card,
.support-card,
.status-card,
.empty-state {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
}

.info-card > .site-icon,
.support-card > .site-icon,
.empty-state > .site-icon {
  width: 26px;
  height: 26px;
  color: var(--blue);
}

.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.support-card {
  min-height: 250px;
}

.support-card .btn {
  width: fit-content;
  margin-top: auto;
}

.diagnostic-panel {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding: 22px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check-list .site-icon {
  margin-top: 8px;
  color: var(--green);
}

.status-summary {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.status-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px var(--green-soft);
}

.status-paused,
.status-degraded {
  background: var(--amber);
  box-shadow: 0 0 0 5px var(--amber-soft);
}

.status-incident,
.status-error {
  background: var(--red);
  box-shadow: 0 0 0 5px var(--red-soft);
}

.incident-box {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(206, 79, 66, 0.26);
  border-radius: 8px;
  background: var(--red-soft);
}

.updates-list {
  display: grid;
  gap: 12px;
}

.update-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.update-row > span,
.update-row small {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
}

.reseller-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.reseller-copy,
.reseller-steps {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.reseller-copy .btn {
  width: fit-content;
}

.reseller-steps article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.legal-page {
  display: grid;
  gap: 16px;
  width: min(860px, calc(100vw - 36px));
  margin: 0 auto 70px;
  padding: 28px;
}

.fallback-page {
  display: grid;
  gap: 18px;
  min-height: 70vh;
  place-content: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100vw - 36px));
  margin: 30px auto 0;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
}

.site-footer > div {
  display: grid;
  gap: 10px;
}

.site-footer p {
  font-size: 13px;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-footer nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.mobile-sticky-cta {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: reveal-in 420ms ease both;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pricing-focus {
  0% {
    box-shadow: 0 0 0 0 rgba(32, 139, 232, 0.34);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(32, 139, 232, 0);
  }
}

@keyframes timeline-grow {
  from {
    transform: scaleY(0);
    transform-origin: top;
  }
  to {
    transform: scaleY(1);
    transform-origin: top;
  }
}

@keyframes guide-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .home-hero,
  .split-section,
  .reseller-layout {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-stage {
    order: -1;
    min-height: 430px;
  }

  .hero-stage .hero-visual img {
    width: 190px;
    height: 348px;
  }

  .visual-story {
    grid-template-columns: 1fr;
  }

  .visual-story img {
    min-height: 280px;
  }

  .plan-grid,
  .step-row,
  .trouble-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-preview {
    grid-template-columns: 1fr;
  }

  .portal-preview-frame {
    height: 430px;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 31px;
    line-height: 1.35;
  }

  h2 {
    font-size: 22px;
  }

  p {
    font-size: 15px;
  }

  .site-header {
    gap: 10px;
    padding: 8px 12px;
  }

  .site-brand {
    font-size: 18px;
  }

  .site-brand img {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .site-nav a {
    padding: 7px 9px;
    font-size: 12px;
  }

  .home-hero,
  .page-hero,
  .site-section,
  .fallback-page,
  .legal-page {
    width: min(100vw - 24px, 1180px);
  }

  .home-hero {
    gap: 18px;
    padding: 20px 0 12px;
  }

  .page-hero {
    padding: 36px 0 16px;
  }

  .site-section {
    padding: 34px 0;
  }

  .hero-stage {
    min-height: 275px;
  }

  .hero-stage::after {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.48) 78%),
      linear-gradient(180deg, transparent 30%, rgba(255, 255, 255, 0.5));
  }

  .hero-stage .hero-visual {
    right: 14px;
    bottom: 14px;
  }

  .hero-stage .hero-visual img {
    width: 118px;
    height: 214px;
  }

  .hero-visual::before {
    inset: 14px 18px 8px;
  }

  .home-copy {
    gap: 14px;
  }

  .hero-actions .btn,
  .support-band .btn,
  .guide-actions .btn {
    width: 100%;
  }

  .hero-actions .btn.secondary {
    display: none;
  }

  .home-copy p,
  .page-hero p {
    line-height: 1.75;
  }

  .promise-line span,
  .purchase-notes span {
    width: 100%;
  }

  .promise-line {
    display: none;
  }

  .plan-grid,
  .step-row,
  .trouble-grid,
  .status-grid,
  .support-grid,
  .guide-tabs,
  .portal-preview-list,
  .visual-story {
    grid-template-columns: 1fr;
  }

  .visual-story {
    gap: 16px;
    padding: 16px;
  }

  .visual-story img {
    min-height: 190px;
    max-height: 240px;
  }

  .plan-card {
    min-height: 0;
  }

  .portal-preview {
    gap: 16px;
    padding: 16px;
  }

  .portal-preview-frame {
    width: min(230px, 100%);
    height: 300px;
  }

  .support-band {
    display: grid;
    padding: 20px;
  }

  .guide-tab {
    min-height: 86px;
  }

  .update-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    display: grid;
    width: min(100vw - 24px, 1180px);
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .mobile-sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 16;
    display: block;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
  }

  .mobile-sticky-cta .btn {
    width: 100%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
