:root {
    color-scheme: light;
    --canvas: #f6f8fa;
    --white: #fff;
    --text: #152530;
    --muted: #455866;
    --line: #d9e1e7;
    --dark: #142934;
    --radius: 28px;
    --brand: #155077;
    --brand-ink: #fff;
    --offer-color: var(--brand);
    --offer-ink: var(--brand-ink);
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { --offer-color: var(--brand); --offer-ink: var(--brand-ink); margin: 0; background: var(--canvas); color: var(--text); line-height: 1.55; }
body.menu-open { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Manrope, "DM Sans", system-ui, sans-serif; overflow-wrap: anywhere; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
svg { display: inline-block; width: 1.2em; height: 1.2em; flex: none; vertical-align: middle; }
form { margin: 0; }
:focus-visible { outline: 3px solid #2877a2; outline-offset: 4px; }

.shell { width: min(100% - 72px, 1240px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: 8px; left: 12px; padding: 12px 18px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: grid; grid-template-columns: minmax(0, 1fr) auto 1fr; align-items: center; gap: 24px; }
.wordmark { width: fit-content; max-width: 100%; color: var(--text); font: 800 1.21rem Manrope, sans-serif; text-decoration: none; letter-spacing: -.035em; overflow-wrap: anywhere; }
.wordmark img { max-width: min(100%, 182px); max-height: 43px; width: auto; height: auto; object-fit: contain; }
.main-nav { display: flex; gap: 4px; padding: 5px; border-radius: 40px; background: var(--canvas); }
.main-nav a { padding: 7px 15px; border-radius: 30px; font-size: .92rem; white-space: nowrap; }
.main-nav a:hover { background: white; box-shadow: 0 1px 6px #15253013; text-decoration: none; }
.main-nav a, .footer-inner > a { font-weight: 700; text-decoration: none; }
.footer-inner > a:hover, .menu-catalog-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; justify-content: flex-end; gap: 8px; }
.area-button img { max-width: 80px; max-height: 26px; object-fit: contain; }
.button {
    display: inline-flex; justify-content: center; align-items: center; text-align: center;
    gap: 8px; min-height: 46px; padding: 10px 18px; border: 1px solid transparent;
    border-radius: 11px; font-size: .96rem; font-weight: 700; line-height: 1.25;
    background: transparent; color: inherit; text-decoration: none; cursor: pointer;
    transition: background-color .18s, box-shadow .18s, border-color .18s;
}
.button-outline { border-color: var(--line); background: var(--white); color: var(--text); }
.button-outline:hover, .document-button:hover { border-color: var(--offer-color); background: color-mix(in srgb, var(--offer-color) 5%, white); }
.menu-button { color: white; background: var(--dark); }
.menu-button:hover { background: #294453; }
.button-primary { background: var(--offer-color); color: var(--offer-ink); }
.button-primary:hover { box-shadow: 0 0 0 3px color-mix(in srgb, var(--offer-color) 25%, transparent); }
.button-light { background: white; color: var(--text); }
.button-light:hover { background: #edf5f9; }
.button-ghost { color: white; border-color: #ffffff6d; }
.button-ghost:hover { background: #ffffff20; }

.catalog-hero {
    margin-top: 28px; display: grid; grid-template-columns: .96fr 1.04fr; min-height: 453px;
    position: relative; isolation: isolate; border-radius: 33px; overflow: hidden;
    background: #17303e;
    background: radial-gradient(ellipse at 5% 105%, color-mix(in srgb, var(--brand) 47%, #122633), transparent 62%),
        linear-gradient(125deg, color-mix(in srgb, var(--brand) 33%, #0c1720), #142834);
    color: white;
}
.hero-copy { padding: clamp(32px, 4.6vw, 70px); display: flex; flex-direction: column; justify-content: center; align-items: start; }
.hero-copy::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none; width: 470px; height: 470px;
    left: -164px; bottom: -315px; border: 1px solid #ffffff26; border-radius: 50%;
    box-shadow: 0 0 0 29px #ffffff0c, 0 0 0 60px #ffffff09, 0 0 0 95px #ffffff08;
}
.hero-copy h1 { font-size: clamp(3.4rem, 6.2vw, 5.9rem); line-height: .99; font-weight: 800; letter-spacing: -.06em; }
.hero-copy h1 span { display: block; color: color-mix(in srgb, var(--brand) 22%, white); }
.hero-copy p { max-width: 32ch; margin-top: 23px; font-size: 1.09rem; color: #eef4f7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-media { position: relative; min-height: 280px; overflow: hidden; margin: 12px 12px 12px 0; border-radius: 23px; background: #b8c3c2; }
.hero-media img { height: 100%; width: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 60% 47%; }
.hero-media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #101d273c); pointer-events: none; }
.hero-utilities { position: absolute; z-index: 1; bottom: 21px; right: 21px; display: flex; flex-wrap: wrap; gap: 7px; }
.hero-utilities a { display: flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 30px; background: white; color: var(--text); text-decoration: none; font-weight: 700; font-size: .92rem; }
.hero-utilities a:hover { box-shadow: 0 0 0 3px #ffffff70; }

.catalog-section { padding-top: clamp(44px, 6.8vw, 82px); }
.section-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.section-bar h2, .detail-content h2, .section-copy h2, .app-panel h2 { font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.15; font-weight: 800; letter-spacing: -.055em; }
.offer-count { font-size: .95rem; color: var(--muted); white-space: nowrap; }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 25px; }
.filter-button {
    min-height: 44px; display: inline-flex; align-items: center; gap: 7px; font-size: .94rem; font-weight: 700;
    color: var(--text); background: white; border: 1px solid var(--line); border-radius: 30px; padding: 8px 15px; cursor: pointer;
}
.filter-button[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: white; }
.filter-button:hover:not([aria-pressed="true"]) { border-color: var(--brand); }
.notice { margin-block: 14px; background: white; border-left: 3px solid var(--brand); padding: 14px 17px; border-radius: 5px; }

.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 22px; }
.offer-card { display: flex; min-width: 0; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 26px #15253008; transition: box-shadow .18s, border-color .18s; }
.offer-card:focus-within, .offer-card:hover { border-color: color-mix(in srgb, var(--offer-color) 32%, var(--line)); box-shadow: 0 12px 31px #15253013; }
.card-media { position: relative; margin: 9px 9px 0; border-radius: 19px; overflow: hidden; background: #e0e8ed; }
.card-media img { width: 100%; height: clamp(150px, 16vw, 212px); object-fit: cover; object-position: center; }
.card-tags { position: absolute; left: 17px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
    min-height: 31px; display: inline-flex; gap: 6px; align-items: center; width: fit-content; border-radius: 24px;
    font-size: .85rem; font-weight: 800; padding: 4px 10px; line-height: 1.3;
}
.tag-photo, .tag-neutral { color: var(--text); background: white; }
.tag-neutral { border: 1px solid var(--line); }
.tag-theme { color: color-mix(in srgb, var(--brand) 70%, #152530); background: color-mix(in srgb, var(--brand) 12%, white); }
.card-main { display: flex; flex: 1; flex-direction: column; align-items: stretch; padding: clamp(20px, 2.7vw, 32px); gap: 17px; }
.card-copy { flex: 1; }
.price-kind { color: color-mix(in srgb, var(--offer-color) 60%, #17252e); font-size: .86rem; font-weight: 800; }
.card-copy h3 { margin: 4px 0 6px; font-size: clamp(1.55rem, 3vw, 2.05rem); font-weight: 800; line-height: 1.1; letter-spacing: -.05em; }
.card-description { color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.card-pricing { margin: 0; background: color-mix(in srgb, var(--offer-color) 5%, white); border: 1px solid color-mix(in srgb, var(--offer-color) 15%, #e4e9ef); border-left: 3px solid var(--offer-color); border-radius: 14px; padding: 0 15px; }
.price-line { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 10px; flex-wrap: wrap; padding: 10px 0; }
.price-line + .price-line { border-top: 1px solid var(--line); }
.price-line dt { font-weight: 700; font-size: .93rem; }
.price-line dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.price-line dd strong { font-size: clamp(1.02rem, 2.5vw, 1.48rem); line-height: 1.12; letter-spacing: -.035em; }
.price-line-secondary dd { font-size: .99rem; }
.price-line small, .detail-price small, .detail-fixed small { color: var(--muted); font-size: .86rem; white-space: nowrap; }
.card-link { align-self: start; }
.price-note { margin-top: 15px; color: var(--muted); font-size: .9rem; }

.document-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.document-form { display: flex; }
.document-button {
    display: inline-flex; align-items: center; gap: 7px; min-height: 43px; padding: 8px 11px;
    font-size: .9rem; line-height: 1.25; font-weight: 700; color: var(--text); text-decoration: none;
    background: white; border: 1px solid var(--line); border-radius: 9px; cursor: pointer;
}
.document-button svg { color: color-mix(in srgb, var(--offer-color) 65%, #17252e); }
.card-documents { padding-top: 14px; border-top: 1px solid var(--line); }

.documents-section { margin-top: clamp(42px, 7vw, 76px); padding: clamp(20px, 3.4vw, 35px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(110deg, white, color-mix(in srgb, var(--brand) 5%, white)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; }
.section-symbol, .app-symbol { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; font-size: 1.5rem; background: color-mix(in srgb, var(--brand) 11%, white); color: color-mix(in srgb, var(--brand) 70%, #183043); flex: none; }
.section-copy p, .app-panel p { margin-top: 5px; color: var(--muted); }
.app-section { margin-top: 22px; }
.app-panel { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; padding: clamp(20px, 4vw, 37px); border-radius: var(--radius); background: color-mix(in srgb, var(--brand) 10%, white); }
.app-intro { display: flex; align-items: center; gap: 15px; }
.app-symbol { color: white; background: var(--dark); }
.store-links { display: flex; flex-wrap: wrap; gap: 8px; }
.store-button { min-height: 54px; min-width: 134px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid #273c49; background: #152530; color: white; border-radius: 9px; line-height: 1.1; text-decoration: none; }
.store-button:hover { background: #2a4252; }
.store-button svg { width: 26px; height: 26px; }
.store-button small, .store-button strong { display: block; }
.store-button small { font-size: .77rem; margin-bottom: 3px; }
.store-button strong { font-size: 1.03rem; white-space: nowrap; }

.site-footer { margin-top: clamp(45px, 7vw, 78px); background: white; border-top: 1px solid var(--line); }
.footer-inner { display: flex; gap: 16px 28px; flex-wrap: wrap; align-items: center; min-height: 99px; padding-block: 20px; }
.footer-inner .wordmark img { max-width: 115px; max-height: 34px; }
.footer-business { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .92rem; color: var(--muted); }
.footer-inner > a:last-child:not(.wordmark) { margin-inline-start: auto; }

.full-menu {
    position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
    margin: 0; padding: 0; border: 0; overflow: auto; overscroll-behavior: contain;
    background: var(--canvas); color: var(--text);
}
.full-menu::backdrop { background: #142934; }
.menu-shell { padding-block: 20px 40px; }
.menu-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.menu-grid { display: grid; grid-template-columns: 1fr minmax(0, .9fr); align-items: start; gap: clamp(24px, 8vw, 110px); padding-top: clamp(30px, 8vh, 87px); }
.menu-nav h2, .menu-documents h2 { margin-bottom: 14px; font-size: 1.2rem; letter-spacing: -.035em; }
.menu-nav a { display: block; width: fit-content; margin-bottom: 8px; font: 800 clamp(1.65rem, 4.4vw, 3.5rem)/1.12 Manrope, sans-serif; letter-spacing: -.065em; text-decoration: none; }
.menu-nav a:hover { text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 5px; }
.menu-documents { padding: clamp(17px, 3.5vw, 36px); background: white; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); box-shadow: 0 12px 36px #1525300b; }
.menu-documents .store-links { margin-top: 20px; }
.menu-catalog-link { display: inline-block; margin-top: 16px; font-size: .94rem; font-weight: 700; text-decoration: none; }

.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding-block: 24px; color: var(--muted); font-size: .92rem; }
.breadcrumb a { font-weight: 700; text-underline-offset: 4px; }
.breadcrumb [aria-current] { overflow-wrap: anywhere; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .59fr); align-items: start; gap: 24px; }
.detail-primary { min-width: 0; display: grid; gap: 19px; grid-column: 1; }
.detail-heading {
    position: relative; isolation: isolate; overflow: hidden;
    padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius);
    background: linear-gradient(130deg, white 16%, color-mix(in srgb, var(--brand) 10%, white));
}
.detail-heading::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none; right: -104px; bottom: -190px; width: 285px; height: 285px;
    border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent); border-radius: 50%;
    box-shadow: 0 0 0 23px color-mix(in srgb, var(--brand) 5%, transparent), 0 0 0 47px color-mix(in srgb, var(--brand) 4%, transparent);
}
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.detail-heading h1, .detail-empty h1 { font-size: clamp(2.15rem, 5vw, 4.85rem); font-weight: 800; line-height: .99; letter-spacing: -.053em; }
.detail-heading p, .detail-empty p { margin-top: 15px; font-size: 1.05rem; color: var(--muted); }
.detail-photo { width: 100%; height: clamp(214px, 29vw, 385px); object-fit: cover; border-radius: var(--radius); background: #dce5ec; }
.detail-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 7px; border-radius: 15px; border: 1px solid var(--line); background: white; }
.detail-nav a { flex: 1 0 auto; padding: 8px 9px; border-radius: 9px; text-align: center; text-decoration: none; font-weight: 700; font-size: .93rem; }
.detail-nav a:hover, .detail-nav a:focus-visible { background: color-mix(in srgb, var(--brand) 9%, white); }
.price-panel {
    position: sticky; top: 18px; grid-column: 2; grid-row: 1 / span 2;
    min-width: 0; border: 1px solid var(--line); border-top: 5px solid var(--brand); border-radius: var(--radius);
    padding: clamp(20px, 3vw, 34px); background: white; box-shadow: 0 9px 30px #1022300c;
}
.price-panel-heading { display: flex; align-items: center; gap: 10px; }
.price-panel-icon { display: grid; width: 42px; height: 42px; place-items: center; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, white); color: color-mix(in srgb, var(--brand) 63%, var(--text)); font-size: 1.1rem; }
.price-panel h2 { font-weight: 800; font-size: clamp(1.35rem, 2.5vw, 1.9rem); line-height: 1.18; letter-spacing: -.045em; }
.detail-pricing { margin: 20px 0 0; }
.detail-price { border-top: 1px solid var(--line); padding: 11px 0; }
.detail-price dt, .detail-fixed dt { font-size: .91rem; color: var(--muted); font-weight: 700; }
.detail-price dd, .detail-fixed dd { margin: 4px 0 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.detail-price dd strong { font: 800 clamp(1.35rem, 3.45vw, 2.55rem)/1 Manrope, sans-serif; letter-spacing: -.06em; }
.index-prefix { font-size: clamp(.98rem, 1.8vw, 1.18rem); }
.detail-fixed { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 8px; margin-top: 7px; padding: 10px; border-radius: 10px; background: var(--canvas); }
.detail-fixed dd { margin: 0; }
.price-panel .price-note { margin: 13px 0 17px; }
.price-panel .button { width: 100%; }
.price-panel > a { margin-top: 8px; }
.detail-support { min-width: 0; display: grid; gap: 19px; grid-column: 1; }
.detail-content { padding: clamp(20px, 3.4vw, 35px); background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow-wrap: anywhere; }
.detail-content .document-buttons { margin-top: 16px; }
.detail-description { box-shadow: 0 8px 26px #15253007; }
.detail-description h2::after { content: ""; display: block; width: 38px; height: 3px; margin-top: 12px; border-radius: 30px; background: var(--brand); }
.detail-description p, .detail-description li { line-height: 1.7; }
.detail-description h3 { font-size: 1.18rem; letter-spacing: -.025em; }
.rich-text > * + * { margin-top: 13px; }
.rich-text table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.rich-text th, .rich-text td { border: 1px solid var(--line); padding: 6px; text-align: left; }
.detail-empty { padding: clamp(26px, 6vw, 72px); border-radius: var(--radius); border: 1px solid var(--line); background: white; }
.detail-empty .button { margin-top: 20px; }
.detail .app-section { margin-top: 30px; }
.mobile-subscribe { display: none; }

@media (max-width: 840px) {
    .shell { width: min(100% - 40px, 1240px); }
    .main-nav { display: none; }
    .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; min-height: 68px; }
    .catalog-hero { min-height: 370px; }
    .hero-copy { padding: 25px; }
    .hero-copy h1 { font-size: clamp(2.7rem, 7vw, 4.5rem); }
    .hero-copy p { margin-top: 15px; }
    .hero-actions { margin-top: 18px; }
    .documents-section { grid-template-columns: auto 1fr; }
    .documents-section .document-buttons { grid-column: 2; }
    .detail-layout { grid-template-columns: minmax(0, 1fr) minmax(255px, .65fr); gap: 14px; }
}
@media (max-width: 640px) {
    .shell { width: calc(100% - 28px); }
    .header-inner { min-height: 65px; }
    .wordmark img { max-width: min(100%, 145px); max-height: 36px; }
    .header-actions .button { min-height: 42px; padding-inline: 9px; gap: 5px; }
    .area-button span { display: none; }
    .catalog-hero { grid-template-columns: 1fr; margin-top: 15px; min-height: 0; border-radius: 23px; }
    .hero-copy { padding: 29px 20px; }
    .hero-copy h1 { max-width: 12ch; font-size: clamp(2.7rem, 10.5vw, 4rem); }
    .hero-copy p { font-size: 1rem; }
    .hero-media { min-height: 207px; margin: 0 8px 8px; border-radius: 16px; }
    .hero-utilities { right: 10px; bottom: 10px; }
    .hero-actions .button { min-height: 43px; padding-inline: 11px; }
    .offer-grid, .menu-grid, .detail-layout { grid-template-columns: minmax(0, 1fr); }
    .card-media img { height: clamp(166px, 43vw, 225px); }
    .card-main { padding: 18px; gap: 14px; }
    .section-bar { align-items: start; }
    .detail-primary, .detail-support, .price-panel { grid-column: 1; grid-row: auto; }
    .detail-primary { gap: 12px; }
    .detail-photo { height: clamp(175px, 46vw, 250px); }
    .price-panel { position: static; }
    .breadcrumb { padding-block: 16px; }
    .detail-price dd strong { font-size: clamp(1.7rem, 7.4vw, 2.5rem); }
    .mobile-subscribe {
        position: fixed; z-index: 3; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between;
        gap: 10px; padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
        background: white; border-top: 1px solid var(--line); box-shadow: 0 -7px 25px #15253017;
    }
    .mobile-subscribe span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 .92rem Manrope, sans-serif; }
    .mobile-subscribe button { flex: none; }
    body:has(.mobile-subscribe:not([hidden])) { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
    .app-intro { align-items: flex-start; }
    .section-symbol, .app-symbol { width: 43px; height: 43px; border-radius: 12px; font-size: 1.2rem; }
    .documents-section .document-buttons { grid-column: 1 / -1; }
    .footer-inner > a:last-child:not(.wordmark) { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
