:root {
    --dg-primary: #174b38;
    --dg-primary-hover: #103b2c;
    --dg-secondary: #e7f1e7;
    --dg-accent: #f59a32;
    --dg-background: #faf9f5;
    --dg-surface: #fff;
    --dg-heading: #182b27;
    --dg-text: #46534f;
    --dg-muted: #687570;
    --dg-border: #e5e9e3;
    --dg-success: #26834a;
    --dg-danger: #c64738;
}

body:has(.landing-page) { background: var(--dg-background); }
.dg-public-nav { min-height: 76px; background: var(--dg-background) !important; border-bottom: 1px solid var(--dg-border) !important; box-shadow: none !important; }
.dg-public-nav .container { max-width: 1180px; }
.dg-public-nav .navbar-brand { width: 148px; }
.dg-public-nav .nav-link { color: var(--dg-text) !important; font-size: 15px; font-weight: 600; padding: 12px 13px !important; }
.dg-public-nav .nav-link:hover, .dg-public-nav .nav-link.active { color: var(--dg-primary) !important; }
.dg-public-nav .nav-link.active { border-bottom: 2px solid var(--dg-primary); }
.dg-public-nav .nav-login { margin-left: 18px; border: 1px solid var(--dg-border); border-radius: 8px; }
.dg-public-nav .nav-start { margin-left: 5px; border-radius: 8px; background: var(--dg-primary); color: #fff !important; }
.dg-public-nav .nav-start:hover, .dg-public-nav .nav-start:focus-visible { background: var(--dg-primary-hover); color: #fff !important; }
.dg-public-nav :focus-visible, .landing-page a:focus-visible, .site-footer a:focus-visible { outline: 3px solid var(--dg-accent); outline-offset: 3px; }

.landing-page { overflow: hidden; color: var(--dg-text); background: var(--dg-background); font-family: Inter, Arial, sans-serif; }
.landing-page h1, .landing-page h2, .landing-page h3 { color: var(--dg-heading); font-weight: 700; letter-spacing: -.035em; }
.landing-container { max-width: 1180px; }
.landing-hero { min-height: 570px; padding: 62px 0 32px; background: var(--dg-background); }
.eyebrow { margin: 0 0 12px; color: var(--dg-primary); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.hero-copy h1 { margin: 0 0 19px; font-size: clamp(2.8rem, 4.2vw, 3.5rem); line-height: 1.04; }
.hero-lead { max-width: 490px; margin-bottom: 26px; color: var(--dg-text); font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.landing-btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; padding: 0 25px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.landing-btn-primary { border-color: var(--dg-primary); background: var(--dg-primary); color: #fff !important; }
.landing-btn-primary:hover, .landing-btn-primary:focus-visible { border-color: var(--dg-primary-hover); background: var(--dg-primary-hover); }
.landing-btn-outline { border-color: #9aa9a1; background: transparent; color: var(--dg-primary); }
.landing-btn-outline:hover, .landing-btn-outline:focus-visible { border-color: var(--dg-primary); background: var(--dg-secondary); color: var(--dg-primary); }
.hero-perks { display: flex; flex-wrap: wrap; gap: 12px 21px; margin-top: 25px; color: var(--dg-muted); font-size: 14px; }
.hero-perks i { margin-right: 4px; color: var(--dg-success); font-size: 16px; }
.hero-visual { height: 450px; position: relative; }
.hero-phone { position: absolute; right: 46px; bottom: -4px; width: auto; height: 400px; filter: drop-shadow(0 12px 16px #182b2718); }
.qr-stand { position: absolute; z-index: 1; right: 250px; bottom: 27px; width: 142px; height: 253px; transform: rotate(2deg); border: 1px solid var(--dg-border); border-radius: 10px; padding: 20px 15px; background: var(--dg-surface); text-align: center; box-shadow: 0 8px 20px #182b2714; }
.qr-stand > img:first-child { width: 67px; height: auto; }
.qr-stand .qr-code { display: block; width: 72px; height: 72px; margin: 8px auto; object-fit: cover; }
.qr-stand strong { display: block; color: var(--dg-heading); font-size: 8px; line-height: 1.25; }
.stand-line { display: block; width: 35px; margin: 12px auto; border-top: 2px solid var(--dg-accent); }
.qr-stand em { color: var(--dg-primary); font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.1; }

.landing-section { padding: 72px 0; }
.profile-section { background: var(--dg-secondary); }
.landing-section h2 { margin: 0; font-size: clamp(2rem, 3vw, 2.25rem); }
.section-intro { margin: 10px 0 35px; color: var(--dg-muted); font-size: 17px; }
.feature-row { margin-bottom: 23px; }
.landing-feature { min-height: 190px; padding: 21px 30px; }
.landing-feature.bordered { border-left: 1px solid #d2dfd2; }
.feature-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 16px; border-radius: 16px; font-size: 27px; }
.feature-icon.orange { background: #fff0dd; color: #9c5200; }
.feature-icon.green { background: #d2e8d6; color: var(--dg-primary); }
.feature-icon.blue { background: #e1eae5; color: #345d4d; }
.landing-feature h3, .step h3 { margin: 0 0 9px; font-size: 19px; letter-spacing: -.02em; }
.landing-feature p, .step p { max-width: 290px; margin: 0 auto; color: var(--dg-muted); font-size: 15px; line-height: 1.55; }
.small-btn { min-height: 43px; padding: 0 23px; font-size: 14px; }
.steps-section { padding: 68px 0 72px; }
.steps-section h2 { margin-bottom: 0; }
.steps-row { max-width: 1010px; margin: 0 auto 27px; }
.step { position: relative; padding: 18px 22px; }
.step > span { display: grid; width: 56px; height: 56px; place-items: center; margin: 0 auto 16px; border: 1px solid #c5d9c8; border-radius: 50%; background: var(--dg-secondary); color: var(--dg-primary); font-size: 22px; font-weight: 700; }
.step-arrow::before { position: absolute; top: 30px; left: -7px; color: var(--dg-accent); content: '→'; font-size: 26px; }
.no-app { display: inline-flex; align-items: center; gap: 12px; border-radius: 8px; padding: 12px 24px; background: #f0f2ed; color: var(--dg-text); font-size: 14px; }
.no-app i { color: var(--dg-primary); font-size: 19px; }
.faq-section { padding: 64px 0; background: #f1f2ed; }
.faq-section h2 { margin-bottom: 18px; }
.landing-accordion .accordion-item { overflow: hidden; margin-bottom: 7px; border: 1px solid var(--dg-border); border-radius: 8px !important; }
.landing-accordion .accordion-button { padding: 14px 16px; background: var(--dg-surface); box-shadow: none; color: var(--dg-heading); font-size: 15px; font-weight: 600; }
.landing-accordion .accordion-button:not(.collapsed) { color: var(--dg-primary); }
.landing-accordion .accordion-button:focus { border-color: var(--dg-primary); box-shadow: 0 0 0 3px #174b3822; }
.landing-accordion .accordion-body { padding: 0 16px 15px; background: var(--dg-surface); color: var(--dg-muted); font-size: 14px; line-height: 1.6; }
.contact-prompt { margin: 17px 0 0; color: var(--dg-text); font-size: 14px; }
.contact-prompt a { color: var(--dg-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cta-panel { display: flex; min-height: 300px; align-items: center; border-left: 1px solid #d6dbd3; padding-left: 46px; }
.cta-panel h2 { max-width: 410px; font-size: 32px; line-height: 1.13; }
.cta-panel p { margin: 15px 0 20px; color: var(--dg-text); font-size: 16px; line-height: 1.55; }
.cta-panel .landing-btn-primary { border-color: var(--dg-accent); background: var(--dg-accent); color: #182b27 !important; }
.cta-panel .landing-btn-primary:hover, .cta-panel .landing-btn-primary:focus-visible { border-color: #df8422; background: #df8422; }
.cta-panel small { display: block; margin-top: 13px; color: var(--dg-muted); font-size: 13px; }

.site-footer { border-top: 0; background: var(--dg-primary); color: #e4eee8; }
.site-footer a { color: #e4eee8; }
.site-footer a:hover, .site-footer a:focus-visible { color: #ffd092; }
.site-footer__main { border-bottom-color: #ffffff30; }
.site-footer__brand img { filter: brightness(0) invert(1) grayscale(1) contrast(.75); }
.site-footer__brand span { color: #d2e1d7; }
.site-footer__socials a { border-color: #ffffff55; }
.site-footer__bottom { color: #d2e1d7; }
.site-footer__bottom a { color: #fff; }
.site-footer .material-symbols-outlined { color: var(--dg-accent); }

@media (max-width: 991px) {
    .landing-hero { padding-top: 48px; }
    .hero-copy { text-align: center; }
    .hero-lead { margin-right: auto; margin-left: auto; }
    .hero-actions, .hero-perks { justify-content: center; }
    .hero-visual { width: min(100%, 560px); height: 410px; margin: 0 auto; }
    .hero-phone { right: 40px; }
    .qr-stand { right: 245px; }
    .landing-feature.bordered { border-left: 0; }
    .cta-panel { min-height: 0; justify-content: center; border-top: 1px solid #d6dbd3; border-left: 0; padding: 35px 12px 0; text-align: center; }
    .cta-panel h2 { margin-right: auto; margin-left: auto; }
}
@media (max-width: 767px) {
    .dg-public-nav { min-height: 68px; }
    .dg-public-nav .navbar-brand { width: 128px; }
    .dg-public-nav .offcanvas .nav-link { padding: 12px 0 !important; }
    .dg-public-nav .offcanvas .nav-link.active { border-bottom: 0; }
    .dg-public-nav .offcanvas .nav-login, .dg-public-nav .offcanvas .nav-start { display: inline-block; margin: 8px 0; padding: 10px 18px !important; }
    .landing-hero { min-height: 0; padding: 38px 0 0; }
    .hero-copy h1 { font-size: clamp(2.45rem, 10vw, 3rem); }
    .hero-lead { font-size: 16px; }
    .hero-actions { gap: 9px; }
    .hero-actions .landing-btn { flex: 1 1 155px; padding: 0 14px; }
    .hero-perks { gap: 8px 14px; margin-top: 21px; font-size: 12px; }
    .hero-visual { height: 310px; }
    .hero-phone { right: 10%; height: 300px; }
    .qr-stand { right: 52%; bottom: 20px; width: 112px; height: 198px; padding: 13px 8px; }
    .qr-stand > img:first-child { width: 57px; }
    .qr-stand .qr-code { width: 56px; height: 56px; margin: 6px auto; }
    .qr-stand strong { font-size: 7px; }
    .stand-line { margin: 8px auto; }
    .qr-stand em { font-size: 9px; }
    .landing-section { padding: 50px 0; }
    .landing-section h2 { font-size: 27px; line-height: 1.15; }
    .section-intro { margin-bottom: 27px; font-size: 15px; }
    .landing-feature { min-height: 0; margin-bottom: 18px; padding: 15px 18px; }
    .landing-feature p { max-width: 330px; }
    .steps-row { margin-bottom: 0; }
    .step { margin-bottom: 20px; }
    .step-arrow::before { top: -26px; left: 50%; transform: translateX(-50%); content: '↓'; }
    .no-app { width: 100%; justify-content: center; padding: 12px 10px; }
    .faq-section { padding: 48px 0; }
    .cta-panel h2 { font-size: 27px; }
    .site-footer { padding: 27px 0 17px; }
    .site-footer__main { display: flex; flex-direction: column; gap: 18px; text-align: center; }
    .site-footer__brand { align-items: center; }
    .site-footer__links { gap: 11px 17px; }
    .site-footer__socials { justify-content: center; }
    .site-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 390px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .landing-btn { width: 100%; }
    .hero-visual { height: 280px; }
    .hero-phone { right: 4%; height: 270px; }
    .qr-stand { right: 49%; transform: scale(.9); transform-origin: bottom right; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-page *, .dg-public-nav * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
