:root {
  --bg: #08111f;
  --bg-soft: #0d1b2f;
  --panel: rgba(10, 21, 38, 0.78);
  --panel-strong: rgba(8, 16, 31, 0.92);
  --panel-border: rgba(160, 184, 217, 0.18);
  --text: #eef4ff;
  --muted: #9eb1ca;
  --heading: #ffffff;
  --line: rgba(169, 190, 222, 0.14);
  --accent: #4f8cff;
  --accent-2: #37c8b2;
  --accent-3: #ff7a59;
  --success: #58d39b;
  --shadow-lg: 0 32px 72px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.22);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-height: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 140, 255, 0.18), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(55, 200, 178, 0.14), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255, 122, 89, 0.14), transparent 30%),
    linear-gradient(180deg, #07101d 0%, #091426 45%, #07101b 100%);
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  line-height: 1.68;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 92%);
  opacity: 0.5;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

p {
  margin: 0;
  color: var(--muted);
  text-align: justify;
  text-justify: inter-word;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--heading);
  font-family: "Manrope", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 40px 0;
}

.page-inner .section {
  padding: 34px 0;
}

.section-intro,
.page-hero .container {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.section-intro {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  align-items: end;
}

.section-intro h2,
.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.page-inner .page-hero h1 {
  font-size: clamp(1.92rem, 3vw, 2.7rem);
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9e7ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel,
.feature-card,
.small-card,
.app-teaser-card,
.mini-panel,
.price-card,
.contact-card,
.tab-panel,
.application-tab,
.cta-card {
  background: linear-gradient(180deg, rgba(16, 29, 50, 0.9), rgba(7, 15, 28, 0.92));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
}

.glass-panel {
  backdrop-filter: blur(16px);
}

.button-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #7e6bff);
  box-shadow: 0 18px 40px rgba(79, 140, 255, 0.32);
}

.button-secondary {
  color: #e8f2ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(6, 12, 22, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

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

.site-brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(79, 140, 255, 0.22);
}

.site-brand span {
  display: grid;
  gap: 2px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
}

.header-nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 11px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: #fff;
}

.hero-home {
  padding: 34px 0 26px;
}

.hero-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.slider-wrap {
  padding: 28px;
}

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
}

.hero-copy p {
  margin-top: 16px;
  max-width: 62ch;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.hero-badge,
.mini-signal {
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-badge strong,
.mini-signal strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.92rem;
}

.slider-wrap {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
}

.slider-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.slider-top h2 {
  margin-top: 14px;
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
}

.hero-swiper {
  width: 100%;
  overflow: hidden;
}

.hero-slide-card {
  position: relative;
  min-height: 270px;
  padding: 24px;
  display: flex;
  align-items: end;
  border-radius: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-slide-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 13, 24, 0.08), rgba(5, 13, 24, 0.92) 68%),
    linear-gradient(120deg, rgba(79, 140, 255, 0.18), transparent 44%);
}

.hero-slide-card > div {
  position: relative;
  z-index: 1;
  max-width: 82%;
}

.hero-slide-card h3 {
  margin-top: 12px;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
}

.hero-slide-card p {
  margin-top: 10px;
  color: rgba(238, 244, 255, 0.86);
}

.slider-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.slider-nav button {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.card-row,
.compact-grid,
.pricing-grid,
.feature-grid,
.app-teaser-grid {
  display: grid;
  gap: 16px;
}

.card-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.small-card,
.mini-panel {
  padding: 20px 18px;
}

.small-card i,
.mini-panel i,
.feature-card i {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.9), rgba(55, 200, 178, 0.75));
  box-shadow: 0 14px 28px rgba(79, 140, 255, 0.24);
}

.small-card h3,
.mini-panel h3,
.feature-card h3,
.app-teaser-card h3,
.price-card h3,
.contact-card h3 {
  font-size: 1.05rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
}

.story-card {
  padding: 26px;
}

.story-card p {
  margin-top: 14px;
}

.story-card ul,
.feature-list,
.contact-list,
.price-list,
.tab-benefits,
.footer-links-list,
.footer-contact-list {
  display: grid;
  gap: 11px;
}

