:root {
  color-scheme: dark;
  --dragon-red: #f20d18;
  --interaction-red: #ff2a2a;
  --dragon-black: #050607;
  --graphite: #11161d;
  --graphite-2: #171e28;
  --white: #f6f7f8;
  --steel: #8a9098;
  --line: rgba(246, 247, 248, .12);
  --line-strong: rgba(246, 247, 248, .22);
  --shadow: 0 24px 80px rgba(0, 0, 0, .44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 78% 8%, rgba(242, 13, 24, .16), transparent 34rem),
    radial-gradient(circle at 15% 18%, rgba(255, 42, 42, .08), transparent 28rem),
    linear-gradient(180deg, #090c11 0%, var(--dragon-black) 46%, #07090d 100%);
  color: var(--white);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, .025) 42% 42.3%, transparent 42.3%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 14px);
  opacity: .42;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(150px, 230px) 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 8px clamp(14px, 4vw, 54px);
  background: rgba(5, 6, 7, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  display: block;
  width: min(220px, 100%);
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.login-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 11px;
  text-decoration: none;
  color: var(--steel);
  font-size: .88rem;
  font-weight: 800;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--white);
  border-color: var(--line);
  background: rgba(246, 247, 248, .06);
}

.login-link {
  color: var(--white);
  border-color: rgba(242, 13, 24, .55);
  background: linear-gradient(135deg, #ff2a2a, #a90812);
  box-shadow: 0 12px 34px rgba(242, 13, 24, .2);
}

main {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  min-height: calc(100svh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  padding: clamp(44px, 6vw, 74px) 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--interaction-red);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.metric-row strong,
.billing-strip strong,
.plan-price strong {
  font-family: Rajdhani, Inter, sans-serif;
}

h1 {
  margin-bottom: 20px;
  max-width: 780px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

p {
  color: var(--steel);
  line-height: 1.68;
}

.hero-lead {
  max-width: 720px;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions.centered {
  justify-content: center;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 900;
}

.button-primary {
  background: linear-gradient(135deg, var(--interaction-red), #9f0812);
  color: #fff;
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 16px 44px rgba(242, 13, 24, .2);
}

.button-secondary {
  background: rgba(246, 247, 248, .07);
  color: var(--white);
}

.button.full {
  width: 100%;
}

.brand-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: #dfe5ec;
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
  letter-spacing: .2em;
}

.brand-line i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dragon-red);
  box-shadow: 0 0 24px rgba(242, 13, 24, .85);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.logo-stage {
  position: relative;
  width: min(100%, 520px);
  padding: 18px;
  border: 1px solid rgba(246, 247, 248, .14);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(246, 247, 248, .06), rgba(246, 247, 248, .015)),
    var(--graphite);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, rgba(242, 13, 24, .34), transparent 28%, transparent 72%, rgba(242, 13, 24, .22));
  opacity: .72;
}

.hero-logo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1280 / 853;
  object-fit: contain;
  border-radius: 20px;
}

.promise-section,
.feature-band,
.split-section,
.modules-section,
.contact-section,
.pricing-hero,
.billing-strip,
.plans-grid {
  margin: 42px 0;
}

.promise-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(242, 13, 24, .12), transparent),
    rgba(17, 22, 29, .78);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.plan-card,
.contact-section,
.signal-panel,
.billing-strip,
.pricing-hero,
.modules-section {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(17, 22, 29, .82);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .22);
}

.feature-grid article {
  padding: 24px;
}

.feature-icon,
.plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(242, 13, 24, .16);
  border: 1px solid rgba(242, 13, 24, .42);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: .9rem;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 24px;
  align-items: start;
  padding: 38px;
  border-radius: 28px;
  background: #090d13;
  border: 1px solid var(--line);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #dfe5ec;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .44em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--dragon-red);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .26);
}

.signal-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.signal-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.metric-row {
  display: grid;
  gap: 2px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(246, 247, 248, .055);
  border: 1px solid var(--line);
}

