@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@400,500,600,700,800,900&display=swap');

:root {
    color-scheme: dark;
    --bg: #090b0e;
    --bg-soft: #0c0f13;
    --surface: #111419;
    --surface-raised: #15191f;
    --surface-hover: #191e25;
    --line: #242932;
    --line-strong: #343b47;
    --text: #f3f5f7;
    --muted: #9299a5;
    --muted-2: #676f7c;
    --accent: #f26b2b;
    --accent-hover: #dd5a1e;
    --accent-soft: rgba(242, 107, 43, .1);
    --green: #55c58a;
    --red: #e57178;
    --amber: #dcb15f;
    --radius: 5px;
    --shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

/* CloneiNext v18 — visual system */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
.brand-logo img { width: 174px; height: auto; display: block; }
.brand-logo small {
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    padding: 4px 7px;
    color: #aeb5bf;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

body {
    font-family: 'Cabinet Grotesk', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.62;
}
.container { width: min(1240px, calc(100% - 56px)); }
.eyebrow { font-size: 11px; letter-spacing: 1.7px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.045em; }
h1 { font-size: clamp(50px, 6.4vw, 86px); }
h2 { font-size: clamp(38px, 4.5vw, 60px); }
h3 { font-size: 24px; }
.button { min-height: 56px; padding-inline: 25px; font-size: 12px; border-radius: 5px; }
.alert { padding: 15px 17px; font-size: 14px; }

/* Landing v18 */
.landing-body { position: relative; }
.landing-body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.085) .65px, transparent .65px);
    background-size: 24px 24px;
    opacity: .22;
}
.ambient-scene { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.ambient-orb { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(100px); opacity: .075; background: var(--accent); animation: ambientDrift 18s ease-in-out infinite alternate; }
.orb-one { right: -140px; top: 80px; }
.orb-two { left: -210px; top: 47%; width: 360px; height: 360px; animation-delay: -7s; }
.ambient-line { position: absolute; top: 0; left: 23%; width: 1px; height: 100%; background: linear-gradient(transparent, rgba(242,107,43,.14), transparent); animation: lineTravel 9s ease-in-out infinite; }
.scroll-progress { height: 3px; }
.scroll-progress span { box-shadow: 0 0 12px rgba(242,107,43,.35); }
.site-header-wrap { background: rgba(8,10,13,.9); }
.site-header-wrap.is-scrolled { border-bottom-color: rgba(255,255,255,.1); background: rgba(8,10,13,.96); }
.site-header { height: 84px; }
.site-header .site-brand img { width: 186px; }
.site-header nav { gap: 31px; font-size: 13px; font-weight: 600; }
.site-header .nav-cta { padding: 11px 15px; font-weight: 700; }
.site-menu-toggle { display: none; }
.hero { min-height: 790px; grid-template-columns: 1.05fr .95fr; gap: 82px; padding-block: 90px 110px; }
.hero-kicker { margin-bottom: 25px; font-size: 11px; }
.hero h1 { margin-bottom: 29px; }
.hero h1 span { display: block; }
.hero h1 span:last-child { margin-top: 3px; }
.hero-copy > p { max-width: 670px; font-size: 18px; line-height: 1.72; }
.trust-row { gap: 25px; margin-top: 31px; font-size: 12px; }
.product-stage { animation: stageFloat 8s ease-in-out infinite; }
.product-window { border-color: #3b424d; border-radius: 8px; animation: none; transition: transform .25s ease-out, border-color .25s ease; transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
.product-window::after { content: ''; position: absolute; z-index: 6; left: 0; right: 0; top: -16%; height: 80px; pointer-events: none; background: linear-gradient(transparent, rgba(255,255,255,.035), transparent); animation: scanWindow 5.5s linear infinite; }
.window-bar { height: 54px; font-size: 11px; }
.window-body { padding: 20px; }
.capture-head strong { font-size: 17px; }
.capture-head small, .capture-pill { font-size: 9px; }
.mode-switch span, .status-row { font-size: 11px; }
.status-row b, .package-card > div b { font-size: 10px; }
.capture-status { padding: 18px; }
.progress-track { height: 4px; }
.package-card { padding: 17px; }
.package-card li { font-size: 9px; }
.package-ready { min-height: 40px; font-size: 10px; }
.floating-note small { font-size: 9px; }
.outcome-strip {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -38px;
    border: 1px solid var(--line-strong);
    background: rgba(14,17,21,.94);
    box-shadow: 0 26px 70px rgba(0,0,0,.24);
}
.outcome-strip article { min-height: 126px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); padding: 22px 27px; }
.outcome-strip article:last-child { border-right: 0; }
.outcome-strip strong { color: var(--accent); font-size: 30px; line-height: 1; letter-spacing: -1px; }
.outcome-strip span { margin-top: 9px; color: #8f97a3; font-size: 12px; }
.signal-strip { margin-top: 78px; }
.ticker-track { min-height: 76px; font-size: 10px; }
.section { padding-block: 132px; }
.section-intro { max-width: 840px; margin-bottom: 58px; }
.section-intro p, .package-copy > p { font-size: 17px; }
.feature-grid article { min-height: 360px; padding: 31px; transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: background .25s ease, transform .22s ease-out, border-color .25s ease; }
.feature-grid article:hover { border-color: #3c434e; transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px); }
.feature-number { font-size: 11px; }
.feature-icon { width: 46px; height: 46px; font-size: 14px; }
.feature-grid p, .process-grid p, .proof-list p { font-size: 14px; }
.feature-grid small, .process-grid small { font-size: 9px; }
.mini-proof strong { font-size: 15px; }
.mini-proof span { font-size: 13px; }
.file-tree-head { min-height: 66px; font-size: 13px; }
.file-tree-head small { font-size: 9px; }
.file-tree li { padding-block: 14px; }
.file-tree li span { font-size: 12px; }
.file-tree li small { font-size: 10px; }
.process-grid article { min-height: 270px; padding: 38px; }
.process-grid b { width: 43px; height: 43px; font-size: 12px; }
.proof-list strong { font-size: 16px; }
.pricing-main { padding: 65px; }
.pricing-side { padding: 55px; }
.pricing-main > p { font-size: 16px; }
.pricing-main ul { font-size: 14px; }
.pricing-side > p { font-size: 14px; }
.faq summary { font-size: 17px; }
.faq details p { font-size: 15px; }
footer > .container { min-height: 205px; }
footer .footer-brand img { width: 184px; }
footer p, footer nav { font-size: 12px; }
footer small { font-size: 10px; }

/* Auth / portal v18 */
.centered-page { padding: 32px 18px; }
.auth-card, .success-card, .error-page { width: min(520px, 100%); padding: 44px; border-radius: 8px; }
.auth-card > .brand-logo, .success-card > .brand-logo, .error-page > .brand-logo { margin-bottom: 42px; }
.auth-card .brand-logo img, .success-card .brand-logo img, .error-page .brand-logo img { width: 190px; }
.success-card > .brand-logo + .success-icon { margin-top: 0; }
.auth-card h1, .success-card h1, .error-page h1 { font-size: 39px; }
.auth-lead, .auth-card > p, .success-card > p, .error-page > p { font-size: 16px; }
.auth-card label, .compact-form label { font-size: 12px; }
.auth-card input, .compact-form input, .search-form input, select { min-height: 49px; font-size: 14px; }
.auth-links, .text-link { font-size: 12px; }
.reference-box small { font-size: 10px; }
.reference-box strong { font-size: 22px; }
.portal-header { height: 82px; }
.portal-header .brand-logo img { width: 178px; }
.portal-header nav { font-size: 13px; }
.portal-main { width: min(1180px, calc(100% - 48px)); padding-top: 62px; }
.portal-welcome h1 { font-size: 50px; }
.portal-welcome p { font-size: 16px; }
.account-email { font-size: 13px; }
.portal-stats article { min-height: 148px; padding: 24px; }
.portal-stats article > span:first-child, .portal-stats small { font-size: 11px; }
.portal-stats strong { font-size: 22px; }
.license-vault, .release-card { padding: 28px; }
.license-vault .panel-heading { margin: -28px -28px 24px; }
.license-vault > p, .release-card > p { font-size: 13px; }
.release-card > small { font-size: 11px; }

/* Admin v18 */
.admin-body { font-size: 15px; background: #090b0e; }
.admin-shell { grid-template-columns: 272px 1fr; }
.admin-sidebar { width: 272px; padding: 25px 18px 20px; background: linear-gradient(180deg, #0e1115 0%, #0b0e12 100%); }
.sidebar-brand { min-height: 49px; padding: 0 8px; margin-bottom: 24px; }
.sidebar-brand .brand-logo img { width: 154px; }
.sidebar-brand .brand-logo small { font-size: 7px; }
.sidebar-workspace { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; border: 1px solid var(--line); border-radius: 6px; padding: 12px; background: #12161b; }
.workspace-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(85,197,138,.08); }
.sidebar-workspace div { display: flex; flex-direction: column; }
.sidebar-workspace strong { font-size: 12px; }
.sidebar-workspace small { color: #6f7884; font-size: 9px; }
.sidebar-label { margin: 0 10px 9px; color: #535b66; font-size: 9px; font-weight: 800; letter-spacing: 1.3px; }
.admin-sidebar nav { gap: 6px; }
.admin-sidebar nav a { position: relative; grid-template-columns: 36px 1fr 10px; min-height: 50px; border-radius: 6px; padding: 6px 10px; font-size: 13px; }
.admin-sidebar nav a::before { content: ''; position: absolute; left: -18px; width: 3px; height: 22px; border-radius: 0 3px 3px 0; background: transparent; }
.admin-sidebar nav a i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 5px; color: #717a86; }
.admin-sidebar nav a i svg { width: 17px; height: 17px; }
.admin-sidebar nav a b { color: #4f5762; font-size: 17px; font-weight: 400; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { border-color: #2c323b; background: #161a20; }
.admin-sidebar nav a.active::before { background: var(--accent); }
.admin-sidebar nav a.active i { border-color: rgba(242,107,43,.26); background: rgba(242,107,43,.08); color: var(--accent); }
.admin-sidebar nav a.active b { color: #8e96a1; }
.sidebar-foot { display: grid; grid-template-columns: 38px 1fr 22px; align-items: center; gap: 10px; margin-top: auto; padding: 18px 7px 0; }
.admin-avatar { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #343b45; border-radius: 6px; background: #171b21; color: var(--accent); font-size: 11px; font-weight: 800; }
.sidebar-foot > div { min-width: 0; display: flex; flex-direction: column; }
.sidebar-foot > div span { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-foot > div small { color: #66707c; font-size: 9px; text-transform: uppercase; }
.sidebar-foot > a { margin: 0; font-size: 14px; }
.admin-main { padding: 42px 44px 70px; }
.page-heading { margin-bottom: 34px; }
.page-heading h1 { font-size: 43px; }
.small-button { min-height: 37px; padding: 0 13px; border-radius: 5px; font-size: 10px; }
.stats-grid { gap: 13px; margin-bottom: 18px; }
.stats-grid article { min-height: 154px; padding: 24px; border-radius: 6px; }
.stats-grid span { font-size: 11px; }
.stats-grid strong { font-size: 34px; }
.stats-grid a, .stats-grid small { font-size: 10px; }
.panel { border-radius: 6px; }
.panel-heading { min-height: 88px; padding: 19px 23px; }
.panel-heading h2 { font-size: 21px; }
.panel-heading > a { font-size: 10px; }
table { font-size: 13px; }
th, td { padding: 16px 18px; }
th { font-size: 9px; }
td small { font-size: 10px; }
.badge { padding: 4px 8px; font-size: 9px; }
.event-list strong { font-size: 12px; }
.event-list small { font-size: 9px; }
.endpoint-box small { font-size: 9px; }
.endpoint-box code { font-size: 10px; }
.compact-form h2 { font-size: 23px; }
.compact-form > p { font-size: 12px; }
.search-form input { min-height: 39px; }
.email-dashboard { grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); }
.email-test-card form { margin-top: auto; }
.automation-card { height: max-content; padding: 27px; }
.automation-card h2 { margin: 7px 0 12px; font-size: 27px; }
.automation-card p { color: var(--muted); font-size: 13px; }
.automation-card ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; color: #a5acb6; font-size: 12px; }
.automation-card li::before { content: '✓'; margin-right: 9px; color: var(--accent); }
.email-error-text { max-width: 420px; color: var(--red) !important; white-space: normal; }
.badge-sent { border-color: rgba(85,197,138,.32); background: rgba(85,197,138,.08); color: #84d3a9; }

/* Motion v18 */
.js [data-reveal] { opacity: 0; filter: blur(8px); transform: translateY(44px) scale(.985); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1), filter 1s cubic-bezier(.16,1,.3,1); }
.js [data-reveal].is-visible { opacity: 1; filter: blur(0); transform: none; }
.js [data-hero-title] span { opacity: 0; transform: translateY(38px); animation: heroLine 1s cubic-bezier(.16,1,.3,1) forwards; }
.js [data-hero-title] span:nth-child(2) { animation-delay: .14s; }
.js .hero-copy > p, .js .hero-copy .hero-actions, .js .hero-copy .trust-row { opacity: 0; transform: translateY(20px); animation: heroFade .8s cubic-bezier(.16,1,.3,1) forwards; }
.js .hero-copy > p { animation-delay: .3s; }
.js .hero-copy .hero-actions { animation-delay: .42s; }
.js .hero-copy .trust-row { animation-delay: .55s; }
.is-visible .feature-icon { animation: iconArrive .7s cubic-bezier(.16,1,.3,1) both; }
@keyframes heroLine { to { opacity: 1; transform: none; } }
@keyframes heroFade { to { opacity: 1; transform: none; } }
@keyframes iconArrive { from { opacity: 0; transform: rotate(-12deg) scale(.72); } to { opacity: 1; transform: none; } }
@keyframes stageFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes scanWindow { from { transform: translateY(-80px); } to { transform: translateY(620px); } }
@keyframes ambientDrift { to { transform: translate3d(80px,70px,0) scale(1.12); } }
@keyframes lineTravel { 0%,100% { transform: translateX(-60px); opacity: .25; } 50% { transform: translateX(130px); opacity: .7; } }

@media (max-width: 1180px) {
    .admin-shell { grid-template-columns: 238px 1fr; }
    .admin-sidebar { width: 238px; padding-inline: 14px; }
    .admin-sidebar nav a::before { left: -14px; }
    .admin-main { padding-inline: 28px; }
    .hero { gap: 54px; }
    .package-layout { gap: 65px; }
}

@media (max-width: 900px) {
    .container { width: min(100% - 36px, 1240px); }
    .site-menu-toggle { position: relative; z-index: 71; width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line-strong); border-radius: 5px; background: #111419; }
    .site-menu-toggle span { width: 19px; height: 1px; background: #f3f5f7; transition: .25s ease; }
    .site-menu-open .site-menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .site-menu-open .site-menu-toggle span:nth-child(2) { opacity: 0; }
    .site-menu-open .site-menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .site-header nav { position: fixed; inset: 83px 18px auto; z-index: 70; display: grid; gap: 0; border: 1px solid var(--line-strong); border-radius: 7px; padding: 10px; background: rgba(13,16,20,.98); box-shadow: 0 25px 60px rgba(0,0,0,.48); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s ease; }
    .site-header nav a, .site-header nav > a:not(.nav-cta):not(:nth-last-child(2)) { display: flex; align-items: center; min-height: 48px; padding: 0 13px; border-bottom: 1px solid #232831; }
    .site-header nav .nav-cta { justify-content: center; margin-top: 9px; border-bottom: 1px solid var(--accent); }
    .site-menu-open .site-header nav { opacity: 1; visibility: visible; transform: none; }
    .site-menu-open { overflow: hidden; }
    .hero { grid-template-columns: 1fr; min-height: auto; gap: 64px; padding-top: 72px; }
    .hero-copy { max-width: 830px; }
    .product-stage { width: min(760px,100%); }
    .outcome-strip { grid-template-columns: 1fr 1fr; }
    .outcome-strip article:nth-child(2) { border-right: 0; }
    .outcome-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .package-layout, .proof-layout, .faq { grid-template-columns: 1fr; gap: 55px; }
    .pricing-card { grid-template-columns: 1fr; }
    .pricing-side { border-top: 1px solid var(--line); border-left: 0; }
    .admin-shell { display: block; }
    .admin-sidebar { width: min(310px,88vw); }
    .admin-main { padding: 20px 18px 60px; }
    .admin-mobilebar { min-height: 54px; margin-bottom: 31px; }
    .admin-mobilebar .mobile-brand img { width: 142px; }
    .menu-trigger { width: 40px; height: 40px; display: grid; place-content: center; gap: 4px; padding: 0; }
    .menu-trigger span { width: 17px; height: 1px; background: #fff; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .dashboard-grid, .license-layout, .email-dashboard { grid-template-columns: 1fr; }
    .portal-stats, .portal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .container { width: calc(100% - 28px); }
    .brand-logo img { width: 150px; }
    .site-header { height: 74px; }
    .site-header .site-brand img { width: 155px; }
    .site-header nav { top: 73px; }
    .hero { gap: 48px; padding-block: 56px 74px; }
    .hero h1 { font-size: clamp(42px, 12.8vw, 56px); }
    .hero-copy > p { font-size: 16px; }
    .hero-actions .button { width: 100%; }
    .trust-row { display: grid; gap: 10px; font-size: 11px; }
    .product-stage { padding: 0; animation: none; }
    .window-body { padding: 14px; }
    .capture-head { flex-direction: column; align-items: flex-start; }
    .package-card ul { grid-template-columns: 1fr 1fr; }
    .outcome-strip { grid-template-columns: 1fr; margin-top: -18px; }
    .outcome-strip article { min-height: 105px; border-right: 0; border-bottom: 1px solid var(--line); }
    .outcome-strip article:last-child { border-bottom: 0; }
    .signal-strip { margin-top: 58px; }
    .section { padding-block: 86px; }
    .section-intro { margin-bottom: 38px; }
    .section-intro p, .package-copy > p { font-size: 15px; }
    .feature-grid, .process-grid, .pricing-main ul { grid-template-columns: 1fr; }
    .feature-grid article { min-height: 295px; }
    .proof-list article { grid-template-columns: 28px 1fr; }
    .proof-list article p { grid-column: 2; }
    .pricing-main, .pricing-side { padding: 31px 24px; }
    .price strong { font-size: 59px; }
    footer > .container { grid-template-columns: 1fr; padding-block: 42px; }
    footer nav { display: grid; gap: 11px; }
    footer small { grid-column: auto; margin-top: 0; }
    .auth-card, .success-card, .error-page { padding: 30px 23px; }
    .auth-card h1, .success-card h1, .error-page h1 { font-size: 34px; }
    .auth-links { flex-direction: column; }
    .portal-header { height: 72px; padding-inline: 14px; }
    .portal-header .brand-logo img { width: 145px; }
    .portal-header .brand-logo small { display: none; }
    .portal-header nav a:first-child { display: none; }
    .portal-main { width: calc(100% - 24px); padding-top: 35px; }
    .portal-welcome { align-items: flex-start; flex-direction: column; }
    .portal-welcome h1 { font-size: 39px; }
    .account-email { margin-top: 10px; overflow-wrap: anywhere; }
    .page-heading { align-items: flex-start; }
    .page-heading h1 { font-size: 34px; }
    .page-heading > .small-button { display: none; }
    .stats-grid { grid-template-columns: 1fr; }
    .stats-grid article { min-height: 128px; }
    .panel-heading { align-items: flex-start; flex-direction: column; }
    .table-wrap { overscroll-behavior-inline: contain; }
    table { min-width: 720px; }
    .search-form { width: 100%; }
    .search-form input { width: 100%; }
    .copy-field { align-items: stretch; flex-direction: column; }
    .copy-field code { white-space: normal; word-break: break-all; }
    .copy-field button { min-height: 42px; border-top: 1px solid var(--line-strong); border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ambient-scene { display: none; }
    .js [data-hero-title] span, .js .hero-copy > p, .js .hero-copy .hero-actions, .js .hero-copy .trust-row { opacity: 1; transform: none; animation: none; }
    .product-stage, .product-window::after { animation: none; }
}

@layer legacy {
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
.mono, code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: var(--text);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.8px;
}
.wordmark > span { color: var(--accent); }
.wordmark small {
    margin-left: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    padding: 2px 5px;
    color: #aab0ba;
    font-size: 7px;
    letter-spacing: 1px;
}
.eyebrow {
    color: #b6bcc6;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.04em; }
h1 { font-size: clamp(42px, 6vw, 76px); }
h2 { font-size: clamp(31px, 4vw, 50px); }
h3 { font-size: 20px; }

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    padding: 0 20px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .65px;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.button.primary:hover { border-color: var(--accent-hover); background: var(--accent-hover); }
.button.secondary { background: #11151a; }
.button.secondary:hover { border-color: #5c6470; background: #151a20; }
.button.full { width: 100%; }
.button.disabled, .button[aria-disabled="true"] { pointer-events: none; opacity: .38; }

.alert { margin: 0 0 18px; border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; }
.alert.success { border-color: rgba(85, 197, 138, .35); background: rgba(85, 197, 138, .08); color: #91dcb5; }
.alert.danger { border-color: rgba(229, 113, 120, .38); background: rgba(229, 113, 120, .08); color: #f0a4aa; }
.alert.warning { border-color: rgba(220, 177, 95, .35); background: rgba(220, 177, 95, .08); color: #e6c585; }

/* Landing page */
.landing-body {
    background:
        radial-gradient(circle at 78% 10%, rgba(242, 107, 43, .07), transparent 24%),
        linear-gradient(rgba(255, 255, 255, .015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .012) 1px, transparent 1px),
        var(--bg);
    background-size: auto, 72px 72px, 72px 72px, auto;
}
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 100; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--accent); }
.site-header-wrap {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    background: rgba(9, 11, 14, .82);
    backdrop-filter: blur(18px);
}
.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.site-header nav { display: flex; align-items: center; gap: 27px; color: #a7adb7; font-size: 11px; }
.site-header nav a { transition: color .2s ease; }
.site-header nav a:hover { color: #fff; }
.site-header .nav-cta { border: 1px solid var(--line-strong); border-radius: 3px; padding: 9px 12px; color: #fff; }
.site-header .nav-cta span { margin-left: 4px; color: var(--accent); }

.hero {
    min-height: 740px;
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    align-items: center;
    gap: 76px;
    padding-block: 86px 100px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #c0c5cd; font-size: 9px; font-weight: 850; letter-spacing: 1.35px; }
.pulse-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pulse-dot::after { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(242, 107, 43, .32); border-radius: inherit; animation: pulse 2.2s ease-out infinite; }
.hero h1 { max-width: 750px; margin-bottom: 24px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { max-width: 625px; margin-bottom: 31px; color: #a4abb5; font-size: 16px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; color: #777f8c; font-size: 10px; }
.trust-row span { position: relative; padding-left: 13px; }
.trust-row span::before { content: ""; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

.product-stage { position: relative; min-width: 0; padding: 28px 0 28px 24px; }
.stage-grid { position: absolute; inset: -22px -55px -25px 0; opacity: .34; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 35px 35px; mask-image: linear-gradient(to bottom right, #000, transparent 75%); }
.product-window { position: relative; z-index: 2; border: 1px solid #363d47; border-radius: 6px; overflow: hidden; background: #101318; box-shadow: var(--shadow); animation: windowFloat 7s ease-in-out infinite; }
.window-bar { height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 16px; color: #8d949f; font-size: 9px; }
.traffic-lights { display: flex; gap: 5px; }
.traffic-lights i { width: 7px; height: 7px; border-radius: 50%; background: #343b44; }
.traffic-lights i:first-child { background: var(--accent); }
.window-bar b { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 7px; letter-spacing: 1px; }
.window-bar b i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.window-body { padding: 16px; }
.capture-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 5px 2px 17px; }
.capture-head > div { display: flex; flex-direction: column; }
.capture-head small { color: #666f7c; font-size: 7px; letter-spacing: 1px; }
.capture-head strong { margin-top: 3px; font-size: 14px; }
.capture-pill { border: 1px solid rgba(85, 197, 138, .27); border-radius: 3px; padding: 4px 7px; background: rgba(85, 197, 138, .06); color: #7bd4a5; font-size: 7px; letter-spacing: .6px; }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 4px; padding: 4px; background: #0b0e12; }
.mode-switch span { padding: 8px 10px; color: #6f7783; font-size: 9px; text-align: center; }
.mode-switch .active { border: 1px solid #323945; border-radius: 2px; background: #171b21; color: #fff; }
.capture-status { margin-top: 13px; border: 1px solid var(--line); border-radius: 4px; padding: 15px; background: #13171c; }
.status-row { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 6px; color: #a0a7b1; font-size: 9px; }
.status-row:first-child { margin-top: 0; }
.status-row b { color: #d6d9de; font-size: 8px; }
.progress-track { height: 3px; overflow: hidden; background: #242a32; }
.progress-track i { display: block; height: 100%; background: var(--accent); transform-origin: left; animation: loadBar 2.1s cubic-bezier(.22, 1, .36, 1) both; }
.progress-full { width: 100%; }
.progress-assets { width: 92%; animation-delay: .18s !important; }
.progress-context { width: 76%; animation-delay: .36s !important; }
.package-card { margin-top: 10px; border: 1px solid var(--line); border-radius: 4px; padding: 14px; background: #0d1014; }
.package-card > div { display: flex; justify-content: space-between; gap: 14px; }
.package-card > div span { color: #69717e; font-size: 7px; letter-spacing: 1px; }
.package-card > div b { font-size: 9px; }
.package-card ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 13px 0; padding: 0; list-style: none; }
.package-card li { border: 1px solid #242a32; border-radius: 2px; padding: 7px 4px; color: #939aa5; font: 8px ui-monospace, monospace; text-align: center; }
.package-ready { display: flex; align-items: center; justify-content: center; min-height: 35px; border-radius: 3px; background: var(--accent); color: white; font-size: 8px; font-weight: 850; letter-spacing: .8px; }
.floating-note { position: absolute; z-index: 3; border: 1px solid #333a45; border-radius: 3px; background: #14181d; box-shadow: 0 18px 35px rgba(0, 0, 0, .28); }
.floating-note.note-a { right: -32px; bottom: 4px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.floating-note.note-a span { color: var(--accent); font-weight: 850; }
.floating-note small { color: #8b929d; font-size: 7px; letter-spacing: .6px; text-transform: uppercase; }
.floating-note.note-b { left: 0; top: 7px; display: flex; align-items: center; gap: 7px; padding: 8px 10px; }
.floating-note.note-b i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(85, 197, 138, .08); }

.signal-strip { width: 100%; overflow: hidden; border-block: 1px solid var(--line); background: #0c0f13; }
.ticker-track { min-width: max-content; min-height: 68px; display: flex; align-items: center; gap: 31px; color: #747c88; font-size: 8px; font-weight: 850; letter-spacing: 1.25px; animation: ticker 34s linear infinite; }
.ticker-track i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.section { padding-block: 112px; }
.section-intro { max-width: 760px; margin-bottom: 47px; }
.section-intro h2 { margin: 10px 0 16px; }
.section-intro p { max-width: 650px; color: var(--muted); font-size: 15px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid article { min-height: 320px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px; background: rgba(14, 17, 21, .83); transition: background .25s ease, transform .25s ease; }
.feature-grid article:hover { z-index: 2; background: var(--surface-raised); transform: translateY(-4px); }
.feature-number { color: var(--accent); font: 750 10px ui-monospace, monospace; }
.feature-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-top: 38px; border: 1px solid var(--line-strong); border-radius: 3px; color: #b8bdc5; font: 700 12px ui-monospace, monospace; }
.feature-grid h3 { margin: 23px 0 12px; }
.feature-grid p { color: var(--muted); font-size: 12px; }
.feature-grid small { margin-top: auto; color: #636b77; font-size: 7px; font-weight: 800; letter-spacing: 1px; }

.package-section { border-block: 1px solid var(--line); background: #0c0f13; }
.package-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 100px; }
.package-copy h2 { margin: 10px 0 19px; }
.package-copy > p { max-width: 560px; color: var(--muted); font-size: 15px; }
.mini-proof { display: flex; flex-direction: column; margin-top: 31px; border-left: 2px solid var(--accent); padding-left: 16px; }
.mini-proof strong { font-size: 12px; }
.mini-proof span { margin-top: 4px; color: #7f8792; font-size: 10px; }
.file-tree { border: 1px solid var(--line-strong); border-radius: 5px; overflow: hidden; background: #101318; box-shadow: var(--shadow); }
.file-tree-head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 19px; font: 11px ui-monospace, monospace; }
.file-tree-head small { color: var(--green); font-size: 7px; letter-spacing: 1px; }
.file-tree ul { margin: 0; padding: 10px 19px 18px; list-style: none; }
.file-tree li { position: relative; display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid #22272e; padding: 12px 4px 12px 25px; }
.file-tree li::before { position: absolute; left: 1px; color: var(--accent); font: 11px ui-monospace, monospace; }
.file-tree li.folder::before { content: "▸"; }
.file-tree li.file::before { content: "—"; color: #616a76; }
.file-tree li span { font: 10px ui-monospace, monospace; }
.file-tree li small { color: #737b86; font-size: 8px; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.process-grid article { min-height: 230px; display: flex; gap: 24px; padding: 31px; background: #111419; }
.process-grid b { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--accent); font: 700 10px ui-monospace, monospace; }
.process-grid small { color: #676f7b; font-size: 7px; letter-spacing: 1px; }
.process-grid h3 { margin: 38px 0 11px; }
.process-grid p { color: var(--muted); font-size: 12px; }

.security-section { border-block: 1px solid var(--line); background: #0c0f13; }
.proof-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.proof-layout h2 { margin: 10px 0 16px; }
.proof-layout > div:first-child p { color: var(--muted); }
.proof-list { border-top: 1px solid var(--line); }
.proof-list article { display: grid; grid-template-columns: 32px 170px 1fr; gap: 18px; border-bottom: 1px solid var(--line); padding: 22px 0; }
.proof-list article > span { color: var(--accent); font: 9px ui-monospace, monospace; }
.proof-list strong { font-size: 13px; }
.proof-list p { margin: 0; color: var(--muted); font-size: 12px; }

.pricing-wrap { padding-top: 70px; }
.pricing-card { display: grid; grid-template-columns: 1.25fr .75fr; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; background: #101318; box-shadow: var(--shadow); }
.pricing-main { padding: 55px; }
.pricing-main h2 { margin: 10px 0 18px; }
.pricing-main > p { max-width: 590px; color: var(--muted); font-size: 14px; }
.pricing-main ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; margin: 32px 0 0; padding: 0; list-style: none; color: #b9bec7; font-size: 11px; }
.pricing-main li::before { content: "✓"; margin-right: 9px; color: var(--accent); }
.pricing-side { display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); padding: 45px; background: #15191f; }
.pricing-side > span { font-size: 8px; font-weight: 850; letter-spacing: 1.2px; }
.price { display: flex; align-items: baseline; margin: 13px 0; }
.price small { align-self: flex-start; margin-top: 14px; color: #b5bac3; font-size: 14px; }
.price strong { font-size: 67px; letter-spacing: -5px; }
.price sup { font-size: 25px; letter-spacing: -1px; }
.price b { margin-left: 8px; color: #858d98; font-size: 11px; }
.pricing-side > p { margin-bottom: 23px; color: var(--muted); font-size: 11px; }
.customer-login-link { margin-top: 16px; color: #a5abb4; font-size: 10px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 750; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--accent); font-size: 18px; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 650px; margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.final-cta { border-top: 1px solid var(--line); padding: 100px 0; background: linear-gradient(120deg, #0d1014 0%, #12151a 100%); text-align: center; }
.final-cta h2 { margin: 11px auto 30px; }

footer { border-top: 1px solid var(--line); background: #090b0e; }
footer > .container { min-height: 170px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
footer p { margin: 5px 0 0; color: #6f7782; font-size: 10px; }
footer nav { display: flex; gap: 23px; color: #969da7; font-size: 10px; }
footer nav a:hover { color: #fff; }
footer small { grid-column: 1/-1; margin-top: -40px; color: #555d68; font-size: 8px; }

/* Auth and status pages */
.centered-page { min-height: 100vh; display: grid; place-items: center; padding: 25px; background: radial-gradient(circle at 50% 0, rgba(242, 107, 43, .07), transparent 31%), var(--bg); }
.auth-card, .success-card, .error-page { width: min(460px, 100%); border: 1px solid var(--line); border-radius: 5px; padding: 35px; background: var(--surface); box-shadow: var(--shadow); }
.auth-card > .wordmark { margin-bottom: 38px; }
.auth-card h1, .success-card h1, .error-page h1 { margin: 8px 0 13px; font-size: 31px; }
.auth-lead, .auth-card > p, .success-card > p, .error-page > p { color: var(--muted); }
.auth-card form { display: grid; gap: 14px; margin-top: 23px; }
.auth-card label, .compact-form label { display: grid; gap: 6px; color: #b6bcc6; font-size: 9px; font-weight: 750; }
.auth-card input, .compact-form input, .search-form input, select {
    width: 100%;
    min-height: 43px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    outline: none;
    padding: 0 12px;
    background: #0c0f13;
    color: var(--text);
}
input:focus, select:focus, textarea:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 2px rgba(242, 107, 43, .08); }
.auth-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; color: #9da4ae; font-size: 9px; }
.text-link { display: block; margin-top: 18px; color: #9da4ae; font-size: 10px; text-align: center; }
.reference-box { display: flex; flex-direction: column; margin: 22px 0; border: 1px solid var(--line); border-radius: 3px; padding: 15px; background: #0d1014; }
.reference-box small { color: #777f8b; }
.reference-box strong { font: 750 20px ui-monospace, monospace; }
.success-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid rgba(85, 197, 138, .35); border-radius: 3px; color: var(--green); }
.error-page { text-align: center; }
.error-page > .wordmark { margin-bottom: 25px; }
.error-code { display: block; color: #292e36; font-size: 92px; line-height: 1; }
.error-page .hero-actions { justify-content: center; margin-top: 24px; }

/* Admin */
.admin-body { background: #0b0d10; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 238px 1fr; }
.admin-sidebar { position: sticky; top: 0; z-index: 40; height: 100vh; display: flex; flex-direction: column; border-right: 1px solid var(--line); padding: 24px 17px; background: #0d1014; }
.sidebar-brand { display: flex; align-items: center; justify-content: space-between; padding: 0 9px; margin-bottom: 35px; }
.menu-close { display: none; border: 0; background: transparent; font-size: 24px; }
.admin-sidebar nav { display: grid; gap: 4px; }
.admin-sidebar nav a { display: grid; grid-template-columns: 29px 1fr; align-items: center; border: 1px solid transparent; border-radius: 3px; padding: 10px 10px; color: #858d99; font-size: 10px; font-weight: 700; transition: .2s ease; }
.admin-sidebar nav a small { color: #535b67; font: 7px ui-monospace, monospace; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { border-color: var(--line); background: var(--surface-raised); color: #fff; }
.admin-sidebar nav a.active small { color: var(--accent); }
.sidebar-foot { display: flex; flex-direction: column; margin-top: auto; border-top: 1px solid var(--line); padding: 18px 9px 0; }
.sidebar-foot span { font-size: 10px; font-weight: 750; }
.sidebar-foot small { color: #676f7b; font-size: 7px; text-transform: uppercase; }
.sidebar-foot a { margin-top: 11px; color: #989faa; font-size: 8px; }
.sidebar-backdrop { display: none; }
.admin-main { min-width: 0; padding: 34px 38px 60px; }
.admin-mobilebar { display: none; }
.page-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.page-heading h1 { margin: 5px 0 0; font-size: 35px; }
.small-button { min-height: 32px; border: 1px solid var(--line-strong); border-radius: 3px; padding: 0 10px; background: var(--surface-raised); color: #c9cdd3; font-size: 8px; font-weight: 750; cursor: pointer; transition: .2s ease; }
.small-button:hover { border-color: #5b6470; background: var(--surface-hover); }
.small-button.success { color: #8ed8b2; }
.small-button.danger { color: #ee999f; }
.small-button:disabled { opacity: .35; cursor: not-allowed; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.stats-grid article { min-height: 137px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 4px; padding: 20px; background: var(--surface); }
.stats-grid span { color: #8e96a1; font-size: 9px; }
.stats-grid strong { margin-top: 11px; font-size: 28px; letter-spacing: -1.2px; }
.stats-grid a, .stats-grid small { margin-top: auto; color: #777f8b; font-size: 8px; }
.panel { border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.dashboard-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; }
.panel-heading { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding: 16px 19px; }
.panel-heading h2 { margin: 4px 0 0; font-size: 17px; }
.panel-heading > a { color: #9da4ae; font-size: 8px; }
.table-wrap { width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 10px; }
th, td { padding: 13px 15px; border-bottom: 1px solid #232831; text-align: left; vertical-align: middle; }
th { color: #747c87; font-size: 7px; font-weight: 850; letter-spacing: .7px; text-transform: uppercase; }
td { color: #c9cdd3; }
td strong { display: block; }
td small { display: block; margin-top: 3px; color: #777f8b; font-size: 8px; }
.empty { padding: 30px !important; color: #727a85 !important; text-align: center !important; }
.badge { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 2px; padding: 3px 6px; color: #b3b9c2; font-size: 7px; font-weight: 850; text-transform: uppercase; }
.badge-active, .badge-paid, .badge-processed { border-color: rgba(85, 197, 138, .32); background: rgba(85, 197, 138, .08); color: #84d3a9; }
.badge-suspended, .badge-past_due, .badge-pending, .badge-paused, .badge-ignored { border-color: rgba(220, 177, 95, .32); background: rgba(220, 177, 95, .08); color: #dcb978; }
.badge-revoked, .badge-disabled, .badge-cancelled, .badge-canceled, .badge-refunded, .badge-chargeback, .badge-refund, .badge-failed { border-color: rgba(229, 113, 120, .33); background: rgba(229, 113, 120, .08); color: #e99a9f; }
.event-list { margin: 0; padding: 8px 19px; list-style: none; }
.event-list li { display: flex; gap: 10px; border-bottom: 1px solid #252a32; padding: 11px 0; }
.event-list li:last-child { border-bottom: 0; }
.event-list div { display: flex; flex-direction: column; }
.event-list strong { font-size: 9px; }
.event-list small { color: #777f8b; font-size: 7px; }
.event-dot { width: 6px; height: 6px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; background: var(--green); }
.event-dot.failed { background: var(--red); }
.event-dot.ignored { background: var(--amber); }
.live-indicator { color: var(--green); font-size: 7px; font-weight: 850; letter-spacing: 1px; }
.endpoint-box { display: flex; flex-direction: column; margin: 0 19px 18px; border: 1px solid var(--line); border-radius: 3px; padding: 9px 10px; background: #0c0f13; }
.endpoint-box small { color: #69717d; font-size: 7px; }
.endpoint-box code { overflow: hidden; color: #aeb4bd; font-size: 8px; text-overflow: ellipsis; }
.license-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 14px; }
.compact-form { height: max-content; padding: 20px; }
.compact-form h2 { margin: 4px 0 5px; font-size: 18px; }
.compact-form > p { color: var(--muted); font-size: 9px; }
.compact-form form { display: grid; gap: 13px; margin-top: 18px; }
.grow { min-width: 0; }
.search-form { display: flex; gap: 6px; }
.search-form input { width: 220px; min-height: 34px; }
.search-form button { border: 1px solid var(--line-strong); border-radius: 3px; background: var(--surface-raised); color: #c5cad1; font-size: 8px; }
.table-actions.vertical { display: grid; gap: 6px; }
.table-actions form { display: flex; gap: 5px; }
.table-actions select { min-height: 32px; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.inline-actions form { display: inline-flex; }
.bound, .unbound { font-size: 8px; }
.bound { color: var(--green); }
.unbound { color: #888f9a; }
.license-reveal { margin-bottom: 14px; border: 1px solid rgba(242, 107, 43, .38); border-radius: 4px; padding: 20px; background: rgba(242, 107, 43, .06); }
.license-reveal h2 { margin: 4px 0 14px; font-size: 20px; }
.copy-field { display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 3px; overflow: hidden; background: #0c0f13; }
.copy-field code { min-width: 0; flex: 1; padding: 11px 12px; overflow: hidden; color: #fff; text-overflow: ellipsis; }
.copy-field button, .copy-alert button { border: 0; border-left: 1px solid var(--line-strong); padding: 0 13px; background: #1a1e24; color: #d3d7dc; font-size: 8px; cursor: pointer; }
.secondary-copy { margin-top: 8px; }
.copy-alert code { word-break: break-all; }
.filter-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.filter-row a { border: 1px solid var(--line); border-radius: 3px; padding: 7px 10px; color: #8d949e; font-size: 8px; }
.filter-row a.active { border-color: var(--accent); color: #fff; }
.metadata { display: block; max-width: 300px; overflow: hidden; color: #9299a3; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }

/* Customer portal */
.portal-body { background: #0b0d10; }
.portal-header { height: 72px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 max(24px, calc((100vw - 1120px) / 2)); background: rgba(13, 16, 20, .92); backdrop-filter: blur(16px); }
.portal-header nav { display: flex; gap: 22px; color: #9da4ae; font-size: 10px; }
.portal-header nav a:hover { color: #fff; }
.portal-main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 90px; }
.portal-welcome { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.portal-welcome h1 { margin: 5px 0; font-size: 42px; }
.portal-welcome p { margin: 0; color: var(--muted); }
.account-email { color: #8e959f; font-size: 10px; }
.portal-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.portal-stats article { min-height: 128px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 4px; padding: 19px; background: var(--surface); }
.portal-stats article > span:first-child { color: #858d98; font-size: 8px; text-transform: uppercase; }
.portal-stats strong { margin: 8px 0 3px; font-size: 18px; }
.portal-stats small { margin-top: auto; color: #777f8b; font-size: 8px; }
.portal-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; }
.license-vault, .release-card { padding: 23px; }
.license-vault .panel-heading { min-height: auto; margin: -23px -23px 20px; }
.license-vault > p, .release-card > p { color: var(--muted); font-size: 10px; }
.secure-label { color: var(--green); font-size: 7px; font-weight: 850; }
.release-card h2 { margin: 6px 0 11px; }
.release-actions { display: grid; gap: 8px; margin: 20px 0 14px; }
.release-card > small { display: block; color: #707884; font-size: 8px; }
.portal-alert { margin-top: 14px; }
.empty-state { padding: 36px; }
.empty-state h2 { margin: 6px 0 12px; }
.empty-state p { color: var(--muted); }

/* Motion */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--reveal-delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="80"] { --reveal-delay: 80ms; }
[data-reveal-delay="100"] { --reveal-delay: 100ms; }
[data-reveal-delay="140"] { --reveal-delay: 140ms; }
[data-reveal-delay="160"] { --reveal-delay: 160ms; }
[data-reveal-delay="200"] { --reveal-delay: 200ms; }
[data-reveal-delay="240"] { --reveal-delay: 240ms; }
@keyframes pulse { 0% { opacity: .7; transform: scale(.65); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
@keyframes windowFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes loadBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
    .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 66px; }
    .hero-copy { max-width: 780px; }
    .product-stage { max-width: 720px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .package-layout { gap: 55px; }
    .pricing-card { grid-template-columns: 1fr; }
    .pricing-side { border-top: 1px solid var(--line); border-left: 0; }
    .admin-shell { grid-template-columns: 202px 1fr; }
    .admin-main { padding-inline: 24px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .dashboard-grid, .license-layout { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
    .container { width: min(100% - 28px, 1180px); }
    .site-header { height: 66px; }
    .site-header nav > a:not(.nav-cta):not(:nth-last-child(2)) { display: none; }
    .site-header nav { gap: 10px; }
    .hero { min-height: auto; gap: 42px; padding-block: 55px 70px; }
    .hero h1 { font-size: 44px; }
    .hero-copy > p { font-size: 14px; }
    .product-stage { padding-left: 0; }
    .floating-note.note-a { right: 8px; }
    .floating-note.note-b { left: -4px; }
    .section { padding-block: 76px; }
    .feature-grid, .process-grid, .pricing-main ul, .package-layout { grid-template-columns: 1fr; }
    .package-layout { gap: 40px; }
    .feature-grid article { min-height: 255px; }
    .proof-layout, .faq { grid-template-columns: 1fr; gap: 35px; }
    .proof-list article { grid-template-columns: 25px 1fr; gap: 8px 15px; }
    .proof-list article p { grid-column: 2; }
    .pricing-main, .pricing-side { padding: 30px; }
    .final-cta { padding-block: 76px; }

    .admin-shell { display: block; }
    .admin-sidebar { position: fixed; left: 0; transform: translateX(-105%); width: min(290px, 86vw); transition: transform .25s ease; box-shadow: 24px 0 70px rgba(0, 0, 0, .4); }
    .admin-menu-open .admin-sidebar { transform: translateX(0); }
    .menu-close { display: block; }
    .sidebar-backdrop { position: fixed; inset: 0; z-index: 30; border: 0; background: rgba(0, 0, 0, .62); }
    .admin-menu-open .sidebar-backdrop { display: block; }
    .admin-main { padding: 18px 14px 50px; }
    .admin-mobilebar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 29px; }
    .admin-mobilebar > a:last-child { justify-self: end; color: #999faa; font-size: 9px; }
    .menu-trigger { justify-self: start; border: 1px solid var(--line-strong); border-radius: 3px; padding: 7px 9px; background: var(--surface); font-size: 8px; text-transform: uppercase; }
    .page-heading { align-items: flex-start; }
    .page-heading h1 { font-size: 29px; }
    .page-heading > .small-button { display: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .portal-welcome { align-items: flex-start; flex-direction: column; }
    .account-email { margin-top: 10px; }
    .portal-stats, .portal-grid { grid-template-columns: 1fr; }
    .portal-header { padding-inline: 18px; }
    .portal-header nav a:first-child { display: none; }
    footer > .container { grid-template-columns: 1fr; padding-block: 35px; }
    footer nav { flex-wrap: wrap; }
    footer small { grid-column: auto; margin-top: 0; }
}

@media (max-width: 500px) {
    .hero-actions .button { width: 100%; }
    .hero h1 { font-size: 39px; }
    .trust-row { display: grid; gap: 8px; }
    .capture-head { align-items: flex-start; flex-direction: column; }
    .package-card ul { grid-template-columns: 1fr 1fr; }
    .floating-note { display: none !important; }
    .feature-grid, .stats-grid { grid-template-columns: 1fr; }
    .file-tree li { grid-template-columns: 1fr; }
    .file-tree li small { margin-top: 3px; }
    .auth-card, .success-card, .error-page { padding: 24px; }
    .auth-links { flex-direction: column; }
    .portal-main { width: calc(100% - 24px); padding-top: 30px; }
    .portal-welcome h1 { font-size: 34px; }
    .search-form { width: 100%; }
    .search-form input { width: 100%; }
    .panel-heading { align-items: flex-start; flex-direction: column; }
    .table-actions form { min-width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
}

/* CloneiNext v19 - trial, support, legal and revenue operations */
.form-grid { display: grid; gap: 12px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
textarea {
    width: 100%; border: 1px solid var(--line-strong); border-radius: 4px; outline: none; padding: 13px;
    resize: vertical; background: #0c0f13; color: var(--text); font: inherit;
}
.check-row { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 10px !important; font-size: 12px !important; line-height: 1.45; }
.check-row input { width: 17px !important; min-height: 17px !important; flex: 0 0 auto; margin-top: 2px; accent-color: var(--accent); }
.check-row a { color: #f5a070; text-decoration: underline; text-underline-offset: 2px; }
.check-row.optional { color: var(--muted); }
.register-card { width: min(650px, 100%); }
.trial-login-cta { display: grid; gap: 2px; margin-top: 18px; border: 1px solid rgba(242,107,43,.32); border-radius: 5px; padding: 14px 15px; background: rgba(242,107,43,.06); }
.trial-login-cta strong { color: #fff; font-size: 13px; }
.trial-login-cta span { color: #e99366; font-size: 11px; }

.trial-price { display: grid; gap: 2px; margin: 17px 0 5px; border-left: 2px solid var(--green); padding: 8px 11px; background: rgba(85,197,138,.06); }
.trial-price strong { color: #a5e1bf; font-size: 18px; }
.trial-price small { color: #7c9588; font-size: 10px; }
.pricing-direct-link { margin-top: 13px; color: #aab0b9; font-size: 11px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
footer nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 10px; }

.admin-landing-button { min-height: 43px; display: inline-flex; align-items: center; gap: 13px; border: 1px solid var(--line-strong); border-radius: 5px; padding: 0 15px; background: var(--surface); color: #d4d8de; font-size: 11px; font-weight: 700; transition: .2s ease; }
.admin-landing-button b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 3px; background: var(--accent-soft); color: var(--accent); }
.admin-landing-button:hover { border-color: #59616d; background: var(--surface-raised); color: #fff; transform: translateY(-1px); }
.real-stats, .compact-stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.real-stats .stat-featured { border-color: rgba(85,197,138,.32); background: linear-gradient(145deg, rgba(85,197,138,.075), var(--surface)); }
.compact-stats article { min-height: 112px; }
.compact-stats strong { font-size: 25px; }
.panel-heading.responsive { flex-wrap: wrap; }
.search-form select { min-width: 150px; min-height: 39px; }
.small-button.full { width: 100%; }
.small-button.primaryish { border-color: rgba(242,107,43,.45); background: var(--accent-soft); color: #f6a073; }
.badge-sent, .badge-open, .badge-subscriber, .badge-trial_active { border-color: rgba(85,197,138,.32); background: rgba(85,197,138,.08); color: #84d3a9; }
.badge-waiting_customer, .badge-waiting_support, .badge-courtesy, .badge-trial { border-color: rgba(220,177,95,.32); background: rgba(220,177,95,.08); color: #dcb978; }
.badge-closed, .badge-trial_used { border-color: rgba(128,138,151,.35); background: rgba(128,138,151,.08); color: #aeb5bf; }
.row-unread { background: rgba(242,107,43,.035); }
.unread-text { color: #f39767 !important; font-weight: 700; }
.unread-pill, .nav-count { display: inline-flex; min-width: 19px; height: 19px; align-items: center; justify-content: center; border-radius: 10px; padding: 0 5px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 800; }
.nav-count { margin-left: 5px; }

.license-layout.improved { grid-template-columns: 320px minmax(0,1fr); }
.license-admin-list { display: grid; gap: 10px; padding: 12px; }
.license-admin-card { border: 1px solid var(--line); border-radius: 5px; background: #0e1115; overflow: hidden; }
.license-admin-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 17px 18px; }
.license-admin-card > header > div:first-child { display: grid; }
.license-admin-card > header strong { font-size: 14px; }
.license-admin-card > header span { color: var(--muted); font-size: 10px; }
.license-card-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.license-card-meta { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1px; border-block: 1px solid var(--line); background: var(--line); }
.license-card-meta > span { min-width: 0; display: grid; gap: 4px; padding: 12px 14px; background: #111419; }
.license-card-meta small { color: #747c87; font-size: 8px; text-transform: uppercase; }
.license-card-meta b { overflow: hidden; color: #d9dde2; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.license-config summary { padding: 12px 18px; color: #aeb4bd; font-size: 10px; font-weight: 700; cursor: pointer; }
.license-config-body { display: grid; gap: 13px; border-top: 1px solid var(--line); padding: 16px 18px 18px; }
.license-plan-form { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; align-items: end; gap: 8px; }
.license-plan-form label, .status-form label, .support-form label { display: grid; gap: 6px; color: #aeb5bf; font-size: 10px; }
.license-plan-form input, .license-plan-form select, .status-form select, .support-form input, .support-form select { min-height: 39px; border: 1px solid var(--line-strong); border-radius: 3px; padding: 0 10px; background: #0c0f13; color: var(--text); }
.license-quick-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.license-quick-actions form { display: inline-flex; gap: 6px; }
.license-quick-actions select { min-height: 32px; }

.portal-stats { grid-template-columns: repeat(4, 1fr); }
.portal-welcome.compact { align-items: center; }
.portal-welcome.compact h1 { font-size: 42px; }
.portal-license-reveal { margin-bottom: 16px; }
.trial-onboarding { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; padding: 38px; }
.trial-onboarding h2, .trial-progress h2, .upgrade-banner h2, .support-shortcut h2 { margin: 7px 0 10px; font-size: 30px; }
.trial-onboarding p, .trial-progress p, .support-shortcut p { color: var(--muted); }
.trial-onboarding ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; padding: 0; list-style: none; color: #c0c5cc; font-size: 12px; }
.trial-onboarding li::before { content: '✓'; margin-right: 8px; color: var(--green); }
.trial-onboarding form { display: grid; gap: 10px; }
.trial-onboarding form small { color: var(--muted); font-size: 10px; }
.trial-progress, .support-shortcut, .upgrade-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 14px; padding: 25px 28px; }
.trial-progress { border-color: rgba(85,197,138,.28); }
.trial-progress.used { border-color: rgba(242,107,43,.34); background: rgba(242,107,43,.035); }
.trial-progress small { color: #939aa5; }
.upgrade-banner { margin-top: 14px; border: 1px solid rgba(242,107,43,.35); border-radius: 5px; background: linear-gradient(110deg, rgba(242,107,43,.08), #111419); }
.upgrade-banner p { margin: 0; color: var(--muted); }
.support-shortcut { margin-top: 14px; }
.access-type-label { text-transform: capitalize; }

.support-list { overflow: hidden; }
.ticket-list { display: grid; }
.ticket-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 18px 20px; transition: background .2s ease; }
.ticket-row:last-child { border-bottom: 0; }
.ticket-row:hover { background: var(--surface-hover); }
.ticket-row > div:first-child { min-width: 0; display: grid; gap: 3px; }
.ticket-row > div:last-child { display: flex; align-items: center; gap: 7px; }
.ticket-row strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.ticket-row small { color: var(--muted); font-size: 10px; }
.ticket-number { color: var(--accent); font: 700 9px ui-monospace, monospace; }
.support-form-card, .reply-card { padding: 25px; }
.support-form { display: grid; gap: 15px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-actions small { color: var(--muted); font-size: 10px; }
.support-thread { display: grid; gap: 10px; margin-bottom: 14px; }
.support-message { max-width: 82%; border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; background: var(--surface); }
.support-message.admin { margin-left: auto; border-color: rgba(242,107,43,.3); background: rgba(242,107,43,.05); }
.support-message header { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.support-message header strong { color: #fff; font-size: 11px; }
.support-message time { color: #747c87; font-size: 9px; }
.support-message p { margin: 0; color: #c1c6cd; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.ticket-heading > div:last-child { display: flex; align-items: center; gap: 12px; }
.ticket-admin-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 15px; }
.ticket-admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 5px; padding: 20px; background: var(--surface); }
.ticket-admin-head h2 { margin: 5px 0; font-size: 27px; }
.ticket-admin-head p { margin: 0; color: var(--muted); font-size: 11px; }
.ticket-sidebar { height: max-content; padding: 20px; }
.ticket-sidebar dl { display: grid; gap: 5px; margin: 17px 0 22px; }
.ticket-sidebar dt { margin-top: 10px; color: #747c87; font-size: 8px; text-transform: uppercase; }
.ticket-sidebar dd { margin: 0; color: #d1d5db; font-size: 11px; overflow-wrap: anywhere; }
.status-form { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 17px; }

/* Suporte v22 — sincronização automática e experiência de conversa */
[hidden] { display: none !important; }
.support-panel-heading { min-height: 88px; }
.live-status { display: inline-flex; align-items: center; gap: 10px; min-width: 150px; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; background: #0c0f13; }
.live-status > span { position: relative; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #69717d; }
.live-status > span::after { content: ''; position: absolute; inset: -4px; border: 1px solid currentColor; border-radius: 50%; opacity: 0; }
.live-status > div { min-width: 0; display: grid; line-height: 1.2; }
.live-status strong { color: #c4c9d0; font-size: 9px; letter-spacing: .4px; text-transform: uppercase; }
.live-status small { overflow: hidden; max-width: 190px; color: #6f7782; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.live-status.is-live > span { color: var(--green); background: var(--green); box-shadow: 0 0 0 4px rgba(85,197,138,.08); }
.live-status.is-live > span::after { animation: supportPulse 1.8s ease-out infinite; }
.live-status.is-error > span { color: var(--red); background: var(--red); }
.live-status.is-error strong { color: #e99a9f; }
.support-live-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 5px; padding: 10px 12px; background: rgba(12,15,19,.72); }
.support-live-toolbar > small { color: #747c87; font-size: 9px; }
.live-thread { max-height: min(620px, 58vh); min-height: 210px; overflow-y: auto; overscroll-behavior: contain; padding: 5px 8px 5px 2px; scrollbar-color: #353c47 transparent; scroll-behavior: smooth; }
.live-thread .support-message { animation: supportMessageIn .25s ease-out both; }
.support-message p { white-space: pre-wrap; }
.support-form textarea { min-height: 126px; transition: border-color .2s ease, box-shadow .2s ease; }
.support-form button:disabled { opacity: .55; cursor: wait; }
.attachment-picker { display: flex !important; align-items: center; justify-content: space-between; gap: 14px; border: 1px dashed var(--line-strong); border-radius: 4px; padding: 11px 12px; background: #0c0f13; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.attachment-picker:hover, .attachment-picker:focus-within { border-color: rgba(242,107,43,.6); background: rgba(242,107,43,.035); }
.attachment-picker input { position: absolute; width: 1px !important; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.attachment-picker > span { flex: 0 0 auto; color: #e58a5d; font-size: 9px; font-weight: 800; letter-spacing: .35px; }
.attachment-picker > small { min-width: 0; overflow: hidden; color: #707986; font-size: 9px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.attachment-picker > small.has-files { color: #91cfad; }
.attachment-picker > small.has-error { color: #e99a9f; }
.message-attachments { display: grid; gap: 6px; margin-top: 12px; }
.message-attachment { min-width: 0; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 9px 10px; background: rgba(8,10,13,.55); transition: border-color .2s ease, background .2s ease; }
.message-attachment:hover { border-color: rgba(242,107,43,.55); background: rgba(242,107,43,.045); }
.message-attachment > i { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 3px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-style: normal; }
.message-attachment > span { min-width: 0; display: grid; line-height: 1.3; }
.message-attachment strong { overflow: hidden; color: #e2e5e9; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.message-attachment small { color: #747c87; font-size: 8px; }
.support-inline-notice { margin: 0 0 12px; }
.ticket-admin-tools { display: flex; align-items: center; gap: 12px; }
.ticket-admin-tools .search-form { flex: 1; }
.admin-sidebar nav a .sidebar-ticket-count.has-unread { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 10px; background: var(--accent); color: #fff; font-size: 8px; font-weight: 850; }
.support-table tbody tr { transition: background .2s ease; }
.support-table tbody tr:hover { background: rgba(255,255,255,.018); }
.support-table td:last-child { text-align: right; }

@keyframes supportPulse {
    from { transform: scale(.55); opacity: .7; }
    to { transform: scale(1.35); opacity: 0; }
}
@keyframes supportMessageIn {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}

.endpoint-box button { align-self: flex-start; margin-top: 8px; border: 0; padding: 0; background: transparent; color: var(--accent); font-size: 9px; cursor: pointer; }
.automation-status { border-left: 2px solid var(--amber); padding: 7px 10px; color: #c8ad79; font-size: 10px; }
.automation-status.ready { border-left-color: var(--green); color: #8ecfac; }
.dns-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; margin-top: 14px; padding: 24px; }
.dns-card h2 { margin: 5px 0 10px; font-size: 25px; }
.dns-card p { color: var(--muted); font-size: 12px; }
.dns-card > div:first-child > .small-button { margin-top: 10px; }
.dns-records { display: grid; gap: 8px; }
.dns-records article { display: grid; gap: 5px; border: 1px solid var(--line); border-radius: 4px; padding: 12px; background: #0d1014; }
.dns-records span { color: #7e8793; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.dns-records code { color: #cbd0d7; font-size: 10px; overflow-wrap: anywhere; }

.legal-body { min-height: 100vh; background: var(--bg); }
.legal-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(9,11,14,.94); backdrop-filter: blur(14px); }
.legal-header > .container { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.legal-header nav { display: flex; gap: 24px; color: #a2a9b3; font-size: 12px; }
.legal-main { display: grid; grid-template-columns: 220px minmax(0,760px); justify-content: center; gap: 70px; padding-block: 74px 110px; }
.legal-index { position: sticky; top: 120px; height: max-content; display: grid; gap: 9px; border-left: 1px solid var(--line); padding-left: 18px; }
.legal-index span { margin-bottom: 5px; color: #69717d; font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.legal-index a { color: #a8afb9; font-size: 12px; }
.legal-index a:hover { color: #fff; }
.legal-document > header { margin-bottom: 54px; border-bottom: 1px solid var(--line); padding-bottom: 34px; }
.legal-document h1 { margin: 12px 0 17px; font-size: clamp(44px,7vw,72px); }
.legal-document > header p { color: #a1a8b2; font-size: 18px; }
.legal-document > header small { color: #6e7682; font-size: 11px; }
.legal-document section { margin-bottom: 42px; }
.legal-document h2 { margin: 0 0 13px; font-size: 25px; }
.legal-document p, .legal-document li { color: #aab1bb; font-size: 15px; line-height: 1.78; }
.legal-document a { color: #f39767; text-decoration: underline; text-underline-offset: 3px; }
.legal-document li { margin-bottom: 8px; }
.legal-footer { border-top: 1px solid var(--line); }
.legal-footer > .container { min-height: 90px; display: flex; align-items: center; justify-content: space-between; color: #747c87; font-size: 11px; }
.consent-banner { position: fixed; z-index: 100; right: 18px; bottom: 18px; width: min(620px, calc(100% - 36px)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 17px 18px; background: #111419; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.consent-banner > div:first-child { display: grid; gap: 3px; }
.consent-banner strong { font-size: 13px; }
.consent-banner p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.consent-banner a { color: #f39a6b; font-size: 10px; }
.consent-banner > div:last-child { display: flex; flex: 0 0 auto; gap: 7px; }
.consent-banner button { min-height: 38px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 12px; background: var(--surface-raised); color: #cbd0d7; font-size: 9px; font-weight: 750; cursor: pointer; }
.consent-banner button:last-child { border-color: var(--accent); background: var(--accent); color: #fff; }

@media (max-width: 1100px) {
    .license-layout.improved { grid-template-columns: 1fr; }
    .license-plan-form { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .license-plan-form button { min-height: 39px; }
    .license-card-meta { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .ticket-admin-layout { grid-template-columns: 1fr; }
    .ticket-sidebar { order: -1; }
    .dns-card { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
    .admin-landing-button { display: none; }
    .form-grid.two, .trial-onboarding, .dns-card { grid-template-columns: 1fr; }
    .trial-onboarding { gap: 20px; padding: 25px; }
    .trial-progress, .support-shortcut, .upgrade-banner, .portal-welcome.compact { align-items: flex-start; flex-direction: column; }
    .portal-stats { grid-template-columns: repeat(2,1fr); }
    .license-plan-form { grid-template-columns: 1fr 1fr; }
    .license-card-meta { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ticket-admin-head, .ticket-heading > div:last-child { align-items: flex-start; flex-direction: column; }
    .support-message { max-width: 94%; }
    .form-actions { align-items: stretch; flex-direction: column; }
    .ticket-row { align-items: flex-start; flex-direction: column; }
    .support-panel-heading, .support-live-toolbar, .ticket-admin-tools { align-items: stretch; flex-direction: column; }
    .support-panel-heading .live-status, .support-live-toolbar .live-status { width: 100%; }
    .support-live-toolbar > small { line-height: 1.5; }
    .live-thread { max-height: 54vh; }
    .support-table { min-width: 760px; }
    .legal-header nav a:not(:first-child) { display: none; }
    .legal-main { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
    .legal-index { position: static; grid-template-columns: repeat(2,1fr); border-left: 0; border-bottom: 1px solid var(--line); padding: 0 0 24px; }
    .legal-index span { grid-column: 1/-1; }
}

@media (max-width: 500px) {
    .register-card { padding: 23px; }
    .portal-stats, .license-plan-form, .license-card-meta, .trial-onboarding ul { grid-template-columns: 1fr; }
    .license-admin-card > header { flex-direction: column; }
    .license-card-badges { justify-content: flex-start; }
    .license-quick-actions, .license-quick-actions form { width: 100%; }
    .license-quick-actions form > * { flex: 1; }
    .support-message { max-width: 100%; }
    .support-message { padding: 13px 14px; }
    .support-message header { align-items: flex-start; flex-direction: column; gap: 2px; }
    .reply-card { padding: 17px; }
    .attachment-picker { align-items: flex-start; flex-direction: column; }
    .attachment-picker > small { width: 100%; text-align: left; white-space: normal; }
    .legal-document h1 { font-size: 42px; }
    .legal-document > header p { font-size: 16px; }
    .legal-footer > .container { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
    .consent-banner { left: 12px; right: 12px; bottom: 12px; width: auto; align-items: stretch; flex-direction: column; }
    .consent-banner > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
}
