:root {
    --ink: #17213c;
    --muted: #65708a;
    --primary: #6759e8;
    --primary2: #8f64f5;
    --soft: #f5f4ff;
    --line: #e8e9f1;
    --shadow: 0 18px 60px rgba(46, 39, 105, .11)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    background: #fbfbfe;
    padding-bottom: 0
}

a {
    text-decoration: none
}

.glass-nav {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(232, 233, 241, .8);
    min-height: 72px
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: 0 8px 24px rgba(103, 89, 232, .28)
}

.navbar-brand {
    color: var(--ink)
}

.nav-link {
    color: #4e5870;
    font-weight: 600
}

.btn {
    border-radius: 12px;
    font-weight: 700
}

.btn-primary {
    border: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: 0 9px 22px rgba(103, 89, 232, .24)
}

.btn-primary:hover {
    background: linear-gradient(135deg, #584bdb, #8055eb);
    transform: translateY(-1px)
}

.home-hero {
    overflow: hidden;
    padding: 30px 0 30px;
    background: radial-gradient(circle at 88% 0, #e7e1ff 0, transparent 36%), linear-gradient(180deg, #fff, #f8f7ff)
}

.hero-pill,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em
}

.hero-pill {
    padding: 9px 14px;
    border-radius: 999px;
    background: #efedff;
    letter-spacing: .02em
}

.home-hero h1 {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -.055em;
    font-weight: 850;
    margin: 22px 0
}

.home-hero h1 span {
    color: var(--primary)
}

.home-hero p {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 620px
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 30px
}

.hero-actions span {
    color: var(--muted);
    font-weight: 650
}

.hero-actions span i {
    color: #f4a229
}

.hero-stack {
    position: relative;
    min-height: 370px
}

.hero-stack:before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 48% 52% 60% 40%;
    background: linear-gradient(145deg, #8172ef, #b08bf8);
    right: 35px;
    top: 5px;
    transform: rotate(-7deg);
    box-shadow: 0 30px 80px rgba(103, 89, 232, .3)
}

.float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 290px;
    padding: 17px 18px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    background: rgba(255, 255, 255, .93);
    box-shadow: 0 18px 48px rgba(37, 30, 82, .18)
}

.float-card>i:first-child {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--primary);
    font-size: 1.35rem;
    border-radius: 14px;
    background: var(--soft)
}

.float-card div {
    display: flex;
    flex-direction: column;
    flex: 1
}

.float-card small {
    color: var(--muted)
}

.card-a {
    top: 40px;
    right: 75px
}

.card-b {
    top: 160px;
    right: 0
}

.card-c {
    top: 275px;
    right: 90px
}

.trust-row {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    padding: 26px 0;
    color: #59637a;
    font-size: .92rem
}

.trust-row i {
    color: var(--primary);
    margin-right: 7px
}

.ad-slot {
    height: 96px;
    margin: 26px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #d8dae5;
    border-radius: 12px;
    background: #fafafd;
    color: #a2a7b5;
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase
}

.tools-section,
.why-section,
.how-section {
    padding: 82px 0
}

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

.section-head h2,
.why-section h2,
.how-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.035em;
    font-weight: 800;
    margin-top: 8px
}

.filter-pills {
    display: flex;
    gap: 6px;
    padding: 5px;
    background: #efeff5;
    border-radius: 13px
}

.filter-pills button {
    border: 0;
    background: transparent;
    border-radius: 9px;
    padding: 8px 14px;
    color: #667086;
    font-weight: 700
}

.filter-pills button.active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 3px 10px rgba(30, 30, 60, .1)
}

.tool-card {
    position: relative;
    height: 100%;
    display: flex;
    gap: 16px;
    padding: 24px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    transition: .2s
}

.tool-card:hover {
    color: var(--ink);
    transform: translateY(-4px);
    border-color: #d8d3ff;
    box-shadow: var(--shadow)
}

.tool-icon,
.tool-icon-xl {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--primary);
    background: var(--soft)
}

.tool-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    font-size: 1.3rem
}