.story-card li,
.feature-list li,
.contact-list li,
.price-list li,
.tab-benefits li,
.footer-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.story-card li i,
.feature-list li i,
.price-list li i,
.tab-benefits li i,
.contact-list li i,
.footer-contact-list li i {
  color: var(--success);
  margin-top: 3px;
}

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

.feature-card {
  padding: 20px;
}

.feature-card p,
.app-teaser-card p,
.small-card p,
.mini-panel p {
  margin-top: 10px;
}

.app-teaser-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-teaser-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
}

.app-teaser-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -50px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-glow, rgba(79, 140, 255, 0.22)) 0%, transparent 70%);
}

.app-card-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.app-card-title {
  display: flex;
  gap: 14px;
  min-width: 0;
}

.app-card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  flex: 0 0 auto;
  color: #fff;
  font-size: 1rem;
}

.app-card-title small {
  display: block;
  margin-bottom: 5px;
  color: #d6e3f8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.app-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cta-grid,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cta-card,
.contact-card {
  padding: 24px;
}

.contact-list a,
.footer-contact-list a {
  color: #fff;
}

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

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

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

.price-card {
  position: relative;
  padding: 24px 22px;
}

.price-card.is-featured {
  transform: translateY(-8px);
  border-color: rgba(126, 107, 255, 0.44);
  box-shadow: 0 24px 50px rgba(88, 88, 255, 0.22);
}

.price-eyebrow {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  color: #d8e5ff;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
}

.price {
  margin-top: 18px;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.price-note {
  margin-top: 10px;
}

.price-list {
  margin: 18px 0 22px;
}

.contact-layout .contact-card:first-child {
  background:
    linear-gradient(180deg, rgba(17, 31, 55, 0.94), rgba(6, 14, 27, 0.92)),
    radial-gradient(circle at top right, rgba(79, 140, 255, 0.18), transparent 40%);
}

.contact-form,
.support-form {
  display: grid;
  gap: 14px;
}

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

.contact-form label,
.support-form label {
  display: grid;
  gap: 8px;
}

.contact-form span,
.support-form span {
  color: #dbe8ff;
  font-size: 0.83rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #f6fbff;
  background: rgba(255, 255, 255, 0.05);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

select {
  color-scheme: dark;
}

input::placeholder,
textarea::placeholder {
  color: rgba(214, 227, 248, 0.58);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(79, 140, 255, 0.68);
  box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

textarea {
  resize: vertical;
  min-height: 132px;
}

.application-showcase-section {
  padding-top: 30px;
}

.application-mobile-picker {
  display: none;
}

.application-mobile-picker label {
  display: block;
  margin-bottom: 9px;
  color: #dbe7fa;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.application-mobile-picker select {
  background: rgba(9, 18, 34, 0.96);
  color: #f4f8ff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.application-tabs {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.application-tab-list {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  display: grid;
  gap: 12px;
}

.application-tab {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 19, 34, 0.88);
  min-height: 108px;
  text-align: left;
}

.application-tab-visual {
  padding: 0;
}

.application-tab-surface {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(6, 15, 28, 0.82), rgba(7, 15, 27, 0.42)),
    var(--tab-image) center/cover no-repeat;
  filter: saturate(1.08);
}

.application-tab::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--tab-accent), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.application-tab-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.application-tab-copy i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--tab-accent);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.application-tab-copy small {
  display: block;
  margin-bottom: 5px;
  color: #e4eefc;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.application-tab-copy strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.application-tab.is-active {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.25);
}

.application-tab.is-active::after {
  opacity: 1;
}

.application-panels {
  min-width: 0;
}

.tab-panel {
  display: none;
  padding: 24px;
}

.tab-panel.is-active {
  display: block;
  animation: panelFade 0.28s ease;
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-panel-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  gap: 18px;
}

