.public-shell,
.print-shell {
    min-height: 100vh;
}

.public-shell {
    display: grid;
    align-items: start;
    gap: 1.2rem;
    padding:
        max(1rem, env(safe-area-inset-top))
        clamp(1rem, 2.8vw, 2rem)
        calc(1.5rem + env(safe-area-inset-bottom));
}

.public-panel {
    width: min(var(--page-width-wide), 100%);
}

.landing-shell {
    display: grid;
    gap: 0;
    max-width: 1320px;
    margin: 0 auto;
    padding: 1rem 1rem 0;
    position: relative;
}

.landing-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.landing-product-frame {
    position: relative;
    overflow: hidden;
}

.landing-hero,
.landing-cta-card {
    position: relative;
}

.public-footer {
    padding: 1rem 0 0.4rem;
    border-top: 1px solid rgba(202, 214, 205, 0.08);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.public-footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.public-footer-links a:hover {
    color: var(--text-primary);
}

.landing-header {
    display: grid;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-large);
    border: 1px solid rgba(202, 214, 205, 0.07);
    background: rgba(14, 20, 18, 0.88);
    backdrop-filter: blur(24px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0.5rem;
    z-index: 100;
    margin-bottom: 0.5rem;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.landing-brand .brand-logo {
    width: auto;
    height: clamp(4.5rem, 7vw, 6.5rem);
    max-width: min(42vw, 18rem);
}

.landing-navigation,
.landing-actions,
.landing-hero-actions,
.auth-alternate,
.landing-product-pill-row,
.landing-output-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.landing-navigation {
    display: none;
    gap: 0.5rem;
}

.landing-navigation a {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.landing-navigation a:hover {
    color: var(--text-primary);
    border-color: var(--surface-border);
    background: rgba(255, 255, 255, 0.06);
}

.landing-actions {
    gap: 0.65rem;
}

.landing-actions > * {
    flex: 1 1 100%;
}

.auth-alternate a:hover {
    color: var(--text-primary);
}

.landing-hero {
    display: grid;
    gap: 1.65rem;
    align-items: start;
    padding: 3rem 1.5rem 2.75rem;
    border-radius: var(--radius-large);
}

.landing-hero-panel,
.landing-proof-card {
    border-radius: var(--radius-medium);
    border: 1px solid rgba(226, 173, 87, 0.18);
    background: linear-gradient(180deg, rgba(36, 46, 42, 0.9), rgba(19, 26, 24, 0.92));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.landing-hero::before {
    content: "";
    position: absolute;
    top: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 130%;
    background:
        radial-gradient(ellipse at 30% 45%, rgba(195, 142, 56, 0.055) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 55%, rgba(79, 157, 105, 0.03) 0%, transparent 45%);
    pointer-events: none;
    z-index: -1;
}

.landing-hero-copy {
    display: grid;
    gap: 0.9rem;
    align-content: start;
    max-width: 48rem;
}

.landing-hero-panel {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    align-content: start;
}

.landing-hero-panel-header {
    display: grid;
    gap: 0.3rem;
}

.landing-hero-panel-header strong {
    font-size: 1.02rem;
    line-height: 1.3;
}

.landing-hero-panel-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(226, 173, 87, 0.24), transparent);
}

.landing-hero-copy h1,
.section-heading h2,
.landing-cta-card h2 {
    margin: 0;
    font-family: var(--font-display);
    line-height: 0.98;
    text-wrap: balance;
}

.section-heading h2 {
    font-size: clamp(1.7rem, 3.8vw, 2.55rem);
    max-width: 15ch;
}

.landing-hero-copy h1 {
    font-size: clamp(1.95rem, 4.8vw, 3.15rem);
    max-width: 13ch;
    line-height: 1.03;
    letter-spacing: -0.012em;
}

.landing-cta-card h2 {
    font-size: clamp(1.7rem, 3.8vw, 2.5rem);
    max-width: 16ch;
}

.landing-hero-copy p,
.section-heading p,
.landing-step-card p,
.landing-output-card p,
.landing-reason-card p,
.landing-pricing-card p,
.landing-cta-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
}

.landing-hero-copy p,
.landing-cta-card p,
.section-heading p {
    max-width: 38rem;
}

.landing-hero-points,
.landing-output-grid,
.landing-reason-grid,
.landing-pricing-grid,
.landing-product-columns,
.landing-product-metrics,
.landing-proof-grid {
    display: grid;
    gap: 1rem;
}

.landing-workflow-grid {
    display: grid;
    gap: 0;
}

.landing-hero-point,
.landing-step-card,
.landing-output-card,
.landing-reason-card,
.landing-pricing-card,
.landing-product-summary,
.landing-product-card,
.landing-product-metric {
    border-radius: var(--radius-medium);
    border: 1px solid var(--surface-border);
    background: rgba(255, 255, 255, 0.03);
}

.landing-product-cta {
    display: block;
    padding: 0.85rem 1.2rem;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--background);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border-radius: var(--radius-small);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-product-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(195, 142, 56, 0.3);
}

