:root {
  --orange: #f3830c;
  --orange-soft: #f6aa53;
  --dark: #3c3636;
  --dark-deep: #292525;
  --muted: #aaa09a;
  --light: #dedddb;
  --line-dark: rgba(60, 54, 54, 0.25);
  --line-light: #67564a;
  --font-sans: Arial, "Helvetica Neue", sans-serif;
  --font-display: "Arial Narrow", Impact, sans-serif;
  --font-text: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --page-gutter: 80px;
  --radius: 20px;
}

/* Final responsive safety net for narrow and intermediate viewports. */
@media (max-width: 600px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .glass-nav {
    right: auto !important;
    left: 10px !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    box-sizing: border-box !important;
    padding-inline: 10px !important;
  }

  .glass-nav .nav-brand,
  .glass-nav .nav-pages,
  .glass-nav .nav-right,
  main,
  main > *,
  .wrap,
  .section,
  .section > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  main :is(h1, h2, h3, p, li, dd, figcaption),
  .button,
  button {
    max-width: 100%;
  }

  img,
  video,
  iframe,
  svg {
    max-width: 100%;
  }
}

@media (max-width: 370px) {
  .glass-nav {
    grid-template-columns: 22px minmax(0, 1fr) 26px !important;
    gap: 3px !important;
    padding-inline: 8px !important;
  }

  .glass-nav .nav-brand svg {
    width: 22px !important;
    height: 22px !important;
  }

  .glass-nav .nav-pages {
    gap: 1px !important;
    font-size: clamp(7px, 2.35vw, 8.5px) !important;
  }

  .glass-nav .menu-toggle,
  .glass-nav .nav-right {
    width: 26px !important;
    min-width: 26px !important;
  }

  main h2 {
    font-size: clamp(27px, 8.8vw, 34px) !important;
    overflow-wrap: anywhere;
  }

  .button,
  button {
    overflow-wrap: anywhere;
  }
}

/* Final mobile layout corrections */
@media (max-width: 600px) {
  .nav-links[hidden] { display: none !important; }
  .nav-links:not([hidden]) {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    min-height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 92px 22px 28px !important;
    border-radius: 0 !important;
    overflow-y: auto !important;
    align-content: start !important;
    z-index: 100001 !important;
  }
}

/* Keep the mobile menu control identical to the desktop hamburger. */
@media (max-width: 600px) {
  .glass-nav .nav-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .glass-nav .nav-pages {
    grid-column: 2;
    grid-row: 1;
  }

  .glass-nav .nav-right {
    position: relative !important;
    grid-column: 3;
    grid-row: 1;
    display: flex !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 32px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .glass-nav .menu-toggle {
    position: relative !important;
    display: flex !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 5px 2px !important;
    flex-direction: column !important;
    justify-content: space-around !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--dark) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .glass-nav .menu-toggle span {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    flex: 0 0 2px !important;
    border-radius: 0 !important;
    background: currentColor !important;
    opacity: 1;
  }

  .glass-nav .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg) !important;
  }

  .glass-nav .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0 !important;
  }

  .glass-nav .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg) !important;
  }
}

/* Compact mobile navigation: a small panel below the fixed header. */
@media (max-width: 600px) {
  .glass-nav .menu-toggle {
    position: static !important;
    z-index: 1000003;
    display: flex !important;
    flex: 0 0 28px;
    width: 28px;
    height: 32px;
    opacity: 1;
    visibility: visible;
    justify-self: end;
  }

  .glass-nav .nav-pages {
    display: grid !important;
    min-width: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px !important;
    padding-right: 0;
    overflow: visible;
    font-size: clamp(8px, 2.15vw, 10px) !important;
  }

  .glass-nav .nav-pages a {
    min-width: 0;
    overflow: visible;
    text-align: center;
    white-space: nowrap;
  }

  .glass-nav .nav-right {
    position: static;
    margin-left: 0;
    justify-self: end;
  }

  .glass-nav {
    display: grid !important;
    width: min(calc(100vw - 20px), 420px) !important;
    min-width: 0 !important;
    max-width: 420px !important;
    grid-template-columns: 24px minmax(0, 1fr) 28px !important;
    gap: 6px !important;
  }

  .glass-nav .menu-toggle span {
    display: block !important;
    width: 100%;
    height: 2px;
    background: currentColor;
  }

  .glass-nav .menu-toggle::before {
    display: none;
    content: none;
  }

  .glass-nav .menu-toggle[aria-expanded="true"]::before {
    content: none;
  }

  .glass-nav .nav-links:not([hidden]) {
    position: fixed !important;
    top: 78px !important;
    right: 10px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 1000002 !important;
    display: grid !important;
    width: min(320px, calc(100vw - 20px)) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 25dvh !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-content: start !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 12px !important;
    overflow-y: auto !important;
    border: 1px solid rgba(255, 255, 255, 0.58) !important;
    border-radius: 16px !important;
    background: rgba(247, 241, 234, 0.98) !important;
    box-shadow: 0 14px 30px rgba(33, 25, 19, 0.16) !important;
  }

  .glass-nav .nav-links-group + .nav-links-group {
    padding: 0 0 0 8px !important;
    border-top: 0 !important;
    border-left: 1px solid rgba(59, 52, 52, 0.18) !important;
  }

  .glass-nav .nav-links-label {
    margin: 0 6px 4px !important;
    font-size: 8px !important;
  }

  .glass-nav .nav-links a {
    padding: 6px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
  }
}

/* Mobile menu: occupy the full viewport so both page and section links remain usable. */
@media (max-width: 600px) {
  .glass-nav .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1000001;
    width: 100vw;
    max-height: none;
    min-height: 100vh;
    margin: 0;
    padding: 104px 22px 32px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 26px;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: rgba(247, 241, 234, 0.98);
    box-shadow: none;
  }
  .glass-nav .nav-links-group + .nav-links-group {
    padding: 24px 0 0;
    border-top: 1px solid rgba(59, 52, 52, 0.18);
    border-left: 0;
  }
  .glass-nav .nav-links a {
    display: block;
    padding: 13px 10px;
    font-size: clamp(17px, 5vw, 23px);
  }
  .glass-nav .nav-links-label { margin: 0 10px 10px; font-size: 11px; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--dark);
  color: var(--orange);
  font-family: var(--font-sans);
  font-weight: 800;
}

