:root {
    --ink: #071f2d;
    --muted: #58707c;
    --line: rgba(7, 31, 45, .11);
    --paper: #ffffff;
    --soft: #eef8f8;
    --teal: #07998b;
    --teal-dark: #08786f;
    --blue: #275fe5;
    --shadow: 0 28px 80px rgba(7, 31, 45, .16);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 8%, rgba(7, 153, 139, .14), transparent 27rem),
        radial-gradient(circle at 92% 4%, rgba(39, 95, 229, .14), transparent 32rem),
        linear-gradient(180deg, #f7fbfc 0%, #eef6f7 58%, #e8f2f4 100%);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

.shell {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.page-glow {
    position: fixed;
    z-index: -1;
    border-radius: 999px;
    filter: blur(80px);
    pointer-events: none;
}

.page-glow-one {
    width: 340px;
    height: 340px;
    left: -150px;
    top: 28vh;
    background: rgba(5, 172, 154, .17);
}

.page-glow-two {
    width: 420px;
    height: 420px;
    right: -220px;
    top: 55vh;
    background: rgba(39, 95, 229, .15);
}

.site-header {
    position: sticky;
    z-index: 30;
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .65);
    background: rgba(246, 251, 252, .82);
    box-shadow: 0 8px 28px rgba(7, 31, 45, .05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(145deg, var(--teal), var(--blue));
    box-shadow: 0 12px 26px rgba(39, 95, 229, .24);
    font-size: 14px;
    font-weight: 950;
    letter-spacing: -.04em;
}

.brand-copy strong,
.brand-copy small {
    display: block;
}

.brand-copy strong {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -.035em;
}

.brand-copy small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 750;
}

.header-actions,
.hero-actions,
.section-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--ink);
    background: transparent;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: currentColor;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible,
.share-link-card button:focus-visible,
.share-link-card input:focus-visible {
    outline: 3px solid rgba(39, 95, 229, .24);
    outline-offset: 2px;
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    box-shadow: 0 12px 24px rgba(39, 95, 229, .20);
}

.button-primary:hover {
    box-shadow: 0 17px 30px rgba(39, 95, 229, .27);
}

.button-ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, .58);
}

.button-light {
    border-color: rgba(7, 31, 45, .12);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 10px 24px rgba(7, 31, 45, .07);
}

.button-large {
    min-height: 54px;
    padding-inline: 21px;
    border-radius: 17px;
    font-size: 14px;
}

.hero {
    min-height: 670px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .78fr);
    align-items: center;
    gap: clamp(42px, 7vw, 92px);
    padding-top: 72px;
    padding-bottom: 84px;
}

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

.eyebrow,
.section-kicker {
    color: var(--teal-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(7, 153, 139, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .66);
}

.eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 5px rgba(7, 153, 139, .11);
}

.hero h1 {
    margin: 22px 0 0;
    max-width: 680px;
    font-size: clamp(58px, 7vw, 92px);
    line-height: .88;
    font-weight: 950;
    letter-spacing: -.075em;
}

.hero h1 span {
    color: var(--teal);
}

.hero-lead {
    max-width: 665px;
    margin: 29px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 1.65vw, 20px);
    line-height: 1.63;
    font-weight: 650;
}

.document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
}

.document-meta span {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, .58);
    font-size: 11px;
    font-weight: 750;
}

.document-meta strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
}

.hero-actions {
    margin-top: 28px;
}

.share-link-card {
    max-width: 610px;
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 15px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 12px 30px rgba(7, 31, 45, .06);
}

.share-link-card small {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.share-link-card input {
    width: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
    font-size: 13px;
    font-weight: 800;
}

.share-link-card button {
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--ink);
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.cover-stage {
    position: relative;
    min-height: 555px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.cover-stage::before {
    content: "";
    position: absolute;
    z-index: -3;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(7, 153, 139, .16), rgba(39, 95, 229, .13));
    filter: blur(2px);
}

.cover-orbit {
    position: absolute;
    z-index: -2;
    border: 1px solid rgba(7, 31, 45, .08);
    border-radius: 50%;
}

.cover-orbit-one {
    width: 500px;
    height: 500px;
}

.cover-orbit-two {
    width: 390px;
    height: 390px;
    border-style: dashed;
    transform: rotate(19deg);
}

.cover-card {
    width: min(344px, 78vw);
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 29px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 38px 90px rgba(7, 31, 45, .24), 0 0 0 1px rgba(7, 31, 45, .05);
    transform: rotate(2.1deg);
    backdrop-filter: blur(16px);
}

.cover-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.cover-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 16px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 16px 38px rgba(7, 31, 45, .16);
    backdrop-filter: blur(16px);
}

