/* ==========================================================================
   МосЭкоСила System v3 — home.css
   Композиции главной страницы. Подключается после base.css,
   перед components.css. Загружается только на home.html.

   Общие компоненты (.button, .text-link, шапка, подвал, формы, FAQ, диалоги)
   живут в components.css и здесь не переопределяются. Локальные варианты
   утилит base.css, нужные только главной, scoped через .view-home.

   Содержание:
     1. Иконочный шрифт ..... .icon
     2. Локальные варианты .. .view-home .eyebrow, .view-home .section-head
     3. Первый экран ........ .hero
     4. Полоса доверия ...... .trust
     5. Сферы бизнеса ....... .industries, .industry
     6. Подбор документов ... .start
     7. Документы ........... .documents, .doc-link
     8. Цены ................ .pricing, .price-card
     9. Процесс ............. .process
     10. О компании ......... .about-section
     11. Отраслевые пакеты .. .brief-sector
     12. FAQ-секция ......... .faq-section
     13. Диалог результата .. #result-dialog
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Иконочный шрифт (только главная)
   -------------------------------------------------------------------------- */

@font-face {
    font-family: ProjectIcons;
    src: url('../fonts/icons.woff2') format('woff2');
    font-display: block
}

.icon {
    font-family: ProjectIcons !important;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    speak: never;
    display: inline-block
}

.arrow {
    font-size: 2rem;
    line-height: 1
}

/* --------------------------------------------------------------------------
   2. Локальные варианты утилит главной
   -------------------------------------------------------------------------- */

.view-home .eyebrow {
    color: var(--green-dark);
    font-size: 1.2rem;
    letter-spacing: 0.16rem;
    font-weight: 650;
    text-transform: uppercase;
}

.view-home .section-head {
    flex-direction: column;
    align-items: flex-start
}

.view-home h2 {
    font-size: 3.8rem;
    font-weight: 650;
    letter-spacing: -0.1rem
}

/* --------------------------------------------------------------------------
   3. Первый экран

   Разметка: <section class="hero"> с .container.hero-grid внутри.
   -------------------------------------------------------------------------- */

.hero {
    background: #f3f5f2;
    overflow: hidden
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
    min-height: 61rem;
    gap: 4rem
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 5.5rem 0
}

.hero h1 {
    font-size: 5rem;
    font-weight: 650;
    line-height: 1.14;
    letter-spacing: -0.16rem;
    max-width: 59rem
}

.hero h1 em {
    font-style: normal;
    color: var(--green)
}

.hero-lead {
    font-size: 1.7rem;
    line-height: 1.7;
    max-width: 49rem;
    color: #4e574f;
    margin-top: 2.4rem
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 3rem
}

.hero-image {
    height: 100%;
    position: relative;
    min-width: 0;
    overflow: hidden
}

.hero-image img {
    position: absolute;
    width: calc(100% + 14rem);
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 54% center;
    border-radius: 12rem 0 0 0
}

.image-label {
    position: absolute;
    left: 2.4rem;
    bottom: 2.9rem;
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1.4rem;
    align-items: center;
    background: rgb(255 255 255 / 0.95);
    border: 0.1rem solid #fff;
    border-radius: 1rem;
    box-shadow: 0 0.8rem 3.2rem rgb(36 64 24 / 0.04)
}

.image-label>.icon {
    color: var(--green);
    font-size: 2.5rem
}

.image-label strong {
    display: block;
    font-weight: 600;
    font-size: 1.4rem
}

.image-label small {
    color: var(--muted);
    font-size: 1.2rem
}


/* --------------------------------------------------------------------------
   4. Полоса доверия

   Разметка: <section class="trust"> с .container.trust-grid внутри.
   Полоса с собственным ритмом, .section не добавляется.
   -------------------------------------------------------------------------- */

.trust {
    padding: 2.6rem 0;
    border-bottom: 0.1rem solid var(--line)
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem
}

.trust-item {
    display: flex;
    gap: 1.4rem;
    align-items: center
}

.trust-item .icon {
    color: var(--green);
    font-size: 2.3rem;
    width: 2.7rem;
    flex-shrink: 0
}

.trust-item strong {
    font-size: 1.3rem;
    font-weight: 600;
    display: block
}

