.home-page {
  --deep: #12110f;
  --copper-line: #8b6246;
  --section-space: clamp(76px, 8vw, 120px);
}

.home-page .header-inner {
  display: flex;
  align-items: center;
  gap: 52px;
  min-height: inherit;
}

.home-page .site-header { border-bottom-color: #38312b; }
.home-page .site-header .brand { color: var(--text); }
.home-page .site-header .nav-panel { gap: 32px; }
.home-page .nav-actions { gap: 24px; }
.home-page .icon { width: 22px; height: 22px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.home-page .section { padding-block: var(--section-space); }
.home-page h2 { font-size: clamp(36px, 3.8vw, 52px); line-height: 1.16; letter-spacing: -1.8px; text-wrap: balance; }
.home-page h3 { font-weight: 600; }
.home-page .section-kicker { margin-bottom: 17px; color: var(--accent); font-size: 13px; line-height: 1.5; }
.home-page .section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 45px; }
.home-page .section-description { max-width: 355px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.home-page .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--text); font-size: 13px; line-height: 1.5; }
.home-page .text-link .icon { width: 16px; height: 16px; transition: transform 180ms ease; }
.home-page .text-link:hover { color: var(--accent); }
.home-page .text-link:hover .icon { transform: translateX(3px); }
.home-page .inline-note { padding: 16px 20px; border: 1px solid var(--border); border-radius: 6px; color: var(--muted); font-size: 14px; }
.home-page .inline-note a { text-decoration: underline; text-underline-offset: 4px; }

