/* ============================================
   Veilyx — corporate site stylesheet
   AXIOM COSMETICS INC.
   ============================================ */

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/plus-jakarta-sans-400.ttf") format("truetype");
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/plus-jakarta-sans-500.ttf") format("truetype");
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/plus-jakarta-sans-600.ttf") format("truetype");
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/plus-jakarta-sans-700.ttf") format("truetype");
}

:root {
    --bg: #FBFAF7;
    --bg-alt: #F4F2EC;
    --surface: #FFFFFF;
    --ink: #14181A;
    --ink-2: #2C3438;
    --muted: #6A7378;
    --muted-2: #98A0A4;
    --line: #E4E1D9;
    --line-2: #ECEAE3;
    --accent: #2A6E68;
    --accent-deep: #1F544F;
    --accent-soft: #E7EEEC;

    --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

    --shadow-sm: 0 1px 2px rgba(20, 24, 26, 0.04);
    --radius: 10px;

    --container: 1180px;
    --container-narrow: 880px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Layout ---------- */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.container--narrow {
    max-width: var(--container-narrow);
}

section {
    padding: 96px 0;
}

section + section {
    border-top: 1px solid var(--line-2);
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 20px;
}

/* ---------- Typography ---------- */

em, i, cite {
    font-style: normal;
}

h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.18;
    margin: 0 0 24px;
    text-wrap: balance;
}

h1 {
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(28px, 3.4vw, 38px);
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 10px;
}

p {
    margin: 0 0 18px;
    color: var(--ink-2);
    text-wrap: pretty;
}

.lead {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 62ch;
}

.muted {
    color: var(--muted);
}

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

ul.bullets {
    padding-left: 18px;
    margin: 0 0 18px;
}

ul.bullets li {
    color: var(--ink-2);
    margin-bottom: 6px;
}

/* ---------- Header ---------- */

.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--line-2);
    position: sticky;
    top: 0;
    z-index: 50;
    padding-top: env(safe-area-inset-top, 0);
    /* Непрозрачный фон: backdrop-filter на iOS даёт «дырку» при прокрутке */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Закрывает щель над sticky-шапкой в Safari при инерционной прокрутке */
.site-header::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: calc(100px + env(safe-area-inset-top, 0px));
    background: var(--bg);
    pointer-events: none;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-family: var(--font);
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
    color: var(--ink);
}

.brand__mark {
    width: 26px;
    height: 26px;
    display: block;
}

.brand__name {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.brand__name em {
    font-style: normal;
    color: var(--accent);
}

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

.nav a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-2);
    border-radius: var(--radius);
    transition: color .15s ease, background .15s ease;
}

.nav a:hover {
    color: var(--accent-deep);
    background: var(--accent-soft);
    text-decoration: none;
}

.nav a[aria-current="page"] {
    color: var(--accent-deep);
    background: var(--accent-soft);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    width: 40px;
    height: 36px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink-2);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: var(--font);
    font-size: 14.5px;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
}

.btn--primary:hover {
    background: var(--accent-deep);
    color: #fff;
    text-decoration: none;
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn--ghost:hover {
    border-color: var(--ink-2);
    color: var(--ink);
    text-decoration: none;
}

.btn .arrow {
    display: inline-block;
    transition: transform .15s ease;
}

.btn:hover .arrow {
    transform: translateX(2px);
}

/* ---------- Hero ---------- */

.hero {
    padding: 112px 0 96px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    padding: 6px 12px;
    background: var(--accent-soft);
    border-radius: 999px;
}

.hero h1 {
    margin-bottom: 28px;
}

.hero__sub {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 56ch;
    margin-bottom: 36px;
}

.hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero visual — abstract product silhouettes */
.hero__visual {
    position: relative;
    aspect-ratio: 4 / 5;
    background: linear-gradient(160deg, var(--accent-soft) 0%, #F4F2EC 100%);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--line-2);
}

.hero__visual-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 48px 32px 0;
}

.hero__visual-inner svg {
    width: 100%;
    height: auto;
}

.hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__visual--photo .hero__visual-inner {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
}

.hero__visual--photo .hero__visual-inner picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* ---------- Landing: audience paths ---------- */

.paths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: stretch;
}

.path-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.path-card__figure {
    aspect-ratio: 16 / 10;
    margin: 0;
    background: var(--bg-alt);
}

