@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap");
:root {
    --bg: #f3f1e9;
    --fg: #20383a;
    --card: #fbfaf6;
    --border: #ddd8ca;
    --primary: #226d70;
    --primary-fg: #fbfaf6;
    --secondary: #e9e4d9;
    --muted: #687777;
    --accent: #df6d4d;
    --shadow: 0 16px 42px rgba(31, 57, 57, 0.1);
    --mono: "Space Mono", monospace;
    --sans: "Inter", sans-serif;
    --radius: .85rem;
    --shadow-sm: 0 8px 24px #1f39390f;
    --shadow-md: 0 16px 42px #1f39391a;
    --muted-foreground: 193 13% 44%;
    --color-red-50: oklch(97.1% .013 17.38);
    --color-red-300: oklch(80.8% .114 19.571);
    --color-red-400: oklch(70.4% .191 22.216);
    --color-red-500: oklch(63.7% .237 25.331);
    --color-red-600: oklch(57.7% .245 27.325);
    --color-gray-50: oklch(98.5% .002 247.839);
    --color-gray-100: oklch(96.7% .003 264.542);
    --color-gray-600: oklch(44.6% .03 256.802);
    --color-gray-700: oklch(37.3% .034 259.733);
    --color-gray-800: oklch(27.8% .033 256.848);
    --color-gray-900: oklch(21% .034 264.665);
    --color-black: #000;
    --color-white: #fff;
    --spacing: .25rem;
    --text-white: #FFFFFF;
    --container-sm: 24rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --container-xl: 36rem;
    --container-2xl: 42rem;
    --container-3xl: 48rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-base: 1rem;
    --text-base--line-height: 1.5;
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: 1.2;
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --text-6xl: 3.75rem;
    --text-6xl--line-height: 1;
    --text-7xl: 4.5rem;
    --text-7xl--line-height: 1;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-tight: -.025em;
    --tracking-wider: .05em;
    --tracking-widest: .1em;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --radius-2xl: 1rem;
    --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
    --ease-in-out: cubic-bezier(.4, 0, .2, 1);
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
    --blur-sm: 8px;
    --blur-md: 12px;
    --blur-lg: 16px;
    --aspect-video: 16 / 9;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--app-font-sans);
    --default-mono-font-family: var(--app-font-mono);
    --color-border: var(--border);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
.noise:after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    z-index: 50;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.layout {
    display: flex;
    min-height: 100vh;
    /*max-width: 1440px;*/
    margin: auto;
}
.sidebar {
    display: none;
    width: 248px;
    flex: 0 0 248px;
    border-right: 1px solid var(--border);
    background: rgba(251, 250, 246, 0.6);
    padding: 28px 24px;
}
.text-white {
    color: var(--text-white) !important;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--primary-fg);
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
}
.brand-title {
    font-size: 14px;
    font-weight: 700;
}
.micro {
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-xs);
    /*letter-spacing: 0.05em;*/
    text-transform: uppercase;
    color: var(--muted);
}
.sidebar hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 36px 0;
}
.sidebar nav {
    display: grid;
    gap: 4px;
    margin-top: 12px;
}
.nav-link {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}
.nav-link:hover,
.nav-link.active {
    background: var(--secondary);
    color: var(--primary);
}
.nav-link.active {
    background: var(--primary);
    color: var(--primary-fg);
}
.standard {
    margin-top: 40px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(233, 228, 217, 0.6);
}
.standard strong {
    font: 700 10px var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}
.standard p {
    font-size: 12px;
    line-height: 1.65;
    color: var(--muted);
}
.content {
    min-width: 0;
    flex: 1;
}
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--border);
    background: rgba(243, 241, 233, 0.9);
    backdrop-filter: blur(12px);
    padding: 16px 20px;
}
.topbar-inner {
    max-width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}