/* The app is the hero: a real window, staged on a quiet, machined surface. */
.hero { overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: center; gap: 58px; padding-block: 60px 58px; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 13px; }
.hero-context { display: flex; align-items: center; gap: 11px; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.context-mark { width: 7px; height: 7px; border: 1px solid var(--accent); transform: rotate(45deg); }
.hero h1 { margin-left: -4px; font-size: clamp(62px, 6.15vw, 88px); line-height: 1.065; letter-spacing: -4px; }
.hero-description { max-width: 382px; margin-top: 27px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; row-gap: 12px; margin-top: 31px; }
.hero .hero-download { min-height: 52px; padding-inline: 21px; font-size: 13px; }
.hero-caption { margin-top: 18px; color: var(--muted); font-size: 11px; }
.hero-visual { position: relative; min-width: 0; margin-right: -14px; animation: stage-enter 600ms ease-out both; }
.hero-rail { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 22px; padding-right: 4px; color: var(--muted); font-size: 10px; }
.rail-line { width: 90px; height: 1px; background: var(--copper-line); }
.hero-stage { position: relative; perspective: 1800px; }
.stage-outline { position: absolute; inset: -10px -17px 20px 19px; border: 1px solid #524034; border-radius: 3px; transform: rotate(2deg); background: linear-gradient(120deg, #30261e 0%, #1b1815 75%); }
.hero-screen { display: block; position: relative; width: 100%; padding: 0; border: 1px solid #665040; border-radius: 4px; overflow: hidden; background: var(--deep); color: var(--text); transform: rotateY(-7deg) rotateX(2deg) rotateZ(-1deg); box-shadow: 0 28px 58px #0005, 0 4px 10px #0004; cursor: zoom-in; transition: transform 260ms ease, border-color 260ms ease; }
.hero-screen img { display: block; width: 100%; height: auto; aspect-ratio: 780 / 650; object-fit: contain; }
.home-page .hero-screen:disabled { opacity: 1; }
.hero-screen:hover { transform: rotateY(-3deg) rotateX(0) rotateZ(0); border-color: var(--accent); }
.screen-expand { display: flex; align-items: center; justify-content: center; position: absolute; right: 15px; bottom: 15px; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 5px; background: #181614eb; color: var(--accent); opacity: 0; transition: opacity 180ms ease; }
.hero-screen:hover .screen-expand, .hero-screen:focus-visible .screen-expand { opacity: 1; }
.stage-corner { position: absolute; width: 22px; height: 22px; pointer-events: none; border-color: var(--accent); border-style: solid; }
.corner-top { top: -17px; right: -13px; border-width: 1px 1px 0 0; }
.corner-bottom { left: -16px; bottom: -13px; border-width: 0 0 1px 1px; }
.hero-visual figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 25px; padding-inline: 3px; color: var(--muted); font-size: 11px; }
.hero-visual figcaption a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); }
.hero-visual figcaption a:hover { color: var(--accent); }
.hero-visual figcaption .icon { width: 16px; height: 16px; }
.hero-image-error { position: relative; display: grid; place-items: center; min-height: 280px; padding: 40px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 14px; }
.product-facts { display: grid; grid-template-columns: 1fr 1fr 1fr; padding-block: 23px; border-block: 1px solid var(--border); }
.fact { display: flex; align-items: center; gap: 14px; padding-inline: 28px; font-size: 13px; color: var(--muted); }
.fact:first-child { padding-left: 0; }
.fact + .fact { border-left: 1px solid var(--border); }
.fact:last-child { justify-content: flex-end; padding-right: 0; }
.fact .icon { color: var(--accent); width: 19px; height: 19px; }

/* Three compact tools above two wider workspaces. */
.feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.feature-card { grid-column: span 2; position: relative; padding: 30px 30px 32px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease; }
.feature-card:nth-child(4), .feature-card:nth-child(5) { grid-column: span 3; }
.feature-card:hover { transform: translateY(-3px); border-color: #82634c; background: #2d251f; }
.feature-card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 31px; }
.feature-card .feature-icon { width: 28px; height: 28px; color: var(--accent); stroke-width: 1.35; }
.feature-hotkey { padding: 3px 8px; border: 1px solid #76604f; border-bottom-width: 2px; border-radius: 4px; color: var(--text); background: #1e1a17; font: 400 12px/1.5 var(--font-body); }
.feature-card h3 { margin-bottom: 12px; font-size: 17px; line-height: 1.4; }
.feature-card > p { color: var(--muted); font-size: 13px; line-height: 1.85; }
.features-note { margin-top: 22px; max-width: 90ch; color: var(--muted); font-size: 12px; line-height: 1.8; }

.home-page .screenshots-section { padding-top: 22px; }
.gallery { overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--deep); }
.gallery-tabs { display: flex; flex-wrap: wrap; align-items: stretch; gap: 2px; padding: 8px 16px 0; border-bottom: 1px solid var(--border); background: var(--surface); }
.gallery-tab { position: relative; flex: 1 1 auto; min-width: 96px; min-height: 54px; padding: 12px 18px 16px; border: 0; border-radius: 4px 4px 0 0; background: transparent; color: var(--muted); font-size: 13px; transition: color 180ms ease, background-color 180ms ease; }
.gallery-tab::after { content: ''; position: absolute; bottom: -1px; left: 18px; right: 18px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 180ms ease; }
.gallery-tab[aria-selected='true'] { color: var(--text); background: #ffffff04; }
.gallery-tab[aria-selected='true']::after { transform: scaleX(1); }
.gallery-tab:hover { color: var(--text); background: #ffffff06; }
.home-page .gallery-tab:focus-visible { outline-offset: -5px; }
.gallery-panel { outline-offset: 7px; }
.gallery-image-area { position: relative; display: grid; place-items: center; min-height: 240px; aspect-ratio: 1.78; padding: 34px 70px; background: linear-gradient(150deg, #28231e 0%, #191613 42%, #131210 100%); }
.gallery-image-button { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; min-height: 0; border: 0; padding: 0; background: transparent; color: var(--text); cursor: zoom-in; }
.home-page .gallery-image-button:disabled { opacity: 1; }
.gallery-image-button img { width: 100%; height: 100%; max-height: 565px; object-fit: contain; filter: drop-shadow(0 14px 25px #0006); }
.gallery-expand-label { display: flex; align-items: center; gap: 8px; position: absolute; right: -45px; bottom: -10px; padding: 9px 13px; border: 1px solid #655347; border-radius: 5px; background: #211c17ed; color: var(--text); font-size: 11px; transition: border-color 180ms ease, background-color 180ms ease; }
.gallery-expand-label .icon { width: 15px; height: 15px; }
.gallery-image-button:hover .gallery-expand-label { border-color: var(--accent); background: var(--surface-2); }
.gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 24px 32px; border-top: 1px solid var(--border); background: var(--surface); }
.gallery-caption h3 { margin-bottom: 6px; font-size: 15px; }
.gallery-caption p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.gallery-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.gallery-count { min-width: 49px; margin-right: 11px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #75614f; border-radius: 5px; background: transparent; color: var(--text); }
.icon-button:hover { border-color: var(--accent); background: var(--surface-2); color: var(--accent); }
.image-feedback { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 24px; background: var(--deep); text-align: center; color: var(--muted); font-size: 14px; }
.image-feedback p { max-width: 40ch; }

.home-page .how-section { padding-top: 10px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; min-width: 0; padding-top: 26px; border-top: 1px solid var(--border); }
.step::before { content: ''; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; background: var(--accent); }
.step-number { display: block; margin-bottom: 24px; font-size: 12px; color: var(--accent); font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 14px; font-size: 22px; letter-spacing: -.5px; }
.step p { color: var(--muted); font-size: 13px; line-height: 1.9; }

.pricing-section { border-block: 1px solid #38312b; background: #1e1a17; }
.pricing-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.8fr); gap: 62px; align-items: center; }
.pricing-intro > p:not(.section-kicker) { margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.test-mode-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 32px; }
.test-mode-note > .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.test-mode-note p { max-width: 29ch; color: var(--muted); font-size: 11px; line-height: 1.85; }
.test-mode-note strong { display: block; margin-bottom: 7px; color: var(--text); font-size: 12px; font-weight: 600; }
.pricing-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.price-card { display: flex; flex-direction: column; min-width: 0; padding: 30px 27px 20px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.price-card.annual-card { border-color: #987153; background: linear-gradient(155deg, #342920, #29221d 75%); }
.price-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-card-top h3 { font-size: 17px; }
.plan-period { color: var(--muted); font-size: 10px; white-space: nowrap; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 28px; font-size: clamp(37px, 3.5vw, 48px); line-height: 1.1; letter-spacing: -2px; white-space: nowrap; }
.price-period { color: var(--muted); font-size: 12px; letter-spacing: 0; }
.plan-description { min-height: 63px; margin-top: 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.plan-details { display: grid; gap: 13px; margin: 24px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--border); list-style: none; }
.plan-details li { position: relative; padding-left: 16px; color: var(--text); font-size: 11px; line-height: 1.6; }
.plan-details li::before { content: ''; position: absolute; left: 0; top: 5px; width: 5px; height: 5px; border: 1px solid var(--accent); }
.price-card > .button { width: 100%; margin-top: auto; }
.plan-footnote { margin-top: 11px; text-align: center; color: var(--muted); font-size: 10px; }

.download-panel { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); border: 1px solid #64503f; border-radius: 10px; overflow: hidden; background: var(--surface); }
.download-identity { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 50px 58px; border-right: 1px solid var(--border); background: linear-gradient(125deg, #30251c, #211c17 67%); }
.download-emblem { display: flex; align-items: center; justify-content: center; width: 82px; height: 90px; margin-bottom: 30px; }
.download-emblem img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.download-identity .section-kicker { margin-bottom: 12px; }
.home-page .download-identity h2 { font-size: clamp(42px, 4.5vw, 60px); }
.download-identity > p:last-child { margin-top: 20px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.download-content { padding: 52px 50px 36px; }
.release-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 29px; }
.release-heading h3 { font-size: 16px; }
.release-type { padding: 3px 8px; border: 1px solid #72604f; border-radius: 4px; color: var(--muted); font-size: 10px; }
.release-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 25px; margin: 0 0 30px; }
.release-details > div { min-width: 0; }
.release-details dt { margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.release-details dd { margin: 0; font-size: 13px; line-height: 1.65; }
.home-page .download-button { display: flex; width: 100%; justify-content: flex-start; gap: 12px; min-height: 54px; font-size: 13px; }
.download-button .icon:last-child { margin-left: auto; }
.home-page .download-button .windows-icon { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.release-status { min-height: 20px; margin-top: 13px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.release-status[data-kind='error'] { color: var(--danger); }
.home-page .release-retry { min-height: 44px; padding-block: 6px; color: var(--accent); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.download-license-note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; line-height: 1.8; }

.home-page .faq-section { padding-top: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: 95px; }
.faq-intro > p:not(.section-kicker) { margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.faq-intro .text-link { margin-top: 23px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 83px; padding: 23px 2px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 400; line-height: 1.6; transition: color 180ms ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary .icon { width: 18px; height: 18px; color: var(--accent); }
.faq-item summary:hover { color: var(--accent); }
.faq-item[open] summary { color: var(--accent); }
.faq-item[open] .faq-plus-vertical { display: none; }
.faq-answer { max-width: 70ch; padding: 0 42px 27px 2px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.home-page .site-footer { display: block; padding-block: 37px 26px; background: var(--deep); }
.footer-top { display: flex; align-items: center; gap: 28px; padding-bottom: 27px; }
.footer-top .brand { color: var(--text); font-size: 18px; }
.home-page .footer-top p { margin: 0; font-size: 12px; }
.footer-top .text-link { margin-left: auto; color: var(--muted); font-size: 12px; }
.footer-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 23px; border-top: 1px solid #38312b; }
.home-page .footer-bottom .local-note { max-width: 780px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 11px; }
.footer-signature { color: var(--muted); font-size: 11px; white-space: nowrap; }

.home-page:has(.lightbox[open]) { overflow: hidden; }
.home-page .lightbox { width: min(1200px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: auto; border-color: #79614e; border-radius: 10px; background: var(--deep); }
.lightbox-inner { display: flex; flex-direction: column; max-height: calc(100dvh - 50px); }
.lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-shrink: 0; padding: 17px 24px; border-bottom: 1px solid var(--border); background: var(--surface); }
.lightbox-product { margin-bottom: 4px; font-size: 10px; color: var(--muted); }
.home-page .lightbox-header h2 { font: 600 17px/1.4 var(--font-body); letter-spacing: 0; }
.lightbox-image-area { display: flex; position: relative; align-items: center; justify-content: center; flex: 1 1 auto; min-height: min(55dvh, 600px); overflow: hidden; padding: 22px; }
.lightbox-image-area img { display: block; width: 100%; height: 100%; max-height: calc(100dvh - 260px); object-fit: contain; }
.lightbox-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-shrink: 0; padding: 14px 24px; border-top: 1px solid var(--border); background: var(--surface); }
.lightbox-footer > p { color: var(--muted); font-size: 11px; }

@keyframes stage-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1600px) {
  .hero-layout { padding-block: 83px 72px; }
}

@media (max-width: 1120px) {
  .home-page .header-inner { gap: 28px; }
  .home-page .site-header .nav-panel { gap: 24px; }
  .home-page .nav-actions { gap: 18px; }
  .hero-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 35px; }
  .hero h1 { font-size: 69px; }
  .hero-description { font-size: 14px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .text-link { font-size: 12px; }
  .hero-visual { margin-right: 0; }
  .hero-rail { font-size: 9px; }
  .hero-visual figcaption { font-size: 10px; }
  .feature-card { padding: 25px; }
  .pricing-layout { grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: 32px; }
  .price-card { padding-inline: 22px; }
  .price-card-top { flex-wrap: wrap; gap: 7px; }
  .plan-price { font-size: 39px; }
  .plan-description { min-height: 88px; }
  .download-identity { padding: 42px; }
  .download-content { padding: 42px 34px 32px; }
  .faq-layout { gap: 55px; }
}

@media (max-width: 850px) {
  .home-page .header-inner { min-height: 78px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 25px; padding-block: 55px 40px; }
  .hero h1 { font-size: clamp(48px, 7.4vw, 62px); letter-spacing: -2.6px; }
  .hero-context { font-size: 11px; margin-bottom: 19px; }
  .hero-description { margin-top: 23px; font-size: 13px; line-height: 1.85; }
  .hero-actions { gap: 9px; }
  .hero-caption { margin-top: 12px; font-size: 10px; }
  .hero-rail { margin-bottom: 18px; }
  .rail-line { width: 50px; }
  .hero-visual figcaption { align-items: flex-start; margin-top: 20px; }
  .hero-visual figcaption > span { max-width: 130px; padding-top: 9px; }
  .hero-visual figcaption a { min-width: 72px; }
  .stage-outline { inset: -8px -8px 17px 12px; }
  .corner-top { top: -14px; right: -9px; }
  .corner-bottom { left: -8px; bottom: -10px; }
  .product-facts { padding-block: 20px; }
  .fact { padding-inline: 18px; gap: 10px; font-size: 11px; }
  .fact .icon { width: 17px; height: 17px; }
  .home-page .section-heading { gap: 35px; margin-bottom: 35px; }
  .home-page .section-description { max-width: 280px; font-size: 12px; }
  .home-page h2 { font-size: 37px; letter-spacing: -1.4px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .feature-card { grid-column: auto; padding: 23px 20px; }
  .feature-card:nth-child(4), .feature-card:nth-child(5) { grid-column: auto; }
  .feature-card:last-child { grid-column: 1 / -1; }
  .feature-card-top { flex-wrap: wrap; row-gap: 15px; margin-bottom: 23px; }
  .feature-card h3 { font-size: 15px; }
  .feature-card > p { font-size: 12px; }
  .gallery-tabs { padding-inline: 8px; }
  .gallery-tab { min-width: 85px; padding-inline: 10px; font-size: 11px; }
  .gallery-image-area { aspect-ratio: 1.45; padding: 24px 45px; }
  .gallery-expand-label { right: -29px; bottom: -9px; }
  .gallery-caption { padding: 20px 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 37px 42px; }
  .step { padding-top: 22px; }
  .step-number { margin-bottom: 16px; }
  .pricing-layout { grid-template-columns: 1fr; gap: 36px; }
  .pricing-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 34px; align-items: start; }
  .pricing-intro > .section-kicker { grid-column: 1 / -1; }
  .pricing-intro h2 { grid-row: span 2; }
  .pricing-intro > p:not(.section-kicker) { margin-top: 0; font-size: 13px; }
  .pricing-intro .test-mode-note { margin-top: 15px; }
  .test-mode-note p { max-width: none; }
  .pricing-cards { gap: 20px; }
  .price-card { padding: 28px 26px 21px; }
  .price-card-top { flex-wrap: nowrap; }
  .plan-price { font-size: 48px; }
  .plan-description { min-height: 44px; }
  .download-panel { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .download-identity { padding: 37px 27px; }
  .download-content { padding: 37px 25px 26px; }
  .home-page .download-identity h2 { font-size: 41px; }
  .download-identity > p:last-child { font-size: 13px; }
  .download-emblem { width: 66px; height: 73px; }
  .release-heading h3 { font-size: 14px; }
  .release-details { gap: 18px; }
  .release-details dd { font-size: 12px; }
  .home-page .download-button { padding-inline: 15px; font-size: 12px; gap: 10px; }
  .download-button .icon:last-child { width: 17px; height: 17px; }
  .faq-layout { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 38px; }
  .faq-item summary { font-size: 13px; min-height: 80px; }
  .faq-answer { padding-right: 22px; font-size: 12px; }
  .footer-top { gap: 20px; flex-wrap: wrap; }
  .home-page .footer-top p { font-size: 11px; }
}

@media (max-width: 600px) {
  .home-page { --section-space: 72px; }
  .home-page .header-inner { min-height: 76px; gap: 20px; }
  .hero-layout { grid-template-columns: 1fr; gap: 36px; padding-block: 42px 30px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { margin-left: -2px; font-size: clamp(52px, 13.9vw, 74px); letter-spacing: -2.8px; line-height: 1.055; }
  .hero-context { margin-bottom: 21px; }
  .hero-description { max-width: 38ch; margin-top: 23px; font-size: 14px; line-height: 1.8; }
  .hero-actions { gap: 12px 19px; margin-top: 26px; }
  .hero .hero-download { min-height: 50px; font-size: 12px; padding-inline: 17px; }
  .hero-actions .text-link { font-size: 12px; }
  .hero-caption { margin-top: 12px; font-size: 10px; }
  .hero-visual { margin: 0 5px; }
  .hero-rail { margin-bottom: 19px; font-size: 9px; }
  .hero-screen { transform: rotateY(-4deg) rotateZ(-1deg); }
  .hero-visual figcaption { margin-top: 16px; font-size: 10px; align-items: center; }
  .hero-visual figcaption > span { max-width: none; padding-top: 0; }
  .hero-visual figcaption a { min-width: 75px; }
  .screen-expand { width: 31px; height: 31px; bottom: 9px; right: 9px; opacity: 1; }
  .screen-expand .icon { width: 17px; height: 17px; }
  .product-facts { grid-template-columns: 1fr; padding-block: 3px; }
  .fact, .fact:first-child, .fact:last-child { justify-content: flex-start; padding: 13px 2px; font-size: 12px; }
  .fact + .fact { border-left: 0; border-top: 1px solid #38312b; }
  .fact .icon { width: 17px; height: 17px; }
  .home-page h2 { font-size: 38px; line-height: 1.16; }
  .home-page .section-kicker { margin-bottom: 13px; font-size: 12px; }
  .home-page .section-heading { display: block; margin-bottom: 28px; }
  .home-page .section-description { max-width: 40ch; margin-top: 21px; font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card, .feature-card:nth-child(4), .feature-card:nth-child(5) { grid-column: 1 / -1; padding: 25px; }
  .feature-card-top { flex-wrap: nowrap; margin-bottom: 25px; }
  .feature-card h3 { font-size: 17px; }
  .feature-card > p { max-width: 38ch; font-size: 13px; }
  .home-page .screenshots-section { padding-top: 0; }
  .gallery { border-radius: 7px; }
  .gallery-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 7px; }
  .gallery-tab { min-width: 0; min-height: 45px; padding: 11px 7px; border-radius: 3px; font-size: 11px; }
  .gallery-tab::after { bottom: 0; left: 10px; right: 10px; }
  .gallery-image-area { aspect-ratio: 1.09; min-height: 240px; padding: 17px 10px 36px; }
  .gallery-image-button img { max-height: 420px; }
  .gallery-expand-label { bottom: -25px; right: 0; padding: 5px 8px; font-size: 9px; gap: 6px; }
  .gallery-expand-label .icon { width: 12px; height: 12px; }
  .gallery-caption { flex-wrap: wrap; gap: 18px; padding: 22px 18px 17px; }
  .gallery-caption-copy { width: 100%; }
  .gallery-caption h3 { font-size: 15px; }
  .gallery-caption p { font-size: 11px; }
  .gallery-caption .gallery-controls { width: 100%; }
  .gallery-caption .gallery-count { margin-right: auto; }
  .home-page .how-section { padding-top: 0; }
  .steps { grid-template-columns: 1fr; gap: 25px; }
  .step { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 8px 14px; padding-top: 21px; }
  .step-number { grid-row: span 2; padding-top: 4px; margin-bottom: 0; }
  .step h3 { font-size: 21px; margin-bottom: 2px; }
  .step p { font-size: 13px; line-height: 1.85; }
  .pricing-intro { display: block; }
  .pricing-intro h2 br { display: none; }
  .pricing-intro > p:not(.section-kicker) { margin-top: 22px; font-size: 14px; }
  .pricing-intro .test-mode-note { max-width: 40ch; margin-top: 24px; }
  .test-mode-note p { font-size: 12px; }
  .test-mode-note strong { font-size: 13px; }
  .pricing-layout { gap: 30px; }
  .pricing-cards { grid-template-columns: 1fr; gap: 18px; }
  .price-card { padding: 29px 27px 22px; }
  .price-card-top h3 { font-size: 19px; }
  .plan-period { font-size: 11px; }
  .plan-price { margin-top: 26px; font-size: 52px; }
  .price-period { font-size: 13px; }
  .plan-description { min-height: 0; max-width: 35ch; font-size: 13px; }
  .plan-details { margin-top: 25px; gap: 14px; }
  .plan-details li { font-size: 12px; }
  .plan-footnote { font-size: 11px; }
  .download-panel { grid-template-columns: 1fr; border-radius: 8px; }
  .download-identity { padding: 30px 26px; border-right: 0; border-bottom: 1px solid var(--border); }
  .download-emblem { position: absolute; right: 24px; top: 30px; width: 49px; height: 59px; margin: 0; }
  .download-identity .section-kicker { margin-bottom: 13px; }
  .home-page .download-identity h2 { font-size: 43px; padding-right: 27px; }
  .download-identity > p:last-child { margin-top: 17px; font-size: 13px; }
  .download-identity > p:last-child br { display: none; }
  .download-content { padding: 28px 25px; }
  .release-heading { margin-bottom: 23px; }
  .release-heading h3 { font-size: 14px; }
  .release-details { margin-bottom: 26px; gap: 23px 17px; }
  .release-details dt { font-size: 11px; }
  .release-details dd { font-size: 12px; }
  .release-status { font-size: 11px; }
  .download-license-note { font-size: 11px; }
  .faq-layout { grid-template-columns: 1fr; gap: 25px; }
  .faq-intro h2 br { display: none; }
  .faq-intro > p:not(.section-kicker) { margin-top: 21px; font-size: 13px; }
  .faq-intro > p br { display: none; }
  .faq-intro .text-link { margin-top: 12px; }
  .faq-item summary { padding-block: 21px; min-height: 79px; font-size: 14px; }
  .faq-answer { font-size: 13px; padding: 0 22px 25px 2px; }
  .home-page .site-footer { padding-block: 29px 23px; }
  .footer-top { gap: 14px; padding-bottom: 20px; }
  .footer-top .brand { font-size: 19px; }
  .home-page .footer-top p { order: 3; width: 100%; font-size: 12px; }
  .footer-top .text-link { font-size: 11px; }
  .footer-bottom { display: block; padding-top: 20px; }
  .home-page .footer-bottom .local-note { font-size: 11px; line-height: 1.85; }
  .footer-signature { display: none; }
  .home-page .lightbox { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 7px; }
  .lightbox-inner { max-height: calc(100dvh - 22px); }
  .lightbox-header { padding: 13px 15px; }
  .lightbox-image-area { min-height: min(45dvh, 400px); padding: 16px 7px; }
  .lightbox-image-area img { max-height: calc(100dvh - 270px); }
  .lightbox-footer { flex-direction: column-reverse; align-items: stretch; gap: 12px; padding: 14px 15px; }
  .lightbox-footer .gallery-controls { width: 100%; }
  .lightbox-footer .gallery-count { margin-right: auto; }
  .lightbox-footer > p { text-align: center; font-size: 10px; }
}

@media (max-width: 360px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .text-link { justify-content: flex-start; }
  .home-page .download-identity h2 { font-size: 36px; }
  .download-content { padding-inline: 20px; }
  .home-page .download-button { font-size: 11px; padding-inline: 12px; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual { animation: none; }
  .hero-screen, .hero-screen:hover { transform: none; }
  .home-page *, .home-page *::before, .home-page *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
