@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

:root {
  --navy-950: #10235c;
  --navy-900: #173b8f;
  --navy-800: #135bb6;
  --teal-600: #1769dd;
  --teal-500: #168be9;
  --teal-400: #24b8f2;
  --teal-100: #e6f2ff;
  --violet: #4a25c7;
  --magenta: #e52b9a;
  --amber: #ffc93d;
  --ink: #122659;
  --muted: #62718f;
  --line: #dbe5f4;
  --surface: #f4f8ff;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(21, 61, 143, 0.09);
  --shadow-lg: 0 28px 70px rgba(16, 35, 92, 0.17);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; color: var(--white); background: var(--navy-950); border-radius: 8px; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; border-bottom: 1px solid transparent; transition: background .25s, box-shadow .25s, border-color .25s; }
.site-header.scrolled { background: rgba(255,255,255,.94); border-color: rgba(11,58,70,.08); box-shadow: 0 8px 30px rgba(11,58,70,.06); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 52px; height: 52px; display: grid; place-items: center; overflow: visible; background: transparent; border: 0; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; transform: scale(1.12); filter: drop-shadow(0 5px 7px rgba(32,48,152,.16)); }
.brand-copy { color: var(--navy-950); font-family: "Manrope", sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -.6px; }
.brand-copy small { padding-left: 3px; color: var(--violet); font: inherit; font-size: 10px; letter-spacing: 1.5px; vertical-align: 2px; }
.main-nav { display: flex; align-items: center; gap: 34px; color: #35525a; font-size: 14px; font-weight: 600; }
.main-nav > a { transition: color .2s; }
.main-nav > a:hover { color: var(--teal-600); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 4px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 23px; height: 2px; margin: 5px auto; background: var(--navy-900); border-radius: 4px; transition: transform .2s, opacity .2s; }

.button { min-height: 50px; padding: 13px 22px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(32,185,154,.32); outline-offset: 3px; }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: var(--white); background: linear-gradient(135deg, var(--teal-600), var(--violet)); box-shadow: 0 10px 24px rgba(48,66,190,.24); }
.button-primary:hover { background: linear-gradient(135deg, #0f5ec9, #3d1cac); box-shadow: 0 14px 30px rgba(48,66,190,.31); }
.button-secondary { color: var(--navy-900); background: rgba(255,255,255,.7); border-color: #cddcde; }
.button-secondary:hover { background: var(--white); border-color: var(--teal-500); }
.button-ghost { min-height: 42px; color: var(--navy-900); border-color: #ccdcde; background: rgba(255,255,255,.35); }
.button-small { min-height: 42px; padding: 10px 16px; font-size: 13px; border-radius: 9px; }
.button-light { color: var(--navy-950); background: var(--white); box-shadow: 0 12px 32px rgba(4,38,45,.18); }
.button-light:hover { background: var(--teal-100); }

.hero { min-height: 760px; padding: 155px 0 92px; position: relative; overflow: hidden; display: flex; align-items: center; background-color: #f5f9ff; background-image: linear-gradient(90deg, rgba(247,250,255,.98) 0%, rgba(247,250,255,.93) 40%, rgba(238,246,255,.63) 70%, rgba(222,239,255,.38) 100%), url("hero.png"); background-position: center; background-size: cover; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(23,105,221,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(23,105,221,.07) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right, black, transparent 42%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 450px; height: 450px; right: -120px; top: 50px; background: radial-gradient(circle, rgba(73,37,199,.16), transparent 68%); }
.hero-glow-two { width: 300px; height: 300px; left: 25%; bottom: -170px; background: radial-gradient(circle, rgba(229,43,154,.09), transparent 67%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .93fr 1.07fr; gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 9px; color: var(--teal-600); font-family: "Manrope", sans-serif; font-size: 11px; font-weight: 800; letter-spacing: 1.55px; text-transform: uppercase; }
.eyebrow span { width: 23px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: "Manrope", sans-serif; line-height: 1.15; letter-spacing: -.035em; }
h1 { max-width: 620px; margin: 0; color: var(--navy-950); font-size: clamp(44px, 5vw, 65px); font-weight: 800; }
h1 em, h2 em { color: var(--teal-600); font-style: normal; background: linear-gradient(115deg, #078ee9 8%, #4042cc 58%, #dd2ba4 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 590px; margin: 26px 0 0; color: #526b72; font-size: 17px; line-height: 1.75; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 13px; }
.trust-list { margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 22px; list-style: none; color: #577078; font-size: 12px; font-weight: 600; }
.trust-list li { display: flex; align-items: center; gap: 7px; }
.trust-list span { width: 18px; height: 18px; display: inline-grid; place-items: center; color: var(--teal-600); background: var(--teal-100); border-radius: 50%; font-size: 10px; }

.dashboard-wrap { position: relative; min-width: 0; }
.dashboard-card { position: relative; z-index: 2; overflow: hidden; background: var(--white); border: 1px solid rgba(23,105,221,.14); border-radius: 20px; box-shadow: var(--shadow-lg); transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.dashboard-topbar { height: 46px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; color: #70858a; background: #fafcfc; border-bottom: 1px solid #edf2f2; font-size: 9px; font-weight: 700; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; background: #d6e0e1; border-radius: 50%; }
.avatar { width: 25px; height: 25px; display: grid; place-items: center; color: var(--white); background: var(--navy-800); border-radius: 50%; font-size: 7px; }
.dashboard-body { min-height: 350px; display: grid; grid-template-columns: 52px 1fr; }
.dashboard-sidebar { padding: 14px 9px; display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--white); background: linear-gradient(180deg, var(--navy-950), #25258c); }
.mini-brand { width: 27px; height: 27px; display: grid; place-items: center; margin-bottom: 5px; background: var(--teal-500); border-radius: 7px; font-size: 8px; font-weight: 800; }
.side-item { width: 25px; height: 25px; position: relative; border-radius: 7px; }
.side-item::after { content: ""; position: absolute; width: 11px; height: 11px; inset: 7px; border: 1.5px solid rgba(255,255,255,.42); border-radius: 3px; }
.side-item.active { background: rgba(71,209,180,.18); }
.side-item.active::after { border-color: var(--teal-400); }
.dashboard-content { min-width: 0; padding: 22px 21px; background: #f7fafa; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; }
.dashboard-heading div { display: flex; flex-direction: column; }
.dashboard-heading small { color: #8da0a5; font-size: 7px; }
.dashboard-heading strong { color: var(--navy-950); font: 700 13px "Manrope", sans-serif; }
.period { padding: 5px 9px; color: #61767b; background: var(--white); border: 1px solid #e2eaea; border-radius: 6px; font-size: 7px; }
.metric-grid { margin-top: 17px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric { min-width: 0; padding: 12px; display: grid; grid-template-columns: auto 1fr; gap: 0 7px; background: var(--white); border: 1px solid #ebf0f0; border-radius: 10px; }
.metric-featured { background: linear-gradient(145deg, var(--navy-900), var(--violet)); border: 0; }
.metric-icon { width: 21px; height: 21px; grid-row: span 2; display: grid; place-items: center; color: var(--teal-600); background: var(--teal-100); border-radius: 6px; font-size: 9px; font-weight: 800; }
.metric small { color: #829599; font-size: 6px; }
.metric strong { color: var(--navy-950); font: 800 13px "Manrope", sans-serif; }
.metric em { grid-column: 2; margin-top: 1px; color: var(--teal-600); font-size: 6px; font-style: normal; }
.metric-featured small, .metric-featured strong { color: var(--white); }
.metric-featured em { color: #79e2cb; }
.dashboard-lower { margin-top: 11px; display: grid; grid-template-columns: 1.55fr .8fr; gap: 10px; }
.chart-card, .activity-card { min-width: 0; padding: 13px; background: var(--white); border: 1px solid #ebf0f0; border-radius: 10px; }
.chart-title { display: flex; justify-content: space-between; font-size: 7px; }
.chart-title strong, .activity-card > strong { color: var(--navy-950); font: 700 8px "Manrope", sans-serif; }
.chart-title span { color: #93a3a7; }
.chart { height: 113px; position: relative; margin-top: 7px; overflow: hidden; }
.chart-grid { position: absolute; inset: 0 0 17px; background: repeating-linear-gradient(to bottom, #edf2f2 0, #edf2f2 1px, transparent 1px, transparent 25px); }
.chart svg { position: absolute; inset: 3px 0 17px; width: 100%; height: calc(100% - 20px); overflow: visible; }
.chart-fill { fill: url(#chartFill); }
.chart-line { fill: none; stroke: var(--teal-500); stroke-width: 3; vector-effect: non-scaling-stroke; }
.chart-labels { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; color: #98a8ab; font-size: 5px; }
.activity-card { display: flex; flex-direction: column; gap: 8px; }
.activity-row { display: flex; gap: 6px; align-items: center; }
.activity-row p { margin: 0; color: #51686e; font-size: 6px; line-height: 1.2; }
.activity-row small { display: block; color: #9aabad; font-size: 5px; }
.status { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 6px; font-size: 7px; font-weight: 800; }
.status-green { color: #168d77; background: #e1f7f2; }
.status-blue { color: #287fa1; background: #e7f3f8; }
.status-amber { color: #b37919; background: #fff3da; }
.floating-stat { position: absolute; z-index: 3; padding: 11px 14px; display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.96); border: 1px solid rgba(13,99,105,.12); border-radius: 12px; box-shadow: 0 15px 35px rgba(5,44,53,.14); backdrop-filter: blur(8px); }
.floating-stat p { margin: 0; line-height: 1.3; }
.floating-stat strong { display: block; color: var(--navy-950); font-size: 9px; }
.floating-stat small { display: block; color: #84969a; font-size: 7px; }
.floating-stat-top { top: 53px; right: -28px; animation: float 4s ease-in-out infinite; }
.floating-stat-bottom { bottom: -26px; left: 48px; animation: float 4.8s .5s ease-in-out infinite; }
.floating-icon { width: 27px; height: 27px; display: grid; place-items: center; color: var(--white); background: var(--teal-500); border-radius: 8px; font-size: 11px; }
.ring { width: 32px; height: 32px; display: grid; place-items: center; background: conic-gradient(var(--teal-500) 91%, #e0eaea 0); border-radius: 50%; }
.ring::before { content: ""; position: absolute; width: 24px; height: 24px; background: white; border-radius: 50%; }
.ring i { position: relative; z-index: 1; color: var(--navy-900); font-size: 7px; font-style: normal; font-weight: 800; }
.dashboard-orbit { position: absolute; border: 1px solid rgba(32,185,154,.16); border-radius: 50%; }
.orbit-one { width: 180px; height: 180px; top: -70px; right: -65px; }
.orbit-two { width: 100px; height: 100px; bottom: -45px; left: -35px; }
@keyframes float { 50% { transform: translateY(-8px); } }

.section-intro h2, .section-heading h2, .benefit-heading h2 { margin: 0; color: var(--navy-950); font-size: clamp(34px, 4vw, 50px); font-weight: 800; }
.section-intro > p:not(.eyebrow), .section-heading > p:not(.eyebrow), .benefit-heading > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.75; }
.problem { background: var(--white); }
.problem-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.solution-note { margin-top: 30px; padding: 18px; display: flex; align-items: center; gap: 13px; color: var(--navy-900); background: var(--teal-100); border-left: 3px solid var(--teal-500); border-radius: 0 10px 10px 0; font-size: 14px; }
.solution-note span { width: 25px; height: 25px; flex: none; display: grid; place-items: center; color: var(--white); background: var(--teal-600); border-radius: 50%; }
.problem-list { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); list-style: none; box-shadow: var(--shadow-sm); }
.problem-list li { min-height: 145px; padding: 24px; display: flex; flex-direction: column; background: var(--white); transition: background .2s; }
.problem-list li:hover { background: #f8fcfb; }
.problem-number { margin-bottom: auto; color: var(--teal-600); font: 700 10px "Manrope", sans-serif; letter-spacing: 1px; }
.problem-list strong { margin-top: 16px; color: var(--navy-950); font: 700 14px "Manrope", sans-serif; }
.problem-list small { margin-top: 4px; color: #74888d; font-size: 11px; }

.features { background: var(--surface); }
.section-heading { max-width: 700px; margin-bottom: 54px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.centered-eyebrow { justify-content: center; }
.section-heading > p:not(.eyebrow) { max-width: 590px; margin: 18px auto 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { min-height: 270px; padding: 27px 24px; position: relative; overflow: hidden; background: var(--white); border: 1px solid #e0eaea; border-radius: 16px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature-card::after { content: ""; width: 80px; height: 80px; position: absolute; right: -40px; bottom: -40px; background: var(--teal-100); border-radius: 50%; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .25s; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(32,185,154,.5); box-shadow: var(--shadow-sm); }
.feature-card:hover::after { opacity: .6; transform: scale(1); }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--teal-600); background: var(--teal-100); border-radius: 12px; }
.feature-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-index { position: absolute; top: 28px; right: 24px; color: #bac8ca; font: 700 10px "Manrope", sans-serif; letter-spacing: 1px; }
.feature-card h3 { margin: 26px 0 10px; color: var(--navy-950); font-size: 17px; }
.feature-card p { margin: 0; color: #6c8187; font-size: 13px; line-height: 1.65; }

.benefits { background: var(--white); }
.benefit-shell { padding: 70px; position: relative; overflow: hidden; display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; color: var(--white); background: linear-gradient(135deg, var(--navy-950), #153f9c 58%, var(--violet)); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.benefit-shell::before { content: ""; width: 500px; height: 500px; position: absolute; top: -300px; right: -140px; border: 1px solid rgba(71,209,180,.15); border-radius: 50%; box-shadow: 0 0 0 70px rgba(71,209,180,.025), 0 0 0 140px rgba(71,209,180,.018); }
.benefit-heading { position: relative; z-index: 1; }
.light-eyebrow { color: var(--teal-400); }
.benefit-heading h2 { color: var(--white); font-size: clamp(32px, 3.6vw, 46px); }
.benefit-heading h2 em { background: linear-gradient(110deg, #5fceff, #b6a2ff 55%, #ff8fd4); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.benefit-heading > p:not(.eyebrow) { color: #b5cacd; }
.benefit-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit-item { min-height: 150px; padding: 23px; display: flex; gap: 15px; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.11); border-radius: 15px; transition: background .2s, transform .2s; }
.benefit-item:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.benefit-item > span { color: var(--teal-400); font: 700 10px "Manrope", sans-serif; letter-spacing: 1px; }
.benefit-item h3 { margin: 0 0 8px; font-size: 15px; letter-spacing: -.02em; }
.benefit-item p { margin: 0; color: #b8cbce; font-size: 12px; line-height: 1.6; }

.community { padding-top: 80px; background: var(--white); }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.profile-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 8px 22px rgba(11,58,70,.04); transition: transform .25s, box-shadow .25s; }
.profile-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.profile-visual { height: 145px; position: relative; overflow: hidden; display: grid; place-items: center; }
.profile-visual::before, .profile-visual::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.profile-visual::before { width: 180px; height: 180px; right: -60px; top: -90px; }
.profile-visual::after { width: 90px; height: 90px; left: -30px; bottom: -40px; }
.profile-visual span { width: 62px; height: 62px; position: relative; z-index: 1; display: grid; place-items: center; color: var(--white); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 18px; font: 800 19px "Manrope", sans-serif; backdrop-filter: blur(5px); }
.profile-visual i { width: 9px; height: 9px; position: absolute; z-index: 2; margin: 50px 0 0 50px; background: var(--teal-400); border: 2px solid var(--white); border-radius: 50%; }
.admin-visual { background: linear-gradient(135deg, #10235c, #155cc4); }
.staff-visual { background: linear-gradient(135deg, #1564d8, #3b2cc5); }
.resident-visual { background: linear-gradient(135deg, #4b24c7, #d12aa7); }
.profile-card > div:last-child { padding: 25px; }
.profile-tag { margin: 0 0 8px !important; color: var(--teal-600) !important; font-size: 10px !important; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.profile-card h3 { margin: 0 0 10px; color: var(--navy-950); font-size: 18px; }
.profile-card p { margin: 0; color: #6c8187; font-size: 13px; line-height: 1.65; }

.cta { padding-top: 30px; }
.cta-card { min-height: 270px; padding: 58px 64px; position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 50px; color: var(--white); background: linear-gradient(120deg, #087ddd, #313bc4 55%, #7629c4); border-radius: var(--radius-lg); box-shadow: 0 24px 55px rgba(45,58,188,.24); }
.cta-pattern { position: absolute; inset: 0; opacity: .17; background-image: radial-gradient(circle at center, white 1.2px, transparent 1.3px); background-size: 22px 22px; mask-image: linear-gradient(to right, transparent 10%, black 80%); }
.cta-copy { max-width: 690px; position: relative; z-index: 1; }
.cta-copy h2 { margin: 0; color: var(--white); font-size: clamp(33px, 4vw, 48px); }
.cta-copy p:last-child { max-width: 610px; margin: 16px 0 0; color: #e2fbf5; font-size: 16px; }
.cta-card .button { position: relative; z-index: 1; flex: none; }

.site-footer { color: #b8c8e8; background: linear-gradient(135deg, #0c1c4b, #17145e); }
.footer-main { padding: 65px 0 48px; display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 55px; }
.brand-light .brand-copy { color: var(--white); }
.brand-light .brand-mark { background: transparent; }
.footer-brand > p { max-width: 300px; margin: 20px 0 0; color: #91aaae; font-size: 13px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 12px; }
.footer-links strong { margin-bottom: 5px; color: var(--white); font: 700 13px "Manrope", sans-serif; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--teal-400); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #cfdddd; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal-delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.legal-page { min-height: 100vh; background: var(--surface); }
.legal-main { padding: 145px 0 90px; }
.legal-card { max-width: 820px; margin: auto; padding: clamp(28px, 5vw, 60px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.legal-card h1 { font-size: clamp(36px, 5vw, 52px); }
.legal-card h2 { margin-top: 36px; color: var(--navy-950); font-size: 20px; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card a:not(.button) { color: var(--teal-600); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(23,105,221,.3); text-underline-offset: 3px; }
.legal-card ul { margin: 12px 0 26px; padding-left: 22px; }
.legal-card li + li { margin-top: 7px; }
.legal-updated { margin: 18px 0 32px; padding: 12px 16px; display: inline-block; background: var(--teal-100); border-radius: 10px; font-size: 13px; }
.legal-updated strong { color: var(--navy-900); }
.legal-card .button { margin-top: 24px; }

@media (max-width: 1050px) {
  .hero-grid { gap: 35px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-shell { padding: 55px 45px; gap: 40px; }
  .footer-main { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 880px) {
  .section { padding: 85px 0; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; padding: 120px 28px 35px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; color: var(--navy-950); background: rgba(255,255,255,.98); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .2s, visibility .2s, transform .2s; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav > a { padding: 15px 5px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav-actions { margin: 24px 0 0; flex-direction: column; align-items: stretch; }
  .nav-actions .button { min-height: 50px; }
  .hero { min-height: 0; padding: 135px 0 100px; }
  .hero-grid { grid-template-columns: 1fr; gap: 75px; }
  .hero-copy { max-width: 680px; }
  .dashboard-wrap { width: min(660px, 92%); margin-inline: auto; }
  .problem-grid { grid-template-columns: 1fr; gap: 50px; }
  .benefit-shell { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; max-width: 620px; margin: auto; }
  .profile-card { display: grid; grid-template-columns: 180px 1fr; }
  .profile-visual { height: 100%; min-height: 190px; }
  .cta-card { padding: 50px 40px; flex-direction: column; align-items: flex-start; gap: 30px; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-main .footer-links:last-child { grid-column: 2; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 70px; }
  .brand-copy { font-size: 17px; }
  .brand-mark { width: 44px; height: 44px; }
  .hero { padding: 115px 0 80px; background-image: linear-gradient(90deg, rgba(247,250,255,.98), rgba(240,247,255,.88)), url("hero.png"); background-position: 62% center; }
  h1 { font-size: clamp(39px, 12vw, 52px); }
  .hero-description { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-list { gap: 13px; }
  .dashboard-wrap { width: 100%; }
  .dashboard-card { transform: none; border-radius: 15px; }
  .dashboard-body { grid-template-columns: 38px 1fr; min-height: 300px; }
  .dashboard-sidebar { padding-inline: 5px; }
  .dashboard-content { padding: 14px 10px; }
  .metric-grid { gap: 5px; }
  .metric { padding: 8px 6px; display: block; }
  .metric-icon { margin-bottom: 4px; }
  .metric strong, .metric small, .metric em { display: block; }
  .metric strong { font-size: 10px; }
  .dashboard-lower { grid-template-columns: 1fr; }
  .activity-card { display: none; }
  .floating-stat-top { top: -30px; right: -4px; }
  .floating-stat-bottom { bottom: -28px; left: 18px; }
  .section-intro h2, .section-heading h2, .benefit-heading h2 { font-size: 34px; }
  .problem-list { grid-template-columns: 1fr; }
  .problem-list li { min-height: 125px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 235px; }
  .benefit-shell { padding: 42px 22px; border-radius: 22px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-item { min-height: 125px; }
  .profile-card { display: block; }
  .profile-visual { min-height: 130px; }
  .cta { padding-top: 10px; }
  .cta-card { padding: 42px 24px; border-radius: 22px; }
  .cta-card .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 38px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-main .footer-links:last-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; gap: 18px; flex-direction: column; }
}

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