:root {
    --black: #08090b;
    --charcoal: #191c22;
    --charcoal-2: #242832;
    --red: #d71920;
    --red-dark: #9f1016;
    --white: #ffffff;
    --light: #f5f6f8;
    --line: #e2e5ea;
    --muted: #626976;
    --shadow: 0 20px 45px rgba(8, 9, 11, 0.12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--charcoal);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

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

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

[hidden] {
    display: none !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 20px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--black);
    text-decoration: none;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: var(--red);
    border-radius: var(--radius);
    font-size: 0.84rem;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 170px;
    max-height: 46px;
    object-fit: contain;
}

.brand-name {
    font-size: 0.95rem;
    letter-spacing: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-menu a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.94rem;
}

.nav-menu a:hover,
.text-link:hover,
.footer-links a:hover {
    color: var(--red);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius);
    padding: 10px;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--black);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--red);
    border-radius: var(--radius);
    color: var(--white);
    background: var(--red);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    color: var(--white);
    background: var(--black);
    border-color: var(--black);
}

.btn-secondary:hover {
    background: var(--charcoal-2);
    border-color: var(--charcoal-2);
}

.btn-small {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero {
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(8, 9, 11, 0.96), rgba(25, 28, 34, 0.94)),
        radial-gradient(circle at 85% 20%, rgba(215, 25, 32, 0.28), transparent 50%);
    padding: 86px 0 76px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 40px;
    align-items: center;
}

.hero h1,
.page-hero h1,
.section h2,
.final-cta h2,
.advisor-band h2 {
    margin: 0 0 18px;
    line-height: 1.08;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 790px;
    font-size: clamp(2.4rem, 6vw, 4.9rem);
}

.hero-subtitle,
.page-hero p,
.large-text {
    font-size: 1.14rem;
}

.hero-subtitle {
    max-width: 720px;
    color: #d9dde4;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-panel {
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
}

.hero-panel span {
    padding: 16px;
    border-left: 4px solid var(--red);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
}

.section,
.page-hero {
    padding: 76px 0;
}

.page-hero {
    color: var(--white);
    background: linear-gradient(135deg, var(--black), var(--charcoal));
}

.section-muted {
    background: var(--light);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.section-heading.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    max-width: none;
    gap: 24px;
}

.section-heading h2,
.narrow h2,
.advisor-band h2,
.final-cta h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.price-card,
.mini-card,
.detail-card,
.form-card,
.contact-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 28px rgba(8, 9, 11, 0.06);
}

.service-card,
.price-card,
.mini-card,
.form-card,
.contact-panel {
    padding: 24px;
}

.service-card h3,
.price-card h2,
.price-card h3,
.mini-card h2,
.mini-card h3 {
    margin-top: 0;
    line-height: 1.2;
}

.check-list {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 22px;
}

.check-list li::before {
    position: absolute;
    left: 0;
    color: var(--red);
    content: "✓";
    font-weight: 900;
}

.check-list.light li::before {
    color: var(--white);
}

.price {
    color: var(--red);
    font-size: 1.35rem;
    font-weight: 900;
}

.price-card.tall {
    display: flex;
    flex-direction: column;
}

.price-card.tall .btn {
    margin-top: auto;
}

.advisor-band,
.final-cta {
    color: var(--white);
    background: var(--black);
    padding: 58px 0;
}

.advisor-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr auto;
    gap: 26px;
    align-items: center;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.mini-card {
    min-height: 170px;
}

.text-link {
    color: var(--red);
    font-weight: 900;
    text-decoration: none;
}

.service-list {
    display: grid;
    gap: 24px;
}

.detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
    gap: 30px;
    padding: 30px;
}

.included-box {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--light);
}

.notice {
    margin-top: 24px;
    padding: 18px;
    border-left: 4px solid var(--red);
    border-radius: var(--radius);
    background: var(--light);
}

.marketplace-hero {
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(8, 9, 11, 0.98), rgba(25, 28, 34, 0.94)),
        radial-gradient(circle at 86% 16%, rgba(215, 25, 32, 0.32), transparent 48%);
    padding: 86px 0 76px;
}

.marketplace-hero-grid,
.marketplace-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 38px;
    align-items: center;
}

.marketplace-hero h1,
.marketplace-detail-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2.4rem, 6vw, 4.7rem);
    line-height: 1.04;
}

.marketplace-hero-copy {
    max-width: 760px;
    color: #d9dde4;
    font-size: 1.05rem;
}

