.landing-explainer-section,
.landing-faq-section {
    padding: clamp(2.6rem, 6vw, 4.8rem) clamp(20px, 4vw, 48px);
    background: linear-gradient(180deg, #07101c 0%, #091320 100%);
}

.landing-faq-section {
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    background: linear-gradient(180deg, #091320 0%, #060c15 100%);
}

.landing-content-shell,
.landing-faq-shell {
    width: min(1220px, 100%);
    margin: 0 auto;
}

.landing-section-heading {
    max-width: 56rem;
    margin-bottom: 1.5rem;
}

.landing-section-heading--compact {
    margin-bottom: 1.2rem;
}

.landing-section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.16);
    color: #f3dfa0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-section-heading h2 {
    color: #ffffff;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    line-height: 0.96;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.landing-section-lead,
.landing-section-support {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.78;
}

.landing-section-support {
    color: rgba(255, 255, 255, 0.68);
    margin-top: 0.8rem;
}

.landing-journey-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 2rem 0 1.1rem;
}

.landing-journey-card {
    padding: 1.2rem;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(12, 24, 43, 0.96), rgba(8, 16, 31, 0.92));
    border: 1px solid rgba(124, 170, 222, 0.16);
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.26);
}

.landing-journey-visual {
    height: 172px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    padding: 0.32rem;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(92, 168, 255, 0.2), transparent 42%),
        radial-gradient(circle at top right, rgba(243, 223, 160, 0.12), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(5, 10, 20, 0.24));
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.landing-journey-visual svg {
    width: 100%;
    height: 100%;
}

.landing-journey-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.03);
    filter: saturate(1.04) contrast(1.02);
}

.landing-journey-step {
    margin: 0 0 0.35rem;
    color: #f3dfa0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.landing-journey-card h3 {
    margin: 0 0 0.45rem;
    color: #ffffff;
    font-size: 1.14rem;
    font-weight: 800;
    line-height: 1.32;
}

.landing-journey-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
    line-height: 1.72;
}

.landing-storyboard {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.landing-storyboard-copy,
.landing-storyboard-diagram {
    padding: 1.35rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(10, 17, 31, 0.2));
    border: 1px solid rgba(212, 175, 55, 0.12);
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.22);
}

.landing-storyboard-kicker {
    margin: 0 0 0.5rem;
    color: #f3dfa0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-storyboard-copy h3 {
    margin: 0 0 0.65rem;
    color: #ffffff;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 3.3vw, 2.9rem);
    line-height: 0.98;
    font-weight: 600;
}

.landing-storyboard-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.96rem;
    line-height: 1.78;
}

.landing-storyboard-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0 0;
    padding: 0;
}

.landing-storyboard-list li {
    position: relative;
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    line-height: 1.65;
}

.landing-storyboard-list li::before {
    content: '';
    position: absolute;
    top: 0.58rem;
    left: 0;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #f3dfa0 100%);
}

.landing-storyboard-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    overflow: hidden;
}

.landing-storyboard-diagram svg {
    width: 100%;
    height: auto;
}

.landing-storyboard-diagram img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
}

.landing-entity-grid,
.landing-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

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

.landing-entity-card,
.landing-faq-card {
    padding: 1.2rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(10, 17, 31, 0.2));
    border: 1px solid rgba(212, 175, 55, 0.12);
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.22);
}

.landing-entity-card h3,
.landing-faq-card h3 {
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.55rem;
}

.landing-entity-card p,
.landing-faq-card p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
    line-height: 1.7;
}

.landing-entity-card a {
    color: #f3dfa0;
    text-decoration: underline;
    text-underline-offset: 0.16rem;
}

.landing-entity-visual {
    margin: 1rem 0 0.75rem;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top left, rgba(92, 168, 255, 0.18), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(5, 10, 20, 0.24));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.landing-entity-visual--sip {
    height: 152px;
}

.landing-entity-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.landing-entity-card__header,
.landing-faq-card__header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.landing-entity-card__header h3,
.landing-faq-card__header + h3 {
    margin-bottom: 0;
}

.landing-entity-card__icon,
.landing-faq-card__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #f3dfa0;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.16), rgba(92, 168, 255, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.18);
}

.landing-entity-card__icon svg,
.landing-faq-card__icon svg {
    width: 24px;
    height: 24px;
}

.landing-entity-card__eyebrow {
    margin: 0 0 0.28rem;
    color: #f3dfa0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-check-list {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    margin-top: 0.95rem;
    padding: 0;
}

.landing-check-list li {
    position: relative;
    padding-left: 1rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.88rem;
    line-height: 1.6;
}

