:root {
    --ink: #12271f;
    --muted: #5c6d67;
    --paper: #fbfaf6;
    --white: #ffffff;
    --teal: #0f6b4d;
    --teal-dark: #0b3d2c;
    --teal-darker: #082e21;
    --mint: #e3f3e3;
    --mint-bg: #eef7ee;
    --lime: #d7f24f;
    --lime-dark: #c3de3c;
    --line: #dde6de;
    --sand: #f0ece2;
    --warning: #945a17;
    --danger-bg: #fff2ec;
    --shadow: 0 20px 45px rgba(11, 61, 44, 0.08);
    --shadow-lg: 0 30px 70px rgba(8, 46, 33, 0.16);
    --radius: 20px;
    --radius-lg: 28px;
    --radius-pill: 999px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.container.narrow {
    width: min(780px, calc(100% - 40px));
}

.skip-link {
    position: absolute;
    top: -80px;
    left: 20px;
    z-index: 100;
    padding: 12px 18px;
    background: var(--lime);
    color: var(--ink);
}

.skip-link:focus {
    top: 16px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: relative;
    z-index: 20;
    background: var(--teal-dark);
    color: var(--white);
}

.header-inner,
.footer-grid,
.company-title-row,
.results-heading,
.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-inner {
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.08rem;
    font-weight: 800;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: auto;
    height: 34px;
    /* The logo artwork is dark navy/blue, so it is rendered as a solid white
       silhouette to stay legible on the dark teal header and footer. */
    filter: brightness(0) invert(1);
}

.brand-logo-inline {
    display: inline-block;
    height: 0.95em;
    vertical-align: -0.16em;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none;
}

nav a:hover,
nav a:focus,
nav a[aria-current="page"] {
    color: var(--white);
}

nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--lime);
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
}

.nav-form {
    margin: 0;
}

.nav-form button {
    border: 0;
    padding: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    font: inherit;
    font-size: 0.93rem;
    cursor: pointer;
}

.nav-cta {
    border-radius: var(--radius-pill);
    padding: 10px 18px;
    background: var(--lime);
    color: var(--teal-dark) !important;
    font-weight: 750;
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background: var(--lime-dark);
}

.flash-wrap {
    padding-bottom: 18px;
}

.flash {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 13px 16px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
    font-weight: 650;
}

.flash + .flash {
    margin-top: 10px;
}

.flash-success {
    border-color: #99ceb6;
    background: #effbf5;
    color: var(--teal-dark);
}

.flash-info {
    border-color: #a9cdbf;
    background: #eef8f4;
    color: var(--teal-dark);
}

.flash-error {
    border-color: #e7b4a2;
    background: var(--danger-bg);
    color: #8a321f;
}

.hero,
.page-hero {
    overflow: hidden;
    background: var(--teal-dark);
    color: var(--white);
}

.hero {
    padding: 72px 0 110px;
    background-image: radial-gradient(circle at 88% 12%, rgba(215, 242, 79, 0.16), transparent 38%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(2.7rem, 6vw, 5.5rem);
}

.hero h1 {
    max-width: 620px;
    font-size: clamp(2.4rem, 4.6vw, 4.1rem);
}

.page-hero h1 {
    font-size: clamp(2.3rem, 4.5vw, 4rem);
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.hero-copy {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.2rem;
}

.eyebrow {
    margin-bottom: 12px;
    color: #a9d8ca;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0 18px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 13px;
    padding: 12px 22px;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover:not(:disabled),
.button:focus-visible:not(:disabled) {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--lime);
    color: var(--teal-dark);
    box-shadow: 0 10px 26px rgba(217, 241, 91, 0.13);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #e6fa7e;
}

.button-secondary {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink);
}

.hero .button-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
}

.button-block {
    width: 100%;
}

.button-disabled,
.button:disabled {
    background: #e4e8e5;
    color: #71807b;
    cursor: not-allowed;
}

.button-danger {
    background: #a83e2a;
    color: var(--white);
}

.button-link {
    min-height: auto;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: var(--teal);
    font-size: 0.9rem;
    text-decoration: underline;
}

.company-archive-form {
    margin-left: auto;
}

.button-small {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.83rem;
}

.price-note {
    color: rgba(255, 255, 255, 0.62);
}

.step-number {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--lime);
    color: var(--teal-dark);
    font-weight: 850;
}

.step-number.small {
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
}

/* Hero search bar */

.hero-search {
    display: flex;
    align-items: center;
    max-width: 560px;
    margin: 32px 0 22px;
    border-radius: var(--radius-pill);
    padding: 6px 6px 6px 20px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.hero-search svg {
    flex: 0 0 auto;
    color: var(--muted);
}

.hero-search input {
    flex: 1;
    min-height: 0;
    border: 0;
    padding: 10px 12px;
    background: transparent;
    color: var(--ink);
}

.hero-search input:focus {
    outline: none;
}

.hero-search .button {
    flex: 0 0 auto;
    min-height: 44px;
    white-space: nowrap;
}

.trust-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-checks li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 650;
}

.trust-checks .tick-badge {
    display: grid;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--lime);
    color: var(--teal-dark);
    font-size: 0.7rem;
    font-weight: 900;
}

/* Hero "filing progress" mockup card */

.hero-visual {
    position: relative;
}

.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 30px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
}

.hero-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.hero-card-head h2 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.hero-card-head span {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 650;
}

.progress-steps {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.progress-steps li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
}

.progress-steps li + li {
    border-top: 1px solid var(--line);
}

.progress-steps .marker {
    display: grid;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: var(--sand);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.progress-steps li.is-done .marker {
    background: var(--teal);
    color: var(--white);
}

.progress-steps li.is-current .marker {
    background: var(--lime);
    color: var(--teal-dark);
}

.progress-steps strong {
    display: block;
    font-size: 0.94rem;
}

.progress-steps small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}

.progress-steps .step-body {
    flex: 1;
}

.progress-steps .edit-pill {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 5px 13px;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.hero-tooltip {
    position: absolute;
    right: -18px;
    bottom: -46px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 210px;
    border-radius: 18px;
    padding: 16px 18px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.hero-tooltip .marker {
    display: grid;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--teal);
}

.hero-tooltip strong {
    display: block;
    font-size: 0.86rem;
}

.hero-tooltip small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.hero-caption {
    position: absolute;
    left: 6px;
    bottom: -66px;
    max-width: 150px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    font-style: italic;
    transform: rotate(-3deg);
}

@media (max-width: 980px) {
    .hero-tooltip,
    .hero-caption {
        display: none;
    }
}

.section {
    padding: 80px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.section-head .see-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
    white-space: nowrap;
}

.feature-grid,
.trust-grid,
.filing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card,
.panel,
.result-card,
.empty-state,
.questionnaire fieldset,
.result-banner {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.feature-card {
    padding: 30px;
}

.feature-card > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    margin-bottom: 40px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--teal);
    font-weight: 850;
}