.trust-item small {
    display: block;
    font-size: 1.1rem;
    color: var(--muted);
    margin-top: 0.2rem
}

/* --------------------------------------------------------------------------
   5. Сферы бизнеса
   -------------------------------------------------------------------------- */

.industries .button.secondary {
    display: table;
    margin-inline: auto;
    margin-top: 2.4rem
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.4rem
}

.industry {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background: #fff;
    border: 0.1rem solid var(--line);
    border-radius: var(--radius);
    padding: 2.4rem 2rem;
    min-height: 22.7rem;
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.18s, background 0.18s
}

.industry:hover {
    border-color: #87aa6c;
    background: #f8fbf5
}

.industry>.icon {
    font-size: 3.1rem;
    color: #699748;
    height: 4.8rem
}

.industry strong {
    font-size: 1.6rem;
    line-height: 1.4;
    font-weight: 600
}

.industry small {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0.9rem 0 1.7rem
}

.industry .arrow {
    margin-top: auto;
    color: var(--green-dark)
}

/* --------------------------------------------------------------------------
   6. Подбор документов

   Разметка: <section class="start"> с .container.start-box внутри.
   Секция с собственным ритмом (только нижний отступ после первого экрана).
   -------------------------------------------------------------------------- */

.start {
    padding: 0 0 8rem
}

.start-box {
    background: var(--paper);
    border: 0.1rem solid var(--line);
    border-radius: var(--radius);
    padding: 3.8rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 5.8rem;
    align-items: start
}

.start-copy h2 {
    font-size: 3.2rem;
    max-width: 38rem
}

.start-copy p {
    max-width: 37rem;
    color: var(--muted);
    font-size: 1.5rem;
    margin-top: 1.5rem
}

.form-label,
fieldset legend {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem
}

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

.start-form>.button {
    width: 100%
}

/* --------------------------------------------------------------------------
   7. Документы
   -------------------------------------------------------------------------- */

.documents {
    background: var(--paper)
}

.docs-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: 6.5rem
}

.docs-copy {
    max-width: 85rem
}

.docs-copy h2 {
    max-width: 35rem
}

.docs-copy p {
    font-size: 1.5rem;
    margin-top: 1.7rem;
    color: var(--muted);
    max-width: 66rem
}

.docs-copy .text-link {
    margin-top: 2rem
}

.doc-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2.8rem;
    margin-top: 3.2rem
}

.doc-link {
    display: flex;
    gap: 1.3rem;
    padding: 2rem 0;
    border-bottom: 0.1rem solid var(--line);
    align-items: start;
    transition: color 0.2s ease
}

.doc-link>.icon {
    color: var(--green);
    font-size: 2.1rem;
    width: 2.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem
}

.doc-link strong {
    font-size: 1.4rem;
    line-height: 1.45;
    font-weight: 600;
    border-bottom: 0.1rem solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease
}

.doc-link small {
    font-size: 1.2rem;
    color: var(--muted);
    display: block;
    margin-top: 0.5rem
}

.doc-link:hover strong {
    color: var(--green);
    border-color: var(--green)
}

/* --------------------------------------------------------------------------
   8. Цены
   -------------------------------------------------------------------------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
    align-items: stretch
}

.price-card {
    display: flex;
    flex-direction: column;
    padding: 3rem;
    border: 0.1rem solid var(--line);
    border-radius: var(--radius);
    position: relative;
    min-width: 0
}

.price-card.featured {
    background: var(--pale);
    border-color: #bdcfac
}

.price-kind {
    font-size: 1.1rem;
    font-weight: 650;
    letter-spacing: 0.1rem;
    color: var(--green-dark);
    text-transform: uppercase
}

.price-card h3 {
    font-size: 2.3rem;
    margin-top: 1.8rem;
    font-weight: 600;
    min-height: 5.5rem
}

.price {
    display: block;
    font-weight: 650;
    letter-spacing: -0.1rem;
    white-space: nowrap
}

.price-card .price {
    font-size: 2.4rem;
    line-height: 1.4;
    margin-top: 2.4rem;
    white-space: normal
}

.price-card>p {
    font-size: 1.4rem;
    color: var(--muted);
    margin-top: 1rem;
    min-height: 4.3rem
}

.price-card ul {
    border-top: 0.1rem solid var(--line);
    padding-top: 1.2rem;
    margin-top: 2.2rem;
    margin-bottom: 2.7rem;
    flex: 1
}

.price-card .button {
    width: 100%
}

.price-foot {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    margin-top: 2.4rem;
    font-size: 1.2rem;
    color: var(--muted)
}

.price-foot p {
    max-width: 58rem
}

.price-foot strong {
    font-weight: 600;
    color: var(--ink);
    white-space: normal
}

.plain-list {
    list-style: none;
    padding: 0;
    margin: 1.8rem 0 0
}

.plain-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-top: 1rem;
    font-size: 1.4rem;
    color: var(--muted)
}

.plain-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--green)
}

/* --------------------------------------------------------------------------
   9. Процесс
   -------------------------------------------------------------------------- */