.btn-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    background: transparent;
}

.btn-outline-light:hover {
    border-color: var(--red);
    background: var(--red);
}

.marketplace-hero-panel {
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.marketplace-hero-panel span {
    padding: 15px;
    border-left: 4px solid var(--red);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 900;
}

.marketplace-category-grid,
.featured-marketplace-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.marketplace-category-card {
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 28px rgba(8, 9, 11, 0.06);
}

.category-marker {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: var(--white);
    background: var(--black);
    border-radius: var(--radius);
    font-weight: 900;
}

.marketplace-category-card h3,
.marketplace-card h3 {
    margin: 0;
    line-height: 1.18;
}

.category-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.category-footer span {
    color: var(--muted);
    font-weight: 900;
}

.btn-soft {
    color: var(--red);
    background: #fff0f1;
    border-color: #ffd1d4;
}

.btn-soft:hover {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
}

.marketplace-disclosure {
    margin-top: 0;
    margin-bottom: 24px;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.marketplace-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 28px rgba(8, 9, 11, 0.06);
    overflow: hidden;
}

.marketplace-card[hidden] {
    display: none;
}

.marketplace-card-featured {
    border-color: rgba(215, 25, 32, 0.35);
}

.marketplace-card-meta,
.detail-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.marketplace-card-meta span,
.marketplace-card-meta strong,
.detail-badge-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--charcoal);
    background: var(--light);
    font-size: 0.78rem;
    font-weight: 900;
}

.marketplace-card-meta strong,
.detail-badge-row span:nth-child(2) {
    color: var(--white);
    background: var(--red);
}

.marketplace-image {
    display: grid;
    place-items: center;
    min-height: 190px;
    background: var(--light);
}

.marketplace-image img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: contain;
    padding: 22px;
}

.marketplace-image span {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--red);
    font-size: 2rem;
    font-weight: 900;
}

.marketplace-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.marketplace-content h2 {
    margin: 0 0 8px;
    line-height: 1.2;
}

.marketplace-company {
    margin: 0 0 12px;
    color: var(--muted);
    font-weight: 800;
}

.affiliate-note {
    margin-top: auto;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.best-for,
.marketplace-specs {
    color: var(--muted);
    font-size: 0.93rem;
}

.marketplace-specs {
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.marketplace-content .btn {
    align-self: flex-start;
    margin-top: 16px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.work-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 28px rgba(8, 9, 11, 0.06);
    overflow: hidden;
}

.work-media {
    display: grid;
    place-items: center;
    min-height: 210px;
    background: var(--light);
}

.work-media img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.work-media span {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--red);
    font-size: 2rem;
    font-weight: 900;
}

.work-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.work-card-meta,
.work-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.work-card-meta {
    margin-bottom: 12px;
}

.work-card-meta span,
.work-card-meta strong,
.work-stack span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--charcoal);
    background: var(--light);
    font-size: 0.78rem;
    font-weight: 900;
}

.work-card-meta strong {
    color: var(--white);
    background: var(--red);
}

.work-content h3 {
    margin: 0 0 8px;
    line-height: 1.18;
}

.work-subtitle {
    margin: 0 0 12px;
    color: var(--muted);
    font-weight: 800;
}

.work-subtitle span::before {
    content: " / ";
}

.work-build,
.work-list-block {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.work-build h4,
.work-list-block h4 {
    margin: 0 0 8px;
    font-size: 0.9rem;
}

.work-build p,
.work-list-block ul {
    margin-top: 0;
}

.work-stack {
    margin-top: 4px;
}

.work-content .btn {
    align-self: flex-start;
    margin-top: 18px;
}

.marketplace-filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(160px, 0.7fr));
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--light);
}

.marketplace-empty {
    padding: 18px;
    border-radius: var(--radius);
    background: var(--light);
    font-weight: 900;
}