.tab-highlight,
.tab-block {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.tab-highlight strong,
.tab-block h4 {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 0.98rem;
}

.tab-highlight p {
  margin-bottom: 14px;
}

.tab-block {
  margin-top: 18px;
}

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

.tab-feature-grid div {
  padding: 15px;
  border-radius: 16px;
  background: rgba(7, 17, 31, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tab-feature-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.94rem;
}

.site-footer {
  margin-top: 28px;
  padding: 34px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(6, 12, 22, 0.4), rgba(4, 9, 17, 0.86));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 0.9fr;
  gap: 18px;
}

.footer-brand-block p {
  margin-top: 14px;
  max-width: 50ch;
}

.site-footer h4 {
  margin-bottom: 14px;
  font-size: 0.96rem;
}

.footer-links-list a,
.footer-contact-list span {
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  font-size: 0.84rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.floating-contact-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 20;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.floating-contact-rail a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: rgba(8, 17, 31, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.support-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.support-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 5, 12, 0.72);
  backdrop-filter: blur(8px);
}

.support-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(13, 24, 43, 0.98), rgba(5, 12, 24, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.support-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 20px;
}

.support-copy {
  padding: 6px 6px 6px 0;
}

.support-copy h3 {
  margin-top: 16px;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.support-copy p {
  margin-top: 14px;
}

.support-channel-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.support-channel-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-channel-list i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.9), rgba(55, 200, 178, 0.74));
}

.support-channel-list strong,
.support-channel-list small {
  display: block;
}

.support-channel-list small {
  color: var(--muted);
  margin-top: 3px;
}

.support-form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.support-form-footer p,
[data-form-feedback] {
  font-size: 0.88rem;
}

.is-success {
  color: #b1ffcf;
}

details {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

details + details {
  margin-top: 12px;
}

summary {
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}

details p {
  margin-top: 12px;
}

@media (max-width: 1180px) {
  .hero-home-grid,
  .split-layout,
  .cta-grid,
  .contact-layout,
  .support-grid,
  .application-tabs,
  .tab-panel-top,
  .section-intro,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-row,
  .compact-grid,
  .pricing-grid,
  .app-teaser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .application-tab-list {
    position: static;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 78px;
  }

  body {
    font-size: 14.4px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-nav-wrap {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    z-index: 15;
    display: none;
    padding: 16px;
    border-radius: 18px;
    background: rgba(6, 12, 22, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
  }

  .header-nav-wrap.is-open,
  .header-nav-wrap[data-nav-menu].is-open {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    width: 100%;
  }

  .header-support {
    width: 100%;
  }

  .hero-copy,
  .slider-wrap,
  .story-card,
  .cta-card,
  .contact-card,
  .tab-panel,
  .support-dialog {
    padding: 22px;
  }

  .hero-badges,
  .feature-grid,
  .card-row,
  .compact-grid,
  .pricing-grid,
  .app-teaser-grid,
  .form-row,
  .form-grid,
  .tab-feature-grid,
  .page-inner .compact-grid {
    grid-template-columns: 1fr;
  }

  .application-mobile-picker {
    position: sticky;
    top: calc(var(--header-height) + 12px);
    z-index: 14;
    display: block;
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(8, 16, 31, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
  }

  .application-tab-list {
    display: none;
  }

  .floating-contact-rail {
    right: 12px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .section {
    padding: 28px 0;
  }

  .page-hero {
    padding: 26px 0 10px;
  }

  .site-brand span {
    font-size: 0.92rem;
  }

  .site-brand small {
    font-size: 0.68rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .slider-top {
    align-items: start;
    flex-direction: column;
  }

  .hero-slide-card {
    min-height: 220px;
  }

  .hero-slide-card > div {
    max-width: 100%;
  }

  .mini-signal {
    width: 100%;
  }

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

  .button,
  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .button-row,
  .hero-actions,
  .support-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .floating-contact-rail {
    top: auto;
    bottom: 14px;
    transform: none;
    grid-auto-flow: column;
    left: 50%;
    right: auto;
    padding: 8px;
    border-radius: 18px;
    background: rgba(8, 17, 31, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(-50%);
  }

  .floating-contact-rail a {
    width: 44px;
    height: 44px;
  }

  .support-modal {
    padding: 12px;
  }

  .support-dialog {
    border-radius: 22px;
  }
}
