:root {
  --public-max: 1240px;
  --public-ink: #102c42;
  --public-teal: #19737d;
  --public-sky: #68b8bd;
  --public-paper: #fcfdfd;
  --public-wash: #f1f6f6;
  --public-header-height: 117px;
}

.public-body { min-width: 320px; overflow-x: hidden; padding-top: var(--public-header-height); background: var(--public-paper); color: var(--ink-900); }
.public-container { width: min(var(--public-max), calc(100% - 44px)); margin-inline: auto; }
.public-header { position: fixed; z-index: 70; top: 0; right: 0; left: 0; border-bottom: 1px solid rgba(185, 199, 209, .72); background: rgba(252, 253, 253, .96); box-shadow: 0 8px 24px rgba(16, 44, 66, .06); backdrop-filter: blur(18px); }
.public-header__inner { display: flex; min-height: 74px; align-items: center; gap: 28px; }
.public-brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; color: var(--public-ink); text-decoration: none; }
.public-brand .brand-mark { width: 32px; height: 32px; flex: 0 0 32px; }
.public-brand .brand-copy { flex: 0 0 auto; white-space: nowrap; }
.public-brand .brand-mark svg { width: 32px; fill: rgba(23, 109, 120, .12); stroke: var(--public-teal); }
.public-brand .brand-copy strong { color: var(--public-ink); }
.public-brand .brand-copy b { color: var(--public-teal); }
.public-nav--global { display: flex; align-items: center; justify-content: center; gap: 27px; margin: 0 auto; }
.public-nav--global > a { position: relative; padding: 26px 0 24px; color: var(--ink-700); text-decoration: none; font: 650 13px var(--font-ui); }
.public-nav--global > a::after { content: ""; position: absolute; right: 0; bottom: 17px; left: 0; height: 2px; transform: scaleX(0); border-radius: 9px; background: var(--public-teal); transition: transform var(--transition); }
.public-nav--global > a:hover, .public-nav--global > a[aria-current="page"] { color: var(--public-teal); }
.public-nav--global > a:hover::after, .public-nav--global > a[aria-current="page"]::after { transform: scaleX(1); }
.public-nav-mobile-actions { display: none; }
.public-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.public-menu-button { display: none; width: 43px; height: 43px; padding: 10px; border: 1px solid var(--ink-200); border-radius: 10px; background: white; }
.public-menu-button span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--ink-800); }
.public-subnav-row { border-top: 1px solid rgba(185, 199, 209, .48); background: rgba(241, 246, 246, .94); }
.public-subnav-inner { display: flex; min-height: 42px; align-items: center; gap: 24px; }
.public-subnav-label { flex: 0 0 auto; color: var(--ink-500); font: 700 9px var(--font-ui); letter-spacing: .08em; text-transform: uppercase; }
.public-subnav { display: flex; align-items: center; gap: 25px; }
.public-subnav a { position: relative; padding: 13px 0 12px; color: var(--ink-600); text-decoration: none; font: 650 11px var(--font-ui); }
.public-subnav a:hover, .public-subnav a[aria-current="location"] { color: var(--public-teal); }
.public-subnav a[aria-current="location"]::after { content: ""; position: absolute; right: 0; bottom: 6px; left: 0; height: 2px; border-radius: 3px; background: var(--public-teal); }
.button--large { min-height: 49px; padding: 11px 19px; border-radius: 11px; font-size: 14px; }
.text-link { color: var(--public-teal); text-decoration: none; font: 680 13px var(--font-ui); }

#benefits, #how, #professionals, #trust { scroll-margin-top: calc(var(--public-header-height) + 14px); }

.public-hero { position: relative; overflow: hidden; min-height: 690px; padding: 80px 0 76px; background: linear-gradient(145deg, #fcfdfd 0%, #f5fafa 52%, #e8f2f2 100%); }
.hero-public-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(450px, .92fr) minmax(560px, 1.08fr); align-items: center; gap: 63px; }
.hero-public-grid > *, .hero-public-copy, .preview-content { min-width: 0; }
.hero-public-copy h1 { margin: 25px 0 24px; color: var(--public-ink); font-size: clamp(49px, 5.3vw, 76px); line-height: .96; letter-spacing: -.047em; }
.hero-public-copy h1 em { color: var(--public-teal); font-style: normal; }
.hero-public-copy > p { max-width: 640px; margin-bottom: 27px; color: var(--ink-600); font-size: 18px; line-height: 1.65; }
.public-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(23, 109, 120, .2); border-radius: 999px; color: var(--public-teal); background: rgba(255, 255, 255, .72); box-shadow: var(--shadow-xs); font: 700 11px var(--font-ui); letter-spacing: .055em; text-transform: uppercase; }
.public-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #35a178; box-shadow: 0 0 0 4px rgba(53, 161, 120, .11); }
.hero-public-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0; margin-top: 33px; }
.hero-proof > span { min-width: 128px; padding: 0 22px; border-left: 1px solid var(--ink-200); }
.hero-proof > span:first-child { padding-left: 0; border-left: 0; }
.hero-proof b, .hero-proof small { display: block; }
.hero-proof b { color: var(--ink-900); font: 700 13px var(--font-ui); }
.hero-proof small { margin-top: 2px; color: var(--ink-500); font-size: 10px; }
.hero-aura { position: absolute; top: -320px; right: -290px; width: 780px; height: 780px; border-radius: 50%; background: radial-gradient(circle, rgba(100, 184, 189, .2), transparent 67%); }

