@layer reset, tokens, base, components, pages, utilities, responsive;

@layer reset {
  *,*::before,*::after{box-sizing:border-box}
  html{scroll-behavior:smooth}
  body,h1,h2,h3,h4,p,ul,ol{margin:0}
  img,svg{display:block;max-width:100%}
  button,input,select,textarea{font:inherit}
}

@layer tokens {
  :root{
    color-scheme:light;
    font-family:Inter,"Segoe UI",ui-sans-serif,system-ui,-apple-system,sans-serif;
    --navy-950:#071329;--navy-900:#0c1932;--navy-800:#132544;--navy-700:#20395f;
    --ink:#0b1730;--muted:#60708a;--muted-strong:#43536d;
    --brand:#2458f4;--brand-strong:#1743ca;--brand-soft:#eef3ff;--brand-faint:#f7f9ff;
    --cyan:#20aeea;--violet:#7657f5;--surface:#fff;--canvas:#f6f8fc;--surface-muted:#f9fafe;
    --line:#dfe5ef;--line-strong:#cad4e4;--good:#16875f;--good-soft:#eaf8f2;
    --warning:#c56812;--warning-soft:#fff4e8;--danger:#c33535;--danger-soft:#fff0f0;
    --shadow-sm:0 1px 2px rgb(15 31 60 / .04),0 6px 16px rgb(15 31 60 / .04);
    --shadow-md:0 14px 42px rgb(15 31 60 / .09);--shadow-lg:0 28px 80px rgb(26 62 145 / .13);
    --radius-sm:.65rem;--radius-md:.9rem;--radius-lg:1.15rem;--radius-xl:1.5rem;
    --sidebar:15rem;--topbar:4.5rem;--content:92rem;
  }
}