.feature-card p,
.panel p,
.result-card p,
.fieldset-help {
    color: var(--muted);
}

.trust-strip {
    padding: 34px 0;
    background: var(--sand);
}

.trust-strip p {
    margin: 0;
    font-size: 0.92rem;
}

/* Why-choose section */

.why-section {
    padding: 84px 0;
    background: var(--mint-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr auto;
    gap: 56px;
    align-items: start;
}

.why-copy h2 {
    max-width: 420px;
}

.why-copy p {
    max-width: 440px;
    color: var(--muted);
}

.why-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.why-list li {
    display: flex;
    gap: 14px;
}

.why-list .icon-badge {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: var(--white);
    color: var(--teal);
    box-shadow: var(--shadow);
}

.why-list strong {
    display: block;
    margin-bottom: 3px;
    font-size: 0.96rem;
}

.why-list p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.pricing-card {
    width: 270px;
    border-radius: var(--radius-lg);
    padding: 28px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.pricing-card .eyebrow {
    color: var(--teal);
}

.pricing-card .price {
    margin: 6px 0 14px;
    font-size: 2.6rem;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.pricing-card .price small {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 650;
}

.pricing-card p {
    color: var(--muted);
    font-size: 0.88rem;
}

.pricing-card .button {
    width: 100%;
    margin: 16px 0;
}

.pricing-card .tick-list {
    margin-top: 8px;
}

/* Testimonial strip */

.testimonial-strip {
    padding: 56px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.rating-block .eyebrow {
    color: var(--muted);
}

.stars {
    color: #f2a93a;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.rating-block .score {
    margin-left: 6px;
    font-weight: 800;
}

.rating-block small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.quote-block blockquote {
    margin: 0;
    max-width: 460px;
    font-size: 1.02rem;
    font-style: italic;
}

.quote-block cite {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.85rem;
    font-style: normal;
}

.testimonial-cta {
    color: var(--muted);
    font-weight: 650;
    text-align: right;
}

@media (max-width: 980px) {
    .why-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        width: 100%;
        max-width: 360px;
    }

    .why-list {
        grid-template-columns: 1fr;
    }

    .testimonial-cta {
        text-align: left;
    }
}

.page-hero.compact {
    padding: 62px 0 68px;
}

.page-hero.compact p:not(.eyebrow, .source-badge, .company-number) {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.76);
}

.back-link {
    display: inline-block;
    margin-bottom: 38px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.source-badge {
    display: inline-flex;
    margin: 10px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 5px 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
    font-weight: 700;
}

.search-form {
    margin-top: 42px;
}

.search-form > label,
.number-grid > label {
    display: block;
    margin-bottom: 8px;
    font-weight: 750;
}

.search-control {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.search-steps {
    display: grid;
    margin: 46px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 28px 0 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    list-style: none;
}

.search-steps li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
}

.search-steps li > span {
    display: grid;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(215, 242, 79, 0.36);
    border-radius: 50%;
    background: rgba(215, 242, 79, 0.1);
    color: var(--lime);
    font-size: 0.78rem;
    font-weight: 800;
    place-items: center;
}

.search-steps strong {
    display: block;
    margin-bottom: 3px;
    font-size: 0.82rem;
}

.page-hero.compact .search-steps p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    line-height: 1.5;
}

input {
    width: 100%;
    min-height: 50px;
    border: 1px solid #b7c3bd;
    border-radius: 11px;
    padding: 10px 14px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

input:focus {
    border-color: var(--teal);
    outline: 3px solid rgba(217, 241, 91, 0.6);
}

.field-error {
    margin-top: 8px;
    color: #ffd0c2;
    font-weight: 700;
}

.results-section {
    padding-top: 54px;
}

.results-heading span {
    color: var(--muted);
}

.result-list {
    display: grid;
    gap: 12px;
}

.result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 26px;
    text-decoration: none;
    box-shadow: none;
}

.result-card:hover,
.result-card:focus-visible {
    border-color: var(--teal);
    box-shadow: var(--shadow);
}

.result-card h3,
.result-card p {
    margin-bottom: 5px;
}

.company-number {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.83rem;
    letter-spacing: 0.04em;
}

.result-arrow {
    color: var(--teal);
    font-size: 1.5rem;
}

.empty-state {
    padding: 32px;
    text-align: center;
}

.status-pill {
    display: inline-flex;
    border-radius: 999px;
    padding: 7px 12px;
    background: #e8ece9;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.status-pill.active {
    background: var(--mint);
    color: var(--teal-dark);
}

.status-pill.warning {
    background: #fff0ce;
    color: var(--warning);
}

.detail-grid,
.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
    align-items: start;
    gap: 24px;
}

.dashboard-grid {
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
}

.panel {
    margin-bottom: 20px;
    padding: 28px;
    box-shadow: none;
}

.panel h2 {
    font-size: 1.35rem;
}

.data-list {
    margin: 0;
}

.data-list > div {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding: 16px 0;
}

.data-list dt {
    color: var(--muted);
}

.data-list dd {
    margin: 0;
    font-weight: 650;
}

.action-panel {
    border-top: 4px solid var(--lime);
    box-shadow: var(--shadow);
}

.admin-control-stack {
    display: grid;
    gap: 20px;
}

.admin-control-stack .panel {
    margin-bottom: 0;
}

.admin-control-form {
    display: grid;
    gap: 9px;
}

.admin-control-form label {
    margin-top: 8px;
    font-size: 0.88rem;
    font-weight: 750;
}

.admin-control-form .button,
.action-panel > form .button {
    margin-top: 10px;
}

.admin-password-details {
    margin-top: 20px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.admin-password-details summary {
    font-weight: 780;
    cursor: pointer;
}

.admin-password-details form {
    margin-top: 12px;
}

.danger-action-panel {
    border-top-color: #c6452d;
}

.disclosure summary {
    font-weight: 780;
    cursor: pointer;
}

.mini-record {
    display: grid;
    gap: 2px;
    border-top: 1px solid var(--line);
    margin-top: 15px;
    padding-top: 15px;
}

.mini-record span {
    color: var(--muted);
    font-size: 0.88rem;
}

.workspace-hero {
    background-image: radial-gradient(circle at 75% 20%, rgba(217, 241, 91, 0.14), transparent 32%);
}

.journey-panel {
    position: sticky;
    top: 20px;
}

.journey-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.journey-list li {
    position: relative;
    display: flex;
    gap: 14px;
    padding-bottom: 26px;
    color: var(--muted);
}

.journey-list li > a {
    display: flex;
    width: 100%;
    gap: 14px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
}

.journey-list li > a:hover strong,
.journey-list li > a:focus-visible strong {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.journey-list li::before {
    position: absolute;
    top: 34px;
    bottom: 0;
    left: 16px;
    width: 1px;
    background: var(--line);
    content: "";
}

.journey-list li:last-child::before {
    display: none;
}

.journey-list li > span,
.journey-list li > a > span {
    z-index: 1;
    display: grid;
    flex: 0 0 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    font-size: 0.82rem;
    font-weight: 800;
}

.journey-list .complete > span,
.journey-list .current > span,
.journey-list .complete > a > span,
.journey-list .current > a > span {
    border-color: var(--teal);
    background: var(--teal);
    color: var(--white);
}

.journey-list small {
    display: block;
}

.next-action {
    padding: 36px;
    box-shadow: var(--shadow);
}

.filing-card {
    display: grid;
    gap: 9px;
}

.filing-card span,
.filing-card small {
    color: var(--muted);
}

.questionnaire {
    display: grid;
    gap: 24px;
}

.questionnaire fieldset {
    margin: 0;
    padding: 30px;
    box-shadow: none;
}

.questionnaire legend {
    padding: 0 8px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.question-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--line);
    padding: 20px 0;
}

.question-row:first-of-type {
    border-top: 0;
}

.question-row p {
    margin: 0;
    font-weight: 650;
}

.question-row.stacked {
    display: block;
}

.choice-group {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.choice-group label {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
}

.choice-group input {
    width: auto;
    min-height: auto;
    margin-right: 5px;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.date-field {
    display: block;
    max-width: 360px;
    margin: 20px 0 28px;
    font-size: 0.9rem;
    font-weight: 750;
}

.date-field input {
    margin-top: 8px;
}

.date-field small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-weight: 400;
}

.number-grid label {
    font-size: 0.9rem;
}

.number-grid small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-weight: 400;
}

.previous-filing-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.65fr);
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
    border: 1px solid #cfe0d6;
    border-radius: 16px;
    padding: 22px 24px;
    background: #eef8f4;
}

