:root {
  --primary: #ffffff;
  --secondary: #54595f;
  --accent: #ff6600;
  --dark: #0a2239;
  --light: #ebf1fd;
  --black: #000000;
  --text: #111827;
  --muted: #596476;
  --line: #d8e0ef;
  --surface: #ffffff;
  --container: 1160px;
  --radius: 8px;
  --shadow-sm: 0 8px 24px rgba(10, 34, 57, 0.08);
  --shadow-md: 0 18px 48px rgba(10, 34, 57, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--light);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.site-header {
  background: var(--dark);
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  width: min(var(--container), calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 284px;
  text-decoration: none;
}

.brand img {
  width: 322px;
  max-width: none;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.nav-link,
.drop-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  font: 700 0.98rem/1 Inter, ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  padding: 11px 14px;
  cursor: pointer;
  border-radius: 999px;
}

.drop-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 11px 14px;
  transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover,
.drop-button:hover,
.nav-link.active,
.nav-downloads.open .drop-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link:focus-visible,
.drop-button:focus-visible,
.menu-toggle:focus-visible,
.button:focus-visible,
.tab-button:focus-visible,
.versions-link:focus-visible {
  outline: 3px solid rgba(255, 102, 0, 0.45);
  outline-offset: 3px;
}

.dropdown {
  position: relative;
}

.drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 330px;
  display: none;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  transform: none;
  visibility: visible;
  z-index: 40;
}

.drop-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 0;
  left: 0;
  height: 12px;
  background: transparent;
}

.drop-menu::after {
  content: "";
  position: absolute;
  top: -8px;
  right: 28px;
  width: 16px;
  height: 16px;
  background: var(--surface);
  transform: rotate(45deg);
}

.nav-downloads.open .drop-menu {
  display: grid;
}

@media (hover: hover) {
  .nav-downloads:hover .drop-menu {
    display: grid;
  }
}

.drop-menu a {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 12px;
  border-radius: 6px;
  color: #000000;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.drop-logo {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(10, 34, 57, 0.08);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  overflow: hidden;
}

.drop-logo::before {
  content: attr(data-short);
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--dark);
}

.drop-logo.has-logo::before {
  display: none;
}

.drop-logo img {
  width: 33px;
  height: 33px;
  display: block;
  object-fit: contain;
}

.drop-logo.vanilla-logo-wrap img {
  width: 36px;
  height: 36px;
}

.drop-menu a:hover {
  background: var(--light);
}

.drop-name {
  color: #000000;
  font-size: 1rem;
  font-weight: 700;
}

.drop-desc {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.2;
}

.chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  margin-top: -4px;
  transform: rotate(45deg);
  transition: transform 160ms ease, margin 160ms ease;
}

.drop-button[aria-expanded="true"] .chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  color: #ffffff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  margin-top: -6px;
  padding: 9.5rem 0 11rem;
  min-height: 610px;
  display: flex;
  align-items: center;
  background: url("/media/Group-82-2.webp") center/cover no-repeat;
}

.hero-inner,
.download-hero-inner {
  width: min(var(--container), 90%);
  margin: 0 auto;
}

.hero h1 {
  width: min(860px, 76%);
  margin: 0 0 6px;
  color: #ffffff;
  font-size: clamp(3rem, 5.8vw, 4.75rem);
  font-weight: 800;
  line-height: 1.04;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

.hero h1 span,
.download-hero h1 span {
  color: var(--accent);
}

.mobile-break {
  display: none;
}

.hero p {
  width: min(690px, 64%);
  margin: 18px 0 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  font-weight: 500;
  line-height: 1.38;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.56);
}

.software-strip {
  background: var(--light);
  margin-top: -1px;
}

.software-grid {
  width: min(var(--container), 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
  padding-bottom: 72px;
}

.software-card {
  min-height: 232px;
  margin-top: -105px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(10, 34, 57, 0.1);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.software-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.72rem;
  font-weight: 800;
  line-height: 1.1;
}

.software-card p {
  max-width: 210px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.32;
}

.software-card:nth-child(n + 5) {
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  transition: background 160ms ease, color 160ms ease;
}

.button::after {
  content: none;
}

.button-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  background: #e65c00;
  box-shadow: none;
}

.button.outline {
  background: transparent;
  box-shadow: inset 0 0 0 3px var(--accent);
}

.button.outline:hover {
  background: var(--accent);
}

.button.small {
  min-width: 132px;
  min-height: 42px;
  padding: 11px 18px;
  font-size: 1rem;
  font-weight: 800;
}

.button.disabled {
  pointer-events: none;
  opacity: 0.55;
}

