:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #1b2520; background: #f8faf8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
button, input, textarea { font: inherit; }
a { color: #176544; }
a:hover { color: #0d452e; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #db954f; outline-offset: 3px; }
.site-inner { width: min(100% - 40px, 1120px); margin-inline: auto; }
main { flex: 1; display: flex; flex-direction: column; }
main > :last-child { flex: 1; }
.site-header { position: relative; z-index: 5; background: #fff; border-bottom: 1px solid #dce5df; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #1b2520; text-decoration: none; font-size: 17px; font-weight: 700; white-space: nowrap; }
.brand-text { display: grid; gap: 2px; line-height: 1.05; }
.brand strong { color: #18724a; font-size: 13px; }
.brand-logo { display: block; width: 40px; height: 40px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a, .nav-logout button { color: #26372d; text-decoration: none; font-size: 14px; font-weight: 600; }
.site-nav a:hover, .nav-logout button:hover { color: #18724a; }
.site-nav a.is-active { color: #18724a; }
.site-nav a.nav-live { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 8px 13px; border-radius: 5px; background: #18724a; color: #fff; box-shadow: 0 8px 18px rgba(24, 114, 74, .22); }
.site-nav a.nav-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #f6ad55; box-shadow: 0 0 0 4px rgba(246, 173, 85, .22); }
.site-nav a.nav-live:hover, .site-nav a.nav-live.is-active { background: #0f5234; color: #fff; }
.site-nav .nav-action { padding: 11px 16px; border-radius: 5px; background: #156641; color: white; }
.site-nav .nav-action:hover { background: #104d32; color: white; }
.nav-logout { margin: 0; }
.nav-logout button { border: 0; padding: 0; background: transparent; }
.menu-toggle { display: none; border: 1px solid #b7c7bc; border-radius: 5px; background: white; padding: 8px 12px; color: #1b2520; }
.hero { min-height: 480px; height: 62vh; max-height: 620px; display: flex; align-items: center; background-size: cover; background-position: center; color: #fff; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 370px); gap: 34px; align-items: center; padding-block: 50px; }
.hero-copy-block { min-width: 0; max-width: 780px; }
.eyebrow, .section-kicker { margin: 0 0 16px; color: #18724a; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.hero .eyebrow { color: #ade1be; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0; font-size: 52px; line-height: 1.08; }
.hero h1 { max-width: 650px; font-size: 64px; text-shadow: 0 2px 14px #15271c; }
.product-heading { display: grid; gap: 10px; }
.hero h1.product-heading { max-width: none; }
.hero h1.product-heading > span { white-space: normal; }
.hero h1.product-heading > .hero-title-main { white-space: nowrap; font-size: clamp(44px, 4vw, 64px); }
.hero h1.product-heading > .hero-title-short { font-size: clamp(44px, 4vw, 64px); }
.product-heading > span { white-space: nowrap; }
.download-heading .product-heading > span { white-space: normal; }
.product-heading small { display: block; font: inherit; font-size: .58em; line-height: 1.1; }
.hero-copy { max-width: 570px; margin: 24px 0 0; font-size: 21px; line-height: 1.5; text-shadow: 0 2px 12px #15271c; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-live-card { justify-self: end; width: min(100%, 370px); padding: 14px; border: 1px solid #82c7a6; border-radius: 8px; background: rgba(13, 53, 42, .9); box-shadow: 0 18px 46px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.06); backdrop-filter: blur(3px); color: #fff; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.hero-live-card:hover { transform: translateY(-2px); border-color: #f6ad55; background: rgba(13, 53, 42, .96); color: #fff; }
.hero-live-top { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font-size: 17px; }
.hero-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #f6ad55; box-shadow: 0 0 0 5px rgba(246,173,85,.22); flex: 0 0 auto; }
.hero-live-switcher { display: grid; gap: 9px; }
.hero-live-switcher > input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.hero-live-feed { min-height: 128px; max-height: 128px; overflow: hidden; padding: 10px 11px; border-radius: 6px; background: #0d352a; color: #c9e1d5; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 1.4; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.hero-live-panel { display: none; gap: 5px; min-width: 0; }
.hero-live-panel.is-static { display: grid; }
.hero-log-line { min-width: 0; overflow-wrap: anywhere; }
.hero-log-line span { color: #a6b8af; }
.hero-log-line strong { color: #b9f0d8; }
.hero-log-line .hero-log-ai { color: #59d8ff; }
.hero-log-line .hero-log-automation { color: #ff67d8; }
.hero-log-line .hero-log-web { color: #ffd84d; }
.hero-log-line em { color: #8eb1a2; font-style: normal; }
.hero-log-muted { color: #8eb1a2; }
.hero-log-empty { display: grid; place-items: center; min-height: 106px; color: #d8efe4; text-align: center; }
.hero-log-empty strong { color: #fff; }
.hero-pc-track { position: relative; min-width: 0; margin-top: 1px; }
.hero-pc-track::before, .hero-pc-track::after { content: ''; position: absolute; top: 0; bottom: 9px; z-index: 1; width: 18px; pointer-events: none; }
.hero-pc-track::before { left: 0; background: linear-gradient(90deg, rgba(13, 53, 42, .96), rgba(13, 53, 42, 0)); }
.hero-pc-track::after { right: 0; background: linear-gradient(270deg, rgba(13, 53, 42, .96), rgba(13, 53, 42, 0)); }
.hero-pc-row { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 2px 20px 9px; scrollbar-width: thin; scrollbar-color: #75d8be rgba(255,255,255,.11); }
.hero-pc-row::-webkit-scrollbar { height: 7px; }
.hero-pc-row::-webkit-scrollbar-track { border-radius: 999px; background: rgba(255,255,255,.11); }
.hero-pc-row::-webkit-scrollbar-thumb { border-radius: 999px; background: #75d8be; }
.hero-pc-tab { flex: 0 0 auto; min-width: 86px; max-width: 168px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; scroll-snap-align: start; padding: 7px 10px; border: 1px solid rgba(117, 216, 190, .35); border-radius: 5px; background: rgba(255,255,255,.08); color: #eafff7; font-size: 12px; font-weight: 800; text-align: center; cursor: pointer; }
.hero-pc-tab:hover { border-color: #75d8be; background: rgba(255,255,255,.14); }
.hero-pc-tab.is-empty { cursor: default; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 20px; border: 1px solid transparent; border-radius: 5px; text-decoration: none; font-size: 14px; font-weight: 700; }
.button-primary { background: #18724a; color: #fff; }
.button-primary:hover { background: #105234; color: #fff; }
.button-light { background: #fff; color: #1b2520; }
.button-light:hover { background: #eaf3ed; color: #1b2520; }
.site-section { padding: 32px 0 40px; background: #fff; }
.site-section h2 { margin: 0 0 16px; font-size: 28px; line-height: 1.2; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-copy { max-width: 420px; color: #4b5c50; line-height: 1.65; }
.tinted-section { background: #edf4ee; }
.home-section { padding-block: 52px 60px; }
.home-section h2 { margin-bottom: 12px; }
.home-section-intro { max-width: 650px; margin: 0 0 28px; color: #4b5c50; line-height: 1.55; }
.home-section .feature-grid { margin-top: 28px; }
.home-section .package-features { min-height: 130px; }
.products-heading { margin-bottom: 26px; }
.products-heading h2 { margin-bottom: 0; }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; min-width: 0; min-height: 330px; padding: 22px; border: 1px solid #d3e0d7; border-radius: 5px; background: #fff; }
.product-card[hidden] { display: none; }
.product-image { display: flex; align-items: center; justify-content: center; height: 126px; margin-bottom: 18px; background: #f5f8f5; }
.product-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-card h3 { margin: 0 0 9px; font-size: 19px; line-height: 1.3; }
.product-card p { flex: 1; margin: 0 0 18px; color: #4b5c50; font-size: 14px; line-height: 1.55; }
.product-card .button { align-self: flex-start; }
.product-controls { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.product-nav-button { width: 42px; height: 42px; border: 1px solid #b8c8bc; border-radius: 4px; background: #fff; color: #176544; font-size: 21px; line-height: 1; }
.product-nav-button:hover { background: #edf4ee; border-color: #176544; }
.product-position { min-width: 48px; color: #526157; font-size: 13px; text-align: center; white-space: nowrap; }
.notes-layout, .estimate-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 36px; align-items: start; }
.text-link { font-weight: 700; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 32px; }
.feature-grid > div { border-top: 2px solid #c4d6c8; padding-top: 24px; }
.feature-number { color: #b06b32; font-size: 13px; font-weight: 700; }
.feature-grid h3 { margin: 15px 0 10px; font-size: 19px; }
.feature-grid p { margin: 0; color: #4b5c50; line-height: 1.65; }
.page-heading { padding: 34px 0 26px; background: #edf4ee; }
.page-heading h1 { max-width: 800px; font-size: 38px; }
.page-heading .section-kicker { margin-bottom: 6px; }
.lead { max-width: 720px; color: #4b5c50; font-size: 17px; line-height: 1.5; margin: 8px 0 0; }
.prose { max-width: 730px; color: #3b4b40; line-height: 1.6; }
.prose h2 { color: #1b2520; margin: 20px 0 8px; font-size: 22px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: start; }
.contact-details h3 { margin: 16px 0 4px; color: #1b2520; font-size: 17px; }
.contact-details address { font-style: normal; }
.contact-details p { margin: 0; }
.build-list { border-top: 1px solid #dce5df; }
.build-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 28px 0; border-bottom: 1px solid #dce5df; }
.build-row h3 { margin: 4px 0 8px; font-size: 23px; }
.build-platform { margin: 0; color: #176544; font-size: 13px; font-weight: 700; }
.build-meta, .build-notes { color: #526157; line-height: 1.6; }
.build-notes { max-width: 660px; }
.download-heading { padding: 34px 0 26px; }
.download-heading h1 { font-size: 38px; }
.download-heading .section-kicker { margin-bottom: 6px; }
.download-section { flex: 1; display: flex; flex-direction: column; padding: 24px 0 42px; background: #fff; }
.download-section > .site-inner { flex: 1; }
.download-section .section-heading { margin-bottom: 8px; }
.download-section .section-kicker { margin-bottom: 4px; }
.download-section h2 { margin: 0 0 12px; font-size: 22px; }
.download-section .build-row { padding: 14px 0; gap: 20px; }
.download-section .build-row h3 { margin: 2px 0 4px; font-size: 19px; }
.download-section .build-platform { margin: 0; }
.download-section .build-meta { margin: 0; font-size: 13px; line-height: 1.4; }
.download-section .build-notes { margin: 6px 0 0; font-size: 13px; line-height: 1.5; }
.download-section .empty-state { padding: 14px 0; margin: 0; }
.download-archive-block { margin-top: 36px; padding-top: 24px; border-top: 1px solid #dce5df; }
.download-archive-block h2 { margin: 0 0 12px; font-size: 20px; }
.download-archive-block .section-kicker { margin-bottom: 4px; }
.download-archive-block .archive-row { padding: 10px 0; font-size: 14px; }
.download-link-btn { background: none; border: none; color: #176544; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0; }
.download-link-btn:hover { color: #0d452e; }
.download-modal-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(14, 28, 20, 0.65); display: flex; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(2px); }
.download-modal-box { background: #fff; border-radius: 8px; width: 100%; max-width: 440px; padding: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); border: 1px solid #d3e0d7; }
.download-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.download-modal-header h3 { margin: 0; font-size: 19px; font-weight: 700; color: #176544; }
.download-modal-close { background: none; border: none; font-size: 26px; line-height: 1; color: #627267; cursor: pointer; padding: 0 4px; }
.download-modal-close:hover { color: #1b2520; }
.download-modal-copy { margin: 0 0 16px; font-size: 14px; color: #435447; line-height: 1.5; }
.download-email-input { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid #b8c8bc; border-radius: 4px; font-size: 14px; }
.download-email-input:focus { border-color: #176544; outline: none; box-shadow: 0 0 0 2px rgba(23,101,68,0.2); }
.download-modal-actions { display: flex; gap: 10px; margin-top: 16px; }
.checksum { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; color: #526157; font-size: 12px; }
.checksum code { overflow-wrap: anywhere; }
.archive-list { border-top: 1px solid #dce5df; }
.archive-row { display: flex; justify-content: space-between; gap: 25px; padding: 15px 0; border-bottom: 1px solid #dce5df; }
.archive-row > div { display: flex; gap: 20px; flex-wrap: wrap; }
.archive-row span { color: #526157; }
.empty-state { padding: 25px 0; color: #526157; }
.package-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.package-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid #d3e0d7; border-radius: 5px; background: #fff; }
.package-card h3 { margin: 0 0 12px; font-size: 19px; }
.package-price { margin: 0; color: #1b2520; font-size: 28px; font-weight: 700; line-height: 1.2; }
.package-price span { display: block; margin-top: 5px; color: #536559; font-size: 13px; font-weight: 400; }
.package-subtitle { margin: 10px 0 0; color: #526157; font-size: 13px; }
.package-features { flex: 1; min-height: 110px; margin: 16px 0; padding: 12px 0 0 18px; border-top: 1px solid #e3ebe5; color: #435447; font-size: 14px; line-height: 1.5; }
.package-features li { margin-bottom: 6px; }
.package-card .button { width: 100%; }
.package-card .button + .button { margin-top: 9px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 70px; align-items: start; }
.checkout-layout h2 { margin: 0 0 25px; font-size: 25px; }
.checkout-heading { padding: 38px 0 34px; }
.checkout-heading .section-kicker { margin-bottom: 8px; }
.checkout-heading .lead { margin-bottom: 0; }
.checkout-section { padding: 34px 0 58px; }
.checkout-stack { display: grid; gap: 28px; }
.checkout-form h2 { margin: 8px 0 0; font-size: 24px; }
.checkout-form .button { justify-self: start; min-width: 150px; padding-inline: 22px; }
.checkout-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.checkout-form-grid .form-field, .payment-form-grid .form-field { align-self: start; }
.payment-form-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 20px; }
.payment-form-grid .form-field:nth-child(1), .payment-form-grid .form-field:nth-child(2) { grid-column: span 3; }
.payment-form-grid .form-field:nth-child(3), .payment-form-grid .form-field:nth-child(4), .payment-form-grid .form-field:nth-child(5) { grid-column: span 2; }
.checkout-summary { border-top: 3px solid #18724a; padding-top: 20px; color: #3b4b40; line-height: 1.6; }
.checkout-summary h2 { margin: 0 0 12px; font-size: 25px; }
.checkout-summary strong { display: block; font-size: 23px; color: #1b2520; }
.checkout-summary .form-error { margin-top: 20px; }
.coupon-preview { display: grid; gap: 4px; margin-top: 12px; color: #526157; }
.coupon-preview strong { font-size: 18px; }
.license-list, .key-list, .event-list { border-top: 1px solid #dce5df; }
.license-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 32px; padding: 22px 0; border-bottom: 1px solid #dce5df; }
.license-row h2 { margin: 0 0 8px; font-size: 21px; }
.license-row p { margin: 0; color: #526157; font-size: 14px; }
.license-row > div:nth-child(2) { text-align: right; }
.license-row > div:nth-child(2) p { margin-top: 8px; }
.status-badge { display: inline-block; padding: 5px 9px; border-radius: 3px; background: #e6f3e9; color: #176544; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.status-suspended, .status-expired { background: #fff1db; color: #85540f; }
.status-cancelled { background: #f5e8e8; color: #a12c2c; }
.license-layout { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr); gap: 54px; align-items: start; }
.license-layout h2 { font-size: 24px; margin-bottom: 12px; }
.license-actions { max-width: 520px; border-top: 3px solid #18724a; padding-top: 16px; }
.license-actions p { color: #526157; line-height: 1.5; margin-bottom: 14px; }
.key-create-form { gap: 16px; }
.permission-field { gap: 10px; }
.field-label { font-size: 14px; font-weight: 700; color: #1b2520; }
.permission-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.permission-option { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 10px 12px; border: 1px solid #d3e0d7; border-radius: 4px; background: #fff; color: #1b2520; font-size: 14px; font-weight: 700; }
.permission-option input[type=checkbox] { display: inline-block; flex: 0 0 auto; width: 18px; min-height: 18px; height: 18px; margin: 0; padding: 0; accent-color: #18724a; }
.permission-option span { min-width: 0; line-height: 1.25; }
.key-create-form .button { justify-self: start; min-width: 220px; }
.key-row, .event-row { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 12px 0; border-bottom: 1px solid #dce5df; }
.key-row > div { display: grid; gap: 4px; min-width: 0; }
.key-row span, .event-row span:last-child { color: #526157; font-size: 13px; }
.key-card-list { display: grid; gap: 14px; }
.key-card { border: 1px solid #dce5df; border-radius: 8px; background: #fff; box-shadow: 0 8px 22px rgba(16, 37, 31, .05); overflow: hidden; }
.key-card-main { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px; }
.key-device-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: #e7f3ea; color: #176544; font-weight: 800; }
.key-card-info { min-width: 0; }
.key-card-info h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.25; color: #17251d; }
.key-card-info p { margin: 0; color: #526157; font-size: 13px; line-height: 1.45; }
.key-meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 9px; }
.key-small-meta { margin-top: 8px !important; }
.key-permission-summary { margin-top: 8px !important; color: #33483b !important; font-weight: 700; }
.key-card-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: flex-start; }
.key-card-actions form { margin: 0; }
.key-permission-editor { display: grid; gap: 12px; padding: 14px 16px 16px 72px; border-top: 1px solid #e2ece5; background: #f7faf8; }
.key-permission-editor[hidden] { display: none; }
.key-editor-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.key-reveal { display: grid; gap: 8px; padding: 14px; margin-bottom: 16px; border: 2px solid #18724a; background: #edf4ee; }
.key-reveal code { overflow-wrap: anywhere; font-size: 16px; }
.key-reveal p { margin: 0; color: #3b4b40; font-size: 13px; }
.revoke-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.button:disabled { opacity: .55; cursor: not-allowed; }
.button-outline { border-color: #156641; color: #156641; background: #fff; }
.button-outline:hover { color: #fff; background: #156641; }
#estimate { scroll-margin-top: 20px; }
.estimate-result { display: grid; gap: 7px; margin-top: 20px; padding: 20px 0; border-top: 2px solid #156641; }
.estimate-result strong { color: #156641; font-size: 28px; }
.estimate-result small { color: #526157; }
.form-section { padding: 74px 0 100px; background: #fff; }
.form-inner { max-width: 560px; }
.form-section h1 { margin: 0 0 28px; font-size: 40px; }
.site-form { display: grid; gap: 19px; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-size: 14px; font-weight: 700; }
.form-field input, .form-field textarea { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #b8c8bc; border-radius: 4px; background: #fff; color: #1b2520; }
.form-field input[type=file] { padding: 9px; }
.form-field textarea { resize: vertical; }
.form-field small { color: #657369; line-height: 1.45; }
.form-field small.is-valid { color: #176544; }
.form-field small.is-invalid { color: #a73132; }
.form-field ul { margin: 0; padding-left: 18px; }
.form-field .field-error, .field-error, .form-error { color: #a73132; }
.show-password-option { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 14px; font-weight: 700; color: #1b2520; }
.show-password-option input { width: auto; min-height: 0; margin: 0; padding: 0; }
.form-error { margin: 0; }
.form-secondary { margin: 20px 0 0; font-size: 14px; }
.form-secondary-cta { margin-top: 18px; color: #526157; font-weight: 600; }
.form-secondary-cta a { color: #156641; font-weight: 800; text-underline-offset: 3px; }
.form-secondary-cta a:hover { color: #0d452e; }
.recaptcha-slot { min-height: 78px; }
.message-list { padding-top: 12px; }
.message { margin: 0; padding: 12px 14px; border-left: 3px solid #18724a; background: #eaf5ec; }
.profile-section { padding: 40px 0 60px; }
.profile-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.profile-header h1 { margin: 0; font-size: 32px; line-height: 1.15; }
.profile-header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-header-actions .button { min-height: 38px; padding: 8px 16px; font-size: 13px; }
.profile-card { background: #fff; border: 1px solid #dce5df; border-radius: 6px; padding: 24px 28px; margin-bottom: 32px; box-shadow: 0 2px 6px rgba(0,0,0,0.03); }
.profile-grid { display: grid; grid-template-columns: 88px 1fr; gap: 28px; align-items: center; }
.profile-avatar-col { display: flex; justify-content: center; }
.profile-avatar-img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid #18724a; }
.profile-avatar-placeholder { width: 84px; height: 84px; border-radius: 50%; background: #eaf3ed; color: #18724a; font-size: 32px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #d3e0d7; }
.profile-details-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 24px; }
.profile-field-row { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.profile-label { color: #5a695d; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.profile-val { color: #1b2520; font-size: 15px; word-break: break-word; }
.profile-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.profile-form-grid .form-field-full { grid-column: 1 / -1; }
.profile-form-actions { display: flex; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #eef2ef; }
.profile-licenses-section { background: #fff; border: 1px solid #dce5df; border-radius: 6px; padding: 24px 28px; box-shadow: 0 2px 6px rgba(0,0,0,0.03); }
.profile-orders-section { margin-top: 32px; }
.profile-licenses-section .licenses-header { margin-bottom: 18px; }
.profile-licenses-section .licenses-header h2 { margin: 0 0 6px; font-size: 22px; }
.profile-licenses-section .licenses-header .section-copy { margin: 0; font-size: 14px; color: #526157; }
.profile-licenses-section .license-list { border-top: none; }
.profile-licenses-section .license-row:first-child { padding-top: 0; }
.profile-licenses-section .license-row:last-child { border-bottom: none; padding-bottom: 0; }
.profile-empty-licenses { padding: 8px 0; }
.profile-license-cards { display: flex; flex-direction: column; gap: 16px; }
.profile-license-card { border: 1px solid #dce5df; border-radius: 6px; padding: 16px 18px; background: #fafcfb; }
.license-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.license-card-title { margin: 0 0 3px; font-size: 17px; font-weight: 700; }
.license-card-title a { color: #154e35; text-decoration: none; }
.license-card-title a:hover { text-decoration: underline; }
.license-card-meta { margin: 0; font-size: 13px; color: #526157; }
.license-card-header-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.button-sm { min-height: 30px; padding: 4px 10px; font-size: 12px; }
.profile-keys-container { background: #fff; border: 1px solid #e2ece5; border-radius: 4px; overflow-x: auto; }
.profile-keys-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.profile-keys-table th { background: #f4f8f5; color: #44594c; padding: 7px 10px; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid #e2ece5; }
.profile-keys-table td { padding: 8px 10px; border-bottom: 1px solid #edf3ef; color: #223127; vertical-align: middle; }
.profile-keys-table tr:last-child td { border-bottom: none; }
.key-code-pill { font-family: Consolas, Monaco, monospace; font-size: 13px; font-weight: 700; letter-spacing: 1px; background: #eaf3ed; color: #115736; padding: 2px 7px; border-radius: 3px; border: 1px solid #cbded1; display: inline-block; }
.profile-no-keys { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; font-size: 13px; color: #627267; }
.status-unused { background: #e8eef5; color: #1e4f7a; }
.status-inactive { background: #f3f4f6; color: #4b5563; }
.status-revoked { background: #fdf0ee; color: #aa3333; }
@media (max-width: 680px) {
    .profile-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
    .profile-details-col { grid-template-columns: 1fr; text-align: left; }
    .profile-form-grid { grid-template-columns: 1fr; }
    .profile-card, .profile-licenses-section { padding: 18px 20px; }
}
.message.error { border-color: #b63d3d; background: #fff2f0; }
.site-footer { border-top: 1px solid #dce5df; background: #eff3ef; }
.footer-inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner > div { display: grid; gap: 8px; font-size: 13px; color: #5a695d; }
.footer-inner strong { color: #1b2520; font-size: 16px; }
.footer-brand { display: grid; gap: 2px; line-height: 1.1; }
.footer-brand small { color: #18724a; font-size: 13px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-inner nav a { color: #3c4e42; text-decoration: none; font-size: 13px; }
.footer-inner nav a:hover { text-decoration: underline; }
@media (max-width: 980px) {
    .menu-toggle { display: inline-flex; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 20px 24px; background: #fff; border-bottom: 1px solid #dce5df; box-shadow: 0 14px 20px #17261e1a; }
    .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
    .site-nav .nav-action { text-align: center; }
    .hero { position: relative; min-height: 620px; height: auto; background-position: 58% center; }
    .hero h1 { font-size: 52px; }
    .hero::before { content: ''; position: absolute; inset: 0; background: #10221970; }
    .hero-inner { position: relative; grid-template-columns: 1fr; gap: 22px; padding-block: 44px; }
    .hero-live-card { justify-self: start; width: min(100%, 440px); }
    .contact-layout { grid-template-columns: 1fr; gap: 26px; }
    .checkout-layout { grid-template-columns: 1fr; gap: 40px; }
    .license-layout { grid-template-columns: 1fr; gap: 40px; }
    .notes-layout, .estimate-layout { grid-template-columns: 1fr; gap: 24px; }
    .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .site-inner { width: min(100% - 32px, 1120px); }
    .header-inner { min-height: 68px; }
    .brand { font-size: 13px; }
    .brand strong { font-size: 11px; }
    .brand-logo { width: 34px; height: 34px; }
    .hero { min-height: 0; height: auto; background-position: 63% center; }
    .hero-inner { gap: 18px; padding-block: 36px; }
    .hero h1 { font-size: 42px; }
    .hero-copy { font-size: 18px; }
    .hero-live-card { padding: 15px; }
    .hero-live-top { font-size: 16px; }
    .hero-live-card p { font-size: 13px; }
    .hero-live-feed { min-height: 118px; max-height: 118px; }
    .site-section, .form-section { padding: 44px 0 52px; }
    .page-heading { padding: 54px 0; }
    .page-heading h1, .form-section h1 { font-size: 36px; }
    .site-section h2 { font-size: 27px; }
    .feature-grid { grid-template-columns: 1fr; gap: 26px; }
    .package-grid { grid-template-columns: 1fr; }
    .home-section { padding-block: 42px 48px; }
    .home-section .package-features { min-height: 0; }
    .products-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
    .products-grid { grid-template-columns: 1fr; }
    .product-card { min-height: 0; }
    .package-features { min-height: 0; }
    .build-row { align-items: flex-start; flex-direction: column; gap: 18px; }
    .archive-row { align-items: flex-start; flex-direction: column; gap: 8px; }
    .license-row { grid-template-columns: 1fr; gap: 14px; }
    .key-card-main { grid-template-columns: 1fr; gap: 12px; }
    .key-device-icon { display: none; }
    .key-card-actions { justify-content: flex-start; }
    .key-permission-editor { padding: 14px; }
    .key-permission-editor .permission-options { grid-template-columns: 1fr; }
    .checkout-form-grid { grid-template-columns: 1fr; }
    .payment-form-grid { grid-template-columns: 1fr; }
    .payment-form-grid .form-field:nth-child(n) { grid-column: auto; }
    .license-row > div:nth-child(2) { text-align: left; }
    .footer-inner { align-items: flex-start; flex-direction: column; padding-block: 32px; }
}
@media (max-width: 350px) {
    .brand { font-size: 12px; }
    .brand strong { font-size: 10px; }
    .menu-toggle { padding: 7px; }
    .recaptcha-slot { min-height: 68px; }
    .g-recaptcha { transform: scale(.85); transform-origin: top left; }
}