.mobile-brand .mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 10px;
}
.top-meta {
    display: none;
    color: var(--muted);
    font-size: 12px;
}
.status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}
main {
    /*max-width: 1100px;*/
    margin: auto;
    padding: 36px 20px 112px;
}
.page-enter {
    animation: enter 0.45s ease both;
}
@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.hero {
    display: grid;
    overflow: hidden;
    border-radius: 16px;
    background: var(--primary);
    color: var(--primary-fg);
}
.hero-copy {
    position: relative;
    padding: 36px 24px;
}
.hero-copy:after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -80px;
    width: 205px;
    height: 205px;
    border: 28px solid rgba(223, 109, 77, 0.25);
    border-radius: 50%;
}
.hero-copy > * {
    position: relative;
    z-index: 1;
}
.eyebrow {
    display: flex;
    gap: 12px;
    align-items: center;
    font: 700 10px var(--primary);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    font-size: 10px;
}
.eyebrow:before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--accent);
}
h1 {
    font-size: 42px;
    line-height: 1.03;
    letter-spacing: -0.05em;
    margin: 24px 0 0;
    /*max-width: 650px;*/
}
h2 {
    letter-spacing: -0.03em;
}
p {
    line-height: 1.65;
}
.hero p {
    max-width: 560px;
    color: rgba(251, 250, 246, 0.75);
    font-size: 16px;
    margin: 24px 0 0;
}
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    background: var(--card);
    color: var(--primary);
}
.button.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.button.ghost {
    border-color: rgba(251, 250, 246, 0.3);
    background: transparent;
    color: var(--primary-fg);
}
.hero-image {
    min-height: 260px;
    position: relative;
}
.hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}
.hero-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--primary), rgba(34, 109, 112, 0.2), transparent);
}
.hero-tag {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    padding: 8px 10px;
    border: 1px solid rgba(251, 250, 246, 0.2);
    border-radius: 8px;
    background: rgba(32, 56, 58, 0.3);
    font: 10px var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.grid {
    display: grid;
    gap: 16px;
}
.two {
    grid-template-columns: 1.1fr 0.9fr;
}
.three {
    grid-template-columns: repeat(3, 1fr);
}
.section {
    margin-top: 32px;
}
.card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    padding: 24px;
}
.civic-grid {
    background-color: transparent;
    background-image: linear-gradient(rgba(34, 109, 112, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 109, 112, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}
.label {
    font: 700 10px var(--mono);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.muted {
    color: var(--muted);
}
.metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.metric strong {
    display: block;
    color: var(--primary);
    font-size: 31px;
    letter-spacing: -0.06em;
}
.metric span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}
.highlight h2 {
    font-size: 25px;
    margin: 0;
}
.highlight p {
    margin: 12px 0;
    color: var(--muted);
}
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}
.feature {
    transition: 0.25s;
}
.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(34, 109, 112, 0.4);
}
.feature-icon {
    color: var(--primary);
   	background-color: var(--secondary);
   	width: calc(.25rem * 10);
   	height: calc(.25rem * 10);
   	display: flex;
   	justify-content: center;
   	align-items: center;
   	border-radius: calc(var(--radius) + 4px);
    font-size: 22px;
}
.feature h3 {
    margin: 25px 0 8px;
    font-size: 18px;
}
.feature p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}
.card-cta-link{
    margin-top: calc(var(--spacing) * 5);
	color: var(--primary);
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    gap: calc(var(--spacing) * 2);
    align-items: center;
    display: flex;
}
.transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 42px;
}
.page-head h1 {
    font-size: 48px;
    margin-top: 16px;
}
.page-head p {
    max-width: 680px;
    color: var(--muted);
    margin: 16px 0 0;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 7px 10px;
    background: var(--secondary);
    color: var(--primary);
    /*font: 700 10px var(--mono);*/
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}
.badge.coral {
    background: rgba(223, 109, 77, 0.15);
    color: #b74f36;
}
.badge.dark {
    background: var(--fg);
    color: #fff;
}
.photo-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
}
.photo-card img {
    width: 100%;
    height: 176px;
    object-fit: cover;
}
.photo-card .inside {
    padding: 24px;
}
.process {
    display: grid;
    gap: 0;
    margin-top: 25px;
}
.stage {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 14px;
    position: relative;
    padding-bottom: 25px;
}
.stage:last-child {
    padding-bottom: 0;
}
.stage:not(:last-child):before {
    content: "";
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 1px;
    background: var(--border);
}
.stage-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--secondary);
    color: var(--muted);
    font: 700 11px var(--mono);
    z-index: 1;
}
.stage.done .stage-num {
    background: var(--primary);
    color: #fff;
}
.stage.current .stage-num {
    background: var(--accent);
    color: #fff;
}
.stage h3 {
    font-size: 14px;
    margin: 2px 0 4px;
}
.stage p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}
.info {
    display: flex;
    gap: 14px;
}
.info-icon {
    color: var(--accent);
    font-size: 21px;
}
.info h3 {
    font-size: 16px;
    margin: 0;
}
.info p {
    font-size: 13px;
    color: var(--muted);
    margin: 6px 0 0;
}
.panel {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 12px;
    background: var(--card);
    font-weight: 700;
}
.panel span {
    margin-left: auto;
    color: var(--muted);
}
.searchbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.searchbar input {
    flex: 1;
    min-width: 220px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    font: 14px var(--sans);
    color: var(--fg);
}
.filters {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 8px;
    background: var(--secondary);
}
.filter {
    border: 0;
    background: transparent;
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}
.filter.active {
    background: var(--card);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.doc-row {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.doc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.doc-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.doc-title h3 {
    margin: 0;
    font-size: 15px;
}
.doc-row p {
    font-size: 13px;
    color: var(--muted);
    margin: 10px 0;
}
article .icon {
    width: calc(var(--spacing) * 9); 
    height: calc(var(--spacing) * 9);
    color: var(--primary);
    background-color: var(--secondary);
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
article .icon svg {
    width: calc(var(--spacing) * 4); 
    height: calc(var(--spacing) * 4);
    color: var(--primary);
}
.doc-open {
    margin-top: 12px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    border: 1px solid var(--primary);
    padding: 5px 10px;
}
.demo-note {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(32, 56, 58, 0.08);
    color: var(--muted);
    font-size: 12px;
}
.notice {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
}
.notice h2 {
    font-size: 18px;
    margin: 18px 0 4px;
}
.notice p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}
.empty {
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: 16px;
    padding: 48px;
    color: var(--muted);
}
.contact-line {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.contact-line:last-child {
    border-bottom: 0;
}
.contact-line strong {
    display: block;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    margin-top: 4px;
    color: var(--muted-foreground);
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
}
.contact-line span {
    display: block;
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    color: var(--muted-foreground);
}
footer {
    border-top: 1px solid var(--border);
    padding: 32px 20px;
    color: var(--muted);
    font-size: 12px;
}
footer .footer-inner {
    max-width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.bottom-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    border-top: 1px solid var(--border);
    background: rgba(251, 250, 246, 0.95);
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    backdrop-filter: blur(12px);
}
.bottom-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.bottom-nav a,
.more-btn {
    border: 0;
    background: none;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 2px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}
.bottom-nav a.active,
.more-btn.active {
    color: var(--primary);
}
.more-menu {
    display: none;
    position: fixed;
    inset: auto 12px 77px;
    z-index: 45;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    box-shadow: var(--shadow);
}
.more-menu.open {
    display: block;
}
.more-menu a {
    display: block;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
}
.more-menu a:hover {
    background: var(--secondary);
}
.icon {
    font-size: 17px;
    line-height: 1;
}
@media (min-width: 768px) {
    .hero {
        grid-template-columns: 1.15fr 0.85fr;
    }
    .hero-copy {
        padding: 56px 48px;
    }
    .hero-image {
        min-height: 420px;
    }
    h1 {
        font-size: 70px;
    }
    main {
        padding: 56px 40px 56px;
    }
    .topbar {
        padding-left: 40px;
        padding-right: 40px;
    }
    .page-head h1 {
        font-size: 48px;
    }
    .bottom-nav {
        display: none;
    }
    footer {
        padding: 32px 40px;
    }
}
@media (min-width: 1024px) {
    .sidebar {
        display: block;
    }
    .mobile-brand {
        display: none;
    }
    .top-meta {
        display: block;
    }
    .topbar {
        padding-left: 56px;
        padding-right: 56px;
    }
    main {
        padding-left: 56px;
        padding-right: 56px;
    }
    .page-head h1 {
        font-size: 52px;
    }
}
@media (max-width: 767px) {
    .two,
    .three {
        grid-template-columns: 1fr;
    }
    .page-head {
        display: block;
    }
    .page-head h1 {
        font-size: 40px;
    }
    .page-head .badge,
    .page-head .button {
        margin-top: 20px;
    }
    .section {
        margin-top: 48px;
    }
}



/* Compatibility classes retained from the React version. */
nav .icon svg{width: calc(.25rem * 4); height: calc(.25rem * 4);}

.portal-link{transition:color .2s,background-color .2s,border-color .2s,transform .2s}
.portal-link:hover{color:var(--primary)}
.portal-link:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid rgba(223,109,77,.45);outline-offset:3px}
.lift{transition:transform .25s,box-shadow .25s,border-color .25s}
.lift:hover{box-shadow:var(--shadow);border-color:rgba(34,109,112,.4);transform:translateY(-3px)}
.font-mono-civic{font-family:var(--mono)}
.text-balance{text-wrap:balance}
.stagger-1{animation-delay:40ms}
.stagger-2{animation-delay:90ms}
.stagger-3{animation-delay:.14s}
@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