.tool-card h3 {
    font-size: 1.06rem;
    font-weight: 800;
    margin: 2px 25px 7px 0
}

.tool-card p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.45;
    margin: 0
}

.card-arrow {
    position: absolute;
    right: 20px;
    top: 25px;
    color: #a6abbb
}

.why-section {
    background: #f3f2fb
}

.feature-card {
    height: 100%;
    padding: 34px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #ecebf3
}

.feature-card>i {
    font-size: 2rem;
    color: var(--primary)
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 18px 0 10px
}

.feature-card p {
    color: var(--muted);
    margin: 0
}

.tool-hero {
    padding: 58px 0 20px
}

.tool-hero .container {
    max-width: 850px
}

.tool-icon-xl {
    width: 76px;
    height: 76px;
    margin: 10px auto 20px;
    border-radius: 23px;
    font-size: 2rem;
    box-shadow: 0 13px 34px rgba(103, 89, 232, .14)
}

.tool-hero h1 {
    font-weight: 850;
    letter-spacing: -.04em;
    font-size: clamp(2.1rem, 5vw, 3.7rem);
    margin: 10px 0 14px
}

.tool-hero p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 670px;
    margin: auto
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 14px
}

.tool-workspace {
    padding: 15px 0 75px
}

.workspace-card {
    max-width: 900px;
    margin: auto;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow)
}

.drop-zone {
    padding: 62px 24px;
    text-align: center;
    border: 2px dashed #d6d3ed;
    border-radius: 20px;
    background: #faf9ff;
    outline: none;
    transition: .2s
}

.drop-zone.dragging,
.drop-zone:focus {
    border-color: var(--primary);
    background: #f3f0ff
}

.upload-orb {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    font-size: 2rem
}

.drop-zone h2 {
    font-size: 1.35rem;
    font-weight: 800
}

.drop-zone p,
.file-note {
    color: var(--muted)
}

.file-note {
    margin-top: 14px;
    font-size: .78rem
}

.file-list {
    margin-top: 14px
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px
}

.file-item i {
    font-size: 1.4rem;
    color: var(--primary)
}

.file-item div {
    flex: 1;
    min-width: 0
}

.file-item strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis
}

.file-item small {
    color: var(--muted)
}

.controls-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 16px;
    background: #f7f7fb
}

.controls-panel label {
    font-size: .86rem;
    font-weight: 700
}

.controls-panel input,
.controls-panel select {
    margin-top: 6px
}

.preview-area {
    margin-top: 20px;
    overflow: auto;
    text-align: center
}

.preview-area canvas {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(20, 25, 50, .14)
}

.status-box,
.requirement-note {
    margin-top: 16px;
    padding: 14px;
    border-radius: 12px;
    background: #f1efff;
    color: #4e43ba
}

.status-box.error {
    background: #fff0f0;
    color: #a52b34
}

.requirement-note {
    font-size: .85rem;
    background: #f7f7fa;
    color: var(--muted)
}

#signatureCanvas {
    display: block;
    width: 100%;
    height: auto;
    touch-action: none;
    border: 2px dashed #d6d3ed;
    border-radius: 18px;
    background: #fff
}

.controls-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 16px
}

.controls-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700
}

.privacy-strip {
    display: flex;
    gap: 14px;
    align-items: center;
    max-width: 780px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: .86rem
}

.privacy-strip>i {
    font-size: 1.7rem;
    color: #2cad77
}

.privacy-strip strong,
.privacy-strip span {
    display: block
}

.privacy-strip strong {
    color: var(--ink)
}

.article-card {
    height: 100%;
    padding: 34px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: #fff
}

.article-card h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 850;
    margin: 10px 0 25px
}

.article-card h2 {
    font-size: 1.45rem;
    margin-top: 28px
}

.content-page {
    padding: 70px 0
}

.content-page .container {
    max-width: 900px
}

.steps {
    list-style: none;
    padding: 0;
    margin: 25px 0 0
}

.steps li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px
}