/* Keep supporting copy compact and consistent across breakpoints. Display
   headings retain the established display face; body copy uses the narrower
   face already present in the design. */
p,
h3,
label,
legend,
.benefits summary,
.guide-note,
.faq-questions button,
.footer-main,
.footer-bottom {
  font-family: var(--font-text);
}

/* One body-copy face across every page. */
main p,
main li,
main dd,
main figcaption,
main blockquote {
  font-family: var(--font-text) !important;
  font-size: clamp(25px, 2.3vw, 36px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.012em;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
[contenteditable]:focus-visible {
  outline: 3px solid var(--orange-soft);
  outline-offset: 5px;
}

.wrap {
  width: calc(100% - (var(--page-gutter) * 2));
  margin-inline: auto;
}

.section {
  padding-block: 90px;
}

.orange,
.hero {
  background: var(--orange);
  color: var(--dark);
}

main h2 {
  margin: 0 0 52px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(40px, 4.8vw, 68px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
}

.orange h2 {
  color: var(--orange-soft);
}

/* Navigation */
.glass-nav {
  position: fixed;
  z-index: 1000000;
  top: 16px;
  right: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 22px;
  background: rgba(245, 222, 194, 0.22);
  box-shadow: 0 8px 32px rgba(52, 37, 21, 0.05);
  color: var(--dark);
  font-size: 16px;
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  transform: translateZ(0);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
  user-select: none;
}

.nav-brand svg {
  width: 35px;
  height: 35px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 30px);
  flex: 1;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.glass-nav a,
.footer-main a,
.footer-bottom a {
  position: relative;
  display: inline-block;
  transform-origin: center;
}

.glass-nav a::after,
.footer-main a::after,
.footer-bottom a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-nav a:hover,
.footer-main a:hover,
.footer-bottom a:hover {
  transform: scale(1.015);
}

.glass-nav a:hover::after,
.footer-main a:hover::after,
.footer-bottom a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-pages a[aria-current="page"] {
  color: var(--orange);
}

.menu-toggle {
  display: flex;
  width: 38px;
  height: 38px;
  padding: 6px 3px;
  flex-direction: column;
  justify-content: space-around;
  border: 0;
  background: transparent;
  color: inherit;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
  position: absolute;
  z-index: 2;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(680px, calc(100vw - 48px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(243, 229, 213, 0.94);
  box-shadow: 0 16px 35px rgba(33, 25, 19, 0.15);
}

.nav-links[hidden] {
  display: none;
}

.nav-links a {
  padding: 12px;
  border-radius: 9px;
  font-size: 18px;
}

.nav-links-group + .nav-links-group {
  padding-left: 20px;
  border-left: 1px solid rgba(59, 52, 52, 0.18);
}

.nav-links-label {
  display: block;
  margin: 0 12px 8px;
  color: rgba(59, 52, 52, 0.58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links-list {
  display: grid;
  gap: 5px;
}

.nav-links a::after {
  right: 12px;
  bottom: 7px;
  left: 12px;
}

.nav-links a:hover {
  background: rgba(243, 131, 12, 0.18);
}

.nav-links a[aria-current="page"] {
  color: var(--orange);
}

/* Buttons */
.button,
.process-watch {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font-weight: 900;
  transition: background-color 0.48s ease, color 0.48s ease, border-color 0.48s ease;
}

.button {
  max-width: 100%;
  gap: 16px;
  padding: 15px 27px;
  border: 1px solid var(--orange-soft);
  background: var(--dark);
  color: var(--orange);
  font-size: 25px;
  text-align: center;
  white-space: normal;
}

.button::before,
.process-watch::before {
  position: absolute;
  z-index: 1;
  top: -45%;
  bottom: -45%;
  left: -38%;
  width: 22%;
  background: rgba(255, 255, 255, 0.95);
  content: "";
  pointer-events: none;
  transform: translateX(-220%) skewX(-22deg);
}

.button:hover::before,
.process-watch:hover::before {
  animation: button-flash 0.75s cubic-bezier(0.22, 0.7, 0.25, 1) 1;
}

.button:not(.training-button):hover {
  border-color: var(--dark);
  background: var(--orange);
  color: var(--dark);
}

.training-button {
  margin-top: 30px;
  padding: 20px 36px;
  border-color: var(--orange);
  background: var(--orange);
  color: var(--dark);
  font-size: 30px;
}

.training-button:hover {
  border-color: var(--orange);
  background: var(--dark);
  color: var(--orange);
}

@keyframes button-flash {
  0% { opacity: 0; transform: translateX(-220%) skewX(-22deg); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translateX(760%) skewX(-22deg); }
}

/* Hero */
.hero {
  position: relative;
  min-height: 0;
  overflow: visible;
  padding-top: 96px;
}

.hero-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 11px;
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dark);
  box-shadow: 0 0 0 4px rgba(60, 54, 54, 0.07);
}

.hero-wordmark {
  width: calc(100% - (var(--page-gutter) * 2));
  height: clamp(200px, 26vw, 360px);
  margin: 12px auto 24px;
  animation: hero-arrive 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  line-height: 1;
}

.hero-wordmark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-wordmark text {
  fill: var(--orange-soft);
  font-family: var(--font-display);
  font-size: 430px;
  font-weight: 700;
}

.hero-bottom {
  display: flex;
  min-height: 130px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 10px 0 42px;
}

.hero-bottom p {
  display: flex;
  min-height: 2.3em;
  max-width: 740px;
  align-items: center;
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero-cta {
  flex-shrink: 0;
  padding: 20px 34px;
  border-color: var(--dark);
  white-space: nowrap;
  font-size: 28px;
}

.hero-detail-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line-dark);
  color: var(--dark);
}

.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-capabilities > span {
  padding: 7px 13px;
  border: 1px solid rgba(60, 54, 54, 0.23);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 500;
}

.hero-scroll {
  display: flex;
  justify-content: flex-end;
}

.scroll-track {
  display: flex;
  width: 18px;
  height: 29px;
  justify-content: center;
  padding-top: 5px;
  border: 1px solid rgba(60, 54, 54, 0.48);
  border-radius: 14px;
}

.scroll-track i {
  width: 3px;
  height: 6px;
  border-radius: 3px;
  background: var(--dark);
  animation: scroll-cue 2.5s ease-in-out infinite;
}

@keyframes hero-arrive {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-cue {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

/* About */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 38px;
}

.intro-copy { margin-left: -18px; }

.intro-copy > p {
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  font-family: var(--font-text);
  font-size: 29px;
  font-weight: 800;
  line-height: 1.3;
}

.benefits details p,
.guide-note,
.process-grid p,
.faq-answer p,
.social-card p,
.estimate p,
.footer-brand p {
  font-family: var(--font-text);
  overflow-wrap: break-word;
}

.process-grid article,
.social-card,
.guide-grid article {
  min-width: 0;
  overflow: hidden;
}

.process-video {
  width: 100%;
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
  border: 1px solid #756452;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.process-video .demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-points {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.intro-points article {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 185px;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(243, 131, 12, 0.55);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.35s ease;
}

.intro-points article::after {
  position: absolute;
  z-index: -1;
  right: -58px;
  bottom: -72px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(243, 131, 12, 0.32);
  border-radius: 50%;
  content: "";
}

.intro-points article:first-child {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--dark);
  box-shadow: 0 20px 38px rgba(243, 131, 12, 0.18);
}

.intro-points article:hover {
  border-color: var(--orange);
  background: rgba(243, 131, 12, 0.07);
  transform: translateY(-4px);
}

.intro-points article:first-child:hover {
  background: var(--orange);
}

.intro-points span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--orange);
  font-size: 18px;
  font-weight: 900;
}

.intro-points article:first-child span {
  border-color: var(--dark);
  background: var(--dark);
}

.intro-points h3 {
  margin: 18px 0 8px;
  color: var(--orange);
  font-size: clamp(22px, 2vw, 30px);
}

.intro-points article:first-child h3,
.intro-points article:first-child p { color: var(--dark); }

.intro-points p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.35;
}

/* Benefits */
.benefits {
  padding-top: 40px;
}

.benefits details {
  position: relative;
  overflow: hidden;
  margin-bottom: 29px;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--dark);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease, filter 0.42s ease;
}

