:root {
  --ink: #0d1d1c;
  --ink-2: #17312f;
  --ink-3: #23433f;
  --mint: #c9ff7a;
  --mint-2: #a9ec67;
  --aqua: #86e9d6;
  --paper: #f5f4ee;
  --paper-2: #ebeae2;
  --white: #ffffff;
  --text: #18302e;
  --muted: #61716e;
  --line: rgba(13, 29, 28, .13);
  --shadow: 0 24px 70px rgba(13, 29, 28, .13);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --container: 1220px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 28px); }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 9999; background: var(--mint); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }

.topbar { background: var(--ink); color: rgba(255,255,255,.76); font-size: 13px; }
.topbar .container { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar a:hover { color: var(--mint); }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(245,244,238,.91);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(13,29,28,.08);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--mint); border-radius: 999px; }
.brand-mark::before { width: 22px; height: 8px; left: 10px; top: 11px; transform: rotate(-18deg); }
.brand-mark::after { width: 15px; height: 8px; left: 16px; top: 24px; transform: rotate(-18deg); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 16px; letter-spacing: -.02em; }
.brand-copy span { font-size: 12px; color: var(--muted); margin-top: 5px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link, .nav-dropdown > button { border: 0; background: none; color: var(--ink); font-weight: 700; font-size: 14px; padding: 12px 11px; border-radius: 10px; white-space: nowrap; }
.nav-link:hover, .nav-dropdown > button:hover, .nav-link.active { background: rgba(13,29,28,.06); }
.nav-dropdown { position: relative; }
.nav-dropdown > button { display: flex; align-items: center; gap: 6px; }
.chevron { width: 14px; transition: transform .2s ease; }
.nav-dropdown:hover .chevron, .nav-dropdown.open .chevron { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: -12px;
  width: 580px; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .18s ease;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 13px; border-radius: 13px; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.dropdown-menu a:hover { background: var(--paper); }
.menu-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.menu-icon svg { width: 18px; height: 18px; }
.dropdown-menu strong { display: block; font-size: 14px; }
.dropdown-menu span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

.nav-actions { display: flex; align-items: center; gap: 9px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 19px; border-radius: 13px; border: 1px solid transparent; font-weight: 800; font-size: 14px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--mint); color: var(--ink); box-shadow: 0 12px 26px rgba(169,236,103,.2); }
.btn-primary:hover { background: var(--mint-2); box-shadow: 0 16px 30px rgba(169,236,103,.28); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.45); color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn svg { width: 17px; height: 17px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--ink); color: white; border-radius: 12px; }
.menu-toggle svg { width: 22px; }