.metric-row strong {
  color: var(--white);
  font-size: 1.3rem;
}

.metric-row span {
  color: var(--steel);
}

.modules-section {
  padding: 30px;
}

.module-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.module-strip span {
  padding: 10px 13px;
  border-radius: 999px;
  color: #dfe5ec;
  background: rgba(246, 247, 248, .06);
  border: 1px solid var(--line);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  padding: 32px;
}

.contact-section.compact {
  margin-bottom: 76px;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(0, 0, 0, .24);
  border: 1px solid var(--line);
}

.contact-card span {
  color: var(--steel);
  font-weight: 800;
}

.contact-card > a:not(.button) {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
}

.pricing-hero {
  margin-top: 64px;
  padding: clamp(34px, 7vw, 72px);
  text-align: center;
}

.pricing-hero img {
  display: block;
  width: min(560px, 100%);
  margin: 0 auto 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.pricing-hero p {
  max-width: 780px;
  margin-inline: auto;
}

.billing-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--line);
}

.billing-strip div {
  padding: 20px;
  background: var(--graphite);
}

.billing-strip strong,
.billing-strip span {
  display: block;
}

.billing-strip strong {
  font-size: 1.25rem;
}

.billing-strip span {
  margin-top: 4px;
  color: var(--steel);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.plan-card.featured {
  border-color: rgba(242, 13, 24, .45);
  background: linear-gradient(180deg, rgba(242, 13, 24, .09), rgba(17, 22, 29, .9));
}

.plan-top {
  min-height: 162px;
}

.plan-price {
  margin: 4px 0 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(246, 247, 248, .06);
}

.plan-price strong {
  display: block;
  color: var(--white);
  font-size: 1.25rem;
}

.plan-price span {
  display: block;
  color: var(--steel);
}

.plan-note {
  margin-top: auto;
  padding: 14px;
  border-radius: 16px;
  color: #ffd3d5;
  background: rgba(242, 13, 24, .1);
  border: 1px solid rgba(242, 13, 24, .22);
}

.plan-card .button {
  margin-top: 22px;
}

.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 44px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.2fr);
  align-items: start;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: min(260px, 75vw);
  height: auto;
  border-radius: 12px;
}

.site-footer p {
  margin: 10px 0 0;
}

.footer-right {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.footer-links,
.footer-contact,
.footer-extra-links {
  justify-content: flex-end;
}

.footer-links a {
  color: var(--steel);
  text-decoration: none;
  font-weight: 800;
}

.footer-contact,
.footer-extra-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  color: var(--steel);
  font-size: .92rem;
}

.footer-contact a,
.footer-extra-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

.footer-extra-links a {
  color: var(--steel);
}

.app-showcase {
  min-width: 0;
}

.device-stack {
  position: relative;
  width: min(100%, 560px);
  min-height: 540px;
}

.lite-phone {
  position: relative;
  z-index: 2;
  width: min(100%, 310px);
  min-height: 535px;
  margin-left: auto;
  padding: 15px;
  border: 1px solid rgba(246, 247, 248, .18);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(246, 247, 248, .08), rgba(246, 247, 248, .02)),
    #0b111a;
  box-shadow: var(--shadow);
}

.lite-phone::before {
  content: "";
  display: block;
  width: 92px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(246, 247, 248, .24);
}

.lite-phone-header,
.lite-qr-card,
.dashboard-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.lite-phone-header img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.lite-phone-header strong,
.lite-qr-card strong,
.dashboard-row strong {
  display: block;
  color: var(--white);
}

.lite-phone-header span,
.lite-qr-card span,
.dashboard-row span {
  color: var(--steel);
}

.lite-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 16px 0;
}

.lite-tabs span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--steel);
  background: rgba(246, 247, 248, .055);
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 900;
}