.benefits summary {
  position: relative;
  padding: 27px 75px 27px 18px;
  cursor: pointer;
  font-size: 42px;
  list-style: none;
  transition: background-color 0.35s ease, padding-left 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.benefits summary::after {
  position: absolute;
  top: 50%;
  right: 30px;
  width: 16px;
  height: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.28s ease;
}

.benefits details[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.benefits details.is-closing summary::after {
  transform: translateY(-70%) rotate(45deg);
}

.benefits details p {
  max-width: none;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 16px;
  border: 0 solid var(--orange);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--dark);
  color: var(--orange);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  transition: max-height 0.46s cubic-bezier(0.22, 1, 0.36, 1), padding 0.46s ease, border-width 0.46s ease;
}

.benefits details[open] p {
  max-height: 420px;
  padding-block: 24px;
  border-width: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .benefits details:hover {
    box-shadow: -7px 7px 0 rgba(243, 131, 12, 0.2);
    transform: translateX(7px);
  }

  .benefits details:hover summary {
    padding-left: 26px;
    background: #f78c18;
  }

  .benefits details:hover summary::after {
    animation: benefit-chevron 0.72s ease-in-out 1 alternate;
  }

}

@keyframes benefit-chevron {
  from { margin-top: -2px; }
  to { margin-top: 3px; }
}

/* Guide */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.guide-grid article {
  min-width: 0;
}

.guide-grid article > h3 {
  margin: 18px 0 0;
  font-family: var(--font-text);
  font-size: 33px;
  line-height: 1.2;
  text-align: center;
}

.mini-browser {
  height: 218px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--light);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.48s ease;
}

.browser-bar {
  padding: 12px 16px;
  background: #c9c6c2;
  font-size: 12px;
}

.mini-layout {
  display: flex;
  gap: 18px;
  padding: 23px;
}

.mini-layout aside {
  width: 45px;
  height: 115px;
  border-radius: 8px;
  background: var(--dark);
}

.mini-layout > div {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 13px;
}

.mini-layout i {
  display: block;
  height: 27px;
  border-radius: 5px;
  background: #bab5af;
}

.mini-layout i:first-child {
  background: var(--orange);
}

.mini-editor {
  display: grid;
  gap: 12px;
  padding: 24px 18px;
}

.mini-editor span,
.mini-editor small {
  font-size: 11px;
}

.mini-editor strong {
  padding: 8px 0;
  border-bottom: 2px solid var(--orange);
  font-size: 22px;
}

.mini-result {
  display: flex;
  height: 174px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.mini-result > span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  font-size: 35px;
}

.guide-note {
  margin: 40px 0;
  font-size: 29px;
  line-height: 1.3;
  text-align: center;
}

.guide-subtitle {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
}

#guide .guide-practice {
  margin-top: 44px;
}

.guide-footer {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 56px;
  margin-top: 28px;
  padding: 38px 42px;
  overflow: hidden;
  border-top: 2px solid var(--dark);
  border-bottom: 1px solid rgba(59, 52, 52, 0.3);
}

.guide-footer::after {
  position: absolute;
  top: 38px;
  bottom: 38px;
  left: 44%;
  width: 1px;
  background: rgba(59, 52, 52, 0.24);
  content: "";
}

.guide-statement {
  position: relative;
  z-index: 1;
}

.guide-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-kicker::before {
  width: 32px;
  height: 3px;
  background: var(--dark);
  content: "";
}

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

.guide-footer .actions > * {
  width: auto;
  max-width: none;
  min-width: 0;
}

.guide-footer .process-watch {
  grid-column: 1 / -1;
  grid-row: 1;
  max-width: none;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

#guide .actions > .button {
  padding: 16px 23px;
  white-space: normal;
  font-size: 21px;
}