.cover-badge strong {
    color: var(--teal);
    font-size: 22px;
    font-weight: 950;
}

.cover-badge span {
    color: var(--ink);
    font-size: 11px;
    font-weight: 850;
}

.cover-badge-pages {
    left: 2%;
    top: 23%;
}

.cover-badge-ready {
    right: -1%;
    bottom: 22%;
}

.cover-badge-ready i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #14b886;
    box-shadow: 0 0 0 6px rgba(20, 184, 134, .12);
}

.reader-section {
    margin-bottom: 84px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(7, 31, 45, .10);
    border-radius: 34px;
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    padding: 4px 4px 24px;
}

.section-heading h2 {
    margin: 7px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.055em;
}

.section-heading p {
    max-width: 650px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 650;
}

.reader-shell {
    overflow: hidden;
    border: 1px solid rgba(7, 31, 45, .13);
    border-radius: 24px;
    background: #c9d6db;
    box-shadow: inset 0 1px rgba(255, 255, 255, .72);
}

.reader-toolbar {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    color: #d8e9ed;
    background: linear-gradient(135deg, #071f2d, #103b48);
    font-size: 11px;
    font-weight: 750;
}

.reader-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.reader-status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #26d39b;
    box-shadow: 0 0 0 5px rgba(38, 211, 155, .11);
}

.pdf-reader {
    width: 100%;
    height: clamp(640px, 82vh, 1040px);
    display: block;
    border: 0;
    background: #dce5e8;
}

.reader-fallback,
.missing-document {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
}

.reader-fallback strong,
.missing-document strong {
    font-size: 21px;
    font-weight: 900;
}

.reader-fallback p,
.missing-document p {
    margin: 9px 0 18px;
    color: var(--muted);
}

.reader-fallback > div {
    display: flex;
    gap: 9px;
}

.missing-document {
    border: 1px solid rgba(190, 24, 93, .18);
    border-radius: 22px;
    color: #86133f;
    background: rgba(255, 241, 245, .88);
}

.site-footer {
    padding: 0 0 34px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.footer-inner strong {
    color: var(--ink);
}

.toast {
    position: fixed;
    z-index: 100;
    right: 22px;
    bottom: 22px;
    max-width: min(390px, calc(100% - 32px));
    padding: 14px 17px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 15px;
    color: #fff;
    background: #08786f;
    box-shadow: 0 18px 45px rgba(7, 31, 45, .25);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    font-size: 12px;
    font-weight: 800;
    transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast.is-error {
    background: #9d2048;
}

@media (max-width: 940px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 54px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero h1,
    .hero-lead,
    .share-link-card {
        margin-inline: auto;
    }

    .document-meta,
    .hero-actions {
        justify-content: center;
    }

    .cover-stage {
        min-height: 520px;
    }

    .cover-badge-pages {
        left: 17%;
    }

    .cover-badge-ready {
        right: 14%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 24px, 1180px);
    }

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

    .brand-mark {
        width: 41px;
        height: 41px;
        border-radius: 13px;
    }

    .brand-copy small,
    .header-actions .button-ghost,
    .header-actions .button span {
        display: none;
    }

    .header-actions .button {
        width: 42px;
        min-height: 42px;
        padding: 0;
    }

    .hero {
        min-height: 0;
        padding-top: 42px;
        padding-bottom: 56px;
    }

    .hero h1 {
        font-size: clamp(52px, 17vw, 72px);
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .share-link-card {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .share-link-card button {
        width: 100%;
    }

    .cover-stage {
        min-height: 450px;
    }

    .cover-stage::before,
    .cover-orbit-one {
        width: 390px;
        height: 390px;
    }

    .cover-orbit-two {
        width: 310px;
        height: 310px;
    }

    .cover-card {
        width: min(288px, 78vw);
        border-radius: 24px;
    }

    .cover-badge-pages {
        left: 0;
        top: 21%;
    }

    .cover-badge-ready {
        right: 0;
        bottom: 17%;
    }

    .reader-section {
        width: 100%;
        margin-bottom: 48px;
        padding: 16px 12px 12px;
        border-radius: 25px;
    }

    .section-heading {
        padding-inline: 5px;
    }

    .section-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .section-actions .button {
        padding-inline: 9px;
        font-size: 11px;
    }

    .reader-shell {
        border-radius: 18px;
    }

    .reader-toolbar {
        padding-inline: 12px;
    }

    .reader-toolbar > span:last-child {
        display: none;
    }

    .pdf-reader {
        height: 72vh;
        min-height: 520px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .toast {
        right: 16px;
        bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button,
    .toast {
        transition: none;
    }
}