.previous-filing-summary h2 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.previous-filing-summary p {
    margin-bottom: 0;
    color: var(--muted);
}

.previous-filing-summary .eyebrow {
    margin-bottom: 7px;
}

.previous-filing-note {
    font-size: 0.82rem;
}

.financial-column-headings,
.financial-comparison-row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(160px, 0.55fr) minmax(150px, 0.5fr);
    gap: 18px;
}

.financial-column-headings {
    border-bottom: 1px solid var(--line);
    padding: 4px 0 12px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.financial-comparison-row {
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}

.financial-comparison-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.financial-question {
    min-width: 0;
}

.financial-question strong,
.financial-question small,
.mobile-column-label {
    display: block;
}

.financial-question strong {
    font-size: 0.9rem;
}

.financial-question small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 400;
}

.financial-comparison-row .money-input {
    margin-top: 0;
}

.previous-filing-value {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.previous-filing-value strong {
    color: var(--ink);
    font-size: 0.94rem;
}

.previous-filing-value small {
    display: block;
    margin-top: 4px;
    color: var(--teal);
    font-size: 0.7rem;
}

.mobile-column-label {
    display: none;
}

.money-input {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    margin-top: 8px;
    border: 1px solid #b7c3bd;
    border-radius: 11px;
    background: var(--white);
}

.money-input span {
    padding-left: 14px;
    color: var(--muted);
}

.money-input input {
    border: 0;
}

.scope-list {
    margin: 15px 0 22px;
    color: var(--muted);
}

.form-footer {
    border-radius: var(--radius);
    padding: 20px 24px;
    background: var(--sand);
}

.form-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.result-banner {
    margin-bottom: 30px;
    padding: 30px;
    border-left: 5px solid var(--teal);
}

.result-banner.ineligible {
    border-left-color: #c05a32;
    background: var(--danger-bg);
}

.result-banner .eyebrow {
    color: var(--teal);
}

.threshold-breakdown {
    margin-top: 26px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.threshold-breakdown-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.threshold-breakdown-heading h3,
.threshold-breakdown-heading p {
    margin: 0;
}

.threshold-breakdown-heading p {
    margin-top: 6px;
}

.threshold-score {
    flex: none;
    border-radius: var(--radius-pill);
    padding: 7px 12px;
    background: var(--danger-bg);
    color: #9b3f20;
    font-size: 0.82rem;
    font-weight: 800;
}

.threshold-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.threshold-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    background: var(--white);
}

.threshold-card.passed {
    border-color: rgba(15, 107, 77, 0.25);
    background: var(--mint-bg);
}

.threshold-card.failed {
    border-color: rgba(180, 35, 24, 0.2);
    background: #fff8f5;
}

.threshold-status {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 10px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.threshold-card.failed .threshold-status {
    color: #a33d26;
}

.threshold-card h4 {
    margin: 0 0 14px;
}

.threshold-card dl,
.threshold-card dl div {
    margin: 0;
}

.threshold-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding: 8px 0;
}

.threshold-card dt {
    color: var(--muted);
}

.threshold-card dd {
    font-weight: 750;
}

.threshold-explanation {
    margin: 10px 0 0 !important;
    font-size: 0.84rem;
}

@media (max-width: 820px) {
    .threshold-grid {
        grid-template-columns: 1fr;
    }

    .threshold-breakdown-heading {
        display: grid;
    }
}

.standalone-action-form {
    margin: 0 0 28px;
}

.centered-action {
    margin-top: 25px;
    text-align: center;
}

.error-page {
    min-height: 68vh;
    padding: 100px 0;
}

.site-footer {
    padding: 56px 0 30px;
    background: var(--teal-darker);
    color: var(--white);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 0.8fr);
    gap: 32px;
    padding-bottom: 40px;
}