.process {
    background: var(--paper)
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
    margin-top: 3.8rem;
    list-style: none;
    padding: 0
}

.step-top {
    display: flex;
    align-items: center;
    gap: 1.5rem
}

.step-top span {
    display: grid;
    place-items: center;
    width: 5.7rem;
    height: 5.7rem;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 1.7rem;
    flex-shrink: 0
}

.step-top::after {
    content: "";
    height: 0.1rem;
    background: #d6dfcf;
    flex: 1
}

.process-grid li:last-child .step-top::after {
    display: none
}

.process-grid h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 1.9rem
}

.process-grid p {
    font-size: 1.3rem;
    color: var(--muted);
    margin-top: 0.9rem
}

/* --------------------------------------------------------------------------
   10. О компании
   -------------------------------------------------------------------------- */

.about-section {
    position: relative;
    overflow: hidden;
    background: var(--paper)
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 8rem;
    align-items: stretch
}

.about-copy h2 {
    max-width: 48rem
}

.about-era {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin: 3.2rem 0 2.4rem;
    color: var(--green)
}

.about-era span {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em
}

.about-era strong {
    font-size: 12.8rem;
    font-weight: 500;
    line-height: 0.72;
    letter-spacing: -0.085em;
    font-variant-numeric: tabular-nums
}

.about-copy>p:not(.about-era) {
    color: var(--muted);
    font-size: 1.5rem;
    max-width: 49rem;
    margin-top: 2.4rem
}

.about-facts {
    margin: 3.2rem 0 0;
    border-top: 0.1rem solid #cfd8c9
}

.about-facts>div {
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 2rem;
    padding: 1.6rem 0;
    border-bottom: 0.1rem solid #cfd8c9
}

.about-facts dt,
.about-facts dd {
    margin: 0
}

.about-facts dt {
    color: var(--muted);
    font-size: 1.2rem
}

.about-facts dd {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.5
}

.about-proof {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 35rem;
    grid-template-areas: "copy preview" "links preview";
    gap: 3.2rem 4rem;
    align-items: stretch;
    padding: 4rem;
    background: #fff;
    border-block: 0.1rem solid var(--line)
}

.about-proof-copy {
    grid-area: copy;
    align-self: start
}

.about-proof-copy .eyebrow {
    margin-bottom: 2.4rem
}

.about-proof h3 {
    max-width: 28rem;
    font-size: 3rem;
    font-weight: 500
}

.about-proof p {
    max-width: 32rem;
    font-size: 1.4rem;
    color: var(--muted);
    margin-top: 1.6rem
}

.about-proof-links {
    grid-area: links;
    align-self: end;
    border-top: 0.1rem solid var(--line)
}

.about-proof-links .text-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1.6rem;
    padding: 1.5rem 0;
    border-bottom: 0.1rem solid var(--line);
    font-size: 1.3rem;
    margin: 0
}

.about-proof-links .text-link span,
.license-preview-action span {
    flex: 0 0 auto
}

/* Превью лицензии на главной — своя композиция, отличная от licenses.html */
.license-preview {
    grid-area: preview;
    position: relative;
    display: block;
    align-self: stretch;
    overflow: hidden;
    min-height: 36rem;
    background: var(--pale);
    border-radius: 0;
    padding: 0
}

.license-preview img {
    width: 100%;
    height: 100%;
    min-height: 36rem;
    object-fit: cover;
    object-position: center
}