.landing-check-list li::before {
    content: '';
    position: absolute;
    top: 0.58rem;
    left: 0;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #f3dfa0 100%);
}

.landing-faq-label {
    color: #f3dfa0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.landing-faq-intro {
    max-width: 44rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.7;
}

.landing-faq-card__header .landing-faq-label {
    margin: 0.7rem 0 0;
}

.canonical-upload-section {
    padding: 0 clamp(20px, 4vw, 48px) clamp(2rem, 5vw, 4rem);
    background: linear-gradient(180deg, rgba(5, 10, 19, 0) 0%, rgba(5, 10, 19, 0.35) 100%);
}

.canonical-upload-shell {
    width: min(1220px, 100%);
    margin: 0 auto;
}

.canonical-upload-card {
    padding: clamp(1.35rem, 2.8vw, 2rem);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(8, 15, 28, 0.88), rgba(8, 15, 28, 0.64));
    border: 1px solid rgba(212, 175, 55, 0.14);
    box-shadow: 0 28px 72px rgba(2, 6, 23, 0.36);
}

.canonical-upload-card h2 {
    color: #ffffff;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    line-height: 1;
    margin-bottom: 0.65rem;
}

.canonical-upload-card p,
.canonical-upload-note {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.96rem;
    line-height: 1.7;
}

.canonical-upload-note {
    margin-top: 0.85rem;
}

.guest-security-card {
    margin: 1.25rem 0;
    padding: 1.2rem;
    border-radius: 24px;
    border: 1px solid rgba(125, 211, 252, 0.18);
    background: linear-gradient(180deg, rgba(12, 22, 39, 0.9), rgba(15, 23, 42, 0.78));
    display: grid;
    gap: 1rem;
    box-shadow: 0 18px 40px rgba(2, 8, 23, 0.18);
}

.guest-security-intro {
    display: grid;
    gap: 0.35rem;
}

.guest-security-puzzle-row {
    display: grid;
    grid-template-columns: minmax(180px, 0.95fr) minmax(150px, 0.7fr) auto;
    gap: 0.85rem;
    align-items: stretch;
}

.guest-security-question {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(125, 211, 252, 0.18);
    background: rgba(14, 165, 233, 0.08);
    min-height: 56px;
}

.guest-security-question__text {
    font-size: 1.08rem;
    font-weight: 700;
    color: #f8fbff;
    letter-spacing: 0.01em;
    text-align: center;
}

.guest-security-answer {
    width: 100%;
    height: 56px;
    padding: 0 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.88);
    color: #f8fbff;
    font-size: 1rem;
}

.guest-security-refresh {
    min-height: 56px;
    border-radius: 18px;
    white-space: nowrap;
}

.guest-upload-button-row {
    margin: 0.1rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: stretch;
}

.guest-upload-button {
    flex: 1 1 220px;
    min-height: 68px;
    padding: 0 1.5rem;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 800;
}

.guest-security-status {
    margin: 0;
    color: rgba(210, 228, 249, 0.8);
}

.canonical-upload-card--sample {
    border-color: rgba(20, 184, 166, 0.18);
}

.sample-analysis-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.15rem 0 1rem;
}

.sample-analysis-chip {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sample-analysis-chip.is-active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.26), rgba(20, 184, 166, 0.22));
    border-color: rgba(212, 175, 55, 0.28);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

.sample-analysis-chip:hover {
    transform: translateY(-1px);
}

.sample-analysis-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1rem;
    margin-top: 1rem;
}

.sample-analysis-card {
    padding: 1.2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sample-analysis-card h3,
.sample-insight-band h3 {
    color: #ffffff;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.55rem, 2.3vw, 2rem);
    line-height: 1.05;
    margin-bottom: 0.45rem;
}

.sample-analysis-label {
    margin-bottom: 0.55rem;
    color: rgba(243, 223, 160, 0.76);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sample-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.sample-stat-card {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(5, 10, 19, 0.44);
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.sample-stat-card dt {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sample-stat-card dd {
    margin-top: 0.3rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
}

.sample-source-list {
    display: grid;
    gap: 0.75rem;
}

.sample-source-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(5, 10, 19, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.sample-source-copy {
    display: grid;
    gap: 0.15rem;
}

.sample-source-copy strong {
    color: #ffffff;
    font-size: 0.95rem;
}

.sample-source-copy span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.84rem;
    line-height: 1.5;
}

.sample-source-value {
    color: #f3dfa0;
    font-size: 0.94rem;
    font-weight: 800;
    white-space: nowrap;
}

.sample-insight-band {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    padding: 1.2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.16), rgba(99, 102, 241, 0.18));
    border: 1px solid rgba(20, 184, 166, 0.18);
}

.sample-goal-pill {
    padding: 0.9rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    font-weight: 800;
    text-align: center;
    min-width: 210px;
}

.sample-analysis-actions {
    margin-top: 1rem;
}

.sample-analysis-disclaimer {
    margin-top: 0.9rem;
}

.statement-inputs {
    display: grid;
    gap: 0.8rem;
    margin: 1.2rem 0 1rem;
}

.statement-input-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: start;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.statement-input-group input[type='password'] {
    grid-column: 1 / 2;
}

.file-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 0.95rem;
}

.file-input::file-selector-button {
    margin-right: 0.9rem;
    padding: 0.55rem 0.9rem;
    border: none;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.18);
    color: #f8f2dc;
    font-weight: 700;
    cursor: pointer;
}