.agreement-public-card,
.agreement-sign-form,
.cta-panel {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.agreement-preview {
    margin-top: 18px;
}

.agreement-preview h2,
.agreement-preview h3 {
    margin-top: 18px;
}

.public-preview {
    color: var(--text);
}

.notice.error {
    border-color: rgba(215, 25, 32, 0.28);
    color: #8b1217;
    background: #fde8ea;
}

.notice.success {
    border-color: rgba(28, 135, 78, 0.28);
    color: #135c35;
    background: #e9f7ef;
}

.marketplace-transparency {
    max-width: 860px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 28px rgba(8, 9, 11, 0.06);
}

.marketplace-transparency h2 {
    margin-top: 0;
}

.marketplace-detail-hero {
    color: var(--white);
    background: linear-gradient(135deg, var(--black), var(--charcoal));
    padding: 70px 0;
}

.marketplace-detail-media {
    display: grid;
    place-items: center;
    min-height: 340px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.marketplace-detail-media img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    padding: 28px;
}

.marketplace-detail-media span {
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    color: var(--white);
    background: var(--red);
    border-radius: var(--radius);
    font-size: 3rem;
    font-weight: 900;
}

.detail-specs,
.affiliate-disclosure {
    color: #d9dde4;
}

.affiliate-disclosure {
    max-width: 640px;
    font-size: 0.92rem;
    font-weight: 800;
}

.marketplace-detail-content {
    display: grid;
    gap: 24px;
}

.detail-card-stack {
    display: block;
}

.marketplace-detail-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.marketplace-detail-list {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px 16px;
}

.marketplace-detail-list dt {
    color: var(--muted);
    font-weight: 900;
}

.marketplace-detail-list dd {
    margin: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
    gap: 24px;
    align-items: start;
}

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

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    visibility: hidden;
    width: 0;
    height: 0;
    overflow: hidden;
}

.human-check {
    display: grid;
    gap: 10px;
    margin: 10px 0 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--light);
}

.human-check legend {
    padding: 0 6px;
    font-weight: 900;
}

.human-check p {
    margin: 0;
}

.pow-status {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

label {
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #cfd5df;
    border-radius: var(--radius);
    font: inherit;
    color: var(--charcoal);
    background: var(--white);
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
    outline: 3px solid rgba(215, 25, 32, 0.28);
    outline-offset: 2px;
}

.alert {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-weight: 800;
}

.alert.success {
    color: #0d5f31;
    background: #e6f6ed;
}

.alert.error {
    color: #8b1217;
    background: #fde8ea;
}

.request-reference {
    margin: -4px 0 14px;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--charcoal);
    background: var(--light);
    font-weight: 800;
}

.tech-clarity-hero {
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(8, 9, 11, 0.97), rgba(25, 28, 34, 0.94)),
        radial-gradient(circle at 82% 16%, rgba(215, 25, 32, 0.3), transparent 46%);
    padding: 84px 0 74px;
}

.tech-clarity-hero-grid,
.tech-clarity-layout,
.tech-result-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 32px;
    align-items: start;
    min-width: 0;
}