.license-preview-action {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    justify-content: space-between;
    gap: 1.6rem;
    padding: 1.4rem 1.6rem;
    background: rgb(255 255 255 / 0.94);
    color: var(--green-dark);
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.28s, background-color 0.28s
}

@media (hover: hover) and (pointer: fine) {
    .license-preview:hover .license-preview-action {
        background: var(--pale);
        color: var(--green)
    }
}

/* --------------------------------------------------------------------------
   11. Отраслевые пакеты
   -------------------------------------------------------------------------- */

.brief-sector .caption {
    font-size: 1.3rem;
    color: var(--muted);
    margin-top: 2.4rem
}

.brief-sector-list {
    margin-top: 3.2rem
}

.brief-sector-list>a {
    display: grid;
    grid-template-columns: 4rem 1fr 20rem 2.4rem;
    gap: 2.4rem;
    align-items: center;
    padding: 2.4rem 1.2rem;
    border-bottom: 0.1rem solid var(--line)
}

.brief-sector-list>a>span:first-child,
.brief-sector-list>a>span:last-child {
    color: var(--green)
}

.brief-sector-list .v-icon {
    width: 3.2rem;
    height: 3.2rem
}

.brief-sector-list strong {
    font-size: 1.8rem;
    font-weight: 600
}

.brief-sector-list>a>span:nth-child(3) {
    font-size: 1.5rem
}

/* --------------------------------------------------------------------------
   12. FAQ-секция

   Поверхность с фоном на секции, сетка — на внутреннем .container.
   Fallback-стили пунктов — в components.css (.faq).
   -------------------------------------------------------------------------- */

.faq-section {
    background: var(--paper)
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 9rem
}

.faq-copy h2 {
    max-width: 28rem
}

.faq-copy p {
    color: var(--muted);
    font-size: 1.4rem;
    margin-top: 2rem;
    max-width: 25rem
}

.faq-copy .text-link {
    margin-top: 1.5rem
}

/* --------------------------------------------------------------------------
   13. Диалог результата подбора
   -------------------------------------------------------------------------- */

#result-dialog {
    width: min(60rem, calc(100% - 3.2rem))
}

.dialog-close {
    position: absolute;
    right: 1.5rem;
    top: 1.2rem;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: 0;
    font-size: 2.7rem;
    border-radius: 0.5rem
}

.dialog-close:hover {
    background: var(--pale)
}

#result-dialog h2 {
    font-size: 2.8rem;
    padding-right: 1.5rem
}

#result-dialog .context {
    font-size: 1.3rem;
    color: var(--green-dark);
    margin-top: 1.5rem;
    font-weight: 600
}

#result-dialog .result-note {
    font-size: 1.3rem;
    color: var(--muted);
    margin-top: 2.2rem;
    padding: 1.4rem;
    background: var(--paper);
    border-radius: var(--radius-control)
}

.dialog-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.4rem;
    flex-wrap: wrap
}