.remove-btn,
.canonical-upload-btn,
.canonical-upload-btn-secondary,
.canonical-upload-btn-ghost {
    border: none;
    cursor: pointer;
    font-weight: 700;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.remove-btn {
    align-self: center;
    padding: 0.78rem 1rem;
    background: rgba(239, 68, 68, 0.18);
    color: #fecaca;
}

.canonical-upload-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.canonical-upload-btn {
    padding: 0.95rem 1.4rem;
    background: linear-gradient(135deg, #d4af37 0%, #f3dfa0 100%);
    color: #0f172a;
    box-shadow: 0 16px 38px rgba(212, 175, 55, 0.24);
}

.canonical-upload-btn-secondary {
    padding: 0.95rem 1.4rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.canonical-upload-btn-ghost {
    padding: 0.95rem 1.4rem;
    background: transparent;
    color: #f3dfa0;
    border: 1px solid rgba(212, 175, 55, 0.22);
}

.remove-btn:hover,
.canonical-upload-btn:hover,
.canonical-upload-btn-secondary:hover,
.canonical-upload-btn-ghost:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.loading,
.results,
.error {
    margin-top: 1rem;
    padding: 1.2rem;
    border-radius: 20px;
}

.loading {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
}

.results {
    background: rgba(16, 185, 129, 0.15);
    color: #dcfce7;
}

.error {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
}

.static-site-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 20000;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.static-site-modal--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.static-site-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
}

.static-site-modal__dialog {
    position: relative;
    width: min(100%, 560px);
    padding: 2rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(8, 15, 28, 0.96), rgba(14, 23, 42, 0.96));
    border: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: 0 24px 80px rgba(2, 6, 23, 0.5);
    color: #ecf6ff;
    z-index: 1;
}

.static-site-modal__dialog--privacy,
.static-site-modal__dialog--duplicate {
    width: min(100%, 720px);
}

.static-site-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.8rem;
    cursor: pointer;
}

.static-site-modal__badge,
.static-site-modal__timer,
.static-site-modal__icon,
.privacy-modal__features,
.duplicate-modal__list,
.duplicate-modal__footer {
    position: relative;
}

.static-site-modal__badge {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
    background: rgba(212, 175, 55, 0.14);
    color: #f3dfa0;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.static-site-modal__timer {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    margin-bottom: 0.8rem;
}

.static-site-modal__timer span {
    color: #f3dfa0;
    font-weight: 800;
}

.static-site-modal__icon {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.static-site-modal__dialog h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #ffffff;
}