.tech-clarity-hero h1 {
    max-width: 850px;
    margin: 0 0 18px;
    font-size: clamp(2.35rem, 5.8vw, 4.55rem);
    line-height: 1.06;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.tech-clarity-support-line {
    color: #f3f5f8;
    font-weight: 900;
}

.tech-clarity-hero-panel {
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.tech-clarity-hero-panel span {
    padding: 15px;
    border-left: 4px solid var(--red);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.tech-clarity-intro {
    position: sticky;
    top: 98px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--light);
}

.tech-clarity-intro h2,
.tech-result-main h2,
.tech-result-support h2 {
    margin: 0 0 14px;
    line-height: 1.12;
    letter-spacing: 0;
}

.tech-clarity-form,
.tech-result-main,
.tech-result-support {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 28px rgba(8, 9, 11, 0.06);
}

.tech-clarity-form,
.tech-result-support {
    padding: 24px;
}

.tech-progress {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 900;
}

.tech-progress-track {
    height: 9px;
    border-radius: 999px;
    background: var(--light);
    overflow: hidden;
}

.tech-progress-track span {
    display: block;
    width: 16.66%;
    height: 100%;
    border-radius: inherit;
    background: var(--red);
    transition: width 180ms ease;
}

.tech-step {
    min-width: 0;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
}

.tech-step legend {
    margin-bottom: 18px;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.18;
}

.tech-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tech-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-height: 58px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.tech-option:hover,
.tech-option:has(input:checked) {
    border-color: rgba(215, 25, 32, 0.55);
    background: #fff6f7;
    transform: translateY(-1px);
}

.tech-option input {
    width: 18px;
    min-height: 18px;
    margin: 3px 0 0;
    accent-color: var(--red);
}

.tech-option span {
    font-weight: 800;
    line-height: 1.3;
}

.tech-ai-followup-step .field-help {
    margin-top: -8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-weight: 700;
}

.tech-followup-question {
    display: grid;
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.tech-followup-label {
    color: var(--black);
    font-weight: 900;
    line-height: 1.3;
}

.tech-step-actions {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-clarity-enhanced .tech-step-actions {
    display: flex;
}

.tech-result-section {
    padding-top: 18px;
}

.tech-result-main {
    padding: 28px;
}

.tech-result-block {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.tech-result-block h3 {
    margin: 0 0 8px;
    line-height: 1.2;
}

.tech-result-block p {
    margin-bottom: 0;
}

.tech-avoid-list {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.tech-avoid-list li {
    position: relative;
    padding-left: 22px;
}

.tech-avoid-list li::before {
    position: absolute;
    left: 0;
    color: var(--red);
    content: "!";
    font-weight: 900;
}

.tech-service-result {
    padding: 18px;
    border: 1px solid rgba(215, 25, 32, 0.22);
    border-radius: var(--radius);
    background: #fff6f7;
}

.result-service-reason {
    margin-top: 8px;
    color: var(--muted);
    font-weight: 700;
}

.tech-result-support {
    position: sticky;
    top: 98px;
}

.tech-cta-grid {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.btn-outline-dark {
    color: var(--black);
    border-color: var(--black);
    background: transparent;
}

.btn-outline-dark:hover {
    color: var(--white);
    background: var(--black);
    border-color: var(--black);
}

.tech-followup-form {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.tech-followup-form h3 {
    margin: 0;
}

.privacy-note,
.form-response {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.form-response.success {
    padding: 11px 12px;
    border-radius: var(--radius);
    color: #0d5f31;
    background: #e6f6ed;
}

.form-response.error {
    padding: 11px 12px;
    border-radius: var(--radius);
    color: #8b1217;
    background: #fde8ea;
}

.site-footer {
    color: #c7ccd5;
    background: var(--charcoal);
    padding: 42px 0 24px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

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

.footer-logo {
    display: block;
    width: auto;
    max-width: 170px;
    max-height: 52px;
    object-fit: contain;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 22px;
}

.footer-links a {
    color: #dfe3ea;
    font-weight: 700;
    text-decoration: none;
}

.footer-links .footer-cta-link {
    padding: 6px 12px;
    color: var(--white);
    border: 1px solid var(--red);
    border-radius: var(--radius);
    background: var(--red);
}

.footer-links .footer-cta-link:hover {
    color: var(--white);
    background: var(--red-dark);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
    font-weight: 900;
    text-decoration: none;
}

.footer-social a:hover {
    border-color: var(--red);
    background: rgba(215, 25, 32, 0.18);
}

.footer-social img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .hero-grid,
    .advisor-grid,
    .detail-card,
    .contact-layout,
    .marketplace-hero-grid,
    .marketplace-detail-grid,
    .tech-clarity-hero-grid,
    .tech-clarity-layout,
    .tech-result-layout {
        grid-template-columns: 1fr;
    }

    .tech-clarity-intro,
    .tech-result-support {
        position: static;
    }

    .card-grid.four,
    .card-grid.three,
    .mini-grid,
    .work-grid,
    .marketplace-grid,
    .marketplace-category-grid,
    .featured-marketplace-grid,
    .marketplace-detail-columns,
    .marketplace-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .advisor-grid .btn {
        justify-self: start;
    }
}

@media (max-width: 760px) {
    .site-nav {
        min-height: 68px;
    }

    .brand-name {
        max-width: 190px;
        line-height: 1.1;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 68px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .nav-menu.is-open {
        display: flex;
    }

    .hero {
        padding: 64px 0;
    }

    .section,
    .page-hero {
        padding: 56px 0;
    }

    .section-heading.split,
    .footer-grid {
        align-items: start;
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .container,
    .narrow {
        width: min(100% - 24px, 1120px);
    }

    .card-grid.four,
    .card-grid.three,
    .mini-grid,
    .work-grid,
    .marketplace-grid,
    .marketplace-category-grid,
    .featured-marketplace-grid,
    .marketplace-detail-columns,
    .marketplace-filter-bar,
    .tech-option-grid,
    .form-grid.two {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .marketplace-hero h1,
    .marketplace-detail-hero h1 {
        font-size: 2.35rem;
    }

    .tech-clarity-hero h1 {
        font-size: 2rem;
    }

    .tech-clarity-hero-panel,
    .tech-clarity-form,
    .tech-result-main,
    .tech-result-support {
        padding: 18px;
    }
}