.lite-tabs .active {
  color: #fff;
  background: linear-gradient(135deg, var(--interaction-red), #9f0812);
}

.lite-qr-card {
  min-height: 106px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(246, 247, 248, .07);
  border: 1px solid var(--line);
}

.qr-mark {
  width: 64px;
  height: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  padding: 8px;
  border-radius: 16px;
  background: #f6f7f8;
}

.qr-mark b {
  border-radius: 5px;
  background: #050607;
}

.lite-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.lite-stat-grid div {
  min-height: 80px;
  display: grid;
  align-content: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .24);
}

.lite-stat-grid strong {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 2rem;
  line-height: .9;
}

.lite-stat-grid span,
.lite-list p {
  color: var(--steel);
}

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

.lite-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(246, 247, 248, .045);
}

.lite-list p span {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dragon-red);
}

.dashboard-card {
  position: absolute;
  left: 0;
  bottom: 76px;
  z-index: 1;
  width: 220px;
  padding: 14px;
  border: 1px solid rgba(246, 247, 248, .14);
  border-radius: 24px;
  background: rgba(17, 22, 29, .92);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .34);
}

.dashboard-card img {
  display: block;
  width: 100%;
  border-radius: 16px;
  margin-bottom: 12px;
}

.dashboard-row {
  grid-template-columns: 58px 1fr;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.proof-strip,
.workflow-grid,
.audience-grid,
.ops-grid,
.deep-feature-grid,
.brand-story-grid {
  display: grid;
  gap: 16px;
}

.proof-strip {
  grid-template-columns: repeat(4, 1fr);
  margin: 8px 0 42px;
}

.proof-strip div,
.workflow-grid article,
.audience-grid span,
.ops-grid article,
.deep-feature-grid article,
.brand-story-grid article,
.comparison-section,
.legal-page,
.page-hero {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(17, 22, 29, .78);
}

.proof-strip div {
  padding: 18px;
}

.proof-strip strong {
  display: block;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 1.65rem;
}

.proof-strip span {
  color: var(--steel);
}

.workflow-section,
.audience-section,
.ops-section,
.comparison-section,
.page-hero,
.deep-feature-grid,
.brand-story-grid,
.legal-page {
  margin: 42px 0;
}

.workflow-grid {
  grid-template-columns: repeat(4, 1fr);
}

.workflow-grid article,
.ops-grid article,
.deep-feature-grid article,
.brand-story-grid article {
  padding: 22px;
}

.workflow-grid article > strong,
.deep-feature-grid article > span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: rgba(242, 13, 24, .18);
  border: 1px solid rgba(242, 13, 24, .42);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 1.2rem;
}

.audience-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(5, 6, 7, .58);
}

.audience-grid {
  grid-template-columns: repeat(2, 1fr);
}

.audience-grid span {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  font-weight: 900;
}

.ops-grid,
.deep-feature-grid,
.brand-story-grid {
  grid-template-columns: repeat(3, 1fr);
}

.page-hero,
.legal-page {
  padding: clamp(28px, 6vw, 64px);
}

.page-hero {
  text-align: center;
}

.page-hero p {
  max-width: 780px;
  margin-inline: auto;
}