.steps li>span {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--primary);
    font-weight: 800
}

.steps p {
    color: var(--muted);
    margin: 4px 0
}

.accordion-button {
    font-weight: 750
}

.site-footer {
    padding: 65px 0 90px;
    border-top: 1px solid var(--line);
    background: #fff
}

.site-footer a {
    display: block;
    color: var(--muted);
    margin: 8px 0
}

.footer-title {
    font-weight: 800;
    margin-bottom: 14px
}

.mobile-dock {
    position: fixed;
    z-index: 1050;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: flex;
    justify-content: space-around;
    padding: 9px 6px;
    border: 1px solid rgba(220, 220, 230, .9);
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(30, 30, 70, .19)
}

.mobile-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 60px;
    color: #72798c;
    font-size: .65rem
}

.mobile-dock i {
    font-size: 1.25rem
}

.mobile-dock a:hover {
    color: var(--primary)
}

@media(max-width:991px) {
    body {
        padding-bottom: 74px
    }

    .navbar {
        min-height: 62px
    }

    .home-hero {
        padding: 58px 0 45px
    }

    .hero-stack {
        min-height: 330px;
        transform: scale(.9)
    }

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

    .site-footer {
        padding-bottom: 110px
    }
}

@media(max-width:575px) {
    .home-hero h1 {
        font-size: 2.65rem
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column
    }

    .hero-stack {
        margin-left: -20px
    }

    .float-card {
        width: 260px
    }

    .card-a {
        right: 40px
    }

    .card-c {
        right: 50px
    }

    .trust-row {
        justify-content: flex-start;
        padding-left: 10px
    }

    .filter-pills {
        width: 100%;
        overflow: auto
    }

    .filter-pills button {
        white-space: nowrap
    }

    .tools-section,
    .why-section,
    .how-section {
        padding: 58px 0
    }

    .workspace-card {
        padding: 16px;
        border-radius: 20px
    }

    .drop-zone {
        padding: 42px 15px
    }

    .tool-hero {
        padding-top: 38px
    }

    .tool-hero h1 {
        font-size: 2.25rem
    }

    .article-card {
        padding: 24px
    }
}

/* Corporate, practical tool-page refinement */
:root {
    --ink: #13233a;
    --muted: #5f6f82;
    --primary: #2457a6;
    --primary2: #173f7a;
    --soft: #eef4fb;
    --line: #dfe6ef;
    --shadow: 0 16px 42px rgba(23, 54, 95, .10)
}

body {
    font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    background: #f8fafc
}

h1,
h2,
h3,
.navbar-brand,
.btn {
    font-family: "Plus Jakarta Sans", "Manrope", sans-serif
}

.glass-nav {
    min-height: 68px;
    background: rgba(255, 255, 255, .96);
    border-bottom-color: #dfe6ef
}

.brand-mark,
.btn-primary,
.upload-orb {
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: 0 8px 20px rgba(36, 87, 166, .22)
}

.nav-link {
    font-size: .92rem
}

.all-tools-link {
    padding: .55rem .85rem !important;
    border: 1px solid #d7e1ee;
    border-radius: 10px
}

.dropdown-menu {
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow)
}

.dropdown-item {
    padding: 9px 12px;
    border-radius: 8px;
    font-weight: 650;
    color: #33445a
}

.dropdown-item:hover {
    background: var(--soft);
    color: var(--primary)
}

.tool-hero {
    padding: 26px 0 12px;
    background: linear-gradient(180deg, #fff, #f8fafc)
}

.tool-hero .container {
    max-width: 960px
}

.back-link {
    margin-bottom: 12px;
    font-size: .86rem
}

.compact-tool-title {
    display: flex;
    align-items: center;
    gap: 20px
}

.tool-icon-xl {
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 18px;
    font-size: 1.65rem
}

.tool-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 4px 0 7px
}

.tool-hero p {
    max-width: 760px;
    margin: 0;
    font-size: 1rem
}

.tool-workspace {
    padding: 12px 0 35px
}