.process-watch {
  max-width: 450px;
  flex: 1;
  padding: 24px 26px;
  border: 2px solid var(--dark);
  background: var(--light);
  color: var(--dark);
  font-size: 27px;
  line-height: 1.15;
}

.process-watch:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--light);
}

@media (hover: hover) and (pointer: fine) {
  .guide-grid article:hover .mini-browser {
    box-shadow: 0 16px 28px rgba(60, 54, 54, 0.2);
    transform: translateY(-7px);
  }
}

/* Pricing */
.options {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  font-family: var(--font-text);
  margin-bottom: 25px;
  font-size: 38px;
}

label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 20px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1.3;
}

label small {
  color: var(--muted);
  font-size: 0.62em;
  font-weight: 600;
}

input[type="checkbox"],
input[type="radio"] {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
  accent-color: var(--orange);
}

.estimate {
  margin-top: 30px;
  padding: 36px;
  border-radius: 21px;
  background: var(--light);
  color: var(--dark);
  text-align: center;
}

.estimate > span {
  font-size: 12px;
  letter-spacing: 0.13em;
}

.price-expression {
  margin: 24px auto 8px;
  overflow-wrap: anywhere;
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.5;
}

.estimate output {
  display: block;
  margin: 10px 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 76px;
}

.estimate p {
  max-width: 540px;
  margin: 0 auto 28px;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.5;
}

.estimate .prepayment-note,
.estimate .tariff-note {
  max-width: 700px;
  margin-top: 24px;
  margin-bottom: 0;
  font-size: 14px;
}

.estimate .annual-note {
  color: var(--orange);
}

.estimate .specialist-option {
  display: flex;
  max-width: 700px;
  align-items: flex-start;
  gap: 12px;
  margin: 18px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
}

.estimate .specialist-option input {
  margin-top: 3px;
}

.estimate .specialist-option span {
  flex: 1;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px 48px;
  padding: 30px 0 0 34px;
}

.process-grid article {
  position: relative;
  overflow: visible;
  min-height: 200px;
  padding: 30px 30px 30px 61px;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
  transform-origin: center;
}

.process-grid article > span {
  position: absolute;
  top: -27px;
  left: -35px;
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--light);
  font-size: 38px;
}

.process-grid h3 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 38px;
}

.process-grid p {
  color: var(--light);
  font-size: 22px !important;
  font-weight: 700;
  line-height: 1.5;
}

.process-media-card {
  margin: 78px 0 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: #242020;
}

.process-media-card .demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.system-demo-frame {
  width: 100%;
  height: min(650px, 68vw);
  min-height: 430px;
  overflow: hidden;
  border-radius: 16px;
  background: #eef1f3;
}

.system-demo-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.process-media-card figcaption {
  padding: 18px 22px 20px;
  color: var(--light);
  font-size: 17px !important;
  font-weight: 600;
  line-height: 1.45;
}

/* FAQ */
.faq-heading {
  display: flex;
  justify-content: center;
  margin-bottom: 56px;
}

.faq-heading h2 {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(28px, 5.2vw, 76px);
}

.faq-heading h2 em {
  color: inherit;
  font-style: normal;
}