.hero { position: relative; overflow: hidden; padding: 82px 0 72px; background: var(--ink); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom, #000, transparent 82%); }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; right: -290px; top: -260px; background: radial-gradient(circle, rgba(134,233,214,.22), rgba(134,233,214,0) 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: var(--mint); padding: 8px 12px; border-radius: 999px; }
.eyebrow-dot { width: 7px; height: 7px; background: var(--ink); border-radius: 50%; box-shadow: 0 0 0 5px rgba(13,29,28,.09); }
.hero h1 { max-width: 820px; margin: 25px 0 24px; font-size: clamp(46px, 6vw, 82px); line-height: .98; letter-spacing: -.058em; }
.hero h1 span { color: var(--mint); }
.hero-copy { max-width: 700px; font-size: 19px; color: rgba(255,255,255,.76); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions .btn-ghost { color: white; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.hero-checks { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 20px; color: rgba(255,255,255,.75); font-size: 14px; }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.check { width: 19px; height: 19px; border-radius: 50%; background: rgba(201,255,122,.13); color: var(--mint); display: grid; place-items: center; }
.check svg { width: 12px; }

.hero-visual { position: relative; min-height: 520px; }
.dashboard { position: absolute; inset: 20px 0 0 38px; background: var(--paper); color: var(--text); border-radius: 32px; padding: 24px; box-shadow: 0 45px 100px rgba(0,0,0,.35); transform: rotate(1.4deg); }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.dashboard-title { display: flex; align-items: center; gap: 12px; }
.avatar-logo { width: 42px; height: 42px; border-radius: 13px; background: var(--ink); display: grid; place-items: center; color: var(--mint); font-weight: 900; }
.dashboard-title strong { display: block; }
.dashboard-title span { display: block; font-size: 12px; color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 10px; font-size: 11px; font-weight: 800; background: #e7f8dd; color: #2e6633; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #4aa451; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.metric { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 17px; }
.metric-label { color: var(--muted); font-size: 12px; }
.metric-value { font-size: 25px; font-weight: 900; letter-spacing: -.04em; margin-top: 6px; }
.metric-trend { margin-top: 8px; font-size: 11px; color: #447a46; }
.chart { height: 122px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; margin-top: 12px; padding: 14px; position: relative; overflow: hidden; }
.chart-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.chart-bars { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 72px; display: flex; align-items: end; gap: 7px; }
.chart-bars span { flex: 1; background: var(--aqua); border-radius: 5px 5px 2px 2px; min-height: 12px; opacity: .9; }
.chart-bars span:nth-child(3n+1) { background: var(--mint); }
.portal-card { position: absolute; z-index: 3; left: -10px; bottom: 4px; width: 238px; padding: 17px; background: var(--mint); color: var(--ink); border-radius: 19px; box-shadow: 0 20px 50px rgba(0,0,0,.25); transform: rotate(-4deg); }
.portal-card strong { display: block; font-size: 15px; }
.portal-card span { display: block; font-size: 12px; margin-top: 5px; opacity: .72; }
.portal-icons { display: flex; gap: 7px; margin-top: 14px; }
.portal-icons i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(13,29,28,.1); }
.portal-icons svg { width: 17px; }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { min-height: 118px; padding: 25px 27px; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.trust-item:last-child { border-right: 0; }
.trust-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; background: var(--paper); display: grid; place-items: center; color: var(--ink); }
.trust-icon svg { width: 21px; }
.trust-item strong { display: block; font-size: 15px; }
.trust-item span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }

.section { padding: 112px 0; }
.section-tight { padding: 80px 0; }
.section-dark { background: var(--ink); color: white; }
.section-white { background: var(--white); }
.section-mint { background: var(--mint); }
.section-head { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: end; margin-bottom: 52px; }
.kicker { font-weight: 900; text-transform: uppercase; letter-spacing: .085em; font-size: 12px; color: #397063; }
.section-dark .kicker { color: var(--mint); }
h2 { margin: 10px 0 0; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.03; letter-spacing: -.05em; }
.section-intro { max-width: 650px; margin: 0; font-size: 18px; color: var(--muted); }
.section-dark .section-intro { color: rgba(255,255,255,.68); }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.service-card { min-height: 330px; position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 25px; padding: 25px; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 24px 50px rgba(13,29,28,.11); }
.service-card.featured { background: var(--ink); color: white; }
.service-card.featured .service-text { color: rgba(255,255,255,.67); }
.service-number { font-size: 12px; color: var(--muted); font-weight: 800; }
.featured .service-number { color: var(--mint); }
.service-icon { width: 52px; height: 52px; margin-top: 24px; border-radius: 15px; display: grid; place-items: center; background: var(--paper); }
.featured .service-icon { background: rgba(201,255,122,.13); color: var(--mint); }
.service-icon svg { width: 25px; }
.service-card h3 { font-size: 21px; line-height: 1.15; letter-spacing: -.025em; margin: 22px 0 10px; }
.service-text { color: var(--muted); font-size: 14px; margin: 0; }
.service-link { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 900; }
.service-link svg { width: 15px; transition: transform .18s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

.detail-stack { display: grid; gap: 14px; }
.detail-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.detail-button { width: 100%; display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; text-align: left; border: 0; background: transparent; padding: 22px 24px; color: var(--ink); }
.detail-index { font-weight: 900; color: var(--muted); }
.detail-title strong { display: block; font-size: 20px; }
.detail-title span { display: block; color: var(--muted); margin-top: 3px; }
.detail-toggle { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; }
.detail-toggle svg { width: 18px; transition: transform .2s ease; }
.detail-card.open .detail-toggle svg { transform: rotate(45deg); }
.detail-content { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.detail-content-inner { padding: 0 24px 26px 114px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 44px; }
.detail-content ul { padding: 0; margin: 0; list-style: none; }
.detail-content li { padding: 8px 0 8px 24px; position: relative; color: var(--muted); }
.detail-content li::before { content: ""; position: absolute; left: 0; top: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--mint-2); }

.portal-section { position: relative; overflow: hidden; }
.portal-section::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -250px; bottom: -280px; background: radial-gradient(circle, rgba(201,255,122,.2), transparent 65%); }
.portal-layout { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.portal-copy h2 { margin-bottom: 22px; }
.portal-copy p { color: rgba(255,255,255,.7); font-size: 18px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 30px 0 34px; }
.feature { border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.045); border-radius: 16px; padding: 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.feature svg { width: 18px; color: var(--mint); }
.portal-ui { background: var(--paper); border-radius: 31px; padding: 22px; color: var(--text); box-shadow: 0 36px 90px rgba(0,0,0,.32); }
.portal-ui-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.portal-user { display: flex; align-items: center; gap: 11px; }
.user-circle { width: 39px; height: 39px; border-radius: 12px; background: var(--ink); color: var(--mint); display: grid; place-items: center; font-weight: 900; }
.portal-user strong { display: block; font-size: 14px; }
.portal-user span { display: block; font-size: 11px; color: var(--muted); }
.portal-ui-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.quick-card { background: white; border: 1px solid var(--line); border-radius: 15px; padding: 15px; }
.quick-card svg { width: 21px; }
.quick-card strong { display: block; margin-top: 18px; font-size: 13px; }
.quick-card span { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.doc-list { margin-top: 10px; background: white; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.doc-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc-row:last-child { border-bottom: 0; }
.doc-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; }
.doc-icon svg { width: 17px; }
.doc-row strong { display: block; font-size: 12px; }
.doc-row span { display: block; font-size: 10px; color: var(--muted); }
.doc-status { font-size: 10px; font-weight: 800; background: #eef9e8; color: #48764a; padding: 5px 7px; border-radius: 999px; }

.industry-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.industry-card { min-height: 225px; background: var(--white); border: 1px solid var(--line); border-radius: 23px; padding: 24px; position: relative; overflow: hidden; }
.industry-card::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: -30px; bottom: -35px; background: var(--paper-2); transition: transform .25s ease; }
.industry-card:hover::after { transform: scale(1.6); }
.industry-card h3, .industry-card p, .industry-card .industry-icon { position: relative; z-index: 2; }
.industry-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: var(--mint); }
.industry-icon svg { width: 21px; }
.industry-card h3 { font-size: 18px; margin: 28px 0 7px; }
.industry-card p { font-size: 13px; color: var(--muted); margin: 0; max-width: 90%; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; counter-reset: step; }
.process-step { padding: 28px 28px 30px; border-left: 1px solid rgba(255,255,255,.14); counter-increment: step; }
.process-step:first-child { border-left: 0; }
.step-number { font-size: 12px; color: var(--mint); font-weight: 900; }
.process-step h3 { font-size: 20px; margin: 34px 0 10px; }
.process-step p { color: rgba(255,255,255,.65); margin: 0; font-size: 14px; }

.values-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.values-sticky { position: sticky; top: 125px; }
.values-sticky p { color: var(--muted); font-size: 18px; max-width: 480px; }
.values-list { display: grid; gap: 12px; }
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 23px; display: grid; grid-template-columns: 50px 1fr; gap: 15px; }
.value-number { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); font-weight: 900; }
.value-card h3 { margin: 1px 0 6px; font-size: 18px; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; }

.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; border: 0; background: transparent; padding: 22px 0; display: grid; grid-template-columns: 1fr 42px; gap: 18px; align-items: center; text-align: left; color: var(--ink); font-weight: 800; font-size: 16px; }
.faq-plus { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; }
.faq-plus svg { width: 17px; transition: transform .2s ease; }
.faq-item.open .faq-plus svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { margin: 0; padding: 0 60px 22px 0; color: var(--muted); }

.contact-section { position: relative; overflow: hidden; }
.contact-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(13,29,28,.13) 1px, transparent 1px); background-size: 19px 19px; opacity: .25; }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-copy h2 { font-size: clamp(38px, 4.6vw, 68px); }
.contact-copy > p { font-size: 18px; max-width: 500px; }
.contact-meta { margin-top: 32px; display: grid; gap: 11px; }
.contact-row { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.contact-row i { width: 39px; height: 39px; border-radius: 12px; display: grid; place-items: center; background: rgba(13,29,28,.1); }
.contact-row svg { width: 18px; }
.contact-card { background: var(--white); border: 1px solid rgba(13,29,28,.1); border-radius: 28px; padding: 27px; box-shadow: 0 24px 70px rgba(13,29,28,.12); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 900; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: var(--paper); border-radius: 13px; padding: 13px 14px; outline: none; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink-3); box-shadow: 0 0 0 3px rgba(35,67,63,.08); }
.field textarea { min-height: 122px; resize: vertical; }
.form-note { color: var(--muted); font-size: 11px; margin: 13px 0 0; }
.contact-card .btn { width: 100%; margin-top: 17px; }