.footer-brand .brand {
    color: var(--white);
}

.footer-brand p {
    max-width: 260px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}

.footer-col h4 {
    margin: 0 0 16px;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}

.footer-col ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    text-decoration: none;
}

.footer-col a:hover,
.footer-col a:focus-visible {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
}

.footer-bottom .uk-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-legal {
    display: grid;
    gap: 6px;
}

.uk-flag {
    display: block;
    flex: none;
    width: 20px;
    height: 10px;
    border-radius: 2px;
}

@media (max-width: 820px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 2026 product redesign ---------------------------------------------------- */

:root {
    --ink: #072f32;
    --muted: #627374;
    --paper: #fbfcf8;
    --teal: #087957;
    --teal-dark: #004b3b;
    --teal-darker: #003b31;
    --mint: #e9f6ea;
    --mint-bg: #f1f8ef;
    --lime: #d8f535;
    --lime-dark: #c7e72c;
    --line: #dfe9e3;
    --sand: #f5f4ed;
    --shadow: 0 14px 38px rgba(0, 59, 49, 0.07);
    --shadow-lg: 0 30px 80px rgba(0, 37, 31, 0.2);
    --radius: 14px;
    --radius-lg: 22px;
}

body {
    background: var(--paper);
    font-size: 15px;
}

body::selection {
    background: var(--lime);
    color: var(--teal-darker);
}

.container {
    width: min(1240px, calc(100% - 72px));
}

.container.narrow {
    width: min(800px, calc(100% - 72px));
}

.site-header {
    background: #004737;
    box-shadow: 0 1px rgba(255, 255, 255, 0.08);
}

.header-inner {
    min-height: 80px;
}

.brand-logo {
    height: 31px;
}

nav {
    gap: clamp(18px, 2.6vw, 38px);
}

nav a,
.nav-form button {
    font-size: 0.84rem;
    font-weight: 650;
}

.nav-cta {
    padding: 11px 24px;
    box-shadow: 0 8px 24px rgba(216, 245, 53, 0.12);
}

.button {
    min-height: 46px;
    border-radius: var(--radius-pill);
    padding: 11px 22px;
    font-size: 0.9rem;
    font-weight: 800;
}

.button-primary {
    box-shadow: none;
}

.button-secondary {
    border-color: #cfddd5;
}

.hero {
    position: relative;
    min-height: 560px;
    padding: 76px 0 82px;
    background: linear-gradient(125deg, #004938 0%, #004333 48%, #025944 100%);
    isolation: isolate;
}

.hero-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(9, 128, 88, 0.22), rgba(216, 245, 53, 0.05));
    filter: blur(1px);
}

.hero-orb-one {
    top: -250px;
    right: -110px;
    width: 660px;
    height: 660px;
}

.hero-orb-two {
    bottom: -440px;
    left: 22%;
    width: 760px;
    height: 760px;
}

.hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(38px, 6vw, 84px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero .eyebrow {
    color: #8bddbd;
}

.hero h1 {
    max-width: 570px;
    margin-bottom: 18px;
    font-size: clamp(3rem, 5.4vw, 5.25rem);
    line-height: 0.98;
    letter-spacing: -0.058em;
}

.hero-copy {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.16rem;
    line-height: 1.48;
}

.hero-search {
    max-width: 590px;
    margin: 28px 0 24px;
    border: 2px solid rgba(216, 245, 53, 0.7);
    padding: 5px 5px 5px 18px;
}

.hero-search input {
    font-size: 0.86rem;
}

.hero-search .button {
    min-height: 42px;
    padding-inline: 24px;
}

.trust-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 11px 24px;
}

.trust-checks li {
    font-size: 0.78rem;
}

.trust-checks .tick-badge {
    width: 17px;
    height: 17px;
    font-size: 0.61rem;
}

.hero-visual {
    min-width: 0;
    transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}

.product-window {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 410px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 20px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 40px 90px rgba(0, 25, 20, 0.32);
}

.product-sidebar {
    padding: 24px 14px;
    background: #f7faf6;
}

.product-sidebar img {
    display: block;
    width: 112px;
    height: auto;
    margin: 0 5px 24px;
}

.product-sidebar ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-sidebar li {
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 8px;
    padding: 10px 9px;
    color: #49615d;
    font-size: 0.72rem;
    font-weight: 700;
}

.product-sidebar li.active {
    background: #e5f8ce;
    color: var(--teal-dark);
}

.product-sidebar li span {
    color: var(--teal);
}

.product-main {
    position: relative;
    padding: 64px 30px 24px;
}

.product-user {
    position: absolute;
    top: 17px;
    right: 26px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.65rem;
    line-height: 1.35;
}

.product-user > span {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
}

.product-main .hero-card-head {
    margin-bottom: 12px;
}

.product-main .hero-card-head h2 {
    font-size: 1.15rem;
}

.product-main .progress-steps li {
    padding: 11px 0;
}

.product-main .progress-steps strong {
    font-size: 0.8rem;
}

.product-main .progress-steps small {
    font-size: 0.67rem;
}

.progress-count {
    display: grid !important;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 6px solid #d9eee2;
    border-top-color: var(--teal);
    border-right-color: var(--teal);
    border-radius: 50%;
    color: var(--teal-dark);
    font-size: 1rem !important;
}

.guidance-banner {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 9px;
    border: 1px solid #d7ebd7;
    border-radius: 8px;
    padding: 10px 13px;
    background: #f0faee;
    color: var(--teal);
}

.guidance-banner > span {
    font-size: 1.2rem;
}

.guidance-banner p {
    flex: 1;
    margin: 0;
}

.guidance-banner strong,
.guidance-banner small {
    display: block;
}

.guidance-banner strong {
    color: var(--ink);
    font-size: 0.7rem;
}

.guidance-banner small {
    color: var(--muted);
    font-size: 0.6rem;
}