.static-site-modal__dialog p,
.privacy-modal__body,
.duplicate-modal__intro {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.privacy-modal__features {
    display: grid;
    gap: 0.55rem;
    padding-left: 1.2rem;
    margin: 1rem 0 1.2rem;
}

.static-site-modal__button,
.static-site-modal__button--secondary,
.curtain-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.static-site-modal__button {
    background: linear-gradient(135deg, #d4af37 0%, #f3dfa0 100%);
    color: #0f172a;
}

.static-site-modal__button--primary {
    margin-top: 0.3rem;
}

.static-site-modal__button--secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.static-site-modal__button:hover,
.static-site-modal__button--secondary:hover,
.curtain-login-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.duplicate-modal__list {
    display: grid;
    gap: 0.8rem;
    max-height: 320px;
    overflow-y: auto;
    margin: 1rem 0;
}

.duplicate-modal__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.duplicate-item {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.duplicate-item__header,
.duplicate-item__transactions,
.transaction-header,
.duplicate-item__actions {
    display: flex;
    gap: 0.75rem;
}

.duplicate-item__header {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.duplicate-item__transactions {
    align-items: stretch;
    margin-bottom: 0.9rem;
}

.duplicate-badge,
.confidence-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.duplicate-badge {
    background: rgba(212, 175, 55, 0.14);
    color: #f3dfa0;
}

.duplicate-badge--transfer {
    background: rgba(59, 130, 246, 0.16);
    color: #bfdbfe;
}

.confidence-high {
    background: rgba(16, 185, 129, 0.16);
    color: #bbf7d0;
}

.confidence-medium {
    background: rgba(245, 158, 11, 0.16);
    color: #fde68a;
}

.confidence-low {
    background: rgba(239, 68, 68, 0.16);
    color: #fecaca;
}

.transaction-card {
    flex: 1 1 0;
    padding: 0.9rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.transaction-card--credit,
.transaction-card--destination {
    border-color: rgba(16, 185, 129, 0.24);
}

.transaction-card--debit,
.transaction-card--source {
    border-color: rgba(59, 130, 246, 0.24);
}

.transaction-header {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    color: #ffffff;
}

.statement-name {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
}

.transaction-details {
    display: grid;
    gap: 0.28rem;
}

.transaction-details .amount {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
}

.transaction-details .date,
.transaction-details .description,
.duplicate-item__reason {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
    line-height: 1.6;
}

.duplicate-arrow {
    align-self: center;
    color: #f3dfa0;
    font-size: 1.4rem;
}

.duplicate-item__reason {
    margin-bottom: 0.85rem;
}

.duplicate-item__actions {
    flex-direction: column;
}

.radio-option {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.radio-option input {
    margin-top: 0.22rem;
}

.radio-label {
    display: grid;
    gap: 0.15rem;
    color: rgba(255, 255, 255, 0.86);
}

.radio-label small {
    color: rgba(255, 255, 255, 0.58);
}

.auth-curtain-card {
    position: relative !important;
}

.auth-curtain-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(0, 102, 204, 0.28), rgba(20, 184, 166, 0.22));
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: curtainReveal 0.6s ease-out;
}

@keyframes curtainReveal {
    from {
        clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    }
    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.auth-curtain-content {
    text-align: center;
    padding: 2rem;
    background: rgba(8, 20, 33, 0.94);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(6, 16, 28, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.3);
    max-width: 280px;
    color: rgba(236, 246, 255, 0.92);
}

.curtain-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: curtainSway 2s ease-in-out infinite;
}

@keyframes curtainSway {
    0%,
    100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

.auth-curtain-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #d4af37;
    margin: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-curtain-content p {
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.78);
    margin: 0.75rem 0 1.25rem;
}

.auth-link-blocked {
    position: relative;
    cursor: pointer;
    opacity: 0.82;
}

.auth-link-blocked::after {
    content: '🔒';
    margin-left: 0.35rem;
    font-size: 0.85rem;
}

.curtain-login-btn {
    background: linear-gradient(140deg, rgba(212, 175, 55, 0.92) 0%, rgba(20, 184, 166, 0.95) 50%, rgba(0, 102, 204, 0.98) 100%);
    color: #0f172a;
    box-shadow: 0 4px 16px rgba(6, 16, 28, 0.45);
}

@media (max-width: 980px) {
    .landing-journey-grid,
    .landing-storyboard,
    .landing-entity-grid,
    .landing-faq-grid {
        grid-template-columns: 1fr;
    }

    .sample-analysis-grid,
    .sample-insight-band {
        grid-template-columns: 1fr;
    }

    .landing-storyboard-diagram {
        min-height: 260px;
    }

    .guest-security-puzzle-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .landing-section-heading h2 {
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .landing-journey-card,
    .landing-storyboard-copy,
    .landing-storyboard-diagram,
    .landing-entity-card,
    .landing-faq-card {
        padding: 1rem;
        border-radius: 22px;
    }

    .landing-journey-visual {
        height: 150px;
    }

    .landing-storyboard-diagram {
        min-height: 220px;
    }

    .landing-entity-visual--sip {
        height: 140px;
    }

    .landing-entity-card__header,
    .landing-faq-card__header {
        gap: 0.7rem;
    }

    .landing-entity-card__icon,
    .landing-faq-card__icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .statement-input-group {
        grid-template-columns: 1fr;
    }

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

    .sample-source-row {
        flex-direction: column;
    }

    .sample-goal-pill {
        min-width: 0;
        width: 100%;
    }

    .canonical-upload-actions,
    .duplicate-modal__footer {
        flex-direction: column;
    }

    .guest-upload-button {
        width: 100%;
        flex: 1 1 auto;
    }

    .duplicate-item__header,
    .duplicate-item__transactions,
    .transaction-header {
        flex-direction: column;
        align-items: flex-start;
    }
}