.site-footer { background: #071211; color: white; padding: 72px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 50px; }
.footer-brand .brand-copy span { color: rgba(255,255,255,.55); }
.footer-brand p { max-width: 330px; color: rgba(255,255,255,.56); font-size: 14px; margin: 22px 0; }
.footer-col h4 { margin: 0 0 17px; font-size: 13px; color: var(--mint); text-transform: uppercase; letter-spacing: .08em; }
.footer-col a, .footer-col span { display: block; color: rgba(255,255,255,.66); font-size: 13px; margin: 10px 0; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom { margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.42); font-size: 12px; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

.cookie-banner { position: fixed; z-index: 3000; left: 20px; right: 20px; bottom: 20px; max-width: 930px; margin-left: auto; background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 17px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.cookie-banner.hidden { display: none; }
.cookie-banner strong { display: block; }
.cookie-banner p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .btn { min-height: 42px; padding: 0 14px; }

.toast { position: fixed; z-index: 5000; right: 22px; bottom: 22px; max-width: 360px; padding: 15px 17px; border-radius: 15px; background: var(--ink); color: white; box-shadow: var(--shadow); transform: translateY(30px); opacity: 0; visibility: hidden; transition: .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; visibility: visible; }
.toast strong { display: block; }
.toast span { display: block; color: rgba(255,255,255,.7); font-size: 12px; margin-top: 3px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* portal page */
.page-hero { padding: 75px 0 65px; background: var(--ink); color: white; }
.page-hero-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; align-items: center; }
.page-hero h1 { font-size: clamp(45px, 6vw, 78px); line-height: 1; letter-spacing: -.055em; margin: 24px 0 20px; }
.page-hero p { max-width: 650px; font-size: 18px; color: rgba(255,255,255,.69); }
.security-panel { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); border-radius: 25px; padding: 22px; }
.security-panel h3 { margin: 0 0 14px; }
.security-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.security-panel li { display: flex; gap: 9px; color: rgba(255,255,255,.7); font-size: 13px; }
.security-panel li svg { flex: 0 0 auto; width: 17px; color: var(--mint); margin-top: 2px; }
.portal-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.portal-option { background: white; border: 1px solid var(--line); border-radius: 25px; padding: 25px; min-height: 300px; display: flex; flex-direction: column; }
.portal-option-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); }
.portal-option-icon svg { width: 26px; }
.portal-option h2 { font-size: 24px; letter-spacing: -.03em; margin: 27px 0 10px; }
.portal-option p { color: var(--muted); font-size: 14px; }
.portal-option .btn { margin-top: auto; }
.login-demo { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 29px; overflow: hidden; border: 1px solid var(--line); background: white; }
.login-copy { padding: 45px; background: var(--ink); color: white; }
.login-copy h2 { font-size: 42px; }
.login-copy p { color: rgba(255,255,255,.67); }
.login-form { padding: 45px; }
.login-form h3 { font-size: 25px; margin-top: 0; }
.login-form .field { margin-bottom: 14px; }
.back-home { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-weight: 800; font-size: 13px; }
.back-home svg { width: 16px; }
.back-home:hover { color: var(--mint); }