.brand-page-hero img {
  width: min(560px, 100%);
  display: block;
  margin: 0 auto 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.comparison-section {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  gap: 22px;
  align-items: start;
  padding: 28px;
}

.comparison-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.comparison-table > div {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 1px;
  background: var(--line);
}

.comparison-table span,
.comparison-table strong {
  padding: 12px;
  background: #0b1118;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .24);
}

.contact-form label,
.admin-form label,
.admin-card label {
  display: grid;
  gap: 7px;
}

.contact-form span,
.admin-form span,
.admin-card label span {
  color: var(--steel);
  font-size: .9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.admin-form input,
.admin-form textarea,
.admin-card input,
.admin-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  background: rgba(5, 6, 7, .76);
  color: var(--white);
  font: inherit;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.form-footer {
  display: grid;
  gap: 8px;
}

.form-footer p,
.contact-note {
  margin: 0;
}

.form-alert {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
}

.form-alert.success {
  background: rgba(34, 197, 94, .13);
  border: 1px solid rgba(34, 197, 94, .32);
}

.form-alert.error {
  background: rgba(242, 13, 24, .13);
  border: 1px solid rgba(242, 13, 24, .32);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.contact-details a,
.contact-details span {
  color: var(--white);
  font-weight: 800;
}

.standalone-contact {
  margin-top: 56px;
}

.legal-page h2 {
  margin-top: 30px;
  font-size: 1.55rem;
}

.admin-body {
  background: #050607;
}

.admin-shell {
  padding: 24px 0 64px;
}

.admin-header {
  display: grid;
  grid-template-columns: 230px 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.admin-brand img {
  display: block;
  width: 100%;
  border-radius: 14px;
}

.admin-card,
.admin-alert {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(17, 22, 29, .84);
  padding: 22px;
}

.admin-alert {
  margin-bottom: 18px;
  font-weight: 800;
}

.admin-alert.success {
  border-color: rgba(34, 197, 94, .32);
}

.admin-alert.error {
  border-color: rgba(242, 13, 24, .38);
}

.admin-login-card {
  max-width: 460px;
}

.admin-form,
.admin-form-grid {
  display: grid;
  gap: 16px;
}

.admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.admin-card {
  display: grid;
  gap: 14px;
}

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

.admin-message-list article {
  padding: 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--line);
}

.admin-message-list span {
  display: block;
  color: var(--steel);
  margin: 4px 0 8px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: stretch;
  }

  .site-nav a {
    flex: 1 1 0;
  }

  .hero-section,
  .promise-section,
  .split-section,
  .contact-section,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .billing-strip,
  .proof-strip,
  .workflow-grid,
  .ops-grid,
  .deep-feature-grid,
  .brand-story-grid,
  .comparison-section,
  .audience-section,
  .admin-form-grid,
  .admin-header {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .brand img {
    width: min(230px, 100%);
  }

  .device-stack {
    min-height: auto;
  }

  .lite-phone {
    margin: 0 auto;
  }

  .dashboard-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, 355px);
    margin: 16px auto 0;
  }

  .form-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  main,
  .site-footer {
    width: min(100% - 24px, 1200px);
  }

  .site-header {
    padding: 12px;
  }

  .brand img {
    width: 154px;
  }

  .login-link {
    min-height: 34px;
    padding: 0 12px;
    font-size: .84rem;
  }

  .site-nav {
    gap: 6px;
  }

  .site-nav a {
    min-height: 34px;
    padding: 0 8px;
    font-size: .82rem;
  }

  .hero-actions .button,
  .contact-card .button {
    width: 100%;
  }

  .promise-section,
  .split-section,
  .contact-section,
  .pricing-hero,
  .plan-card,
  .modules-section,
  .page-hero,
  .legal-page,
  .admin-card {
    padding: 22px;
    border-radius: 22px;
  }

  .lite-phone {
    min-height: 560px;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table > div {
    min-width: 520px;
  }

  .brand-line {
    letter-spacing: .12em;
    gap: 9px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-right,
  .footer-links,
  .footer-contact,
  .footer-extra-links {
    justify-items: start;
    justify-content: flex-start;
  }
}

@media (orientation: landscape) and (max-height: 520px) and (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(120px, 142px) minmax(0, 1fr) auto;
    gap: 8px;
    padding: 6px 10px;
  }

  .brand img {
    width: min(142px, 100%);
    border-radius: 8px;
  }

  .site-nav {
    grid-column: auto;
    order: initial;
    min-width: 0;
    justify-content: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .site-nav a,
  .login-link {
    min-height: 30px;
    padding: 0 8px;
    font-size: .76rem;
    white-space: nowrap;
  }

  .site-nav a {
    flex: 0 1 auto;
  }

  .login-link {
    padding-inline: 10px;
  }

  .hero-section {
    padding-top: 28px;
  }
}
