:root {
    color-scheme: light;
    --ink: #17181b;
    --muted: #5a5d63;
    --paper: #fff;
    --wash: #f5f5f6;
    --line: #e3e4e7;
    --brand: #b82d25;
    --brand-hover: #a1221d;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:is(a, summary):focus-visible { outline: 3px solid #2764d3; outline-offset: 4px; border-radius: 3px; }
.hero :focus-visible { outline-color: #a8bfff; }
.shell { width: min(1220px, calc(100% - 84px)); margin-inline: auto; }
section[id] { scroll-margin-top: 26px; }
.skip-link { position: absolute; z-index: 10; left: 10px; top: 8px; padding: 12px; background: #fff; transform: translateY(-150%); }
.skip-link:focus-visible { transform: none; }
.arrow { flex: none; font-family: system-ui, sans-serif; font-size: 1.03em; }

.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 73px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; justify-self: start; min-height: 48px; font-size: .87rem; font-weight: 700; white-space: nowrap; }
.brand img { width: 110px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 3.8vw, 48px); }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 46px; color: #303236; font-size: .94rem; font-weight: 570; white-space: nowrap; }
.desktop-nav a:hover, .site-footer a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; justify-content: end; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; padding: 10px 19px; border: 1px solid transparent; border-radius: 7px; font-size: .95rem; font-weight: 650; white-space: nowrap; }
.button-header { min-height: 44px; padding-inline: 13px; color: var(--brand-hover); border-color: #e8c9c5; font-size: .87rem; }
.button-header:hover { background: #fff4f2; border-color: #d39993; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 17px; height: 1.5px; border-radius: 1px; background: var(--ink); }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ""; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + 9px); width: min(210px, 80vw); padding: 7px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 14px 36px #17181b20; }
.mobile-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 11px; border-radius: 5px; font-size: .92rem; }
.mobile-nav a:hover { background: #fff3f2; color: var(--brand); }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 560px; overflow: hidden; background: #141619; color: #fff; }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, #101115 0%, #101115e5 19%, #10111574 42%, #10111505 74%); }
.hero-content { padding-block: 68px 74px; }
.hero-brand { margin-bottom: 18px; color: #f3aca4; font-size: .83rem; letter-spacing: .18em; font-weight: 700; }
.hero h1 { max-width: 690px; font-size: clamp(3rem, 6vw, 5.7rem); line-height: 1.07; font-weight: 760; letter-spacing: -.052em; }
.hero-description { max-width: 390px; margin-top: 22px; color: #dbdde1; font-size: clamp(.96rem, 1.36vw, 1.11rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button-primary { background: var(--brand); color: white; }
.button-primary:hover { background: var(--brand-hover); }

.quick-section { background: #fff; border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick-link { position: relative; min-width: 0; display: flex; align-items: center; gap: 14px; min-height: 109px; padding: 18px 23px; border-left: 1px solid var(--line); }
.quick-link:last-child { border-right: 1px solid var(--line); }
.quick-link:hover { background: #fff5f3; }
.quick-link > .arrow { margin-left: auto; color: var(--brand-hover); }
.quick-copy { min-width: 0; display: grid; gap: 5px; }
.quick-copy strong { font-size: 1.02rem; }
.quick-copy > span { color: var(--muted); font-size: .81rem; line-height: 1.4; }
.quick-icon { position: relative; display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 9px; background: #faeae8; color: var(--brand-hover); }
.shield::before { width: 15px; height: 17px; border: 1.7px solid currentColor; border-radius: 4px 4px 7px 7px; content: ""; }
.shield::after { position: absolute; left: 18px; top: 17px; width: 6px; height: 4px; border: solid currentColor; border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); content: ""; }
.download::before { content: "↓"; margin-top: -3px; font: 650 22px/1 system-ui, sans-serif; }
.download::after { position: absolute; left: 14px; top: 27px; width: 14px; height: 2px; background: currentColor; content: ""; }
.calculator::before { width: 15px; height: 18px; border: 1.7px solid currentColor; border-radius: 2px; content: ""; }
.calculator::after { position: absolute; left: 17px; top: 16px; width: 8px; height: 2px; background: currentColor; box-shadow: 0 4px currentColor, 0 8px currentColor; content: ""; }

.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; margin-bottom: 24px; }
.section-heading h2 { font-size: clamp(1.72rem, 3vw, 2.65rem); letter-spacing: -.04em; }
.text-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--brand-hover); font-size: .91rem; font-weight: 650; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.software-section { padding-block: 55px 60px; border-bottom: 1px solid var(--line); background: var(--wash); }
.software-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.app-card { display: flex; align-items: center; gap: 16px; min-height: 105px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.app-card:hover { border-color: #c5867e; }
.app-card img { flex: none; width: 53px; height: 53px; border-radius: 11px; }
.app-card h3 { font-size: 1.19rem; line-height: 1.3; }
.app-card p { margin-top: 5px; color: var(--muted); font-size: .87rem; line-height: 1.45; }
.app-card > .arrow { margin-left: auto; color: var(--brand-hover); }
.site-footer { color: #53565b; background: #fff; }
.footer-inner { min-height: 111px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-inner strong { display: block; color: var(--ink); font-size: .93rem; }
.footer-inner small { display: block; margin-top: 6px; font-size: .77rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-footer nav :is(a, span) { display: inline-flex; align-items: center; min-height: 44px; font-size: .83rem; }

@media (max-width: 900px) {
    .shell { width: calc(100% - 48px); }
    .quick-link { gap: 10px; padding-inline: 14px; }
    .quick-copy > span { font-size: .78rem; }
    .brand > span { display: none; }
    .hero { min-height: 500px; }
}

@media (max-width: 660px) {
    .shell { width: calc(100% - 32px); }
    .header-inner { grid-template-columns: 1fr auto; min-height: 61px; gap: 10px; }
    .brand img { width: 100px; }
    .desktop-nav { display: none; }
    .mobile-nav { display: block; }
    .button-header { padding-inline: 10px; gap: 7px; }
    .hero { min-height: 507px; align-items: end; }
    .hero-image { height: 73%; object-position: 76% 48%; }
    .hero::after { background: linear-gradient(180deg, #10111514 5%, #10111539 24%, #141619ef 59%, #141619 76%); }
    .hero-content { padding-block: 140px 33px; }
    .hero-brand { margin-bottom: 12px; font-size: .73rem; }
    .hero h1 { font-size: clamp(2.85rem, 10.3vw, 3.6rem); }
    .hero-description { margin-top: 14px; font-size: .94rem; }
    .hero-actions { margin-top: 19px; gap: 8px; }
    .hero-actions .button { flex: 1 1 120px; padding-inline: 13px; }
    .quick-grid { grid-template-columns: 1fr; }
    .quick-link, .quick-link:last-child { min-height: 73px; padding: 12px 2px; border: 0; }
    .quick-link + .quick-link { border-top: 1px solid var(--line); }
    .quick-icon { width: 42px; height: 42px; }
    .quick-copy { gap: 4px; }
    .software-section { padding-block: 38px 44px; }
    .section-heading { margin-bottom: 13px; }
    .section-heading h2 { font-size: 1.78rem; }
    .section-heading .text-link { font-size: .82rem; }
    .software-grid { grid-template-columns: 1fr; gap: 10px; }
    .app-card { min-height: 86px; padding: 12px; }
    .app-card h3 { font-size: 1.03rem; }
    .app-card p { font-size: .81rem; }
    .footer-inner { flex-direction: column; align-items: start; min-height: 0; gap: 11px; padding-block: 24px; }
    .site-footer nav { gap: 0 14px; }
}