.legal-page { padding: 80px 0 120px; }
.legal-wrap { width: min(calc(100% - 40px), 850px); margin: auto; }
.legal-wrap h1 { font-size: clamp(42px, 5vw, 65px); letter-spacing: -.05em; }
.legal-wrap h2 { font-size: 26px; margin-top: 42px; letter-spacing: -.02em; }
.legal-wrap p, .legal-wrap li { color: var(--muted); }
.placeholder-note { background: #fff5d6; border: 1px solid #ecd588; border-radius: 14px; padding: 15px 17px; color: #66520d; }

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-actions .btn-ghost { display: none; }
  .mobile-nav { display: block; }
  .hero-grid { grid-template-columns: 1fr .85fr; gap: 35px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / -1; }
}
.mobile-panel { display: none; position: fixed; z-index: 999; inset: calc(36px + var(--header-h)) 0 0; background: var(--paper); padding: 22px 20px 40px; overflow-y: auto; }
.mobile-panel.open { display: block; }
.mobile-panel a, .mobile-services-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 17px 4px; color: var(--ink); font-weight: 850; }
.mobile-services { display: none; padding: 8px 0 12px 14px; }
.mobile-services.open { display: grid; }
.mobile-services a { font-weight: 650; font-size: 14px; padding: 12px 4px; }
.mobile-portal { margin-top: 20px; }