@layer base {
  body{min-height:100vh;background:var(--canvas);color:var(--ink);font-size:.95rem;line-height:1.55;text-rendering:optimizeLegibility}
  a{color:var(--brand);font-weight:680;text-decoration:none}
  a:hover{text-decoration:underline;text-underline-offset:.2em}
  a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgb(36 88 244 / .28);outline-offset:2px}
  h1,h2,h3,h4{color:var(--ink);font-weight:760;letter-spacing:-.025em;line-height:1.16}
  h1[tabindex="-1"]:focus{outline:none}
  h1{font-size:clamp(2rem,4vw,3rem)}h2{font-size:clamp(1.4rem,2.5vw,2rem)}h3{font-size:1.05rem}h4{font-size:.95rem}
  small{font-size:.78rem;color:var(--muted)}
  code{font-family:"SFMono-Regular",Consolas,monospace;font-size:.88em}
  button{cursor:pointer}
  button:disabled{cursor:not-allowed;opacity:.55}
  input,select,textarea{width:100%;min-height:2.85rem;border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:.7rem .8rem;background:var(--surface);color:var(--ink);transition:border-color .16s,box-shadow .16s}
  input:hover,select:hover,textarea:hover{border-color:#aebbd0}
  input:focus,select:focus,textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgb(36 88 244 / .1);outline:0}
  input[type="checkbox"],input[type="radio"]{width:1.05rem;min-height:1.05rem;accent-color:var(--brand)}
  progress{width:100%;height:.55rem;border:0;border-radius:99px;overflow:hidden;background:#e8edf5;accent-color:var(--brand)}
  progress::-webkit-progress-bar{background:#e8edf5}progress::-webkit-progress-value{background:linear-gradient(90deg,var(--brand),var(--cyan))}
}

@layer components {
  .page-shell{width:min(var(--content),calc(100% - 2.5rem));margin-inline:auto}
  .brand{display:inline-flex;align-items:baseline;gap:.45rem;color:var(--ink);text-decoration:none;white-space:nowrap}
  .brand strong{font-size:1.45rem;letter-spacing:-.04em;color:var(--brand)}
  .brand span{font-size:.68rem;font-weight:700;color:var(--muted);letter-spacing:.01em}
  .nova-icon{width:1.25rem;height:1.25rem;flex:0 0 auto}

  .public-header{position:sticky;top:1rem;z-index:30;min-height:4.25rem;margin-top:1rem;padding:.65rem .75rem .65rem 1.35rem;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:2rem;border:1px solid rgb(216 224 238 / .82);border-radius:1.35rem;background:rgb(255 255 255 / .9);box-shadow:var(--shadow-md);backdrop-filter:blur(18px)}
  .public-header nav{display:flex;align-items:center;justify-content:center;gap:2rem}.public-header nav a,.language-switch{color:var(--ink);font-size:.9rem}
  .header-actions{display:flex;align-items:center;gap:.9rem}.account-header{height:4.75rem;display:flex;align-items:center;justify-content:space-between}.quiet-link{color:var(--muted-strong)}

  .button,.button-secondary,.link-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:2.8rem;padding:.7rem 1rem;border-radius:.7rem;font-weight:760;line-height:1;text-decoration:none;transition:transform .16s,box-shadow .16s,background .16s,border-color .16s}
  .button{border:1px solid var(--brand);background:linear-gradient(135deg,var(--brand),#1748d8);color:#fff;box-shadow:0 8px 20px rgb(36 88 244 / .2)}
  .button:hover{background:var(--brand-strong);text-decoration:none;transform:translateY(-1px);box-shadow:0 12px 24px rgb(36 88 244 / .24)}
  .button-secondary{border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}
  .button-secondary:hover{border-color:#aab8ce;background:var(--brand-faint);text-decoration:none}
  .button-small{min-height:2.65rem;padding:.65rem 1.1rem}.link-button{border:0;background:transparent;color:var(--brand);box-shadow:none}
  .button-row,.actions,.card-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.actions{margin-top:1.75rem}

  .status-pill{display:inline-flex;align-items:center;gap:.42rem;padding:.28rem .62rem;border-radius:99px;background:#eef1f5;color:var(--muted-strong);font-size:.74rem;font-weight:780;white-space:nowrap}
  .status-pill span{width:.42rem;height:.42rem;border-radius:50%;background:currentColor}.status-good{background:var(--good-soft);color:var(--good)}.status-info{background:var(--brand-soft);color:var(--brand)}.status-warning{background:var(--warning-soft);color:var(--warning)}

  .portal-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);z-index:40;padding:1.4rem 1rem;display:flex;flex-direction:column;background:linear-gradient(180deg,var(--navy-950),#0b1e3c);color:#eaf0fb;box-shadow:8px 0 24px rgb(3 12 29 / .08)}
  .portal-brand{padding:.2rem .6rem 1.5rem;color:#fff}.portal-brand strong{color:#6f9cff;font-size:1.65rem}.portal-brand span{color:#aab9d2}
  .portal-sidebar nav{display:grid;gap:.25rem}.portal-nav-link{width:100%;display:flex;align-items:center;gap:.8rem;min-height:2.8rem;padding:.65rem .75rem;border:0;border-radius:.7rem;background:transparent;color:#bdc9dc;font-size:.88rem;font-weight:650;text-align:left}
  .portal-nav-link:hover{background:rgb(255 255 255 / .07);color:#fff;text-decoration:none}.portal-nav-link.active{background:linear-gradient(135deg,#2458f4,#1744d0);color:#fff;box-shadow:0 10px 25px rgb(17 61 202 / .35)}
  .nav-badge{margin-left:auto;min-width:1.35rem;padding:.1rem .35rem;border-radius:99px;background:var(--brand);color:#fff;text-align:center;font-size:.7rem}
  .sidebar-account{margin-top:auto;padding:1rem .6rem .8rem;border-top:1px solid rgb(255 255 255 / .11);display:flex;align-items:center;gap:.7rem}.sidebar-account>span:last-child{display:grid;min-width:0}.sidebar-account strong{max-width:10rem;overflow:hidden;text-overflow:ellipsis;color:#fff;font-size:.82rem}.sidebar-account small{color:#8fa0bb}.avatar{width:2.15rem;height:2.15rem;display:grid;place-items:center;border-radius:50%;background:#dfe8ff;color:var(--brand);font-size:.72rem;font-weight:850}
  .portal-sidebar form{margin:0}.logout-button{cursor:pointer}.portal-topbar{position:fixed;left:var(--sidebar);right:0;top:0;height:var(--topbar);z-index:35;padding:0 2rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgb(255 255 255 / .92);backdrop-filter:blur(16px)}
  .portal-topbar>div:first-child{display:grid}.topbar-context{font-size:1rem;font-weight:760}.topbar-path{margin-top:-.08rem;font-size:.68rem}.topbar-actions{display:flex;align-items:center;gap:.6rem}.icon-button{width:2.55rem;height:2.55rem;display:grid;place-items:center;border-radius:.7rem;color:var(--muted-strong)}.icon-button:hover{background:var(--brand-soft);color:var(--brand);text-decoration:none}

  .portal-shell{width:auto;max-width:none;margin:0;padding:calc(var(--topbar) + 2rem) 2.25rem 3rem calc(var(--sidebar) + 2.25rem)}
  .page-heading{max-width:var(--content);margin:0 auto 1.75rem;display:flex;align-items:flex-end;justify-content:space-between;gap:1.25rem}.page-heading h1{margin:.2rem 0 .45rem}.page-heading p:not(.eyebrow){color:var(--muted);max-width:70ch}
  .eyebrow{display:inline-flex;align-items:center;gap:.45rem;margin-bottom:.45rem;color:var(--brand);font-size:.71rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
  .eyebrow::before{content:"";width:.38rem;height:.38rem;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 4px rgb(32 174 234 / .12)}
  .lead{max-width:58ch;color:var(--muted);font-size:1.08rem}.fine-print{color:var(--muted);font-size:.8rem}.license{color:var(--muted)}

  .metric-grid{max-width:var(--content);margin:0 auto 1.25rem;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.metric-grid article{position:relative;min-height:8.2rem;padding:1.25rem;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);overflow:hidden}.metric-grid article::after{content:"";position:absolute;width:5rem;height:5rem;right:-1.4rem;top:-1.5rem;border-radius:50%;background:var(--brand-soft)}
  .metric-grid span,.metric-grid small{display:block;color:var(--muted)}.metric-grid strong{position:relative;z-index:1;display:block;margin:.4rem 0;font-size:2rem;letter-spacing:-.04em}

  .section-compact,.billing-organization{max-width:var(--content);margin:1.75rem auto}.section-heading,.card-title,.console-title{display:flex;align-items:center;justify-content:space-between;gap:1rem}.section-heading{margin-bottom:1rem}.section-heading p{margin-top:.25rem;color:var(--muted)}
  .card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.card-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
  .feature-card,.company-card,.price-card,.hero-console,.form-section,.account-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}
  .feature-card,.company-card{padding:1.25rem}.feature-card>p,.company-card>p{margin-top:.55rem;color:var(--muted)}.feature-card h3,.company-card h3{margin:.05rem 0}.feature-card label,.company-card label{display:grid;gap:.35rem;margin-top:1rem;font-weight:690}.feature-card button{margin-top:1rem}.company-card progress{margin-top:.45rem}.company-card .card-actions{margin-top:1rem;font-size:.85rem}
  .icon{width:2.55rem;height:2.55rem;display:grid;place-items:center;border-radius:.75rem;background:var(--brand-soft);color:var(--brand);font-size:1.35rem}
  .notice,.empty-state,.loading{max-width:var(--content);margin:1rem auto;padding:1rem 1.1rem;border:1px solid #cdd9ee;border-radius:var(--radius-md);background:var(--brand-faint);color:var(--muted-strong)}.notice.good{border-color:#bce2d3;background:var(--good-soft);color:#126b4d}.notice.warning{border-color:#f3d2aa;background:var(--warning-soft);color:#8d4a0e}.notice.error{border-color:#efb9b9;background:var(--danger-soft);color:var(--danger)}
  .empty-state{padding:2.25rem;text-align:center;border-style:dashed}.empty-state h3{margin-bottom:.45rem}.loading{position:relative;padding-left:2.6rem}.loading::before{content:"";position:absolute;left:1rem;top:1.15rem;width:.9rem;height:.9rem;border:2px solid #b8c6da;border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
  .check-list{list-style:none;padding:0}.check-list li{position:relative;padding:.7rem 0 .7rem 1.8rem;border-bottom:1px solid var(--line)}.check-list li::before{content:"✓";position:absolute;left:0;top:.68rem;width:1.15rem;height:1.15rem;display:grid;place-items:center;border-radius:50%;background:var(--good-soft);color:var(--good);font-size:.7rem;font-weight:900}
  .selection-row{display:flex!important;align-items:flex-start;gap:.65rem}.selection-row input{margin-top:.18rem;flex:0 0 auto}.selection-row span{display:grid}.danger-card{border-color:#efc7c7;background:#fffafa}

  .table-scroll,.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}table{width:100%;border-collapse:collapse}th,td{padding:.85rem 1rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;white-space:nowrap}th{background:#fafbfe;color:var(--muted);font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}tbody tr:hover{background:var(--brand-faint)}tbody tr:last-child td{border-bottom:0}
  .toolbar{max-width:var(--content);margin:0 auto 1rem;display:grid;grid-template-columns:minmax(16rem,34rem) auto;align-items:end;gap:1rem}.toolbar label,.form-section label,.account-card label,.organization-picker,.select-organization{display:grid;gap:.35rem;font-weight:690}.copy-row{display:grid;grid-template-columns:1fr auto;gap:.75rem}.inline-form{display:grid;grid-template-columns:2fr 1fr auto;gap:1rem;align-items:end}.role-editor{display:grid;grid-template-columns:repeat(2,minmax(9rem,1fr));gap:.45rem 1rem;min-width:21rem}.role-editor label{display:flex;align-items:center;gap:.45rem;font-size:.84rem}.role-editor .button{grid-column:1/-1;justify-self:start}.action-stack{display:grid;gap:.5rem;justify-items:start}.organization-picker,.select-organization{max-width:24rem;margin-bottom:1rem}

  body:has(.account-shell){background:radial-gradient(circle at 12% 24%,rgb(36 88 244 / .12),transparent 30%),radial-gradient(circle at 78% 78%,rgb(32 174 234 / .09),transparent 27%),var(--canvas)}
  .account-shell{min-height:calc(100vh - 4.75rem);display:grid;grid-template-columns:minmax(0,1fr) minmax(21rem,32rem);align-items:center;gap:clamp(2rem,7vw,7rem);padding-block:3rem}.account-shell::before{content:"NOVA\A Agenți AI conectați\A la operațiuni reale.";white-space:pre-line;align-self:center;max-width:11ch;font-size:clamp(2.3rem,5vw,4.8rem);font-weight:820;letter-spacing:-.055em;line-height:1.02;color:var(--ink);background:linear-gradient(135deg,var(--ink) 20%,var(--brand) 82%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
  .account-card{width:100%;padding:2rem;box-shadow:var(--shadow-lg)}.account-card.wide{grid-column:1/-1;justify-self:center;width:min(100%,50rem)}.account-card h1{margin:.2rem 0 .65rem;font-size:2.2rem}.account-card>p{color:var(--muted)}.account-card>.button{margin-top:1.25rem}.account-card form,.form-section form{display:grid;gap:1rem;margin-top:1.25rem}.account-divider{display:flex;align-items:center;gap:1rem;margin:1.35rem 0;color:var(--muted)}.account-divider::before,.account-divider::after{content:"";height:1px;flex:1;background:var(--line)}.oauth-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.oauth-mark{width:1.35rem;height:1.35rem;display:grid;place-items:center;border-radius:.35rem;background:var(--brand-soft);color:var(--brand);font-size:.72rem;font-weight:900}.oauth-google .oauth-mark{background:conic-gradient(from -45deg,#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0);color:#fff}.oauth-microsoft .oauth-mark{border-radius:.1rem;background:linear-gradient(90deg,#f35325 0 48%,transparent 48% 52%,#81bc06 52%),linear-gradient(90deg,#05a6f0 0 48%,transparent 48% 52%,#ffba08 52%);color:transparent}
  .form-section{max-width:var(--content);margin:1.25rem auto;padding:1.5rem}.form-section>h2{margin-bottom:.45rem}.form-section>p{color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.form-grid label:last-child:nth-child(odd){grid-column:1/-1}.step-list{max-width:var(--content);margin:0 auto 1.5rem;display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;list-style:none;padding:0;counter-reset:steps}.step-list li{position:relative;padding:1rem 1rem 1rem 3rem;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);color:var(--muted)}.step-list li::before{counter-increment:steps;content:counter(steps);position:absolute;left:.85rem;top:.85rem;width:1.55rem;height:1.55rem;display:grid;place-items:center;border-radius:50%;background:#eef1f6;color:var(--muted);font-size:.75rem;font-weight:850}.step-list li.active{border-color:#aec2ff;background:var(--brand-faint);color:var(--ink)}.step-list li.active::before{background:var(--brand);color:#fff}.step-list span{display:block;margin-top:.25rem;font-size:.78rem}.onboarding-result{max-width:var(--content);margin-inline:auto}.secret-value{padding:1rem;border-radius:var(--radius-sm);background:var(--brand-faint)}.break-code{display:block;white-space:normal;word-break:break-all}.recovery-codes{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}
  .inbox-list{max-width:var(--content);margin-inline:auto;display:grid;gap:.75rem}.inbox-item{display:flex;align-items:center;justify-content:space-between;gap:2rem}.inbox-item h2{margin:.15rem 0}.align-start{align-items:start}
  .legal-page{width:min(62rem,calc(100% - 2.5rem));margin-inline:auto;padding:4rem 0}.legal-page>.lead{margin:.75rem 0}.legal-navigation{display:flex;gap:.85rem;flex-wrap:wrap;margin:1.5rem 0 2rem;padding:1rem;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface)}.legal-page .section-compact{margin-block:2.25rem}.legal-page .section-compact>p{margin-top:.8rem;color:var(--muted-strong)}
}

@layer pages {
  body:has(.public-header){background:#fff}
  body:has(.public-header)::before{content:"";position:absolute;inset:0 0 auto;height:58rem;z-index:-1;background:radial-gradient(circle at 18% 25%,rgb(91 137 255 / .16),transparent 28%),radial-gradient(circle at 82% 18%,rgb(207 115 255 / .13),transparent 26%),linear-gradient(rgb(18 50 100 / .045) 1px,transparent 1px),linear-gradient(90deg,rgb(18 50 100 / .045) 1px,transparent 1px);background-size:auto,auto,3.75rem 3.75rem,3.75rem 3.75rem}
  .hero{min-height:43rem;display:grid;grid-template-columns:minmax(0,1fr) minmax(30rem,.95fr);align-items:center;gap:clamp(2.5rem,5vw,5rem);padding-block:6rem}.hero h1{max-width:13ch;margin:.4rem 0 1.2rem;font-size:clamp(3.3rem,5.4vw,5.4rem);letter-spacing:-.065em}.hero h1 em{font-style:normal;color:var(--brand)}.hero .fine-print{margin-top:1rem}
  .hero-console{position:relative;padding:1.35rem;box-shadow:var(--shadow-lg);transform:perspective(1000px) rotateY(-1deg)}.hero-console::before{content:"";position:absolute;inset:2.2rem -2rem -2rem 2rem;z-index:-1;border-radius:2rem;background:linear-gradient(135deg,rgb(36 88 244 / .18),rgb(32 174 234 / .1));filter:blur(25px)}
  .console-windowbar{display:flex;align-items:center;justify-content:space-between;padding-bottom:1rem;border-bottom:1px solid var(--line)}.console-product{display:flex;align-items:center;gap:.7rem}.console-product .icon{width:2.25rem;height:2.25rem}.hero-console ol{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem;list-style:none;padding:0;margin:1rem 0}.hero-console li{padding:1rem;border:1px solid var(--line);border-radius:.8rem;background:var(--surface-muted)}.hero-console strong{display:block;font-size:1.8rem}.hero-console span{font-size:.74rem;color:var(--muted)}.console-activity{display:grid;gap:.65rem;margin-top:1rem}.activity-row{display:grid;grid-template-columns:1.4rem 3.1rem 1fr;align-items:start;gap:.55rem;padding:.55rem;border-radius:.6rem}.activity-row:hover{background:var(--brand-faint)}.activity-mark{width:1.25rem;height:1.25rem;display:grid;place-items:center;border-radius:50%;background:var(--good-soft);color:var(--good);font-size:.7rem}.activity-row.warning .activity-mark{background:var(--warning-soft);color:var(--warning)}.activity-row time{color:var(--muted);font-size:.76rem}.activity-row p{font-size:.8rem}.hero-assurances{display:flex;gap:1.4rem;margin-top:1.5rem;color:var(--muted-strong);font-size:.78rem;font-weight:680}.hero-assurances span{display:flex;align-items:center;gap:.4rem}.hero-assurances .nova-icon{width:1rem;height:1rem;color:var(--brand)}
  .section{padding-block:5.5rem}.section h2,.pricing-wrap h2{max-width:22ch;margin:.4rem 0 2rem;font-size:clamp(2.2rem,4vw,3.6rem)}.section-tint{background:linear-gradient(180deg,#f5f8ff,#f9fbff)}.split,.pricing-wrap{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,7vw,7rem);align-items:center}.landing-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.landing-card{padding:1.5rem;border:1px solid var(--line);border-radius:var(--radius-lg);background:rgb(255 255 255 / .9);box-shadow:var(--shadow-sm)}.landing-card h3{margin:.9rem 0 .55rem;font-size:1.18rem}.landing-card p{min-height:4.6rem;color:var(--muted)}
  .price-card{padding:2rem;box-shadow:var(--shadow-md)}.price-card .price{display:flex;align-items:baseline;gap:.5rem}.price-card strong{font-size:3.4rem;letter-spacing:-.055em}.price-card>span{color:var(--muted)}.price-card ul{list-style:none;padding:1rem 0}.price-card li{position:relative;padding:.55rem 0 .55rem 1.6rem}.price-card li::before{content:"✓";position:absolute;left:0;color:var(--good);font-weight:900}.footer{display:flex;align-items:center;gap:1.35rem;padding-block:2.5rem;border-top:1px solid var(--line);color:var(--muted)}
}

@layer utilities {.section-tint{width:100%}.compact{margin-top:1rem}.good{color:var(--good)}.warning-text{color:var(--warning)}}

@layer responsive {
  @media(max-width:1120px){:root{--sidebar:13.5rem}.metric-grid{grid-template-columns:repeat(2,1fr)}.card-grid.three,.landing-card-grid{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr;min-height:auto}.hero>div:first-child{max-width:48rem}.hero-console{max-width:48rem}.account-shell{grid-template-columns:1fr}.account-shell::before{display:none}}
  @media(max-width:820px){.public-header{grid-template-columns:auto 1fr}.public-header nav{display:none}.header-actions{justify-self:end}:root{--sidebar:4.75rem}.portal-brand span,.portal-nav-link span:not(.nav-badge),.sidebar-account>span:last-child{display:none}.portal-sidebar{padding-inline:.7rem}.portal-nav-link{justify-content:center}.portal-brand{justify-content:center;padding-inline:0}.portal-brand strong{font-size:1.15rem}.portal-topbar{padding-inline:1rem}.portal-shell{padding-right:1rem;padding-left:calc(var(--sidebar) + 1rem)}.split,.pricing-wrap{grid-template-columns:1fr}.form-grid,.step-list{grid-template-columns:1fr 1fr}.page-heading{align-items:flex-start;flex-direction:column}.inbox-item{align-items:flex-start;flex-direction:column}.toolbar,.copy-row{grid-template-columns:1fr}.inline-form{grid-template-columns:1fr 1fr}.inline-form button{grid-column:1/-1}.footer{flex-wrap:wrap}}
  @media(max-width:560px){:root{--topbar:4rem}.page-shell{width:min(100% - 1.25rem,var(--content))}.public-header{top:.5rem;margin-top:.5rem;padding:.55rem .65rem}.public-header .brand span,.language-switch{display:none}.header-actions{gap:.4rem}.hero{padding-block:3.5rem;gap:2rem}.hero h1{font-size:3rem}.hero-console{padding:1rem}.hero-console ol,.metric-grid,.card-grid,.card-grid.three,.card-grid.two,.landing-card-grid,.form-grid,.step-list,.oauth-grid,.recovery-codes,.inline-form{grid-template-columns:1fr}.hero-assurances{align-items:flex-start;flex-direction:column;gap:.6rem}.actions>*{width:100%}.portal-sidebar{inset:auto 0 0;width:auto;height:4.25rem;padding:.45rem;display:block;background:var(--navy-950)}.portal-sidebar>.brand,.portal-sidebar>.sidebar-account,.portal-sidebar>form{display:none}.portal-sidebar nav{height:100%;display:flex;justify-content:space-around;gap:.2rem}.portal-nav-link{width:auto;min-width:2.9rem;height:100%;padding:.45rem}.portal-sidebar nav .portal-nav-link:nth-child(n+6){display:none}.portal-topbar{left:0}.portal-shell{padding:calc(var(--topbar) + 1.25rem) .75rem 5.5rem}.topbar-context{font-size:.9rem}.page-heading{margin-bottom:1.25rem}.section-compact,.billing-organization{margin-block:1.25rem}.feature-card,.company-card,.form-section,.account-card{padding:1rem}.account-header{height:4rem}.account-shell{min-height:calc(100vh - 4rem);padding-block:1rem}.account-card{box-shadow:var(--shadow-md)}.card-title,.section-heading{align-items:flex-start;flex-direction:column}.role-editor{min-width:16rem;grid-template-columns:1fr}.form-grid label:last-child:nth-child(odd),.inline-form button{grid-column:auto}.footer{align-items:flex-start;flex-direction:column}.copy-row{grid-template-columns:1fr}}
  @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
  @media(prefers-contrast:more){:root{--line:#8795aa;--muted:#3f4b5e}.button-secondary,.feature-card,.company-card,.metric-grid article{border-width:2px}}
  @media print{.portal-sidebar,.portal-topbar,.public-header,.account-header,.button,.button-secondary{display:none!important}.portal-shell{padding:0}.page-shell{width:100%}}
}