.path-card__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.path-card__body {
    padding: 28px 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.path-card__body h3 {
    margin: 0 0 12px;
    font-family: var(--font);
    font-size: 24px;
}

.path-card__body .bullets {
    flex: 1;
    margin-bottom: 20px;
}

.path-card__meta {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 14px;
    letter-spacing: 0.02em;
}

/* ---------- Landing: benefits ---------- */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.benefit-card {
    padding: 26px 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.benefit-card h3 {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
}

.benefit-card p {
    font-size: 14.5px;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

/* ---------- Landing: how it works ---------- */

.how-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.how-block h3 {
    font-family: var(--font);
    font-size: 22px;
    margin-bottom: 18px;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}

.step-list li {
    position: relative;
    padding-left: 52px;
    margin-bottom: 18px;
    min-height: 40px;
}

.step-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-list strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 4px;
}

.step-list span.desc {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.5;
}

/* ---------- Product photo layer ---------- */

.product-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card__visual picture {
    display: block;
    width: 100%;
    height: 100%;
}

.product-card__visual--layered {
    position: relative;
}

.product-card__visual--layered picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.product-card__visual--layered .product-card__photo {
    width: 100%;
    height: 100%;
}

.product-card__visual--layered .product-card__art {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: none;
    opacity: 0.88;
}

.product-card__visual--photo {
    padding: 24px;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    min-width: 0;
}

.product-card__visual--photo picture {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
}

.product-card__visual--photo .product-card__photo {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
}

.product-card__visual--layered .product-card__art svg {
    max-height: 120px;
    height: auto;
    width: auto;
}

.product-bestfor {
    font-size: 13px;
    color: var(--ink-2);
    margin: 0 0 14px;
    line-height: 1.45;
}

.product-bestfor em {
    font-style: normal;
    font-weight: 600;
    color: var(--accent-deep);
}

/* ---------- Footer legal compact ---------- */

.footer-legal-compact {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #2A3034;
    font-size: 12.5px;
    line-height: 1.65;
    color: #8A9094;
    max-width: 52ch;
}

.footer-legal-compact strong {
    color: #BFC5C8;
    font-weight: 600;
}

/* ---------- About card (single-page landing) ---------- */

.about-panel {
    margin-top: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 28px 28px 30px;
}

.about-founder {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 40px;
    align-items: start;
}

.about-founder__photo {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-alt);
    aspect-ratio: 4 / 5;
}

.about-founder__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-founder__company {
    font-family: var(--font);
    font-weight: 600;
    font-size: 17px;
    margin: 0 0 4px;
    color: var(--ink);
}

.about-founder__brand {
    margin: 0 0 14px;
    font-size: 14px;
}

.about-founder__meta {
    margin: 0 0 18px;
    font-size: 14px;
}

.about-founder__address {
    font-style: normal;
    margin: 0 0 22px;
    line-height: 1.65;
    font-size: 15px;
    color: var(--ink-2);
}

.about-founder__bio {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-2);
}

.about-inquiries {
    margin: 26px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-2);
}

.about-inquiries a {
    color: var(--accent-deep);
    font-weight: 500;
    text-decoration: none;
}

.about-inquiries a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section--alt {
    background: var(--bg-alt);
}

.hero__caption {
    position: absolute;
    left: 24px;
    bottom: 24px;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---------- Generic content blocks ---------- */

.page-header {
    padding: 88px 0 64px;
    background: var(--bg);
    border-bottom: 1px solid var(--line-2);
}

.page-header__eyebrow {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 16px;
}

.page-header h1 {
    max-width: 22ch;
    margin-bottom: 18px;
}

.page-header .lead {
    margin: 0;
}

.split {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: start;
}

.split__label {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    padding-top: 6px;
}

.split__body p:last-child {
    margin-bottom: 0;
}

/* Definition list — used on About / Contact for legal data */
.dl-legal {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0 32px;
    border-top: 1px solid var(--line);
    margin: 0;
}

.dl-legal > div {
    display: contents;
}

.dl-legal dt,
.dl-legal dd {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    margin: 0;
}

.dl-legal dt {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}

.dl-legal dd {
    font-size: 15.5px;
    color: var(--ink);
    font-weight: 500;
}

.dl-legal dd .status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-deep);
}

.dl-legal dd .status::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ---------- Card grids ---------- */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cards--two { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color .15s ease;
}