.workspace-card {
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(23, 54, 95, .09)
}

.drop-zone {
    padding: 42px 24px;
    border-color: #b9c8db;
    background: #f7faff
}

.drop-zone:hover {
    border-color: var(--primary)
}

.upload-orb {
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
    border-radius: 17px;
    font-size: 1.7rem
}

.drop-zone h2 {
    font-size: 1.25rem
}

.file-note {
    font-weight: 600
}

.privacy-strip {
    max-width: 820px
}

.ad-slot {
    height: 92px;
    margin: 20px 0;
    background: #fff
}

.how-section,
.info-section,
.formats-section,
.faq-section {
    padding: 68px 0
}

.section-intro {
    max-width: 720px;
    margin-bottom: 28px
}

.section-intro h2,
.info-section h2,
.formats-section h2,
.faq-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -.035em;
    margin: 8px 0
}

.section-intro p,
.info-section p,
.formats-section p {
    color: var(--muted)
}

.how-section {
    background: #fff
}

.step-card {
    height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fafc
}

.step-card>span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 800
}

.step-card h3 {
    font-size: 1.05rem;
    margin: 18px 0 8px
}

.step-card p {
    margin: 0;
    color: var(--muted)
}

.info-section {
    background: #eef3f8
}

.article-card {
    border-color: #dbe4ef
}

.article-card h2 {
    margin-top: 8px
}

.article-card h3 {
    font-size: 1.15rem;
    margin: 28px 0 14px
}

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

.check-list li:before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-right: 9px;
    border-radius: 50%;
    background: #e5f5ed;
    color: #18794e;
    font-weight: 800
}

.security-card>i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 15px;
    background: #e5f5ed;
    color: #18794e;
    font-size: 1.45rem
}

.security-card a {
    font-weight: 800;
    color: var(--primary)
}

.formats-section {
    background: #fff
}

.format-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.format-badges span {
    padding: 8px 12px;
    border: 1px solid #cdd9e7;
    border-radius: 10px;
    background: #f8fafc;
    font-weight: 800;
    font-size: .84rem
}

.related-grid a {
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 7px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--ink);
    background: #fff
}

.related-grid a:hover {
    border-color: #9db3cf;
    box-shadow: 0 10px 25px rgba(23, 54, 95, .08)
}

.related-grid i {
    font-size: 1.35rem;
    color: var(--primary)
}

.related-grid span {
    color: var(--muted);
    font-size: .8rem
}

.faq-section {
    background: #f8fafc
}

.faq-section .container {
    max-width: 900px
}

.faq-section .accordion-item {
    margin-bottom: 10px;
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
    overflow: hidden
}

.faq-section .accordion-button {
    background: #fff;
    box-shadow: none
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: #f5f8fc
}

@media(max-width:991px) {
    .navbar-collapse {
        padding: 14px 0 6px
    }

    .dropdown-menu {
        box-shadow: none
    }

    .all-tools-link {
        border: 0;
        padding-left: 0 !important
    }

    .tool-hero {
        padding-top: 20px
    }

    .tool-workspace {
        padding-top: 8px
    }

    .how-section,
    .info-section,
    .formats-section,
    .faq-section {
        padding: 52px 0
    }
}

@media(max-width:575px) {
    .compact-tool-title {
        align-items: flex-start;
        gap: 13px
    }

    .tool-icon-xl {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 1.25rem
    }

    .tool-hero h1 {
        font-size: 1.72rem;
        line-height: 1.15
    }

    .tool-hero p {
        font-size: .9rem
    }

    .workspace-card {
        padding: 12px;
        border-radius: 16px
    }

    .drop-zone {
        padding: 30px 12px;
        border-radius: 15px
    }

    .upload-orb {
        width: 52px;
        height: 52px
    }

    .privacy-strip {
        align-items: flex-start
    }

    .section-intro {
        margin-bottom: 20px
    }

    .article-card,
    .step-card {
        padding: 22px
    }

    .related-grid a {
        padding: 16px
    }

    .ad-slot {
        height: 76px
    }
}