.hero-tooltip {
    right: -36px;
    bottom: 48px;
    min-width: 162px;
    padding: 15px 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.hero-caption {
    top: 112px;
    right: auto;
    bottom: auto;
    left: calc(100% + 20px);
    z-index: 3;
    width: 132px;
    max-width: none;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    line-height: 1.45;
    text-align: left;
    transform: rotate(-8deg);
}

.section {
    padding: 72px 0;
}

.steps-section {
    background: #fbfcf9;
}

.steps-section .eyebrow,
.confidence-section .eyebrow,
.testimonial-strip .eyebrow {
    color: #148568;
}

.section-head {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr auto;
    align-items: center;
    margin-bottom: 32px;
}

.section-head h2 {
    margin: 0;
}

.section-intro {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.section-head .see-link {
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 11px 18px;
    font-size: 0.78rem;
}

.section-head .see-link span {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border: 1px solid #8db5a6;
    border-radius: 50%;
    color: var(--teal);
    font-size: 0.55rem;
}

.feature-grid-four {
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.feature-grid-four .feature-card {
    position: relative;
    padding: 23px 22px;
}

.feature-grid-four .feature-card:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -34px;
    color: #719b91;
    content: "→";
    font-size: 1.5rem;
}

.feature-icon {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.feature-icon > span {
    display: grid;
    width: 41px;
    height: 41px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #63e261, var(--lime));
    color: var(--teal-darker);
    font-weight: 850;
}

.feature-icon svg {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    padding: 8px;
    background: #f0f7f3;
    fill: none;
    stroke: var(--teal);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.feature-grid-four .feature-card h3 {
    min-height: 2.25em;
    margin-bottom: 10px;
    font-size: 1.02rem;
    letter-spacing: -0.025em;
}

.feature-grid-four .feature-card p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
}

.why-section {
    position: relative;
    overflow: hidden;
    padding: 78px 0;
    background: linear-gradient(115deg, #004536, #004c3a 68%, #075a41);
    color: #fff;
    isolation: isolate;
}

.why-glow {
    position: absolute;
    z-index: -1;
    right: -340px;
    bottom: -560px;
    width: 960px;
    height: 960px;
    border: 1px solid rgba(216, 245, 53, 0.22);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 245, 53, 0.12), transparent 65%);
}

.why-grid {
    grid-template-columns: 0.95fr 1.05fr 0.72fr;
    gap: 46px;
    align-items: center;
}

.why-copy h2 {
    max-width: 450px;
    font-size: clamp(2rem, 3vw, 3rem);
}

.why-copy p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

.why-copy .button {
    margin-top: 12px;
}

.why-list {
    gap: 14px;
}

.why-list li {
    min-height: 132px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.why-list .icon-badge {
    width: 38px;
    height: 38px;
    background: rgba(68, 209, 111, 0.15);
    color: var(--lime);
    box-shadow: none;
}

.why-list strong {
    color: #fff;
    font-size: 0.8rem;
}

.why-list p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.72rem;
}

.pricing-card {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    padding: 25px;
    color: var(--ink);
}

.pricing-card .eyebrow {
    display: inline-block;
    margin-bottom: 4px;
    border-radius: var(--radius-pill);
    padding: 3px 7px;
    background: #edf6f2;
    font-size: 0.61rem;
}

.pricing-card .price {
    color: var(--ink);
    font-size: 3.2rem;
    line-height: 1;
}

.pricing-card .button {
    min-height: 40px;
    margin: 12px 0;
    font-size: 0.75rem;
}

.pricing-card .tick-list {
    font-size: 0.7rem;
}

.confidence-section {
    background: linear-gradient(90deg, #fbfcf8, #f8faf7);
}

.confidence-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: center;
    gap: 50px;
}

.confidence-copy h2 {
    max-width: 440px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.confidence-copy > p:not(.eyebrow) {
    max-width: 470px;
    color: var(--muted);
    font-size: 0.82rem;
}

.confidence-copy > a {
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 800;
}

.confidence-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.check-card {
    display: flex;
    gap: 10px;
    min-height: 166px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px 15px;
    background: #fff;
    box-shadow: var(--shadow);
}

.check-card-warning {
    border-color: #f3d8dc;
    background: #fff8f8;
}

.check-symbol {
    display: grid;
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 50%;
    background: #edf5f3;
    color: var(--teal);
    font-weight: 900;
}

.check-card-warning .check-symbol {
    background: #ffe7eb;
    color: #ec4260;
}

.check-card-success {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.check-card-success .check-symbol {
    width: 45px;
    height: 45px;
    background: var(--teal);
    color: #fff;
}

.check-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 0.75rem;
}

.check-card p {
    color: var(--muted);
    font-size: 0.65rem;
    line-height: 1.45;
}

.check-card a {
    display: inline-block;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 6px 11px;
    font-size: 0.62rem;
    font-weight: 800;
    text-decoration: none;
}

.testimonial-strip {
    padding: 38px 0;
    background: #fff;
}

.testimonial-grid {
    grid-template-columns: 1.1fr 0.65fr 1fr;
    gap: 48px;
}

.testimonial-lead h2 {
    max-width: 410px;
    margin: 0;
    font-size: 1.65rem;
}

.rating-block {
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    padding: 12px 30px;
    text-align: center;
}

.site-footer {
    padding: 38px 0 22px;
    background: #004737;
}

.footer-top {
    gap: clamp(28px, 6vw, 80px);
    padding-bottom: 28px;
}

.footer-brand {
    flex: 1;
}

.footer-brand p {
    max-width: 300px;
    font-size: 0.76rem;
}

.footer-col {
    min-width: 110px;
}

.footer-col h4,
.footer-col a,
.footer-bottom {
    font-size: 0.7rem;
}

/* Shared application surfaces */

.page-inner main {
    min-height: 55vh;
    background: #f7faf6;
}

.page-hero,
.admin-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(125deg, #004737, #075d46);
}

.page-hero::after,
.admin-header::after {
    position: absolute;
    top: -160px;
    right: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(216, 245, 53, 0.08);
    content: "";
}

.page-hero.compact {
    padding: 55px 0 60px;
}

.page-hero h1,
.admin-header h1 {
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    letter-spacing: -0.055em;
}

.page-inner .section {
    padding: 58px 0 72px;
}

.panel,
.result-card,
.empty-state,
.questionnaire fieldset,
.result-banner,
.auth-card,
.stat-grid article {
    border-color: #dce8e0;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(0, 59, 49, 0.055);
}

.panel,
.questionnaire fieldset {
    padding: 26px;
}

input,
select {
    border-color: #cfded5;
    border-radius: 10px;
    background: #fff;
}

input:focus,
select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(8, 121, 87, 0.1);
}

.journey-panel {
    overflow: hidden;
    border: 1px solid #dce8e0;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}

.journey-panel > .eyebrow {
    margin: -1px -1px 18px;
    padding: 18px 22px;
    background: var(--teal-dark);
    color: #a7e1c9;
}

.journey-list {
    padding: 0 22px 22px;
}

.status-pill {
    border-radius: var(--radius-pill);
}

.company-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 7px;
    padding: 8px 11px;
    background: rgba(0, 29, 23, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.015em;
}

.company-status > span,
.officer-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b7c6c0;
}

.company-status-active > span {
    background: #72df9c;
    box-shadow: 0 0 0 3px rgba(114, 223, 156, 0.14);
}

.company-status-dissolved > span,
.company-status-closed > span {
    background: #e5a59d;
}

.officer-disclosure[open] summary {
    margin-bottom: 18px;
}

.officer-filter {
    display: flex;
    gap: 4px;
    width: fit-content;
    margin-bottom: 4px;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 3px;
    background: #f5f8f5;
}

.officer-filter button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 6px;
    padding: 7px 9px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.71rem;
    font-weight: 700;
    cursor: pointer;
}

.officer-filter button:hover,
.officer-filter button:focus-visible {
    color: var(--ink);
}

.officer-filter button:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.officer-filter button.is-selected {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 4px rgba(0, 59, 49, 0.1);
}

.officer-filter button span {
    color: #81908b;
    font-size: 0.65rem;
}

.officer-record[hidden] {
    display: none;
}

.officer-record-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.officer-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 5px;
    padding: 4px 6px;
    background: #f1f4f2;
    color: #5f6d69 !important;
    font-size: 0.66rem !important;
    font-weight: 750;
}