/* --------------------------------------------------------------------------
   Адаптив главной
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
    .hero h1 {
        font-size: 4.3rem
    }

    .hero-grid {
        gap: 2.5rem
    }

    .industry {
        padding: 2.2rem 1.5rem
    }

    .industry strong {
        font-size: 1.5rem
    }

    .docs-layout {
        gap: 3.8rem
    }

    .about-layout,
    .faq-layout {
        gap: 5rem
    }

    .price-card {
        padding: 2.5rem
    }

    .start-box {
        gap: 3.5rem
    }
}

@media (max-width: 1023px) {
    .pricing-grid {
        grid-template-columns: 1fr
    }

    .price-card h3,
    .price-card>p {
        min-height: 0
    }

    .price-foot {
        flex-wrap: wrap
    }
}

@media (max-width: 980px) {
    .hero h1 {
        font-size: 3.8rem
    }

    .hero-grid {
        min-height: 51.5rem
    }

    .hero-lead {
        font-size: 1.6rem
    }

    .hero-actions .button {
        font-size: 1.3rem;
        padding: 1.2rem 1.7rem
    }

    .trust-grid {
        gap: 1.8rem
    }

    .trust-item {
        gap: 0.9rem
    }

    .trust-item small {
        font-size: 1rem
    }

    .industry-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .industry {
        min-height: 21rem
    }

    .industry:nth-child(n + 4) {
        min-height: 18.5rem
    }

    .start {
        padding-bottom: 6.5rem
    }

    .start-box {
        padding: 3rem
    }

    .start-copy h2 {
        font-size: 2.9rem
    }

    .radio-group {
        gap: 0.6rem
    }

    .radio-group label {
        padding: 0.8rem
    }

    .docs-layout {
        grid-template-columns: 1fr
    }

    .docs-copy {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 5rem
    }

    .docs-copy .eyebrow {
        grid-column: 1 / -1
    }

    .docs-copy p {
        margin: 0;
        align-self: center
    }

    .docs-copy h2 {
        max-width: 42rem
    }

    .docs-copy .text-link {
        margin-top: 1.5rem
    }

    .price-card {
        padding: 2.3rem 1.8rem
    }

    .price-card .price {
        font-size: 2.2rem
    }

    .price-card h3 {
        font-size: 2.1rem
    }

    .about-layout {
        grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
        gap: 3.5rem
    }

    .about-proof {
        grid-template-columns: minmax(0, 1fr) 18rem;
        gap: 2.4rem;
        padding: 3rem
    }

    .license-preview img {
        min-height: 31rem
    }

    .about-proof h3 {
        font-size: 2.5rem
    }

    .process-grid {
        gap: 1.8rem
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 8.8rem
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 0
    }

    .hero-copy {
        padding: 3.7rem 0 3.1rem
    }

    .hero h1 {
        font-size: 4.4rem;
        letter-spacing: -0.11rem;
        max-width: 62rem;
        overflow-wrap: normal
    }

    .hero .eyebrow {
        font-size: 1rem;
        letter-spacing: 0.11rem;
        margin-bottom: 1.6rem
    }

    .hero-lead {
        margin-top: 1.8rem;
        font-size: 1.5rem;
        max-width: 51rem
    }

    .hero-actions {
        margin-top: 2.3rem;
        gap: 1rem
    }

    .hero-actions .button {
        font-size: 1.3rem
    }

    .hero-image {
        height: 28rem;
        margin: 0 0 2.4rem;
        width: 100%;
        border-radius: var(--radius)
    }

    .hero-image img {
        position: static;
        width: 100%;
        height: 100%;
        border-radius: 0;
        object-position: 50% 54%
    }

    .image-label {
        bottom: 1.8rem;
        left: 2rem;
        padding: 1rem 1.4rem;
        gap: 1rem
    }

    .image-label strong {
        font-size: 1.2rem
    }

    .image-label small {
        font-size: 1rem
    }

    .image-label>.icon {
        font-size: 2rem
    }

    .trust {
        padding: 2.2rem 0
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.1rem 1.7rem
    }

    .trust-item strong {
        font-size: 1.2rem
    }

    .trust-item .icon {
        font-size: 2rem;
        width: 2.2rem
    }

    .view-home h2 {
        font-size: 2.9rem;
        letter-spacing: -0.07rem
    }

    .view-home .eyebrow {
        font-size: 1rem;
        margin-bottom: 1.3rem
    }

    .section-head .text-link {
        font-size: 1.2rem;
        min-height: 3.4rem
    }

    .industry-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem
    }

    .industry {
        padding: 1.9rem 1.6rem;
        min-height: 20.5rem
    }

    .industry:nth-child(n + 4) {
        min-height: 20.5rem
    }

    .industry:last-child {
        grid-column: 1 / -1;
        min-height: 14rem;
        display: grid;
        grid-template-columns: 3.8rem 1fr 2.2rem;
        column-gap: 1.5rem;
        align-items: center
    }

    .industry:last-child>.icon {
        grid-row: 1 / 3;
        height: auto;
        font-size: 2.9rem
    }

    .industry:last-child strong {
        grid-column: 2
    }

    .industry:last-child small {
        grid-column: 2;
        margin: 0.4rem 0 0
    }

    .industry:last-child .arrow {
        grid-column: 3;
        grid-row: 1 / 3;
        margin: 0
    }

    .start {
        padding-bottom: 5.2rem
    }

    .start-box {
        grid-template-columns: 1fr;
        padding: 2.6rem 2.2rem;
        gap: 2.5rem
    }

    .start-copy h2 {
        font-size: 2.8rem;
        max-width: 100%
    }

    .start-copy p {
        font-size: 1.4rem;
        max-width: 100%
    }

    .radio-group {
        gap: 0.7rem
    }

    .radio-group label {
        font-size: 1.1rem;
        padding: 0.9rem 0.8rem
    }

    .form-label,
    fieldset legend {
        font-size: 1.2rem
    }

    .docs-copy {
        display: block
    }

    .docs-copy p {
        margin-top: 1.6rem
    }

    .doc-list {
        grid-template-columns: 1fr
    }

    .doc-link {
        padding: 1.7rem 0
    }

    .docs-layout {
        gap: 1.4rem
    }

    .plain-list {
        margin-top: 1.3rem
    }

    .price-card {
        padding: 2.7rem
    }

    .price-card h3 {
        font-size: 2.3rem;
        margin-top: 1.2rem
    }

    .price-card>p {
        max-width: none
    }

    .price-card .price {
        font-size: 2.4rem;
        margin-top: 1.7rem
    }

    .price-card ul {
        margin: 2rem 0 2.3rem
    }

    .price-foot {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem
    }

    .process-grid {
        grid-template-columns: 1fr;
        margin-top: 2.7rem;
        gap: 2.3rem
    }

    .process-grid li {
        display: grid;
        grid-template-columns: 3.8rem 1fr;
        gap: 0.5rem 1.7rem
    }

    .step-top span {
        width: 3.7rem;
        height: 3.7rem;
        font-size: 1.3rem;
    }

    .step-top {
        grid-row: 1 / 3;
        align-self: start
    }

    .step-top::after {
        display: none
    }

    .process-grid h3 {
        margin-top: 0.2rem;
        font-size: 1.7rem
    }

    .process-grid p {
        grid-column: 2;
        margin: 0;
        font-size: 1.4rem
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 4rem
    }

    .about-copy h2 {
        max-width: 100%
    }

    .about-era {
        margin: 2.8rem 0 2.2rem
    }

    .about-era strong {
        font-size: 8.2rem
    }

    .about-facts>div {
        grid-template-columns: 8rem minmax(0, 1fr);
        gap: 1.6rem
    }

    .about-proof {
        grid-template-columns: 1fr;
        grid-template-areas: "copy" "preview" "links";
        gap: 2.4rem;
        padding: 2.4rem
    }

    .about-proof-copy .eyebrow {
        margin-bottom: 1.6rem
    }

    .license-preview {
        min-height: 0
    }

    .license-preview img {
        height: auto;
        min-height: 0;
        aspect-ratio: 1.4;
        object-fit: cover
    }

    .about-proof h3,
    .about-proof p {
        max-width: 100%
    }

    .about-proof h3 {
        font-size: 2.5rem
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 2.7rem
    }

    .faq-copy h2,
    .faq-copy p {
        max-width: 100%
    }

    .faq-copy p {
        margin-top: 1.3rem
    }

    .faq-copy .text-link {
        margin-top: 0.7rem
    }

    .brief-sector-list>a {
        grid-template-columns: 2.4rem 1fr 2.4rem;
        gap: 1.2rem
    }

    .brief-sector-list>a>span:nth-child(3) {
        grid-column: 2;
        grid-row: 2
    }

    .brief-sector-list>a>span:last-child {
        grid-column: 3;
        grid-row: 1 / 3
    }

    #result-dialog {
        padding: 2.9rem 2.3rem
    }

    #result-dialog h2 {
        font-size: 2.5rem
    }

    .dialog-actions .button {
        width: 100%
    }
}

@media (max-width: 380px) {
    .hero-actions {
        flex-direction: column
    }

    .hero-actions .button {
        width: 100%
    }

    .hero h1 {
        font-size: 3.1rem
    }

    .industry {
        padding: 1.7rem 1.2rem
    }

    .trust-item {
        gap: 0.7rem
    }

    .trust-item strong {
        font-size: 1.1rem
    }

    .radio-group {
        flex-direction: column
    }

    .radio-group label {
        font-size: 1.3rem
    }

    .about-proof {
        padding: 2rem
    }

    .about-facts>div {
        grid-template-columns: 7.5rem minmax(0, 1fr);
        gap: 1.2rem
    }
}