.landing-hero-point {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 0 0;
    border: 0;
    border-top: 1px solid var(--surface-border);
    border-radius: 0;
    background: transparent;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.landing-hero-point:hover {
    border-color: rgba(226, 173, 87, 0.18);
    background: transparent;
}

.landing-hero-point strong,
.landing-step-card h3,
.landing-output-card h3,
.landing-reason-card h3,
.landing-pricing-card h3,
.landing-product-card-header strong,
.landing-product-summary strong {
    color: var(--text-primary);
    margin: 0;
}

.landing-hero-point strong {
    font-size: 1rem;
}

.landing-hero-point span {
    color: var(--text-secondary);
    line-height: 1.55;
}

.landing-hero-points {
    margin-top: 0.25rem;
}

.landing-hero-actions {
    display: grid;
    gap: 0.75rem;
}

.landing-hero-actions > * {
    width: 100%;
}

.landing-hero-note {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 40rem;
}

.landing-product-frame {
    display: grid;
    min-width: 0;
    border: 1px solid rgba(226, 173, 87, 0.14);
    border-radius: calc(var(--radius-large) + 6px);
    background: linear-gradient(180deg, rgba(16, 22, 20, 0.99), rgba(10, 14, 13, 1));
    box-shadow:
        0 0 0 1px rgba(226, 173, 87, 0.05),
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 60px 140px rgba(0, 0, 0, 0.25);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.7s ease;
}

.landing-product-frame::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(226, 173, 87, 0.25) 30%, rgba(226, 173, 87, 0.45) 50%, rgba(226, 173, 87, 0.25) 70%, transparent 95%);
    z-index: 1;
}

.landing-product-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 14, 13, 0.75);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
}

.landing-product-dots {
    display: flex;
    gap: 0.35rem;
}

.landing-product-dots span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
}

.landing-product-dots span:nth-child(1) {
    background: #c56a55;
}

.landing-product-dots span:nth-child(2) {
    background: #d6a046;
}

.landing-product-dots span:nth-child(3) {
    background: #4f9d69;
}

.landing-product-stage {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.section-heading {
    display: grid;
    gap: 0.65rem;
    max-width: 42rem;
}

.landing-section-sidebar {
    display: grid;
    gap: 1.35rem;
    align-content: start;
}

.landing-workflow-note {
    display: grid;
    gap: 0.9rem;
    padding: 1.35rem;
    border-radius: var(--radius-medium);
    border: 1px solid var(--surface-border);
    background: rgba(255, 255, 255, 0.03);
}

.landing-workflow-note-title {
    color: var(--text-primary);
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-product-summary {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
}

.landing-product-summary strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.2rem;
}

.landing-product-summary span,
.landing-product-row > div span {
    color: var(--text-secondary);
    line-height: 1.5;
}

.landing-product-status {
    align-self: start;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(79, 157, 105, 0.3);
    background: rgba(79, 157, 105, 0.16);
    color: #d6eadc;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.landing-product-label,
.landing-output-meta {
    display: block;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
}

.landing-product-pill-row {
    gap: 0.5rem;
}

.landing-mini-pill {
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--surface-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.landing-mini-pill.is-active {
    background: rgba(195, 142, 56, 0.14);
    border-color: rgba(226, 173, 87, 0.28);
    color: var(--text-primary);
}

.landing-product-card {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    min-width: 0;
}

.landing-product-card--accent {
    background: linear-gradient(180deg, rgba(42, 54, 49, 0.88), rgba(24, 32, 29, 0.96));
    border-color: rgba(226, 173, 87, 0.26);
}

.landing-product-card-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.landing-product-card-header strong {
    font-size: 1.04rem;
}

.landing-product-list {
    display: grid;
    gap: 0.8rem;
}

.landing-product-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0.85rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-product-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.landing-product-row strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.98rem;
}

.landing-product-tag {
    flex-shrink: 0;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(226, 173, 87, 0.24);
    background: rgba(195, 142, 56, 0.12);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
}

.landing-product-metric {
    padding: 0.95rem 0 0;
    border: 0;
    border-top: 1px solid var(--surface-border);
    border-radius: 0;
    background: transparent;
}

.landing-product-metric span {
    display: block;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.68rem;
    margin-bottom: 0.35rem;
}

.landing-product-metric strong {
    font-size: 0.98rem;
}

.landing-section {
    display: grid;
    gap: 1.35rem;
    padding: 4rem 1.5rem;
    position: relative;
}

.landing-proof-card {
    display: grid;
    gap: 0.65rem;
    padding: 1.2rem;
}

.landing-proof-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid rgba(226, 173, 87, 0.22);
    background: rgba(195, 142, 56, 0.12);
    color: var(--accent-strong);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.landing-proof-card h3 {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.25;
}

.landing-proof-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.landing-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 173, 87, 0.15) 20%, rgba(226, 173, 87, 0.22) 50%, rgba(226, 173, 87, 0.15) 80%, transparent);
    pointer-events: none;
}