.officer-status.is-active > span {
    background: #179266;
}

.officer-status.is-resigned > span {
    background: #8d9995;
}

.officer-record small {
    margin-top: 3px;
    color: #7a8984;
    font-size: 0.68rem;
}

.officer-empty {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.auth-section {
    position: relative;
    background: linear-gradient(125deg, #eef6ef, #f9fbf7 55%, #e7f3e9);
}

.auth-section::before {
    position: absolute;
    right: 5%;
    bottom: 5%;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(8, 121, 87, 0.1);
    border-radius: 50%;
    content: "";
}

.auth-card {
    position: relative;
}

.table-wrap {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

thead {
    background: #eef7f0;
}

tbody tr:hover {
    background: #f7fbf7;
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 34px;
    }

    .product-window {
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .product-sidebar {
        padding-inline: 9px;
    }

    .product-sidebar img {
        width: 96px;
    }

    .feature-grid-four {
        gap: 25px;
    }

    .feature-grid-four .feature-card:not(:last-child)::after {
        right: -20px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-card {
        grid-column: 1 / -1;
        max-width: 420px;
    }
}

@media (max-width: 900px) {
    .container,
    .container.narrow {
        width: min(100% - 40px, 1240px);
    }

    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px 22px;
    }

    .hero-grid,
    .confidence-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        width: min(680px, 100%);
        transform: none;
    }

    .feature-grid-four {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid-four .feature-card::after {
        display: none;
    }

    .section-head {
        grid-template-columns: 1fr auto;
    }

    .section-intro {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .why-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .rating-block {
        border: 0;
        padding: 0;
        text-align: left;
    }
}

@media (max-width: 620px) {
    .container,
    .container.narrow {
        width: min(100% - 28px, 1240px);
    }

    .site-header .public-nav > a:nth-child(-n + 4) {
        display: none;
    }

    .hero {
        padding: 56px 0 64px;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 14vw, 4rem);
    }

    .hero-search {
        align-items: stretch;
        flex-wrap: wrap;
        border-radius: 18px;
        padding: 9px;
    }

    .hero-search svg {
        margin: 13px 0 0 8px;
    }

    .hero-search input {
        width: calc(100% - 34px);
    }

    .hero-search .button {
        width: 100%;
    }

    .trust-checks,
    .feature-grid-four,
    .confidence-cards,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .product-window {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        display: none;
    }

    .product-main {
        padding: 62px 18px 18px;
    }

    .product-main .hero-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-main .progress-count {
        display: none !important;
    }

    .hero-tooltip,
    .hero-caption {
        display: none;
    }

    .section {
        padding: 54px 0;
    }

    .section-head {
        grid-template-columns: 1fr;
    }

    .section-head .see-link {
        justify-self: start;
    }

    .why-list {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        grid-column: auto;
    }

    .footer-top,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

.auth-section {
    min-height: 76vh;
    padding: 72px 20px;
    background: linear-gradient(135deg, #eff4ed 0%, var(--paper) 55%, #e8f2ed 100%);
}

.auth-shell {
    display: grid;
    width: min(980px, 100%);
    margin: 0 auto;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 72px;
}

.auth-shell.compact-auth {
    width: min(860px, 100%);
}

.auth-shell.single-card {
    display: block;
    width: min(500px, 100%);
}

.auth-intro h1,
.auth-card h1 {
    margin-bottom: 20px;
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.auth-intro > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.05rem;
}

.back-link.dark {
    color: var(--muted);
}

.tick-list {
    display: grid;
    gap: 14px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.tick-list li::before {
    margin-right: 10px;
    color: var(--teal);
    content: "✓";
    font-weight: 900;
}

.auth-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 36px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.auth-card form {
    display: grid;
    gap: 9px;
}

.auth-card label {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 750;
}

.auth-card .button {
    margin-top: 16px;
}

.input-help,
.auth-switch,
.muted {
    color: var(--muted);
}

.input-error {
    margin: 0;
    color: #9f321e;
    font-size: 0.84rem;
    font-weight: 700;
}

.auth-switch {
    margin: 24px 0 0;
    text-align: center;
}

.auth-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.auth-link {
    display: flex;
    min-height: 58px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--white);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.auth-link span:last-child {
    color: var(--teal);
    font-size: 1.05rem;
}

.auth-link-highlight {
    border-color: #b9d8cd;
    background: #eef8f4;
    color: var(--teal-dark);
}

.auth-link:hover,
.auth-link:focus-visible {
    border-color: var(--teal);
    box-shadow: 0 8px 20px rgba(15, 107, 77, 0.12);
    transform: translateY(-1px);
}

.inline-alert {
    margin-bottom: 18px;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.9rem;
}

.inline-alert.error {
    background: var(--danger-bg);
    color: #8a321f;
}

.inline-alert.success {
    background: var(--mint);
    color: var(--teal-dark);
}

.code-input {
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 1.7rem;
    letter-spacing: 0.32em;
}

.mfa-qr-code {
    display: block;
    width: min(280px, 100%);
    margin: 20px auto;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.auth-shell.single-card.mfa-setup-shell {
    width: min(720px, 100%);
}

.mfa-setup-shell .auth-card {
    padding: clamp(32px, 6vw, 56px);
}

.mfa-setup-shell .auth-card > p:not(.eyebrow),
.mfa-setup-shell .mfa-manual-key {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
}

.mfa-manual-key {
    margin: 18px 0;
}

.mfa-manual-key code {
    display: block;
    margin-top: 10px;
    overflow-wrap: anywhere;
    border-radius: 10px;
    padding: 12px;
    background: var(--cream);
    text-align: center;
}

.mfa-recovery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.mfa-recovery-grid code {
    border-radius: 8px;
    padding: 10px;
    background: var(--cream);
    text-align: center;
}

.mfa-confirm-download {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.mfa-confirm-download input {
    width: auto;
    margin-top: 3px;
}

.passkey-shell {
    width: min(680px, 100%);
}

.passkey-card {
    padding: clamp(32px, 6vw, 56px);
}

.passkey-benefits {
    margin: 24px 0;
}

.passkey-choice-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.passkey-choice-actions form {
    display: block;
}

.passkey-enrolment {
    display: grid;
    gap: 10px;
    margin-top: 28px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.passkey-enrolment label {
    font-weight: 750;
}

.passkey-list {
    margin-top: 24px;
}

.passkey-record {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.passkey-record-details {
    display: grid;
    gap: 2px;
}

.passkey-revoke {
    text-align: right;
}

.passkey-revoke summary {
    list-style: none;
}

.passkey-revoke summary::-webkit-details-marker {
    display: none;
}

.passkey-revoke form {
    display: grid;
    justify-items: end;
    gap: 8px;
    margin: 10px 0 0;
}

.passkey-revoke p {
    max-width: 280px;
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.passkey-status {
    min-height: 1.5em;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    flex: 1;
    border-top: 1px solid var(--line);
    content: "";
}

.admin-security-card,
.account-security-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.account-security-card {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .passkey-choice-actions {
        grid-template-columns: 1fr;
    }

    .passkey-record {
        grid-template-columns: 1fr;
    }

    .passkey-record .button {
        width: 100%;
    }

    .passkey-revoke,
    .passkey-revoke form {
        justify-items: stretch;
        text-align: left;
    }

    .admin-security-card,
    .account-security-card {
        align-items: stretch;
        flex-direction: column;
    }
}

.verification-banner {
    border-bottom: 1px solid #e1c981;
    padding: 18px 0;
    background: #fff5d6;
}

.verification-inner,
.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.verification-inner p {
    margin: 2px 0 0;
    color: var(--muted);
}

.dashboard-flash-wrap {
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
}

.dashboard-flash-wrap .flash {
    box-shadow: none;
}

.account-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 28px;
}

.settings-card {
    margin: 0;
}

.settings-card > h2 {
    margin-bottom: 10px;
}

.settings-form {
    display: grid;
    gap: 9px;
    margin-top: 24px;
}

.settings-form label {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 750;
}

.settings-form .button {
    justify-self: start;
    margin-top: 16px;
}

.account-verification-alert {
    display: grid;
    gap: 2px;
    margin-top: 22px;
    background: #fff5d6;
    color: var(--ink);
}

.account-verification-alert span {
    color: var(--muted);
    font-size: 0.88rem;
}

.resend-verification-form {
    margin-top: 18px;
}

.text-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--teal);
    font: inherit;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.8fr);
    align-items: start;
    gap: 32px;
}

.account-card dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

.account-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.account-actions .button {
    min-height: 52px;
    padding: 9px 10px;
    font-size: 0.78rem;
    line-height: 1.25;
    text-align: center;
}

.dark-text {
    color: var(--teal);
}

.section-title-row h2 {
    margin-bottom: 0;
}

.company-dashboard-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.company-dashboard-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.company-dashboard-card h3 {
    margin: 13px 0 5px;
}

.compact-list > div {
    grid-template-columns: 90px 1fr;
}

.order-section {
    margin-top: 62px;
}

.table-wrap {
    overflow-x: auto;
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.91rem;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 15px 17px;
    text-align: left;
    vertical-align: middle;
}

th {
    background: #f2f5f2;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

tbody tr:last-child td {
    border-bottom: 0;
}

td a {
    text-decoration: none;
}

.admin-header {
    padding: 52px 0 0;
    background: #102a2c;
    color: var(--white);
}

.admin-header h1 {
    margin-bottom: 36px;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.admin-nav {
    overflow-x: auto;
    gap: 8px;
}

.admin-nav a {
    border-radius: 10px 10px 0 0;
    padding: 12px 17px;
    background: rgba(255, 255, 255, 0.07);
    white-space: nowrap;
}

.admin-section {
    min-height: 55vh;
    background: #f2f4f0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.stat-grid article {
    display: grid;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
    background: var(--white);
}

.stat-grid span,
.stat-grid small,
.result-type {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.stat-grid strong {
    font-size: 1.8rem;
    letter-spacing: -0.04em;
}

.admin-list-heading {
    margin-top: 54px;
}

.admin-filter {
    max-width: 720px;
    margin-bottom: 30px;
}

.admin-filter > label {
    display: block;
    margin-bottom: 8px;
    font-weight: 750;
}

.multi-filter {
    display: grid;
    max-width: none;
    grid-template-columns: auto minmax(240px, 1fr) auto 180px auto;
    align-items: end;
    gap: 10px;
}

.multi-filter > label {
    margin: 0 0 13px;
}

select {
    min-height: 50px;
    border: 1px solid #b7c3bd;
    border-radius: 11px;
    padding: 10px 14px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.inline-form {
    display: flex;
    gap: 7px;
}

.inline-form select {
    min-height: 38px;
    padding: 6px 9px;
}

.admin-results {
    margin-top: 28px;
}

.site-footer p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.62);
}

.footer-note {
    max-width: 440px;
    text-align: right;
}

/* Content and policy pages (About, Privacy, Terms) */

.section-alt {
    background: var(--mint-bg);
}

.prose h2 {
    margin: 46px 0 14px;
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
}

.prose > h2:first-child {
    margin-top: 0;
}

.prose h3 {
    margin: 30px 0 10px;
    font-size: 1.06rem;
}

.prose p,
.prose li {
    color: var(--muted);
}

.prose .lede {
    color: var(--ink);
    font-size: 1.14rem;
}

.prose ul,
.prose ol {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding-left: 22px;
}

.prose li strong {
    color: var(--ink);
}

.prose a {
    border-bottom: 1px solid rgba(15, 107, 77, 0.35);
    color: var(--teal);
    font-weight: 700;
    text-decoration: none;
}

.prose a:hover,
.prose a:focus-visible {
    border-bottom-color: var(--teal);
}

.prose .muted {
    font-size: 0.92rem;
}

.prose .table-wrap {
    margin: 26px 0 30px;
}

.prose table {
    min-width: 620px;
}

.legal-details {
    margin: 26px 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 6px 26px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.legal-details .data-list > div:first-child {
    border-top: 0;
}

.scope-list strong {
    color: var(--ink);
}

.assistance-inline,
.assistance-imports {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

.review-document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.review-document-card {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background: var(--white);
}

.review-document-card h3,
.review-document-card p {
    margin: 0;
}

.review-document-card .data-list {
    margin: 4px 0 8px;
}

.assistance-inline h2,
.assistance-imports h2 {
    margin: 4px 0 8px;
}

.assistance-inline form,
.assistance-imports form,
.assistance-form-grid form {
    display: grid;
    gap: 12px;
}

.assistance-inline label,
.assistance-imports label,
.assistance-form-grid label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 750;
}

.assistance-inline textarea,
.assistance-imports input[type="file"],
.assistance-form-grid textarea,
.assistance-form-grid select {
    width: 100%;
}

.inline-help-button {
    width: fit-content;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--teal);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.inline-help-button:hover,
.inline-help-button:focus-visible {
    text-decoration: underline;
}

.assistance-dialog {
    width: min(620px, calc(100% - 32px));
    max-height: calc(100vh - 48px);
    margin: auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 28px 80px rgba(16, 36, 29, 0.28);
}

.assistance-dialog::backdrop {
    background: rgba(8, 26, 20, 0.62);
    backdrop-filter: blur(3px);
}

.assistance-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.assistance-dialog-header h2 {
    margin-bottom: 8px;
}

.assistance-dialog form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.assistance-dialog label {
    display: grid;
    gap: 8px;
    font-weight: 750;
}

.assistance-dialog textarea,
.assistance-dialog select {
    width: 100%;
}

.dialog-close {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
}

.dialog-close:hover,
.dialog-close:focus-visible {
    border-color: var(--teal);
    color: var(--teal);
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 4px;
}

.assistance-import-grid,
.assistance-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.assistance-imports {
    grid-template-columns: 1fr;
}

.assistance-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 26px;
}

.assistance-output {
    margin: 24px 0;
}

.assistance-error {
    margin-bottom: 20px;
    border-left: 5px solid #b42318;
}

.assistance-warning {
    border-left: 4px solid var(--warning);
    padding: 12px 16px;
    background: #fff8e5;
}

.assistance-summary {
    max-width: 760px;
    margin: 22px 0;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.7;
}

.assistance-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.assistance-overview-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
}

.assistance-overview-found {
    border-color: rgba(21, 111, 91, 0.2);
    background: var(--mint-bg);
}

.assistance-overview-needed {
    border-color: rgba(178, 126, 31, 0.25);
    background: #fffaf0;
}

.assistance-overview-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--teal);
    font-weight: 850;
}

.assistance-overview-card h3,
.assistance-checks h3 {
    margin: 3px 0 10px;
}

.assistance-overview-card p {
    margin: 0 0 10px;
}

.assistance-overview-card ul,
.assistance-checks ul {
    margin: 0;
    padding-left: 20px;
}

.assistance-fact-list {
    display: grid;
    gap: 12px;
    padding-left: 0 !important;
    list-style: none;
}

.assistance-fact-list li {
    display: grid;
    gap: 3px;
}

.assistance-fact-list span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.assistance-checks {
    margin-top: 16px;
    border-left: 4px solid var(--warning);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    background: #fff8e5;
}

.assistance-result-list,
.assistance-proposals {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.assistance-result-item,
.assistance-proposal {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    background: var(--white);
}

.assistance-result-item .assistance-result-list {
    margin: 10px 0 0;
}

.assistance-result-item p {
    margin: 0;
}

.assistance-action {
    margin-top: 10px !important;
    color: var(--teal);
}

.assistance-proposal {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.assistance-proposal span {
    display: grid;
    gap: 3px;
}

.assistance-proposal small {
    color: var(--muted);
}

.assistance-sources {
    margin-top: 26px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

@media (max-width: 820px) {
    .review-document-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid,
    .detail-grid,
    .dashboard-grid,
    .account-grid,
    .account-settings-grid,
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .assistance-import-grid,
    .assistance-form-grid,
    .assistance-overview-grid {
        grid-template-columns: 1fr;
    }

    .assistance-inline,
    .assistance-imports {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 68px 0;
    }

    .feature-grid,
    .trust-grid,
    .filing-grid,
    .number-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 500px;
    }

    .journey-panel {
        position: static;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .multi-filter {
        grid-template-columns: 1fr;
    }

    .multi-filter > label {
        margin: 0;
    }

    .previous-filing-summary {
        grid-template-columns: 1fr;
    }

    .financial-column-headings {
        display: none;
    }

    .financial-comparison-row {
        grid-template-columns: minmax(0, 1fr) minmax(145px, 0.55fr);
    }

    .financial-question {
        grid-column: 1 / -1;
    }

    .mobile-column-label {
        display: block;
        margin-bottom: 4px;
        font-size: 0.66rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }
}

@media (max-width: 420px) {
    .account-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .assistance-dialog {
        max-height: calc(100vh - 24px);
        padding: 22px;
    }

    .dialog-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .container,
    .container.narrow {
        width: min(100% - 28px, 1160px);
    }

    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    h1 {
        font-size: 2.65rem;
    }

    .search-control,
    .data-list > div {
        grid-template-columns: 1fr;
    }

    .search-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .company-title-row,
    .question-row,
    .form-footer,
    .footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }

    .choice-group {
        width: 100%;
    }

    .choice-group label {
        flex: 1;
        text-align: center;
    }

    .financial-comparison-row {
        grid-template-columns: 1fr;
    }

    .footer-note {
        text-align: left;
    }

    .auth-section {
        padding: 42px 14px;
    }

    .auth-card {
        padding: 25px;
    }

    .auth-links {
        grid-template-columns: 1fr;
    }

    .verification-inner,
    .section-title-row,
    .company-dashboard-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }
}