.card:hover {
    border-color: var(--muted-2);
}

.card__index {
    font-family: var(--font);
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
    letter-spacing: 0.04em;
}

.card h3 {
    margin-bottom: 10px;
    font-family: var(--font);
    font-size: 22px;
}

.card p {
    font-size: 14.5px;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

/* Product cards with mini-illustration */
.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card__visual {
    background: var(--bg-alt);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--line-2);
    padding: 32px;
}

.product-card__visual svg {
    width: auto;
    height: 100%;
    max-height: 140px;
}

.product-card__body {
    padding: 26px 28px 30px;
}

.product-card__body h3 {
    margin: 0 0 10px;
    font-family: var(--font);
    font-size: 20px;
}

.product-card__body p {
    font-size: 14.5px;
    color: var(--muted);
    margin: 0 0 16px;
    line-height: 1.55;
}

.product-card__tag {
    display: inline-block;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
}

/* ---------- Leadership card ---------- */

.leader {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: start;
}

.leader__portrait {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader__portrait img,
.leader__portrait svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader__name {
    font-size: 34px;
    font-weight: 600;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.leader__title {
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 28px;
    font-weight: 500;
}

.leader__bio p {
    margin-bottom: 16px;
}

/* ---------- Contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* ---------- Form ---------- */

.form {
    display: grid;
    gap: 18px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form label {
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}

.form input,
.form textarea,
.form select {
    font-family: var(--font);
    font-size: 15px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form textarea {
    min-height: 140px;
    resize: vertical;
}

.form__hint {
    font-size: 13px;
    color: var(--muted);
    margin: 4px 0 0;
}

.form__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
}

/* ---------- CTA band ---------- */

.cta-band {
    background: var(--bg-alt);
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
    padding: 72px 0;
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-band h2 {
    margin: 0;
    max-width: 22ch;
}

.cta-band__side {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
    background: #14181A;
    color: #BFC5C8;
    padding: 64px 0 36px;
    font-size: 14px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
}

.site-footer h4 {
    font-family: var(--font);
    font-weight: 600;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.site-footer__about p {
    color: #BFC5C8;
    line-height: 1.6;
    margin: 0;
    max-width: 36ch;
    font-size: 14px;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    margin-bottom: 16px;
}

.site-footer__brand .brand__name {
    color: #fff;
    font-size: 16px;
}

.site-footer__brand .brand__name em {
    color: #6FB8B0;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.site-footer ul li a {
    color: #BFC5C8;
    font-size: 14px;
}

.site-footer ul li a:hover {
    color: #fff;
    text-decoration: none;
}

.site-footer .footer-legal-compact a {
    color: #BFC5C8;
}

.site-footer .footer-legal-compact a:hover {
    color: #fff;
    text-decoration: none;
}

.site-footer address {
    font-style: normal;
    line-height: 1.7;
    color: #BFC5C8;
}

.site-footer__bottom {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid #2A3034;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    color: #8A9094;
    font-size: 13px;
}

.site-footer__bottom a {
    color: #8A9094;
}

.site-footer__bottom a:hover {
    color: #fff;
    text-decoration: none;
}

/* ---------- Long-form (privacy/terms) ---------- */

.longform {
    max-width: 720px;
    margin: 0 auto;
    padding: 72px 0 96px;
}

.longform h2 {
    font-size: 22px;
    font-family: var(--font);
    font-weight: 600;
    letter-spacing: -0.005em;
    margin: 48px 0 14px;
}

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

.longform p {
    font-size: 15.5px;
    line-height: 1.7;
}

.longform ul {
    padding-left: 20px;
    margin: 0 0 18px;
}

.longform ul li {
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 4px;
    color: var(--ink-2);
}

.longform__meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 40px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

/* ---------- Disclaimer / note callouts ---------- */

.note {
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    padding: 18px 22px;
    margin: 28px 0;
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.6;
}

/* ---------- Anchor scroll offset (sticky header) ---------- */

/* ---------- Anchor scroll offset (sticky header) ---------- */

section[id], article[id], div[id].anchor {
    scroll-margin-top: 88px;
}

html {
    scroll-behavior: smooth;
}

/* ---------- Sub-block divider (within merged sections) ---------- */

.sub-block + .sub-block {
    margin-top: 88px;
    padding-top: 88px;
    border-top: 1px solid var(--line);
}

.sub-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 18px;
}

@media (max-width: 960px) {
    .sub-block + .sub-block {
        margin-top: 64px;
        padding-top: 64px;
    }
}

.legal-block {
    max-width: 760px;
}

.legal-block h3 {
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin: 32px 0 10px;
    letter-spacing: 0;
}

.legal-block h3:first-of-type {
    margin-top: 8px;
}

.legal-block p,
.legal-block li {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink-2);
}

.legal-block ul {
    padding-left: 20px;
    margin: 0 0 14px;
}

.legal-block__meta {
    font-size: 12.5px;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.legal-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

@media (max-width: 960px) {
    .legal-cols { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .paths-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .how-columns { grid-template-columns: 1fr; gap: 40px; }
    .hero__grid { grid-template-columns: 1fr; gap: 48px; }
    .hero__visual { max-width: 460px; }
    .cards { grid-template-columns: 1fr 1fr; }
    .leader { grid-template-columns: 1fr; gap: 36px; }
    .leader__portrait { max-width: 320px; }
    .about-founder {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .about-founder__photo {
        max-width: 280px;
        margin: 0 auto;
    }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .split { grid-template-columns: 1fr; gap: 20px; }
    .split__label { padding-top: 0; font-size: 12px; }
    .dl-legal { grid-template-columns: 1fr; }
    .dl-legal dt { padding: 18px 0 0; border-bottom: none; }
    .dl-legal dd { padding: 4px 0 18px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    section { padding: 72px 0; }
    .hero { padding: 72px 0; }
}

@media (max-width: 640px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .container { padding: 0 22px; }
    .nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav.open {
        display: flex;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: 12px 22px 18px;
        gap: 2px;
    }
    .nav.open a { padding: 10px 12px; }
    .cards { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; }

    /* Фото категорий: чуть выше блок, равные поля по краям */
    .product-card__visual--photo {
        aspect-ratio: 4 / 3;
        padding: 20px;
    }

    .path-card__figure img {
        object-fit: contain;
        object-position: center center;
    }
}

/* ---------- Section utilities ---------- */

.section-heading {
    margin-bottom: 18px;
}

.section-heading--narrow {
    max-width: 28ch;
}

.section-heading--products {
    max-width: 22ch;
}

.section-lead {
    margin-bottom: 36px;
}

.section-lead--tight {
    margin-bottom: 28px;
}

.product-bullets {
    font-size: 13.5px;
    padding-left: 16px;
}

/* ---------- Legal page extras ---------- */

.legal-block__title {
    font-size: 28px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 8px;
}

.legal-jump {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 32px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

.legal-jump a {
    color: var(--muted);
    text-decoration: none;
}

.legal-jump a:hover {
    color: var(--accent-deep);
}

.legal-jump span {
    color: var(--line);
}

.legal-back {
    margin-top: 64px;
    font-size: 14px;
    color: var(--muted);
}

/* ---------- Home page: softer typography & card surfaces ---------- */

.page-home .hero__eyebrow {
    display: inline-flex;
    font-family: var(--font);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    font-size: 17px;
    color: var(--accent);
    background: transparent;
    padding: 0 0 0 2px;
}

.page-home .section-eyebrow {
    font-family: var(--font);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    color: var(--muted);
}

.page-home h1 {
    font-size: clamp(40px, 5.6vw, 68px);
    letter-spacing: -0.022em;
    line-height: 1.08;
    margin-bottom: 22px;
}

.page-home h2 {
    font-size: clamp(28px, 3.8vw, 44px);
    letter-spacing: -0.022em;
    line-height: 1.08;
}

.page-home .about-inquiries {
    font-size: 16px;
    color: var(--ink-2);
}

.page-home .benefit-card,
.page-home .product-card,
.page-home .about-panel {
    border-color: transparent;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(20, 24, 26, 0.04),
                0 18px 44px -22px rgba(20, 24, 26, 0.18);
}

.page-home .hero__visual {
    border-radius: 18px;
    border-color: transparent;
    background: linear-gradient(160deg, var(--accent-soft) 0%, var(--bg-alt) 100%);
    box-shadow: 0 1px 2px rgba(20, 24, 26, 0.04),
                0 28px 60px -28px rgba(20, 24, 26, 0.22);
}

.page-home .product-card__visual {
    border-bottom: none;
    border-radius: 16px 16px 0 0;
}