.product-window { overflow: hidden; transform: perspective(1500px) rotateY(-2deg) rotateX(1deg); border: 1px solid rgba(125, 153, 166, .32); border-radius: 20px; background: white; box-shadow: 0 38px 90px rgba(12, 45, 62, .19), 0 8px 25px rgba(12, 45, 62, .08); }
.product-window__bar { display: flex; height: 41px; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--ink-100); background: #f8fafb; }
.product-window__bar > span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-200); }
.product-window__bar > span:nth-child(1) { background: #e58d84; }
.product-window__bar > span:nth-child(2) { background: #e8be70; }
.product-window__bar > span:nth-child(3) { background: #79b995; }
.product-window__bar b { margin: auto; color: var(--ink-500); font: 600 9px var(--font-ui); }
.product-window__bar i { color: var(--public-teal); font: 700 9px var(--font-ui); font-style: normal; }
.product-window__body { display: grid; grid-template-columns: 54px 1fr; min-height: 430px; }
.preview-sidebar { display: flex; align-items: center; flex-direction: column; gap: 21px; padding-top: 18px; background: var(--public-ink); }
.preview-logo { display: grid; width: 28px; height: 28px; place-items: center; margin-bottom: 8px; border-radius: 8px; color: #fff; background: var(--public-teal); font: 700 12px var(--font-ui); }
.preview-sidebar i { display: block; width: 17px; height: 17px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 5px; }
.preview-sidebar i.is-on { border-color: #72c2c3; background: rgba(104, 184, 189, .25); box-shadow: -18px 0 0 -6px #72c2c3; }
.preview-content { padding: 28px 26px; background: #f5f8f9; }
.preview-eyebrow { color: var(--public-teal); font: 700 9px var(--font-ui); letter-spacing: .09em; }
.preview-content h2 { max-width: 390px; margin: 6px 0 20px; font-size: 25px; }
.preview-actions { display: flex; flex-direction: column; gap: 8px; }
.preview-actions article { display: grid; grid-template-columns: 33px 1fr auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--ink-100); border-radius: 10px; background: white; box-shadow: var(--shadow-xs); }
.preview-actions article > b { color: var(--ink-400); }
.preview-priority { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; font: 700 13px var(--font-ui); }
.preview-priority.is-red { color: var(--red); background: var(--red-soft); }
.preview-priority.is-amber { color: var(--amber); background: var(--amber-soft); }
.preview-actions small, .preview-actions strong, .preview-actions p { display: block; margin: 0; }
.preview-actions small { color: var(--red); font: 700 8px var(--font-ui); text-transform: uppercase; }
.preview-actions article:nth-child(2) small { color: var(--amber); }
.preview-actions strong { color: var(--ink-800); font: 650 11px var(--font-ui); }
.preview-actions p { margin-top: 2px; color: var(--ink-400); font-size: 8px; }
.preview-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.preview-chart, .preview-assist { min-height: 108px; padding: 12px; border: 1px solid var(--ink-100); border-radius: 10px; background: white; }
.preview-chart > span { display: block; margin-bottom: 11px; color: var(--ink-800); font: 650 10px var(--font-ui); }
.preview-chart > div { overflow: hidden; height: 5px; margin-top: 9px; border-radius: 999px; background: var(--ink-100); }
.preview-chart > div i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--public-teal), #80c2b5); }
.preview-assist { display: grid; grid-template-columns: 35px 1fr; align-content: center; gap: 8px; }
.preview-assist strong, .preview-assist small { display: block; }
.preview-assist strong { align-self: end; font: 700 10px var(--font-ui); }
.preview-assist small { grid-column: 2; align-self: start; color: var(--ink-500); font-size: 8px; }

.source-ribbon { border-block: 1px solid rgba(185, 199, 209, .55); background: white; }
.source-ribbon__inner { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink-400); font: 650 11px var(--font-ui); }
.source-ribbon__status { display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.source-ribbon__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }

.campaign-carousel { position: relative; overflow: hidden; height: clamp(590px, 67vw, 760px); min-height: 590px; color: white; background: #081f32; }
.campaign-slide { position: absolute; inset: 0; display: grid; align-items: center; opacity: 0; visibility: hidden; transition: opacity 650ms ease, visibility 650ms; }
.campaign-slide::before { content: ""; position: absolute; inset: 0; background-image: var(--slide-image); background-position: center; background-size: cover; transform: scale(1.015); transition: transform 8s linear; }
.campaign-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 24, 39, .97) 0%, rgba(5, 24, 39, .87) 27%, rgba(5, 24, 39, .38) 54%, rgba(5, 24, 39, .07) 78%), linear-gradient(0deg, rgba(5, 24, 39, .52), transparent 45%); }
.campaign-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.campaign-slide.is-active::before { transform: scale(1.055); }
.campaign-slide__content { position: relative; z-index: 2; padding-bottom: 48px; }
.campaign-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; color: #8ed5d1; font: 700 11px var(--font-ui); letter-spacing: .12em; text-transform: uppercase; }
.campaign-tag::before { content: ""; width: 29px; height: 1px; background: currentColor; }
.campaign-slide h2 { max-width: 720px; margin-bottom: 20px; color: white; font-size: clamp(45px, 5.2vw, 70px); line-height: .98; letter-spacing: -.04em; }
.campaign-slide p { max-width: 570px; margin-bottom: 27px; color: #bdd0da; font-size: 17px; line-height: 1.65; }
.button--light { color: var(--public-ink); border-color: white; background: rgba(255, 255, 255, .95); }
.button--light:hover { background: white; }
.campaign-carousel__controls { position: absolute; z-index: 4; right: 0; bottom: 30px; left: 0; display: flex; align-items: center; gap: 10px; }
.carousel-arrow, .carousel-pause { min-height: 39px; border: 1px solid rgba(255, 255, 255, .24); color: white; background: rgba(8, 31, 50, .54); backdrop-filter: blur(8px); cursor: pointer; }
.carousel-arrow { width: 42px; border-radius: 9px; font-size: 17px; }
.carousel-arrow:hover, .carousel-pause:hover { border-color: rgba(255, 255, 255, .55); background: rgba(8, 31, 50, .78); }
.carousel-dots { display: flex; align-items: center; gap: 7px; margin: 0 4px; }
.carousel-dots button { width: 27px; height: 4px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .34); cursor: pointer; transition: width var(--transition), background var(--transition); }
.carousel-dots button.is-active { width: 48px; background: #83d1cd; }
.carousel-pause { display: inline-flex; align-items: center; gap: 7px; margin-left: 4px; padding: 0 12px; border-radius: 9px; font: 650 10px var(--font-ui); }

.public-section { padding: 105px 0; }
.public-section--soft { background: linear-gradient(145deg, #eff6f5, #f9fbfb); }
.public-section--ink { color: white; background: radial-gradient(circle at 80% 10%, rgba(78, 157, 161, .18), transparent 28%), linear-gradient(150deg, #12334a, #0c2336); }
.public-section-head { max-width: 750px; margin-bottom: 43px; }
.public-section-head h2 { margin-bottom: 15px; font-size: clamp(35px, 4vw, 51px); line-height: 1.04; }
.public-section-head p { margin: 0; font-size: 17px; line-height: 1.65; }
.public-section-head--light h2 { color: white; }
.public-section-head--light p { color: #abc0cb; }
.public-section-head--light .eyebrow { color: #77c8c4; }
.public-card { border: 1px solid rgba(185, 199, 209, .65); border-radius: 18px; background: white; box-shadow: var(--shadow-sm); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card { position: relative; overflow: hidden; min-height: 355px; padding: 28px; }
.benefit-card::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); }
.feature-number { position: absolute; top: 26px; right: 27px; color: var(--ink-200); font: 700 28px var(--font-ui); }
.feature-icon { display: grid; width: 47px; height: 47px; margin-bottom: 42px; place-items: center; border-radius: 13px; color: var(--public-teal); background: var(--accent-soft); }
.feature-icon svg, .process-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h3 { font-size: 23px; }
.benefit-card > p { max-width: 320px; margin-bottom: 27px; line-height: 1.65; }
.mini-timeline { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 24px; }
.mini-timeline::before { content: ""; position: absolute; right: 8px; left: 8px; height: 2px; background: var(--ink-100); }
.mini-timeline span, .mini-timeline i { position: relative; z-index: 1; display: block; width: 10px; height: 10px; border: 3px solid white; border-radius: 50%; background: var(--ink-300); box-shadow: 0 0 0 2px var(--ink-300); }
.mini-timeline i { width: 14px; height: 14px; background: var(--public-teal); box-shadow: 0 0 0 4px var(--accent-soft); }
.mini-task, .mini-evidence { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--ink-100); border-radius: 9px; background: var(--ink-50); }
.mini-task span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; color: var(--green); background: var(--green-soft); }
.mini-task i { width: 55%; height: 7px; border-radius: 99px; background: var(--ink-200); }
.mini-task b { margin-left: auto; color: var(--ink-500); font: 650 10px var(--font-ui); }
.mini-evidence i { padding: 7px; border-radius: 6px; color: var(--red); background: var(--red-soft); font: 700 9px var(--font-ui); font-style: normal; }
.mini-evidence span { flex: 1; }
.mini-evidence b, .mini-evidence small { display: block; }
.mini-evidence b { font: 650 10px var(--font-ui); }
.mini-evidence small { color: var(--ink-500); font-size: 8px; }
.mini-evidence em { color: var(--green); font-style: normal; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 17px; background: rgba(255, 255, 255, .1); }
.process-grid article { position: relative; min-height: 280px; padding: 31px 27px; background: rgba(255, 255, 255, .035); }
.process-grid article > b { position: absolute; top: 24px; right: 25px; color: rgba(255, 255, 255, .18); font: 700 25px var(--font-ui); }
.process-icon { display: grid; width: 48px; height: 48px; margin-bottom: 57px; place-items: center; border-radius: 13px; color: #86d1cc; background: rgba(111, 203, 198, .12); }
.process-grid h3 { color: white; font-size: 22px; }
.process-grid p { color: #9fb7c4; line-height: 1.65; }

.professional-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.professional-grid h2, .trust-grid h2 { font-size: clamp(36px, 4vw, 51px); line-height: 1.05; }
.lead { margin-bottom: 27px; font-size: 17px; line-height: 1.65; }
.role-selector { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.role-selector button { padding: 8px 12px; border: 1px solid var(--ink-200); border-radius: 999px; color: var(--ink-600); background: white; cursor: pointer; font: 650 12px var(--font-ui); }
.role-selector button.is-active { color: var(--public-teal); border-color: rgba(23, 109, 120, .28); background: var(--accent-soft); }
.role-copy { min-height: 100px; padding: 17px; border-left: 3px solid var(--public-teal); background: var(--accent-mist); }
.role-copy strong { display: block; margin-bottom: 5px; font: 680 15px var(--font-ui); }
.role-copy p { margin: 0; line-height: 1.6; }
.matrix-showcase { overflow: hidden; border: 1px solid var(--ink-200); border-radius: 17px; background: white; box-shadow: 0 28px 68px rgba(12, 45, 62, .13); }
.matrix-showcase header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--ink-100); }
.matrix-showcase header small, .matrix-showcase header strong { display: block; }
.matrix-showcase header small { color: var(--ink-500); }
.matrix-showcase header strong { font: 700 17px var(--font-ui); }
.matrix-showcase__head, .matrix-showcase__row { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); align-items: center; gap: 8px; padding: 13px 20px; }
.matrix-showcase__head { color: var(--ink-500); background: var(--ink-50); font: 700 10px var(--font-ui); text-transform: uppercase; }
.matrix-showcase__row { min-height: 61px; border-top: 1px solid var(--ink-100); }
.matrix-showcase__row strong { font: 650 13px var(--font-ui); }
.matrix-showcase__row i { display: inline-flex; max-width: max-content; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 7px; font: 650 10px var(--font-ui); font-style: normal; }
.matrix-showcase__row i.ok { color: var(--green); background: var(--green-soft); }
.matrix-showcase__row i.warn { color: var(--amber); background: var(--amber-soft); }
.matrix-showcase__row i.danger { color: var(--red); background: var(--red-soft); }
.matrix-showcase footer { padding: 12px 20px; color: var(--ink-500); background: var(--ink-50); font-size: 10px; }

.trust-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 85px; }
.trust-copy > p { font-size: 17px; line-height: 1.65; }
.trust-copy ul { padding: 0; margin: 26px 0; list-style: none; }
.trust-copy li { display: flex; align-items: center; gap: 9px; margin: 11px 0; color: var(--ink-700); }
.trust-copy li > span:first-child { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 10px; }
.explain-card { overflow: hidden; max-width: 570px; border: 1px solid var(--ink-200); border-radius: 19px; background: white; box-shadow: 0 28px 70px rgba(12, 45, 62, .15); }
.explain-card > header { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--ink-100); }
.explain-card > header strong, .explain-card > header small { display: block; }
.explain-card > header strong { font: 700 14px var(--font-ui); }
.explain-card > header small { color: var(--ink-500); font-size: 10px; }
.explain-context { display: flex; align-items: center; gap: 7px; padding: 9px 18px; color: var(--ink-600); background: var(--accent-mist); font-size: 10px; }
.explain-context i { width: 6px; height: 6px; border-radius: 50%; background: var(--public-teal); }
.explain-message { margin: 18px; padding: 16px; border-radius: 12px 12px 12px 3px; background: var(--ink-50); }
.explain-message > span { display: block; margin-bottom: 8px; color: var(--green); font: 700 9px var(--font-ui); text-transform: uppercase; }
.explain-message > strong { display: block; margin-bottom: 6px; font: 680 14px var(--font-ui); }
.explain-message > p { font-size: 12px; line-height: 1.6; }
.explain-message > div { display: flex; gap: 6px; }
.explain-message button { padding: 6px 8px; border: 1px solid var(--ink-200); border-radius: 6px; color: var(--public-teal); background: white; cursor: pointer; font: 650 10px var(--font-ui); }
.explain-message > small { display: block; margin-top: 11px; padding-top: 9px; border-top: 1px solid var(--ink-200); color: var(--ink-500); font-size: 9px; }
.explain-prompts { display: flex; gap: 7px; padding: 0 18px 18px; }
.explain-prompts span { padding: 6px 9px; border: 1px solid var(--ink-200); border-radius: 999px; color: var(--ink-600); font-size: 10px; }

.public-cta { padding: 25px 0 85px; background: var(--public-paper); }
.public-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 48px 53px; border-radius: 22px; color: white; background: radial-gradient(circle at 90% 0, rgba(91, 185, 185, .29), transparent 35%), linear-gradient(135deg, #12354d, #0b2538); box-shadow: var(--shadow-md); }
.public-cta h2 { max-width: 760px; margin-bottom: 10px; color: white; font-size: clamp(32px, 4vw, 47px); }
.public-cta p { max-width: 720px; margin: 0; color: #adc0ca; font-size: 16px; }
.public-cta .eyebrow { color: #7ed0cb; }
.public-cta .button { flex: 0 0 auto; border-color: #78c9c5; background: #68b8b7; }

.public-footer { padding: 64px 0 24px; color: #9fb1bd; background: #0b2234; }
.public-footer__grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 52px; }
.public-footer .public-brand .brand-copy strong { color: white; }
.public-footer .public-brand .brand-mark svg { stroke: #84d0cc; }
.public-footer__grid > div:first-child p { max-width: 310px; margin-top: 18px; color: #8298a6; }
.public-footer__grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.public-footer__grid strong { margin-bottom: 6px; color: white; font: 700 12px var(--font-ui); }
.public-footer a, .footer-link { padding: 0; border: 0; color: #9fb1bd; background: none; cursor: pointer; text-decoration: none; text-align: left; font-size: 12px; }
.public-footer a:hover, .footer-link:hover { color: white; }
.public-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 46px; padding-top: 21px; border-top: 1px solid rgba(255, 255, 255, .1); color: #738895; font-size: 10px; }
.public-footer--compact { padding: 0 0 22px; }
.public-footer--compact .public-footer__bottom { flex-wrap: wrap; margin-top: 0; }

.document-main { min-height: calc(100vh - 150px); padding: 61px 0 100px; background: linear-gradient(135deg, #f7faf9, #fff); }
.document-layout { display: grid; grid-template-columns: 235px minmax(0, 820px); justify-content: center; gap: 72px; }
.document-index { position: sticky; top: calc(var(--public-header-height) + 24px); align-self: start; }
.back-link { display: inline-flex; margin-bottom: 35px; color: var(--public-teal); text-decoration: none; font: 650 12px var(--font-ui); }
.document-index__label { display: block; margin-bottom: 9px; color: var(--ink-500); font: 700 10px var(--font-ui); letter-spacing: .08em; text-transform: uppercase; }
.document-index nav { display: flex; flex-direction: column; }
.document-index nav a { padding: 9px 11px; border-left: 2px solid var(--ink-200); color: var(--ink-600); text-decoration: none; font: 630 12px var(--font-ui); }
.document-index nav a[aria-current="page"] { color: var(--public-teal); border-left-color: var(--public-teal); background: var(--accent-mist); }
.document-help { margin-top: 28px; padding: 15px; border: 1px solid var(--ink-200); border-radius: 11px; background: white; }
.document-help strong { font: 680 12px var(--font-ui); }
.document-help p { margin: 5px 0 7px; font-size: 11px; }
.document-help a { color: var(--public-teal); font-size: 11px; }
.legal-document { min-width: 0; }
.legal-document__head { margin-bottom: 37px; padding-bottom: 27px; border-bottom: 1px solid var(--ink-200); }
.legal-document__head h1 { max-width: 760px; margin: 12px 0 13px; font-size: clamp(38px, 5vw, 56px); }
.legal-document__head > p { max-width: 730px; font-size: 16px; line-height: 1.7; }
.draft-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; color: var(--amber); background: var(--amber-soft); font: 700 10px var(--font-ui); text-transform: uppercase; letter-spacing: .05em; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 19px; color: var(--ink-500); font-size: 11px; }
.legal-meta span { display: inline-flex; align-items: center; gap: 6px; }
.legal-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--public-teal); }
.legal-section { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 29px 0; border-bottom: 1px solid var(--ink-100); }
.legal-section__number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: var(--public-teal); background: var(--accent-soft); font: 700 11px var(--font-ui); }
.legal-section h2 { margin-bottom: 12px; font-size: 25px; }
.legal-section h3 { margin: 23px 0 8px; font-size: 17px; }
.legal-section p, .legal-section li { color: var(--ink-600); font-size: 14px; line-height: 1.75; }
.legal-section ul { padding-left: 20px; }
.legal-section a { color: var(--public-teal); }
.identity-grid { overflow: hidden; margin: 18px 0; border: 1px solid var(--ink-200); border-radius: 11px; background: white; }
.identity-grid > div { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 12px 15px; border-bottom: 1px solid var(--ink-100); }
.identity-grid > div:last-child { border-bottom: 0; }
.identity-grid small { color: var(--ink-500); font: 700 10px var(--font-ui); text-transform: uppercase; letter-spacing: .05em; }
.identity-grid strong { font: 650 13px var(--font-ui); }
.legal-callout { margin: 22px 0; padding: 16px 18px; border-left: 3px solid var(--amber); background: var(--amber-soft); }
.legal-callout strong { display: block; margin-bottom: 4px; font: 680 13px var(--font-ui); }
.legal-callout p { margin: 0; color: #7e5b2a; font-size: 12px; }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 25px; margin-top: 28px; }
.contact-details, .contact-form { padding: 22px; border: 1px solid var(--ink-200); border-radius: 13px; background: white; box-shadow: var(--shadow-xs); }
.contact-details h2, .contact-form h2 { font-size: 21px; }
.contact-details dl { margin: 20px 0 0; }
.contact-details dt { margin-top: 14px; color: var(--ink-500); font: 700 9px var(--font-ui); text-transform: uppercase; }
.contact-details dd { margin: 3px 0 0; color: var(--ink-800); font: 630 13px var(--font-ui); }
.contact-form label { display: block; margin: 13px 0 5px; color: var(--ink-700); font: 650 11px var(--font-ui); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 10px 11px; border: 1px solid var(--ink-200); border-radius: 8px; color: var(--ink-900); background: white; }
.contact-form textarea { resize: vertical; min-height: 105px; }
.contact-form .button { margin-top: 15px; }

.login-body { min-height: 100vh; background: linear-gradient(120deg, #edf5f4, #fbfcfc 53%, white); }
.login-header { display: flex; min-height: 76px; align-items: center; justify-content: space-between; }
.login-main { display: grid; min-height: calc(100vh - var(--public-header-height)); place-items: center; padding: 50px 22px 70px; }
.login-layout { display: grid; grid-template-columns: minmax(450px, 1fr) minmax(410px, 500px); width: min(1110px, 100%); gap: 90px; align-items: center; }
.login-story h1 { margin: 24px 0 18px; font-size: clamp(46px, 5vw, 69px); line-height: .98; }
.login-story > div:first-child > p { max-width: 580px; font-size: 17px; line-height: 1.65; }
.tenant-diagram { max-width: 590px; margin-top: 42px; }
.tenant-root { display: flex; justify-content: center; }
.tenant-root span { padding: 8px 13px; border-radius: 9px; color: white; background: var(--public-ink); font: 700 11px var(--font-ui); letter-spacing: .05em; }
.tenant-lines { width: 66%; height: 29px; margin: 0 auto; border: solid var(--ink-300); border-width: 0 1px 1px; }
.tenant-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.tenant-cards article { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 10px; border: 1px solid var(--ink-200); border-radius: 10px; background: rgba(255, 255, 255, .84); box-shadow: var(--shadow-xs); }
.tenant-cards article > i, .workspace-picker label > i { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border-radius: 8px; color: var(--public-teal); background: var(--accent-soft); font: 700 10px var(--font-ui); font-style: normal; }
.tenant-cards strong, .tenant-cards small { display: block; }
.tenant-cards strong { font: 650 11px var(--font-ui); }
.tenant-cards small { color: var(--ink-500); font-size: 8px; }
.tenant-cards article.is-muted { opacity: .62; }
.login-trust { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 27px; color: var(--ink-600); font-size: 10px; }
.login-trust > span { display: inline-flex; gap: 5px; }
.login-trust > span::first-letter { color: var(--green); }
.login-panel { width: 100%; }
.login-card { padding: 36px; border: 1px solid rgba(185, 199, 209, .75); border-radius: 19px; background: white; box-shadow: 0 26px 75px rgba(12, 45, 62, .15); }
.login-card h2 { margin-bottom: 7px; font-size: 31px; }
.login-card h2 + p { margin-bottom: 24px; }
.sso-button { display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ink-200); border-radius: 9px; background: white; cursor: pointer; font: 650 13px var(--font-ui); }
.sso-button:hover { background: var(--ink-50); }
.sso-button svg { width: 18px; }
.login-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--ink-400); font-size: 10px; }
.login-divider::before, .login-divider::after { content: ""; height: 1px; flex: 1; background: var(--ink-100); }
.login-card form > label { display: block; margin: 13px 0 5px; color: var(--ink-700); font: 650 11px var(--font-ui); }
.login-card input[type="email"], .login-card input[type="password"], .login-card input[type="text"] { width: 100%; height: 44px; padding: 9px 11px; border: 1px solid var(--ink-200); border-radius: 8px; color: var(--ink-900); background: white; }
.password-field { position: relative; }
.password-field input { padding-right: 42px !important; }
.password-field button { position: absolute; top: 5px; right: 5px; width: 34px; height: 34px; border: 0; border-radius: 7px; color: var(--ink-500); background: transparent; cursor: pointer; }
.login-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 19px; }
.login-options label { display: flex; align-items: center; gap: 6px; color: var(--ink-600); font-size: 10px; }
.login-options .text-button { font-size: 10px; }
.login-note { display: flex; align-items: flex-start; gap: 7px; margin: 17px 0 0; color: var(--ink-500); font-size: 10px; }
.login-note > span:first-child { color: var(--public-teal); }
.login-legal { max-width: 420px; margin: 15px auto 0; color: var(--ink-500); font-size: 9px; text-align: center; }
.login-legal a { color: var(--public-teal); }
.back-login { margin-bottom: 24px; padding: 0; border: 0; color: var(--public-teal); background: none; cursor: pointer; font: 650 11px var(--font-ui); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sso-group { display: grid; gap: 8px; }
.otp-apps { display: flex; align-items: center; gap: 7px; margin: 0 0 20px; color: var(--ink-600); font-size: 10px; }
.otp-apps > span:first-child { flex: 0 0 auto; }
/* input.otp-input, non .otp-input: la regola generica .login-card input[type="text"]
   ha specificita' maggiore e vincerebbe sull'altezza del campo. */
.login-card input.otp-input { width: 100%; height: 54px; padding: 9px 14px; border: 1px solid var(--ink-200); border-radius: 8px; color: var(--ink-900); background: white; font: 700 22px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .3em; text-indent: .3em; text-align: center; }
.login-card .otp-input.is-recovery { font-size: 16px; letter-spacing: .12em; text-indent: .12em; text-transform: uppercase; }
.login-card .otp-input[aria-invalid="true"] { border-color: var(--red); background: var(--red-soft); }
.otp-hint { margin: 7px 0 0; color: var(--ink-500); font-size: 10px; }
.otp-error { margin: 0; color: var(--red); font: 650 10px var(--font-ui); }
.otp-error > span { display: block; margin-top: 7px; }
.login-options--stack { justify-content: flex-start; }
.otp-switch { display: block; margin: 15px auto 0; }
.workspace-picker { display: flex; flex-direction: column; gap: 8px; margin: 22px 0 18px; }
.workspace-picker label { display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--ink-200); border-radius: 10px; cursor: pointer; }
.workspace-picker label.is-selected { border-color: var(--public-teal); background: var(--accent-mist); box-shadow: 0 0 0 2px var(--accent-soft); }
.workspace-picker input { position: absolute; opacity: 0; }
.workspace-picker strong, .workspace-picker small { display: block; }
.workspace-picker strong { font: 680 13px var(--font-ui); }
.workspace-picker small { color: var(--ink-500); font-size: 10px; }
.workspace-picker em { display: none; color: var(--green); font-style: normal; }
.workspace-picker label.is-selected em { display: block; }
.login-footer { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 28px; color: var(--ink-500); font-size: 9px; }
.login-footer > span:last-child { display: flex; gap: 15px; }
.login-footer a, .login-footer button { color: var(--ink-600); text-decoration: none; font-size: 9px; }

.cookie-banner { position: fixed; z-index: 300; right: 18px; bottom: 18px; left: 18px; display: grid; grid-template-columns: 42px 1fr auto; max-width: 1100px; align-items: center; gap: 14px; margin-inline: auto; padding: 16px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 15px; color: white; background: rgba(10, 34, 52, .97); box-shadow: 0 22px 70px rgba(5, 21, 33, .32); backdrop-filter: blur(15px); }
.cookie-banner__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #9ed7d3; background: rgba(115, 200, 195, .12); font-size: 19px; }
.cookie-banner strong { display: block; margin-bottom: 3px; font: 700 14px var(--font-ui); }
.cookie-banner p { margin: 0; color: #b3c3cc; font-size: 11px; }
.cookie-banner p a { color: #9ed7d3; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.cookie-banner .button { min-height: 36px; padding: 7px 10px; border-color: rgba(255, 255, 255, .15); color: white; background: rgba(255, 255, 255, .05); box-shadow: none; font-size: 11px; }
.cookie-banner .button--primary { border-color: #68b8b7; background: #4da2a3; }
.cookie-modal-backdrop { position: fixed; inset: 0; z-index: 310; background: rgba(7, 25, 40, .46); backdrop-filter: blur(3px); }
.cookie-modal { position: fixed; z-index: 311; top: 50%; left: 50%; width: min(540px, calc(100vw - 28px)); max-height: calc(100vh - 40px); overflow-y: auto; padding: 25px; transform: translate(-50%, -50%); border-radius: 18px; background: white; box-shadow: var(--shadow-md); }
.cookie-modal header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.cookie-modal h2 { margin: 0; font-size: 25px; }
.cookie-modal__intro { margin-bottom: 18px; font-size: 12px; line-height: 1.6; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-top: 1px solid var(--ink-100); }
.cookie-option strong, .cookie-option small { display: block; }
.cookie-option strong { font: 680 13px var(--font-ui); }
.cookie-option small { margin-top: 3px; color: var(--ink-500); font-size: 10px; }
.cookie-option > span:last-child { flex: 0 0 auto; color: var(--green); font: 700 10px var(--font-ui); text-transform: uppercase; }
.cookie-option input { width: 39px; height: 21px; accent-color: var(--public-teal); }
.cookie-modal__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.public-toast { position: fixed; z-index: 400; left: 50%; bottom: 22px; padding: 10px 14px; border-radius: 9px; color: white; background: var(--ink-950); box-shadow: var(--shadow-md); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: var(--transition); }
.public-toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1120px) {
  .public-header__inner { gap: 13px; }
  .public-nav--global { gap: 16px; }
  .public-nav--global > a { font-size: 12px; }
  .hero-public-grid { grid-template-columns: .9fr 1.1fr; gap: 35px; }
  .public-hero { min-height: auto; }
  .professional-grid, .trust-grid { gap: 45px; }
  .login-layout { gap: 50px; }
}

@media (max-width: 950px) {
  :root { --public-header-height: 74px; }
  .public-header__inner { flex-wrap: wrap; }
  .public-menu-button { display: block; order: 3; }
  .public-header__actions { margin-left: auto; }
  .public-nav--global { display: none; order: 4; width: 100%; align-items: stretch; flex: 0 0 100%; flex-direction: column; gap: 0; margin: 0; padding: 7px 0 13px; border-top: 1px solid var(--ink-100); }
  .public-header.is-open .public-nav--global { display: flex; }
  .public-nav--global > a { padding: 10px 2px; }
  .public-nav--global > a::after { display: none; }
  .public-nav-mobile-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 10px; border-top: 1px solid var(--ink-100); }
  .public-nav-mobile-actions > a { text-decoration: none; }
  .public-subnav-row { display: none; background: white; }
  .public-header.is-open .public-subnav-row { display: block; }
  .public-subnav-inner { align-items: flex-start; flex-direction: column; gap: 3px; padding-top: 11px; padding-bottom: 14px; }
  .public-subnav { width: 100%; flex-wrap: wrap; gap: 8px 20px; }
  .public-subnav a { padding: 7px 0; }
  .header-demo { display: none; }
  .hero-public-grid { grid-template-columns: 1fr; }
  .hero-public-copy { max-width: 720px; }
  .product-window { max-width: 760px; transform: none; }
  .source-ribbon__inner { flex-wrap: wrap; justify-content: flex-start; padding-block: 17px; }
  .source-ribbon__inner span { margin-right: 20px; }
  .campaign-carousel { height: 660px; }
  .campaign-slide::after { background: linear-gradient(90deg, rgba(5, 24, 39, .94), rgba(5, 24, 39, .6) 60%, rgba(5, 24, 39, .2)); }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid article:last-child { grid-column: span 2; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .professional-grid, .trust-grid { grid-template-columns: 1fr; }
  .explain-card { max-width: none; }
  .document-layout { grid-template-columns: 1fr; gap: 30px; }
  .document-index { position: static; }
  .document-index nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .document-index nav a { border: 1px solid var(--ink-200); border-radius: 999px; }
  .document-help { display: none; }
  .login-layout { grid-template-columns: 1fr; max-width: 580px; }
  .login-story { display: none; }
}

@media (max-width: 680px) {
  :root { --public-header-height: 65px; }
  .public-container { width: calc(100% - 28px); max-width: calc(100% - 28px); }
  .public-header__inner { width: calc(100vw - 28px); max-width: calc(100vw - 28px); min-height: 65px; gap: 6px; }
  .public-header .brand-copy { letter-spacing: .08em; }
  .public-menu-button { order: 2; margin-left: auto; }
  .public-header .public-header__actions { display: none; }
  .public-header .language-switch button { min-width: 30px; padding-inline: 5px; }
  .public-header__actions .button { display: none; }
  .public-hero { padding: 55px 0; }
  .hero-public-grid { display: block; width: calc(100vw - 28px); max-width: calc(100vw - 28px); }
  .hero-public-copy, .hero-public-copy > p { width: calc(100vw - 28px); max-width: calc(100vw - 28px); overflow-wrap: anywhere; }
  .hero-public-copy h1 { font-size: 48px; }
  .public-kicker { max-width: 100%; padding-inline: 8px; white-space: normal; line-height: 1.35; }
  .hero-public-copy > p { font-size: 16px; }
  .hero-public-actions { align-items: stretch; flex-direction: column; }
  .hero-public-actions .button { width: 100%; }
  .hero-proof > span { min-width: 50%; margin-top: 14px; padding-inline: 15px; }
  .hero-proof > span:nth-child(3) { padding-left: 0; border-left: 0; }
  .product-window { width: calc(100vw - 28px); max-width: calc(100vw - 28px); margin-top: 34px; }
  .product-window__body { grid-template-columns: 39px minmax(0, 1fr); }
  .preview-sidebar { gap: 15px; }
  .preview-sidebar i { width: 14px; height: 14px; }
  .preview-content { padding: 20px 13px; }
  .preview-content h2 { font-size: 20px; }
  .preview-bottom { grid-template-columns: 1fr; }
  .preview-assist { display: none; }
  .public-section { padding: 70px 0; }
  .campaign-carousel { height: 620px; min-height: 620px; }
  .campaign-slide::before { background-position: 62% center; }
  .campaign-slide::after { background: linear-gradient(90deg, rgba(5, 24, 39, .97), rgba(5, 24, 39, .72)), linear-gradient(0deg, rgba(5, 24, 39, .55), transparent); }
  .campaign-slide h2 { font-size: 45px; }
  .campaign-slide p { max-width: 92%; font-size: 15px; }
  .campaign-carousel__controls { bottom: 20px; }
  .carousel-pause > span:last-child { display: none; }
  .benefit-grid, .process-grid { grid-template-columns: 1fr; }
  .benefit-grid article:last-child { grid-column: auto; }
  .professional-grid, .trust-grid { gap: 35px; }
  .matrix-showcase__head, .matrix-showcase__row { grid-template-columns: 1.2fr repeat(3, .75fr); padding-inline: 12px; }
  .matrix-showcase__row i small { display: none; }
  .public-cta__inner { display: block; padding: 32px 25px; }
  .public-cta .button { margin-top: 23px; }
  .public-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .public-footer__grid > div:first-child { grid-column: span 2; }
  .public-footer__bottom { align-items: flex-start; flex-direction: column; }
  .document-main { padding-top: 35px; }
  .document-index__label, .document-index > nav { display: none; }
  .legal-section { grid-template-columns: 30px 1fr; gap: 11px; }
  .identity-grid > div { grid-template-columns: 1fr; gap: 3px; }
  .contact-layout { grid-template-columns: 1fr; }
  .login-header { width: calc(100% - 28px); }
  .login-header .text-link { display: none; }
  .login-main { padding-inline: 14px; }
  .login-card { padding: 26px 20px; }
  .login-footer { align-items: flex-start; flex-direction: column; padding-block: 15px; }
  .cookie-banner { right: auto; left: 10px; width: calc(100vw - 20px); max-width: calc(100vw - 20px); grid-template-columns: 36px minmax(0, 1fr); }
  .cookie-banner__icon { width: 36px; height: 36px; }
  .cookie-banner__actions { display: grid; width: 100%; min-width: 0; grid-column: 1 / -1; grid-template-columns: 1fr; justify-content: stretch; }
  .cookie-banner__actions .button { min-width: 0; white-space: normal; }
  .cookie-banner__actions .button:last-child { grid-column: auto; }
  .cookie-modal__actions { flex-direction: column; }
  .cookie-modal__actions .button { width: 100%; }
}