.landing-section-grid {
    display: grid;
    gap: 1rem;
}

.landing-section-grid--workflow {
    align-items: start;
}

.landing-step-card,
.landing-output-card,
.landing-reason-card,
.landing-pricing-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.3rem;
}

.landing-step-card {
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    padding: 1.5rem 1.2rem;
    transition: background 0.3s ease;
}

.landing-step-card:last-child {
    border-bottom: 0;
}

.landing-step-card:hover {
    background: rgba(195, 142, 56, 0.025);
}

.landing-output-card {
    border-left: 3px solid rgba(226, 173, 87, 0.3);
    border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
    transition: border-left-color 0.25s ease, background 0.25s ease;
}

.landing-output-card:hover {
    border-left-color: var(--accent-strong);
    background: rgba(195, 142, 56, 0.035);
}

.landing-reason-card {
    border: 0;
    background: transparent;
    position: relative;
    padding: 0.6rem 1.3rem 1.3rem;
}

.landing-reason-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.3rem;
    width: 2.2rem;
    height: 2px;
    background: rgba(226, 173, 87, 0.35);
    border-radius: 1px;
}

.landing-step-card h3,
.landing-output-card h3,
.landing-reason-card h3,
.landing-pricing-card h3 {
    font-size: 1.08rem;
    line-height: 1.15;
    text-wrap: balance;
}

.landing-step-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
    color: rgba(226, 173, 87, 0.13);
    letter-spacing: -0.02em;
}

.landing-output-list {
    gap: 0.5rem;
}

.landing-output-list span {
    padding: 0.42rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--surface-border);
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.landing-pricing-card--primary {
    background: linear-gradient(180deg, rgba(35, 46, 42, 0.97), rgba(20, 28, 25, 0.99));
    border-color: rgba(226, 173, 87, 0.22);
    box-shadow:
        0 0 0 1px rgba(226, 173, 87, 0.06),
        0 30px 70px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(195, 142, 56, 0.05);
}

.landing-pricing-card--secondary {
    align-content: start;
    background: transparent;
    border-style: dashed;
    border-color: rgba(202, 214, 205, 0.1);
}

.landing-pricing-header {
    display: grid;
    gap: 0.75rem;
}

.landing-price {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 8vw, 3.4rem);
    line-height: 1;
}

.landing-price span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-left: 0.25rem;
}

.landing-checklist {
    display: grid;
    gap: 0.75rem;
}

.landing-checklist-item {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.landing-checklist-item::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(195, 142, 56, 0.1), 0 0 10px rgba(195, 142, 56, 0.12);
    flex-shrink: 0;
}

.landing-pricing-note {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    line-height: 1.5;
}

.landing-contact-section {
    padding-bottom: 3rem;
}

.landing-cta-card {
    display: grid;
    gap: 1.5rem;
    align-items: start;
    padding: 2.4rem 1.85rem;
    border-radius: var(--radius-large);
    border: 1.5px solid rgba(195, 142, 56, 0.18);
    background:
        radial-gradient(ellipse at 25% 50%, rgba(195, 142, 56, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, rgba(30, 42, 38, 0.96), rgba(20, 28, 25, 0.98));
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.landing-cta-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 173, 87, 0.3) 25%, rgba(226, 173, 87, 0.4) 50%, rgba(226, 173, 87, 0.3) 75%, transparent);
}

.landing-cta-actions {
    align-content: start;
}

.landing-cta-card p {
    max-width: 36rem;
}

.auth-alternate {
    color: var(--text-secondary);
}

.sign-in-grid {
    display: grid;
    gap: 1rem;
    align-items: stretch;
}

.sign-in-form-panel {
    padding: 1.4rem 1.2rem;
    background: linear-gradient(180deg, rgba(33, 42, 38, 0.5), rgba(17, 23, 21, 0.35));
    border-color: rgba(226, 173, 87, 0.16);
}

.sign-in-form-panel h2 {
    margin: 0.4rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 7vw, 2.4rem);
}

.sign-in-intro {
    margin: 0;
    color: var(--text-secondary);
}

.sign-in-copy {
    padding: 0;
    border-bottom: 0;
    display: grid;
    gap: 1.2rem;
    align-content: start;
}

.sign-in-copy h1 {
    margin: 0.35rem 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 12vw, 3.4rem);
    line-height: 1;
}

.sign-in-copy p {
    max-width: 38rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-copy-stack {
    display: grid;
    gap: 0.15rem;
}

.auth-copy-band {
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem 0 1rem;
    border-top: 1px solid var(--surface-border);
}

.auth-copy-band strong {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1rem;
}

.auth-copy-band span {
    color: var(--text-secondary);
    line-height: 1.6;
}

.auth-copy-band a {
    color: var(--text-primary);
}

.eyebrow {
    color: var(--accent-strong);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
}

.credential-row {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--surface-border);
    color: var(--text-secondary);
}

.credential-row strong {
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.92rem;
}

.app-shell {
