:root {
    --ink: #151515;
    --muted: #676b70;
    --line: #dfe1e3;
    --surface: #ffffff;
    --soft: #f4f5f5;
    --green: #9ac31c;
    --green_dark: #698b00;
    --red: #b42318;
    --shadow: 0 18px 50px rgba(15, 20, 24, 0.12);
    color-scheme: light;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--surface);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--soft); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input { font: inherit; }
button, .button { min-height: 44px; }

.site_header {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 clamp(20px, 5vw, 72px);
    background: #111;
    color: #fff;
    border-bottom: 4px solid var(--green);
    position: relative;
    z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand b { font-size: 1.35rem; }
.brand small { margin-top: 6px; font-size: .63rem; color: #c8cbce; }
.site_header nav { display: flex; align-items: center; gap: 26px; font-size: .9rem; font-weight: 700; }
.site_header nav > a:not(.button) { text-decoration: none; }
.site_header nav > a:not(.button):hover { color: var(--green); }
.nav_form { margin: 0; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--green);
    border-radius: 2px;
    padding: 11px 19px;
    background: var(--green);
    color: #111;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { background: #acd72b; border-color: #acd72b; transform: translateY(-1px); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.button_small { min-height: 38px; padding: 7px 14px; }
.button_full { width: 100%; }
.button_secondary { background: #fff; border-color: #b8bdc1; }
.button_secondary:hover { background: var(--soft); border-color: var(--ink); }
.button_ghost { min-height: 38px; padding: 7px 14px; color: #fff; background: transparent; border-color: #555; }
.button_ghost:hover { background: #272727; border-color: #777; }

.hero {
    min-height: min(690px, calc(100vh - 78px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    align-items: end;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #171717;
}
.hero_backdrop {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.58) 47%, rgba(0,0,0,.16) 100%), url('/assets/plugin-security.png');
    background-size: cover;
    background-position: center;
    opacity: .9;
}
.hero_content { position: relative; z-index: 1; width: 100%; min-width: 0; max-width: 830px; padding: 80px clamp(24px, 7vw, 108px) 86px; }
.eyebrow { margin: 0 0 12px; color: var(--green_dark); font-size: .72rem; font-weight: 900; letter-spacing: 0; }
.hero .eyebrow { color: var(--green); }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(3.3rem, 8vw, 7rem); line-height: .92; letter-spacing: 0; }
.hero_lead { max-width: 670px; margin: 28px 0 0; color: #e3e5e7; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; }
.hero_actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.text_link { color: #fff; font-weight: 700; }
.hero_signal { position: relative; z-index: 1; align-self: stretch; display: flex; flex-direction: column; justify-content: end; padding: 34px; background: rgba(154,195,28,.92); color: #111; }
.hero_signal span { margin-bottom: auto; font-size: 2rem; font-weight: 900; }
.hero_signal b { font-size: 1.1rem; }
.hero_signal small { margin-top: 5px; }

.feature_band { padding: 90px clamp(24px, 7vw, 108px); background: #fff; }
.section_intro { display: grid; grid-template-columns: 1fr 2fr; column-gap: 60px; align-items: start; }
.section_intro .eyebrow { grid-column: 1; }
.section_intro h2 { grid-column: 1 / 3; max-width: 900px; margin: 12px 0 22px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; }
.section_intro > p:last-child { grid-column: 2; max-width: 650px; margin: 0 0 54px; color: var(--muted); font-size: 1.08rem; }
.feature_grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature_grid article { padding: 32px 34px 15px 0; border-right: 1px solid var(--line); }
.feature_grid article + article { padding-left: 34px; }
.feature_grid article:last-child { border-right: 0; }
.feature_grid span { color: var(--green_dark); font-size: .78rem; font-weight: 900; }
.feature_grid h3 { margin: 24px 0 12px; font-size: 1.25rem; }
.feature_grid p { color: var(--muted); }
.offer_band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; padding: 76px clamp(24px, 7vw, 108px); background: #181818; color: #fff; }
.offer_band h2 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.4rem); }
.offer_band > div:first-child > p:last-child { max-width: 670px; color: #c9ccce; }
.price_block { min-width: 260px; display: grid; }
.price_block strong { font-size: 3rem; line-height: 1; }
.price_block strong small { font-size: .7rem; margin-right: 5px; color: var(--green); }
.price_block span { margin: 8px 0 20px; color: #b7bbbe; }

.auth_section { min-height: calc(100vh - 146px); display: grid; grid-template-columns: minmax(320px, 1fr) minmax(390px, 520px); gap: clamp(50px, 8vw, 120px); align-items: center; position: relative; padding: 70px clamp(24px, 9vw, 140px); background: #eff0f0; overflow: hidden; }
.auth_section::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 52%; background: #171717; }
.auth_intro, .auth_section > .form_panel { position: relative; }
.auth_intro { color: #fff; max-width: 530px; }
.auth_intro h1 { margin: 0 0 18px; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1; }
.auth_intro > p:not(.eyebrow) { color: #c9cccf; font-size: 1.15rem; }
.trust_note { margin-top: 46px; padding-top: 25px; border-top: 1px solid #3b3b3b; display: flex; gap: 14px; color: #c9cccf; }
.trust_note span { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; background: var(--green); color: #111; font-weight: bold; }
.trust_note p { margin: 0; }
.trust_note b { color: #fff; }
.form_panel { padding: clamp(28px, 5vw, 50px); background: #fff; border-top: 5px solid var(--green); box-shadow: var(--shadow); }
.form_panel h1, .form_panel h2 { margin: 0 0 10px; font-size: 2rem; }
.field { margin: 0 0 20px; }
.field label, .dialog_form > label { display: block; margin-bottom: 7px; font-size: .84rem; font-weight: 800; }
.field input, .dialog_form > input, .quantity_control input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #b9bdc1; border-radius: 2px; background: #fff; color: var(--ink); }
.field input:focus, .dialog_form > input:focus { border-color: var(--green_dark); outline: 3px solid rgba(154,195,28,.2); }
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: .76rem; }
.field_error input { border-color: var(--red); }
.field .error_text, .error_text { color: var(--red); }
.form_footer { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: .9rem; line-height: 1.8; }

.portal_page main { min-height: calc(100vh - 144px); }
.dashboard_header { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 58px clamp(22px, 6vw, 90px) 42px; background: #fff; border-bottom: 1px solid var(--line); }
.dashboard_header h1 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1; }
.dashboard_header p:last-child { margin-bottom: 0; color: var(--muted); }
.license_summary { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(22px, 6vw, 90px); background: #fff; border-bottom: 1px solid var(--line); }
.license_summary div { display: flex; align-items: baseline; gap: 12px; padding: 24px 30px 24px 0; border-right: 1px solid var(--line); }
.license_summary div + div { padding-left: 30px; }
.license_summary div:last-child { border-right: 0; }
.license_summary strong { font-size: 1.8rem; }
.license_summary span { color: var(--muted); }
.license_section { padding: 42px clamp(22px, 6vw, 90px) 80px; }
.license_list { display: grid; gap: 14px; }
.license_card { display: grid; grid-template-columns: 110px minmax(240px, 1.4fr) minmax(180px, .8fr) minmax(145px, .6fr) auto; gap: 24px; align-items: center; padding: 24px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); }
.license_card small { display: block; margin-bottom: 7px; color: var(--muted); font-size: .67rem; font-weight: 800; }
.license_status { font-size: .72rem; font-weight: 900; }
.status_dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; }
.status_active { background: var(--green); box-shadow: 0 0 0 4px rgba(154,195,28,.18); }
.status_inactive { background: #999; }
.key_row { display: flex; align-items: center; gap: 8px; }
.key_row code { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: .84rem; }
.icon_button { min-height: 32px; border: 0; background: transparent; color: var(--green_dark); font-size: .75rem; font-weight: 800; cursor: pointer; }
.empty_state { padding: 72px 24px; text-align: center; border: 1px dashed #b9bdc1; background: #fff; }
.empty_state h2 { margin: 15px 0 8px; }
.empty_state p { color: var(--muted); }
.status_mark { display: grid; place-items: center; width: 44px; height: 44px; margin: auto; background: var(--green); font-size: 1.7rem; }

dialog { width: min(92vw, 510px); max-height: 90vh; padding: 0; border: 0; border-radius: 2px; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(0,0,0,.72); }
.dialog_form { position: relative; padding: 38px; border-top: 5px solid var(--green); }
.dialog_form h2 { margin: 0; font-size: 2rem; }
.dialog_form > p:not(.eyebrow):not(.purchase_total):not(.configuration_notice) { color: var(--muted); }
.dialog_form > input { margin-bottom: 22px; }
.dialog_close { position: absolute; top: 16px; right: 16px; width: 36px; min-height: 36px; border: 0; background: transparent; font-size: 1.8rem; cursor: pointer; }
.quantity_control { display: grid; grid-template-columns: 46px 1fr 46px; margin-bottom: 22px; }
.quantity_control button { border: 1px solid #b9bdc1; background: var(--soft); font-size: 1.3rem; cursor: pointer; }
.quantity_control input { border-left: 0; border-right: 0; text-align: center; }
.purchase_total { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.purchase_total strong { font-size: 1.35rem; }
.configuration_notice { padding: 12px; background: #fff7df; color: #704f00; font-size: .82rem; }

.account_layout { display: grid; grid-template-columns: 1fr minmax(370px, 540px); gap: 60px; padding: 48px clamp(22px, 6vw, 90px) 80px; align-items: start; }
.account_details { padding-top: 10px; }
.account_details h2 { margin-top: 0; }
.account_details dl { margin: 28px 0 0; border-top: 1px solid var(--line); }
.account_details dl div { display: grid; grid-template-columns: 150px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.account_details dt { color: var(--muted); }
.account_details dd { margin: 0; font-weight: 700; }
.verified_badge { display: inline-block; margin-left: 10px; padding: 2px 7px; background: #eaf5ca; color: #4d6800; font-size: .68rem; }
.compact_form { box-shadow: none; border: 1px solid var(--line); border-top: 5px solid var(--green); }
.narrow_section { min-height: calc(100vh - 146px); display: grid; place-items: center; padding: 50px 20px; }
.narrow_section .form_panel { max-width: 560px; }

.flash_stack { position: fixed; top: 92px; right: 22px; z-index: 50; width: min(390px, calc(100vw - 44px)); }
.flash { margin-bottom: 8px; padding: 14px 16px; background: #fff; border-left: 4px solid var(--green); box-shadow: var(--shadow); }
.flash_error { border-color: var(--red); }
.flash_warning { border-color: #d8a500; }
.site_footer { display: flex; align-items: center; gap: 24px; min-height: 68px; padding: 18px clamp(20px, 5vw, 72px); background: #111; color: #bfc2c4; font-size: .78rem; }
.site_footer span { margin-right: auto; }

@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; }
    .hero_signal { display: none; }
    .auth_section { grid-template-columns: 1fr; background: linear-gradient(#171717 0 43%, #eff0f0 43%); }
    .auth_intro { padding-bottom: 25px; }
    .license_card { grid-template-columns: 100px 1fr 1fr; }
    .license_card .license_identity { grid-column: 2 / 4; }
    .license_card .button { grid-column: 3; }
    .account_layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .site_header { height: auto; min-height: 72px; padding: 10px 18px; }
    .brand img { width: 42px; height: 42px; }
    .brand small { display: none; }
    .site_header nav { gap: 8px; }
    .site_header nav .button { padding-right: 11px; padding-left: 11px; font-size: .78rem; white-space: nowrap; }
    .site_header nav > a:not(.button) { display: none; }
    .hero { min-height: 670px; }
    .hero_content { max-width: 100%; padding: 70px 24px 66px; overflow: hidden; }
    .hero h1 { max-width: 100%; font-size: 3rem; line-height: .96; overflow-wrap: break-word; }
    .hero_lead { max-width: 100%; font-size: 1rem; }
    .hero_actions { align-items: flex-start; flex-direction: column; gap: 15px; }
    .feature_band { padding: 65px 24px; }
    .section_intro, .feature_grid, .offer_band { grid-template-columns: 1fr; }
    .section_intro .eyebrow, .section_intro h2, .section_intro > p:last-child { grid-column: 1; }
    .feature_grid article, .feature_grid article + article { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .offer_band { padding: 56px 24px; }
    .auth_section { display: block; padding: 50px 20px; background: #eff0f0; }
    .auth_section::before { display: none; }
    .auth_intro { margin: -50px -20px 35px; padding: 48px 20px 40px; background: #171717; }
    .trust_note { display: none; }
    .form_panel { padding: 28px 22px; }
    .dashboard_header { align-items: start; flex-direction: column; padding-top: 38px; }
    .license_summary div { display: grid; gap: 0; padding: 18px 10px 18px 0; }
    .license_summary div + div { padding-left: 14px; }
    .license_summary span { font-size: .72rem; }
    .license_card { grid-template-columns: 1fr; gap: 20px; }
    .license_card .license_identity, .license_card .button { grid-column: 1; }
    .key_row code { font-size: .74rem; }
    .account_details dl div { grid-template-columns: 1fr; gap: 5px; }
    .site_footer { flex-wrap: wrap; }
    .site_footer span { width: 100%; }
}