.faq-heading > p {
  display: none;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.faq-questions {
  display: grid;
  gap: 0;
  border-top: 1px solid #756452;
  counter-reset: question;
}

.faq-questions button {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 15px;
  padding: 21px 18px;
  border: 0;
  border-bottom: 1px solid #756452;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  counter-increment: question;
  font-size: 33px;
  font-weight: 900;
  line-height: 1.3;
  text-align: left;
  transition: background 0.35s, color 0.35s, padding 0.35s;
}

.faq-questions button::before {
  content: counter(question, decimal-leading-zero);
  opacity: 0.65;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 2;
}

.faq-questions button.active {
  padding-left: 24px;
  background: var(--orange);
  color: var(--dark);
}

.faq-questions button:hover:not(.active) {
  background: rgba(255, 255, 255, 0.02);
  color: var(--orange);
}

.faq-answer {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: center;
  padding-left: 8px;
  text-align: left;
}

.faq-answer > span {
  display: none;
}

.faq-answer h3 {
  margin: 0 0 22px;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.faq-answer p {
  margin: 0;
  color: var(--light);
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.3;
}

/* Contacts */
.contact {
  padding-top: 55px;
  padding-bottom: 110px;
}

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

.social-card {
  display: flex;
  min-width: 0;
  min-height: 340px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: #353030;
  color: var(--light);
  text-align: left;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.social-card:hover {
  border-color: var(--orange);
  background: #403733;
  transform: translateY(-3px);
}

.social-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  color: var(--orange);
}

.social-top svg {
  width: 60px;
  height: 60px;
  stroke-width: 3.8;
}

.social-card[data-contact-pending="TELEGRAM"] .social-top svg {
  filter: drop-shadow(0.5px 0 currentColor) drop-shadow(-0.5px 0 currentColor);
}

.social-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
}

.social-card p {
  margin: 0 0 36px;
  color: var(--light);
  font-size: 19px !important;
  font-weight: 700;
  line-height: 1.5;
}

.social-action {
  display: block;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Footer */
footer {
  padding: 46px 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 40px;
  padding: 12px 0 42px;
}

.footer-logo {
  cursor: default;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -3px;
  user-select: none;
}

.footer-brand p {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.footer-menu,
.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-menu {
  gap: 13px;
  font-size: 16px;
}

.footer-contacts {
  gap: 15px;
  font-size: 16px;
}

.footer-label {
  display: block;
  margin-bottom: 9px;
  opacity: 0.65;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-phone {
  white-space: nowrap;
  font-size: 23px;
}

.footer-socials {
  display: flex;
  max-width: 280px;
  flex-wrap: wrap;
  gap: 13px 20px;
  font-size: 16px;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(60, 54, 54, 0.25);
  font-size: 14px;
}

/* Dialog */
dialog {
  width: min(1000px, calc(100% - 36px));
  padding: 28px;
  border: 1px solid var(--orange);
  border-radius: 24px;
  background: var(--dark);
  color: var(--orange);
}

dialog::backdrop {
  background: rgba(22, 17, 17, 0.81);
}

.close {
  float: right;
  border: 0;
  background: transparent;
  color: var(--orange);
  font-size: 35px;
}

.process-modal h2 {
  margin: 8px 45px 24px 0;
  font-size: 34px;
  text-transform: uppercase;
}

.process-video-slot {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  padding: 25px;
  border: 1px solid #756452;
  border-radius: 14px;
  background: #242020;
  text-align: center;
}

.process-video-slot p {
  color: var(--muted);
  font-size: 18px;
}

.process-video-slot video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Entrance animations */
#guide .guide-subtitle.is-ready,
#guide .guide-practice.is-ready,
#guide .actions.is-ready {
  opacity: 0;
  transform: translateY(34px);
}

#guide.is-animated .guide-grid article {
  animation: guide-card-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#guide.is-animated .guide-subtitle { animation: guide-copy-in 0.65s 0.42s cubic-bezier(0.22, 1, 0.36, 1) both; }
#guide.is-animated .guide-practice { animation: guide-copy-in 0.65s 0.36s cubic-bezier(0.22, 1, 0.36, 1) both; }
#guide.is-animated .actions { animation: guide-copy-in 0.65s 0.54s cubic-bezier(0.22, 1, 0.36, 1) both; }
#guide.is-animated .guide-grid article:first-child .mini-layout i { animation: guide-line-in 0.42s ease-out both; }
#guide.is-animated .guide-grid article:first-child .mini-layout i:nth-child(2) { animation-delay: 0.3s; }
#guide.is-animated .guide-grid article:first-child .mini-layout i:nth-child(3) { animation-delay: 0.42s; }
#guide.is-animated .mini-editor strong { animation: guide-editor-focus 0.75s 0.48s ease both; }
#guide.is-animated .mini-result > span { animation: guide-check-in 0.62s 0.66s cubic-bezier(0.22, 1, 0.36, 1) both; }

.site-reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-reveal-item[data-reveal-index="1"] { transition-delay: 0.11s; }
.site-reveal-item[data-reveal-index="2"] { transition-delay: 0.22s; }
.site-reveal-item[data-reveal-index="3"] { transition-delay: 0.33s; }
.site-reveal-item[data-reveal-index="4"] { transition-delay: 0.44s; }

.site-reveal-item.site-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

@keyframes guide-line-in {
  from { opacity: 0; transform: scaleX(0.25); transform-origin: left; }
  to { opacity: 1; transform: scaleX(1); transform-origin: left; }
}

@keyframes guide-editor-focus {
  0%, 100% { background: transparent; }
  45% { background: rgba(243, 131, 12, 0.22); }
}

@keyframes guide-check-in {
  from { opacity: 0; transform: scale(0.45) rotate(-18deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

/* Tablet */
@media (max-width: 1000px) {
  .nav-pages { gap: 12px; font-size: 15px; }
  .nav-phone { display: none; }
  .social-card { padding: 24px; }
  .social-card h3 { font-size: 40px; }
  .social-card p { font-size: 16px !important; }
}

@media (max-width: 850px) {
  :root { --page-gutter: 40px; }
  .section { padding-block: 70px; }
  main h2 { margin-bottom: 42px; font-size: clamp(38px, 5.3vw, 50px); }
  .nav-right { gap: 20px; }
  .hero { padding-top: 88px; }
  .hero-wordmark { min-height: 180px; height: 27vw; }
  .hero-bottom p { font-size: 30px; }
  .hero-cta { padding: 18px 28px; font-size: 24px; }
  .intro { gap: 25px; }
  .intro-copy > p { font-size: 24px; }
  .training-button { padding: 18px 28px; font-size: 24px; }
  .benefits { padding-top: 32px; }
  .benefits summary { font-size: 35px; }
  .guide-grid { gap: 12px; }
  .mini-editor strong { font-size: 17px; }
  .guide-note { font-size: 24px; }
  #guide .actions { flex-wrap: wrap; }
  #guide .actions > .button { padding: 14px 18px; font-size: 18px; }
  .process-watch { padding: 21px 20px; font-size: 23px; }
  .options { gap: 25px; }
  legend { font-size: 34px; }
  label { font-size: 18px; }
  .faq-grid { gap: 28px; }
  .faq-questions button { gap: 10px; padding: 18px 12px; font-size: 30px; }
  .faq-questions button.active { padding-left: 18px; }
  .faq-answer h3 { font-size: 27px; }
  .faq-answer p { font-size: 23px; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-phone { font-size: 21px; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --page-gutter: 18px; }
  main p,
  main li,
  main dd,
  main figcaption,
  main blockquote { font-size: 13px !important; line-height: 1.25 !important; }
  html { scroll-padding-top: 80px; }
  .section { padding-block: 58px; }
  main h2 { margin-bottom: 34px; font-size: clamp(30px, 8vw, 42px); line-height: 1.1; overflow-wrap: break-word; }
  .glass-nav { top: 10px; right: 10px; left: 10px; gap: 10px; padding: 11px 13px; border-radius: 17px; }
  .nav-brand { gap: 3px; font-size: 21px; }
  .nav-brand span { display: none; }
  .nav-brand svg { width: 27px; height: 27px; }
  .nav-pages { flex: 1; justify-content: space-around; gap: 4px; font-size: clamp(10px, 2.8vw, 13px); }
  .nav-right { gap: 0; }
  .nav-phone { white-space: nowrap; font-size: 11px; }
  .nav-calculate { display: none; }
  .menu-toggle { width: 27px; height: 32px; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 90px);
    gap: 12px;
    padding: 16px;
    overflow-y: auto;
  }
  .nav-links-group + .nav-links-group { padding-left: 12px; }
  .nav-links a { padding: 9px; font-size: 13px; }
  .nav-links-label { margin: 0 9px 6px; font-size: 9px; }
  .hero { padding-top: 78px; }
  .hero-detail-top { padding-top: 10px; font-size: 10px; }
  .hero-wordmark { min-height: 115px; height: 31vw; margin: 12px auto 25px; }
  .hero-bottom { min-height: 0; gap: 12px; padding: 0 0 32px; }
  .hero-bottom p { max-width: none; font-size: 24px; }
  .hero-cta { flex-shrink: 0; padding: 13px 18px; font-size: 16px; }
  .hero-detail-bottom { gap: 12px; padding: 18px 0 24px; }
  .hero-capabilities > span { padding: 6px 10px; font-size: 11px; }
  .hero-scroll { width: 100%; justify-content: flex-end; }
  .intro { display: flex; flex-direction: column; gap: 16px; }
  .intro-copy { margin-left: 0; }
  .intro .process-video { order: -1; }
  .intro-copy { display: contents; }
  .intro-copy > p { order: 1; font-size: 16px; line-height: 1.35; }
  .training-button { order: 2; align-self: flex-start; margin-top: 0; padding: 11px 16px; font-size: 14px; }
  .intro-points { order: 3; gap: 7px; margin-top: 0; }
  .intro-points article { min-height: 118px; padding: 10px 8px; border-radius: 12px; }
  .intro-points article::after { right: -42px; bottom: -54px; width: 105px; height: 105px; }
  .intro-points span { width: 28px; height: 28px; font-size: 10px; }
  .intro-points h3 { margin: 7px 0 5px; font-size: clamp(12px, 3.6vw, 16px); }
  .intro-points p { font-size: clamp(8px, 2.35vw, 11px) !important; line-height: 1.3 !important; }
  .benefits { padding-top: 28px; }
  .benefits details { margin-bottom: 17px; border-radius: 16px; }
  .benefits summary { padding: 22px 62px 22px 18px; font-size: 31px; }
  .benefits summary::after { right: 25px; }
  .benefits details p { padding: 22px 16px; border-radius: 0 0 16px 16px; font-size: 17px; }
  .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mini-browser { height: 135px; }
  .guide-grid article { padding: 10px 8px; font-size: 13px; }
  .guide-grid article > h3 { font-size: 25px; }
  .guide-subtitle { font-size: 11px; line-height: 1.35; }
  .guide-footer { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; margin-top: 22px; padding: 20px 14px; }
  .guide-footer::after { top: 20px; bottom: 20px; left: 44%; }
  .guide-kicker { margin-bottom: 8px; font-size: 7px; }
  .guide-kicker::before { width: 18px; height: 2px; }
  #guide .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 0; }
  #guide .actions > * { width: auto; max-width: none; min-width: 0; padding: 10px 7px; font-size: 12px; line-height: 1.1; white-space: normal; overflow-wrap: break-word; }
  .process-watch { flex: none; font-size: 12px; }
  .options { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1fr); gap: 7px; }
  .options fieldset { min-width: 0; overflow: hidden; }
  legend { margin-bottom: 12px; font-size: 27px; }
  label { min-width: 0; gap: 5px; margin-bottom: 11px; font-size: 12px; line-height: 1.1; overflow-wrap: anywhere; }
  input[type="checkbox"], input[type="radio"] { width: 14px; height: 14px; }
  .estimate { padding: 22px 12px; }
  .estimate output { font-size: 48px; }
  .estimate .button { font-size: 13px; padding-inline: 14px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 18px; padding-left: 16px; }
  .process-grid article { min-height: 135px; padding: 22px 12px 14px 30px; }
  .process-grid article > span { top: -17px; left: -16px; width: 46px; height: 46px; font-size: 22px; }
  .process-grid h3 { font-size: 27px; overflow-wrap: break-word; }
  .process-grid p { font-size: 12px !important; overflow-wrap: break-word; }
  .faq-heading { margin-bottom: 22px; }
  .faq-heading h2 { font-size: 5.8vw; }
  .faq-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 16px; }
  .faq-questions { gap: 9px; }
  .faq-questions button { font-size: 24px; }
  .faq-answer { min-height: 210px; padding: 16px; }
  .faq-answer h3 { font-size: 26px; }
  .faq-answer p { font-size: 15px; }
  .contact { padding-top: 30px; padding-bottom: 70px; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .social-card { min-height: 220px; padding: 16px; }
  .process-media-card { margin-top: 58px; }
  .system-demo-frame { height: 430px; min-height: 0; }
  .social-top { margin-bottom: 20px; }
  .social-card h3 { font-size: 30px; }
  .social-card p { font-size: 12px !important; }
  .social-action { font-size: 12px; }
  .process-media-card figcaption { font-size: 12px !important; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contacts { grid-column: 1 / -1; }
  .footer-logo { font-size: 42px; }
  dialog { padding: 20px; }
  .process-modal h2 { font-size: 27px; }
  .process-video-slot p { font-size: 16px; }
}

/* Compact phones: preserve the desktop composition, but scale its contents
   and spacing so two- and three-column groups remain readable. */
@media (max-width: 450px) {
  :root { --page-gutter: 16px; }
  .section { padding-block: 46px; }
  main h2 { margin-bottom: 28px; font-size: clamp(28px, 7.6vw, 34px); }

  #about { padding-top: 42px; padding-bottom: 34px; }
  .intro { gap: 14px; }
  .intro-copy > p { font-size: 15px; line-height: 1.38; }
  .training-button { margin-top: 2px; padding: 10px 14px; font-size: 12px; line-height: 1.15; }

  .benefits { padding-top: 18px; padding-bottom: 40px; }
  .benefits summary { padding: 19px 52px 19px 15px; font-size: 28px; line-height: 1.18; }
  .benefits summary::after { right: 21px; width: 13px; height: 13px; }
  .benefits details p { padding: 18px 14px; font-size: 14px; line-height: 1.42; }

  #guide .wrap.section { padding-block: 42px; }
  .guide-grid { gap: 7px; }
  .guide-grid article { padding: 0 1px; overflow: hidden; }
  .mini-browser { height: 132px; border-radius: 15px; }
  .browser-bar { padding: 10px 9px; font-size: 10px; white-space: nowrap; overflow: hidden; }
  .mini-layout { gap: 10px; padding: 17px 12px; }
  .mini-layout aside { width: 34px; height: 92px; }
  .mini-editor { gap: 9px; padding: 17px 10px; }
  .mini-editor span, .mini-editor small { font-size: 9px; }
  .mini-editor strong { font-size: 13px; }
  .mini-result { height: 98px; gap: 9px; text-align: center; }
  .mini-result > span { width: 52px; height: 52px; font-size: 29px; }
  .mini-result strong { font-size: 11px; }
  .guide-grid article > h3 { margin-top: 11px; font-size: 22px; line-height: 1.2; }
  #guide .actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 0; }
  #guide .actions > * {
    min-height: 44px;
    padding: 6px 4px;
    border-width: 1px;
    font-size: 9px;
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  #guide .actions > .button { padding: 6px 4px; font-size: 9px; }
  .process-watch { min-height: 44px; font-size: 9px; }

  #pricing { padding-top: 40px; padding-bottom: 38px; }
  .options { gap: 5px; }
  .options fieldset { overflow: visible; }
  legend { margin-bottom: 10px; font-size: 24px; line-height: 1.1; }
  label {
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 9px;
    font-size: 10px;
    line-height: 1.16;
    overflow-wrap: break-word;
    word-break: normal;
  }
  input[type="checkbox"], input[type="radio"] { width: 12px; height: 12px; }
  .estimate { margin-top: 24px; padding: 20px 11px; }
  .price-expression { margin-top: 18px; font-size: 17px; }
  .estimate output { font-size: 42px; }
  .estimate p { margin-bottom: 20px; font-size: 13px !important; }
  .estimate .button { padding: 11px 14px; font-size: 12px; }
  .estimate .prepayment-note,
  .estimate .tariff-note { margin-top: 18px; font-size: 11px; }
  .estimate .specialist-option { gap: 8px; margin-top: 16px; padding-top: 14px; font-size: 11px; line-height: 1.35; }

  #process { padding-top: 40px; padding-bottom: 24px; }
  .process-grid { gap: 34px 12px; padding: 22px 0 0 12px; }
  .process-grid article {
    min-height: 158px;
    padding: 20px 9px 14px 22px;
    border-width: 1.5px;
    border-radius: 16px;
  }
  .process-grid article > span {
    top: -14px;
    left: -12px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .process-grid h3 {
    font-size: 24px;
    line-height: 1.16;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .process-grid p {
    margin: 13px 0 0;
    font-size: 10.5px !important;
    line-height: 1.38;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .process-media-card { margin-top: 40px; }
  .system-demo-frame { height: 390px; }

  #faq { padding-top: 24px; padding-bottom: 14px; }
  .faq-heading { margin-bottom: 32px; }
  .faq-grid { gap: 12px; }
  .faq-questions button { padding: 12px 8px; font-size: 22px; line-height: 1.15; }
  .faq-answer { min-height: 190px; padding: 14px; }
  .faq-answer p { font-size: 13px; line-height: 1.35; }

  .contact { padding-top: 14px; padding-bottom: 54px; }
  .social-grid { gap: 8px; }
  .social-card { min-height: 205px; padding: 14px; }
  .social-card h3 { font-size: 28px; }
  .social-card p, .social-action { font-size: 11px !important; }
  .footer-main { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto; transition: none; animation: none; }
  .site-reveal-item,
  #guide .guide-subtitle.is-ready,
  #guide .guide-practice.is-ready,
  #guide .actions.is-ready { opacity: 1; transform: none; }
}

/* FAQ answers use the subtitle scale on every page. */
.faq-answer h3 { font-size: clamp(25px, 2.2vw, 32px) !important; }
.faq-answer p { font-size: clamp(25px, 2.2vw, 32px) !important; line-height: 1.25; }

@keyframes copy-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.copy-fade-in { animation: copy-fade-in 0.55s ease-out both; }

.site-faq-home {
  width: auto;
  align-self: flex-start;
  margin-top: 24px;
  padding: 15px 27px;
  white-space: nowrap;
}

.site-faq .faq-questions button {
  grid-template-columns: 1fr;
}

.site-faq .faq-questions button::before {
  display: none !important;
}

@media (max-width: 600px) {
  .faq-answer h3 { font-size: clamp(14px, 4vw, 18px) !important; }
  .faq-answer p { font-size: clamp(14px, 4vw, 18px) !important; }
  .site-faq-home { margin-top: 14px; padding: 10px 16px; }
}

/* Shared card lift without resizing neighbouring cards. */
@media (hover: hover) and (pointer: fine) {
  :is(.product-grid > .product-card,
      .support-benefits-grid > .support-benefit,
      .guide-grid > article,
      .site-value-cards > article) {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), scale 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease !important;
  }

  :is(.product-grid,
      .support-benefits-grid,
      .guide-grid,
      .site-value-cards) > :hover {
    z-index: 3;
    scale: 1.035;
  }
}

/* Final mobile pass: preserve each composition and scale only its contents. */
@media (max-width: 600px) {
  body { overflow-x: hidden; }
  main :is(article, div, section, fieldset, form, figure) { min-width: 0; }
  main img, main video, main iframe { max-width: 100%; }
  main p,
  main li,
  main dd,
  main figcaption,
  main blockquote { font-size: clamp(11px, 2.9vw, 13px) !important; line-height: 1.38 !important; }
  main h2 { font-size: clamp(28px, 7.6vw, 34px); line-height: 1.06; }
  .button {
    min-height: 42px;
    padding: 10px 15px;
    font-size: clamp(11px, 2.9vw, 13px);
    line-height: 1.12;
  }
  .glass-nav { min-height: 58px; }
  .nav-pages { font-size: clamp(9px, 2.55vw, 11px); }
  .nav-pages a { white-space: nowrap; }
  .nav-phone, .nav-calculate { display: none !important; }
  .nav-right { flex: 0 0 auto; }
  .hero-bottom p { font-size: clamp(19px, 5.8vw, 24px); line-height: 1.12; }
  .hero-cta { min-height: 42px; padding: 10px 14px; font-size: clamp(11px, 3vw, 14px); }
  .benefits summary { font-size: clamp(19px, 5.2vw, 23px); }
  .benefits details p { font-size: clamp(11px, 3vw, 14px) !important; }
  .guide-grid article > h3 { font-size: clamp(13px, 4vw, 18px); }
  .process-grid h3 { font-size: clamp(18px, 5.2vw, 23px); }
  .faq-questions button { font-size: clamp(14px, 4vw, 17px); line-height: 1.14; }
  .faq-answer h3,
  .faq-answer p { font-size: clamp(15px, 4.2vw, 18px) !important; }
  .site-faq-home { min-height: 38px; margin-top: 14px; padding: 9px 14px; }
  .social-card { min-height: 190px; }
  .social-card h3 { font-size: clamp(18px, 5.2vw, 23px); overflow-wrap: anywhere; }
  .social-card p, .social-action { font-size: clamp(10px, 2.7vw, 12px) !important; }
  .footer-logo { font-size: 34px; }
  .footer-main, .footer-bottom { font-size: 12px; }
  .site-reveal-item { transform: translateY(22px); transition-duration: 0.62s; }
}

@media (max-width: 390px) {
  :root { --page-gutter: 12px; }
  .glass-nav { right: 7px; left: 7px; padding-inline: 10px; }
  .nav-brand svg { width: 24px; height: 24px; }
  .nav-pages { gap: 3px; font-size: 9px; }
  .menu-toggle { width: 24px; }
  .section { padding-block: 42px; }
  .faq-grid { gap: 9px; }
  .faq-questions button { padding: 11px 7px; }
  .faq-answer { padding: 12px; }
}

@media (max-width: 520px) {
  .nav-links { grid-template-columns: 1fr; }
  .nav-links-group + .nav-links-group {
    padding-top: 12px;
    padding-left: 0;
    border-top: 1px solid rgba(59, 52, 52, 0.18);
    border-left: 0;
  }
}

/* Mobile type and hero safeguards shared by every page. */
@media (max-width: 600px) {
  main :is(h1, h2, h3, p, span, a, button, label, legend, dt, dd, li, strong),
  footer :is(p, span, a, strong) {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .hero-wordmark {
    min-height: 0;
    height: clamp(76px, 24vw, 104px);
    margin-block: 8px 18px;
  }

  .hero-detail-bottom { gap: 8px; }
  .hero-capabilities {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 4px;
  }
  .hero-capabilities > span {
    flex: 0 0 auto;
    min-width: 0;
    padding: 5px 7px;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(7px, 1.9vw, 8px);
  }

  :is(.estimate output, .price-expression, .bundle-expression, .case-facts dd) {
    white-space: nowrap;
  }

  .social-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
  }
}

/* Final mobile composition for the shared ADMAIN intro and guide blocks. */
@media (max-width: 600px) {
  .intro {
    gap: 18px;
  }

  .intro-copy {
    display: contents;
  }

  .intro-copy > p {
    order: 1;
    margin: 0;
    text-align: center;
    font-size: clamp(15px, 4.2vw, 18px) !important;
    line-height: 1.3 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .process-video {
    order: 0;
  }

  .training-button {
    order: 2;
    align-self: center;
    min-width: 0;
    max-width: 100%;
    font-size: clamp(11px, 3vw, 14px) !important;
    white-space: normal;
  }

  .intro-points {
    order: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .intro-points article {
    min-height: 132px;
    padding: 12px 10px;
    isolation: isolate;
  }

  .intro-points article > * {
    position: relative;
    z-index: 2;
  }

  .intro-points article::after {
    right: -72px;
    bottom: -86px;
    width: 128px;
    height: 128px;
    z-index: 0;
  }

  .intro-points h3 {
    font-size: clamp(12px, 3.4vw, 16px);
    line-height: 1.08;
  }

  .intro-points p {
    font-size: clamp(9px, 2.4vw, 11px) !important;
    line-height: 1.3 !important;
  }

  .guide-footer {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-footer::after {
    display: none;
  }

  .guide-footer .actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .guide-footer .process-watch {
    grid-column: 1 / -1;
  }

  .guide-footer .actions .button,
  .guide-footer .process-watch {
    min-width: 0;
    max-width: 100%;
    padding: 10px 12px;
    font-size: clamp(11px, 3vw, 14px);
    white-space: normal;
  }

  .web-page main :is(p, li, dd, figcaption) {
    font-size: clamp(11px, 2.9vw, 13px) !important;
    line-height: 1.35 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .web-page .button,
  .web-page button {
    min-width: 0;
    max-width: 100%;
    font-size: clamp(11px, 3vw, 14px) !important;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .estimate output,
  .price-expression,
  .bundle-expression,
  .case-facts dd {
    white-space: nowrap;
  }

  .estimate output {
    color: var(--orange);
    font-size: clamp(34px, 10vw, 46px);
  }
}

/* Final responsive safety net — keep last so it wins over legacy rules. */
@media (max-width: 600px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  .glass-nav {
    right: auto !important;
    left: 10px !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    box-sizing: border-box !important;
    padding-inline: 10px !important;
  }
  .glass-nav .nav-brand,
  .glass-nav .nav-pages,
  .glass-nav .nav-right,
  main, main > *, .wrap, .section, .section > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  main :is(h1, h2, h3, p, li, dd, figcaption), .button, button,
  img, video, iframe, svg { max-width: 100%; }
}

@media (max-width: 370px) {
  .glass-nav {
    grid-template-columns: 22px minmax(0, 1fr) 26px !important;
    gap: 3px !important;
    padding-inline: 8px !important;
  }
  .glass-nav .nav-brand svg { width: 22px !important; height: 22px !important; }
  .glass-nav .nav-pages { gap: 1px !important; font-size: clamp(7px, 2.35vw, 8.5px) !important; }
  .glass-nav .menu-toggle,
  .glass-nav .nav-right { width: 26px !important; min-width: 26px !important; }
  main h2 { font-size: clamp(27px, 8.8vw, 34px) !important; overflow-wrap: anywhere; }
  .button, button { overflow-wrap: anywhere; }

  .faq-heading h2 {
    width: 100%;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
  }
}