@media (max-width: 880px) {
  :root { --header-h: 72px; }
  .topbar .container { min-height: 34px; }
  .topbar-links a:first-child { display: none; }
  .brand { min-width: 0; }
  .brand-copy span { display: none; }
  .nav-actions .btn-primary { display: none; }
  .hero { padding-top: 62px; }
  .hero-grid, .section-head, .portal-layout, .values-layout, .faq-layout, .contact-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; max-width: 600px; }
  .dashboard { inset: 30px 0 0 20px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .industry-grid, .portal-options { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(3) { border-left: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .values-sticky { position: static; }
  .login-demo { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar-links { gap: 12px; }
  .topbar-links a { font-size: 11px; }
  .hero h1 { font-size: 47px; }
  .hero-copy { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 430px; }
  .dashboard { inset: 20px 0 0 0; padding: 16px; border-radius: 24px; }
  .dashboard-grid { gap: 8px; }
  .metric { padding: 13px; }
  .metric-value { font-size: 20px; }
  .portal-card { width: 205px; left: -4px; }
  .trust-grid, .service-grid, .industry-grid, .process-grid, .feature-list, .portal-options, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 82px 0; }
  .section-head { gap: 18px; margin-bottom: 35px; }
  .service-card { min-height: 290px; }
  .detail-button { grid-template-columns: 42px 1fr auto; padding: 18px 15px; gap: 10px; }
  .detail-content-inner { padding: 0 16px 22px 58px; grid-template-columns: 1fr; }
  .portal-ui { padding: 14px; }
  .portal-ui-grid { grid-template-columns: 1fr; }
  .process-step { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .contact-card { padding: 20px; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions .btn { width: 100%; }
  .login-copy, .login-form { padding: 28px; }
}