.choice-section {
  padding: 78px 0 84px;
  background: var(--light);
}

.choice-wrap {
  width: min(var(--container), 90%);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

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

.choice-section h2 {
  width: auto;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 2.35vw, 2.05rem);
  font-weight: 800;
  line-height: 1.14;
  white-space: nowrap;
}

.tabs {
  display: grid;
  gap: 14px;
  width: 100%;
}

.tab-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  padding: 4px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}

.tab-button {
  border: 0;
  border-radius: 6px;
  padding: 11px 18px;
  color: var(--dark);
  background: transparent;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.tab-button.active,
.tab-button:hover {
  background: var(--accent);
  color: #ffffff;
}

.tab-panel {
  display: none;
  gap: 20px;
}

.tab-panel.active {
  display: grid;
}

.choice-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  border-radius: var(--radius);
  padding: 8px;
  background: var(--dark);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.choice-row p {
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.choice-row p strong {
  display: inline-block;
  margin-right: 4px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 850;
  line-height: 1;
}

.choice-row .versions-link {
  margin-right: 12px;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.features {
  padding: 70px 0 82px;
  background: var(--light);
}

.feature-grid {
  width: min(var(--container), 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: space-between;
  gap: 18px;
}

.feature-card {
  min-height: 280px;
  padding: 38px 30px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #ffffff;
  text-align: center;
  box-shadow: none;
}

.feature-icon {
  width: 116px;
  height: 116px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
}

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

.feature-card h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: #ffffff;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

.download-hero {
  padding: 86px 0 92px;
  background: url("/media/DownloadPageBackground2-1.webp") center/cover no-repeat;
}

.download-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.52);
}

.download-hero p {
  max-width: 790px;
  margin: 18px 0 0;
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.56);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 34px;
}

.versions-section {
  padding: 78px 0 82px;
  background: var(--light);
  --version-toggle-col: 168px;
  --version-action-col: 156px;
  --version-child-offset: 96px;
  --version-child-spacer: calc(var(--version-toggle-col) - var(--version-child-offset));
}

.table-head {
  width: min(var(--container), 90%);
  margin: 0 auto 12px;
  display: grid;
  grid-template-columns: var(--version-toggle-col) 1.2fr 1.35fr var(--version-action-col);
  color: var(--text);
}

.table-head span {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.version-list {
  width: min(var(--container), 90%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.version-group {
  display: grid;
  gap: 7px;
}

.version-row {
  display: grid;
  grid-template-columns: var(--version-toggle-col) 1.2fr 1.35fr var(--version-action-col);
  align-items: center;
  min-height: 68px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #ffffff;
  box-shadow: none;
}

.version-name,
.version-date {
  padding: 15px 0;
  font-size: 1.35rem;
  font-weight: 850;
}

.version-date {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 750;
}

.group-toggle {
  width: 38px;
  height: 38px;
  margin-left: 22px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.group-toggle:hover,
.group-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.version-children {
  display: grid;
  gap: 8px;
}

.version-children[hidden] {
  display: none;
}

.version-row.child {
  grid-template-columns: var(--version-child-spacer) 1.2fr 1.35fr var(--version-action-col);
  width: calc(100% - var(--version-child-offset));
  margin-left: var(--version-child-offset);
  background: var(--dark);
}

.version-row.child .version-name {
  grid-column: 2;
  padding-left: 0;
}

.version-row.child .version-date {
  grid-column: 3;
}

.version-row.child .button {
  grid-column: 4;
}

.version-row .button {
  justify-self: end;
  margin-right: 12px;
}

.loading,
.error-box {
  width: min(var(--container), 90%);
  margin: 0 auto;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.download-info-section {
  padding: 0 0 34px;
  background: var(--light);
}

.download-info-wrap {
  width: min(var(--container), 90%);
  margin: 0 auto;
}

.download-info-wrap h2 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  font-weight: 850;
  text-align: left;
}

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

.download-info-item {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.download-info-item h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 850;
}

.download-info-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.faq-section {
  padding: 42px 0 84px;
  background: var(--light);
}

.faq-wrap {
  width: min(var(--container), 90%);
  margin: 0 auto;
}

.faq-section h2 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  font-weight: 850;
  text-align: left;
}

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

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 0;
  padding-bottom: 2px;
}

.faq-item[open] summary {
  color: var(--text);
}

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

.faq-answer {
  margin: 0;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.faq-answer a {
  color: var(--accent);
  font-weight: inherit;
  text-decoration: none;
}

.faq-answer a:hover {
  color: var(--text);
}

.content-page {
  padding: 76px 0;
  background: var(--light);
}

.about-page {
  padding-top: 0;
}

.about-hero {
  margin-bottom: 76px;
  padding: 86px 0 92px;
  background: url("/media/About-Us-3.webp") 64% center/cover no-repeat;
}

.about-hero-inner {
  width: min(var(--container), 90%);
  margin: 0 auto;
}

.about-hero h1 {
  width: min(760px, 76%);
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  font-weight: 850;
  line-height: 1.05;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.52);
}

.about-hero h1 span {
  color: var(--accent);
}

.content-layout {
  width: min(var(--container), 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 375px);
  gap: 56px;
  align-items: start;
}

.content-layout.single {
  grid-template-columns: 1fr;
}

.content-layout h1 {
  margin: 0 0 36px;
  color: var(--text);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 850;
}

.content-layout h2 {
  margin: 34px 0 16px;
  color: var(--text);
  font-size: 2rem;
  font-weight: 850;
}

.content-layout p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.content-layout ul,
.content-layout ol {
  color: #000000;
  font-size: 18px;
  line-height: 1.65;
}

.content-layout table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 15px;
  line-height: 1.5;
}

.content-layout th,
.content-layout td {
  border: 1px solid #000000;
  padding: 10px;
  vertical-align: top;
}

.privacy-text {
  max-width: 920px;
}

.privacy-text p,
.privacy-text li {
  color: #595959;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.privacy-text h1,
.privacy-text h2,
.privacy-text h3 {
  font-family: Arial, sans-serif;
}

.content-layout img {
  width: 100%;
  height: auto;
}

.about-copy h2:first-child {
  margin-top: 0;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 4px 0 4px 34px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 12px;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.timeline-item {
  position: relative;
  padding: 0 0 28px 18px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  left: -31px;
  width: 21px;
  height: 21px;
  border: 4px solid var(--light);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--dark);
}

.timeline h3 {
  margin: 0 0 6px;
  color: var(--dark);
  font-size: 1.35rem;
  font-weight: 850;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.hosting-cta {
  background: var(--dark);
}

.hosting-cta .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 48px 0;
}

.hosting-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 850;
  white-space: nowrap;
}

.hosting-cta .button {
  justify-self: end;
  padding: 13px 18px;
  font-size: 0.95rem;
  box-shadow: none;
}

.footer-main {
  background: var(--surface);
}

.footer-grid {
  width: min(var(--container), 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 32%);
  gap: 2%;
  padding: 52px 0;
}

.footer-grid h2 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-logo {
  justify-self: center;
  text-align: center;
}

.footer-logo img {
  width: 148px;
  height: 148px;
  display: block;
  margin: 0 auto;
}

.footer-logo p {
  margin: 10px 0 0;
  color: #000000;
  font-size: 14px;
  font-weight: 600;
}

.disclaimer {
  margin: 0;
  padding: 18px 0;
  background: var(--surface);
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
}

@media (max-width: 1024px) {
  .nav {
    min-height: 88px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
    min-width: 0;
  }

  .nav-links {
    margin: -10px 0 22px;
  }

  .hero h1 {
    width: 88%;
    text-align: left;
  }

  .hero p {
    width: 82%;
    text-align: left;
  }

  .software-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 120px;
  }

  .software-card:nth-child(n + 3) {
    margin-top: 30px;
  }

  .choice-wrap,
  .content-layout,
  .hosting-cta .wrap {
    grid-template-columns: 1fr;
  }

  .choice-head {
    align-items: flex-start;
    flex-direction: row;
    gap: 16px;
  }

  .hosting-cta h2 {
    white-space: normal;
    text-align: center;
  }

  .choice-section h2 {
    width: 100%;
    text-align: left;
    white-space: normal;
  }

  .hosting-cta .button {
    justify-self: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 734px;
  }

  .download-info-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .nav {
    min-height: auto;
    width: 100%;
    padding: 0 18px;
    gap: 0;
    justify-content: space-between;
  }

  .brand {
    width: 100%;
    flex: 1;
    justify-content: center;
    padding: 12px 0;
  }

  .brand img {
    width: min(86%, 210px);
    max-width: 210px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    order: -1;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0 0 16px;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-link,
  .drop-button {
    width: 100%;
    padding: 17px 18px;
    color: #000000;
    font-size: 1rem;
    text-align: left;
  }

  .drop-button {
    justify-content: space-between;
    border-radius: 8px;
  }

  .nav-link:hover,
  .drop-button:hover,
  .nav-downloads.open .drop-button {
    background: var(--light);
    color: #000000;
  }

  .drop-menu {
    position: static;
    display: none;
    gap: 4px;
    opacity: 1;
    padding: 0 10px 12px;
    pointer-events: auto;
    transform: none;
    visibility: visible;
    box-shadow: none;
    border-radius: 0;
    background: var(--surface);
  }

  .nav-downloads.open .drop-menu {
    display: grid;
  }

  .drop-menu::before {
    display: none;
  }

  .drop-menu::after {
    display: none;
  }

  .drop-menu a {
    padding: 12px;
  }

  .hero {
    min-height: 540px;
    padding: 4.9rem 0 8.4rem;
    background-position: 68% center;
  }

  .hero-inner,
  .download-hero-inner {
    width: calc(100% - 48px);
  }

  .hero h1 {
    width: min(330px, calc(100vw - 56px));
    font-size: 2.05rem;
    line-height: 1.08;
    text-align: left;
  }

  .hero p {
    width: min(320px, calc(100vw - 56px));
    font-size: 0.98rem;
    line-height: 1.42;
    text-align: left;
  }

  .hero h1 span,
  .download-hero h1 span {
    display: block;
  }

  .mobile-break {
    display: block;
  }

  .software-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 66px;
  }

  .software-card,
  .software-card:nth-child(n + 3) {
    margin-top: 0;
  }

  .software-card:first-child {
    margin-top: -92px;
  }

  .choice-section {
    display: block;
    padding: 42px 0 66px;
  }

  .choice-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .choice-section h2 {
    font-size: 1.75rem;
    line-height: 1.16;
    white-space: normal;
    text-align: left;
  }

  .tab-buttons {
    justify-content: flex-start;
    width: auto;
  }

  .choice-row {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    min-height: 92px;
    padding: 20px 18px;
  }

  .choice-row p {
    width: 100%;
    padding: 0;
    text-align: left;
  }

  .choice-row p strong {
    display: inline;
    font-size: 1.38rem;
  }

  .choice-row .versions-link {
    width: auto;
    margin: 0;
    text-align: left;
  }

  .download-hero h1,
  .content-layout h1 {
    width: min(330px, calc(100vw - 56px));
    font-size: 2.05rem;
    line-height: 1.08;
  }

  .download-hero p {
    width: min(320px, calc(100vw - 56px));
    max-width: calc(100vw - 56px);
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .download-actions .button {
    font-size: 0.98rem;
  }

  .download-actions {
    gap: 18px;
  }

  .download-info-section {
    padding-bottom: 50px;
  }

  .download-info-wrap {
    width: calc(100% - 32px);
  }

  .download-info-wrap h2 {
    font-size: 1.85rem;
  }

  .download-info-item p,
  .faq-answer p {
    font-size: 0.96rem;
  }

  .download-info-item {
    padding: 18px;
  }

  .table-head {
    display: none;
  }

  .version-list {
    width: calc(100% - 32px);
    gap: 14px;
  }

  .version-group {
    gap: 8px;
  }

  .version-row {
    min-height: auto;
    justify-items: stretch;
    gap: 4px 10px;
    padding: 14px 12px;
    text-align: left;
  }

  .version-name,
  .version-date {
    padding: 0;
  }

  .version-name {
    font-size: 1.16rem;
    line-height: 1.1;
  }

  .version-date {
    font-size: 0.9rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
  }

  .version-row.group {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    grid-template-areas:
      "toggle name button"
      "toggle date button";
    align-items: center;
  }

  .version-row.group .group-toggle {
    grid-area: toggle;
  }

  .version-row.group .version-name {
    grid-area: name;
  }

  .version-row.group .version-date {
    grid-area: date;
  }

  .version-row.group .button {
    grid-area: button;
  }

  .group-toggle {
    width: 36px;
    height: 36px;
    margin-left: 0;
    font-size: 28px;
  }

  .version-row.child {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name button"
      "date button";
    width: calc(100% - 44px);
    margin-left: 44px;
    padding: 12px;
  }

  .version-row.child .version-name {
    grid-area: name;
    padding-left: 0;
  }

  .version-row.child .version-date {
    grid-area: date;
  }

  .version-row.child .button {
    grid-area: button;
  }

  .version-row .button {
    justify-self: end;
    align-self: center;
    min-width: 108px;
    min-height: 40px;
    margin: 0;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    text-align: center;
  }

  .nav-link.active {
    background: transparent;
    color: var(--accent);
  }

  .nav-link.active:hover {
    background: var(--light);
    color: var(--accent);
  }

  .about-hero {
    margin-bottom: 42px;
    padding: 4.8rem 0 5.4rem;
    background-position: 72% center;
  }

  .about-hero h1 {
    width: min(330px, calc(100vw - 56px));
    font-size: 2.05rem;
    line-height: 1.08;
  }

  .timeline {
    padding-left: 30px;
  }
}
