html, body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

a {
    text-decoration: none;
    color: black;
}

.dark a {
    color: white;
}

.relative {
    display: block;
    position: relative;
}

.card {
    border-radius: 1.25rem; /* 20px */
    border: 1px solid rgba(228, 228, 231, 0.8);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.dark .card {
    border-color: rgba(63, 63, 70, 0.7);
    background: rgba(24, 24, 27, 1);
    box-shadow: none;
}

.card-padding {
    padding: 1rem;
}

@media (min-width: 640px) {
    .card-padding {
        padding: 1.25rem;
    }
}

.tabIdle {
    border: 1px solid rgba(228, 228, 231, 0.9);
    background: #fff;
    color: rgb(63 63 70);
}
.dark .tabIdle {
    border-color: rgba(63, 63, 70, 0.9);
    background: rgb(24 24 27);
    color: rgb(212 212 216);
}
.tabActive {
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: rgba(37, 99, 235, 0.08);
    color: rgb(29 78 216);
}
.dark .tabActive {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.12);
    color: rgb(147 197 253);
}
.toolTab {
    border-radius: 9999px;
    padding: 0.5rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: 150ms ease;
}
.toolTab:hover { transform: translateY(-1px); }

.toolCard {
    border-radius: 1.25rem;
    border: 1px solid rgba(228, 228, 231, 0.8);
    background: #fff;
    padding: 1.1rem;
    transition: 150ms ease;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    display: block;
}
.toolCard:hover {
    border-color: rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}
.dark .toolCard {
    border-color: rgba(63, 63, 70, 0.8);
    background: rgb(24 24 27);
    box-shadow: none;
}
.dark .toolCard:hover {
    border-color: rgba(59, 130, 246, 0.45);
}
.toolIcon {
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(228, 228, 231, 0.9);
    background: rgb(250 250 250);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: rgb(39 39 42);
}

.toolIcon svg {
    fill: #000;
}

.dark .toolIcon svg {
    fill: #fff;
}

.dark .toolIcon {
    border-color: rgba(63, 63, 70, 0.9);
    background: rgb(9 9 11);
    color: rgb(244 244 245);
}



.toolName { font-weight: 700; letter-spacing: -0.01em; }
.toolDesc { margin-top: 0.25rem; font-size: 0.875rem; color: rgb(113 113 122); }
.dark .toolDesc { color: rgb(161 161 170); }
.toolCta { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 600; color: rgb(37 99 235); }
.dark .toolCta { color: rgb(147 197 253); }

.btnSecondary {
    border-radius: 0.9rem;
    border: 1px solid rgba(228, 228, 231, 0.9);
    background: #fff;
    padding: 0.55rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(63 63 70);
    transition: 150ms ease;
}
.btnSecondary:hover { background: rgb(250 250 250); }
.dark .btnSecondary {
    border-color: rgba(63, 63, 70, 0.9);
    background: rgb(24 24 27);
    color: rgb(228 228 231);
}
.dark .btnSecondary:hover { background: rgb(39 39 42); }

.tabSmall {
    border-radius: 9999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    transition: 150ms ease;
}
.tabSmallIdle {
    border: 1px solid rgba(228, 228, 231, 0.9);
    background: transparent;
    color: rgb(113 113 122);
}
.dark .tabSmallIdle {
    border-color: rgba(63, 63, 70, 0.9);
    color: rgb(161 161 170);
}
.tabSmallActive {
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: rgba(37, 99, 235, 0.08);
    color: rgb(29 78 216);
}
.dark .tabSmallActive {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.12);
    color: rgb(147 197 253);
}

.inputMini {
    border-radius: 0.9rem;
    border: 1px solid rgba(228, 228, 231, 0.9);
    background: #fff;
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
    outline: none;
}
.inputMini:focus { box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.35); }
.dark .inputMini {
    border-color: rgba(63, 63, 70, 0.9);
    background: rgb(24 24 27);
    color: rgb(244 244 245);
}

.historyItem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(228, 228, 231, 0.8);
    background: rgba(250, 250, 250, 1);
    padding: 0.6rem 0.75rem;
}
.dark .historyItem {
    border-color: rgba(63, 63, 70, 0.8);
    background: rgba(9, 9, 11, 1);
}
.historyMeta {
    border-radius: 9999px;
    border: 1px solid rgba(228, 228, 231, 0.8);
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgb(113 113 122);
}
.dark .historyMeta {
    border-color: rgba(63, 63, 70, 0.9);
    color: rgb(161 161 170);
}

.page {
    height: 100%;
    background-color: #ffffff;
    color: #18181b; /* zinc-900 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.dark .page {
    background-color: #09090b; /* zinc-950 */
    color: #f4f4f5; /* zinc-100 */
}

.divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(
            to right,
            transparent,
            #e4e4e7, /* zinc-200 */
            transparent
    );
}

.dark .divider {
    background: linear-gradient(
            to right,
            transparent,
            #27272a, /* zinc-800 */
            transparent
    );
}

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(228, 228, 231, 0.6);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

.dark .header {
    border-bottom: 1px solid rgba(39, 39, 42, 0.6);
    background: rgba(9, 9, 11, 0.7);
}

.container-header {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    max-width: 72rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
    .container-header {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.container-header-gr {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logotype {
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid #e4e4e7;
    background: #fafafa;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.logotype img {
    display: block;
    width: 100%;
}

.dark .logotype {
    border: 1px solid #27272a;
    background: #18181b;
}

.leading-tight .title {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.leading-tight .text {
    font-size: 11px;
    color: #71717a;
}

.dark .leading-tight .text {
    color: #a1a1aa;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #52525b;
}

.dark .nav-menu {
    color: #d4d4d8;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.link-hover:hover {
    color: #18181b;
    text-decoration: none;
}

.dark .link-hover:hover {
    color: #ffffff;
}

.container-header-gr-2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-theme {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3f3f46;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.btn-theme:hover {
    background: #fafafa;
}

.dark .btn-theme {
    border: 1px solid #27272a;
    background: #18181b;
    color: #e4e4e7;
}

.dark .btn-theme:hover {
    background: #27272a;
}

.hidden-sm {
    display: none;
}

@media (min-width: 640px) {
    .hidden-sm {
        display: inline;
    }
}

.hidden-sm-block {
    display: none;
}

@media (min-width: 640px) {
    .hidden-sm-block {
        display: block;
    }
}

.footer {
    border-top: 1px solid rgba(228, 228, 231, 0.6);
}

.dark .footer {
    border-top: 1px solid rgba(39, 39, 42, 0.6);
}

.footer-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 72rem;
    padding: 2.5rem 1rem;
    font-size: 0.875rem;
    color: #52525b;
}

.dark .footer-container {
    color: #a1a1aa;
}

@media (min-width: 640px) {
    .footer-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.footer-layout {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .footer-layout {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.link-underline {
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration-line: underline;
    text-decoration-color: #3b82f6;
    text-underline-offset: 3px;
}

.link-underline:hover {
    text-decoration-thickness: 2px;
}

.dark .link-underline {
    color: #ffffff;
}

.flex-wrap-gap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hover-text:hover {
    color: #18181b;
}

.dark .hover-text:hover {
    color: #ffffff;
}

.section-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 72rem;
    padding: 3.5rem 1rem;
}

@media (min-width: 640px) {
    .section-container {
        padding: 5rem 1.5rem;
    }
}

.text-center-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 48rem;
    text-align: center;
}

.section-header {
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #52525b;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.dark .section-header {
    border: 1px solid #27272a;
    background: #18181b;
    color: #d4d4d8;
}

.net-icon {
    display: inline-flex;
    height: 0.375rem;
    width: 0.375rem;
    border-radius: 999px;
    background: #3b82f6;
}

.section-index-title {
    text-wrap: balance;
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

@media (min-width: 640px) {
    .section-index-title {
        font-size: 3.75rem;
    }
}

.page-index-services {
    margin-top: 1rem;
    text-wrap: pretty;
    font-size: 1rem;
    color: #52525b;
}

.dark .page-index-services {
    color: #a1a1aa;
}

@media (min-width: 640px) {
    .page-index-services {
        font-size: 1.125rem;
    }
}

.page-index-grid {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .page-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .page-index-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.bg-mask {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: -10;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.bg-mask-int {
    height: 100%;
    width: 100%;
    background-image:
            linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.dark .bg-mask-int {
    background-image:
            linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
}

.border-top-soft {
    border-top: 1px solid rgba(228, 228, 231, 0.6);
}

.dark .border-top-soft {
    border-top: 1px solid rgba(39, 39, 42, 0.6);
}

.page-tool-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 72rem;
    padding: 3rem 1rem;
}

@media (min-width: 640px) {
    .page-tool-container {
        padding: 4rem 1.5rem;
    }
}

.page-tool-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .page-tool-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.page-tool-header-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.page-tool-header-description {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #52525b;
}

.dark .page-tool-header-description {
    color: #a1a1aa;
}

.page-tool-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-tool-content {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .page-tool-content {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .page-tool-block {
        grid-column: span 2 / span 2;
    }
}

.page-tool-form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #52525b;
}

.dark .page-tool-form-label {
    color: #a1a1aa;
}

.input {
    margin-top: 0.5rem;
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    outline: none;
    box-sizing: border-box;
}

.input::placeholder {
    color: #a1a1aa;
}

.input:focus {
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}

.dark .input {
    border: 1px solid #27272a;
    background: #18181b;
    color: #f4f4f5;
}

.dark .input::placeholder {
    color: #71717a;
}

.input-key {
    margin-top: 0.5rem;
    pointer-events: none;
    position: absolute;
    inset: 0 auto 0 auto;
    right: 0.75rem;
    display: none;
    align-items: center;
}

@media (min-width: 640px) {
    .input-key {
        display: flex;
    }
}

.input-key-btn {
    border-radius: 0.5rem;
    border: 1px solid #e4e4e7;
    background: #fafafa;
    padding: 0.25rem 0.5rem;
    font-size: 11px;
    color: #71717a;
}

.dark .input-key-btn {
    border: 1px solid #27272a;
    background: #18181b;
    color: #a1a1aa;
}

.mt-2 {
    margin-top: 0.5rem;
}

.btn-submit {
    margin-top: 0.75rem;
    width: 100%;
    border-radius: 0.75rem;
    background: #2563eb;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

.btn-submit:hover {
    background: #1d4ed8;
}

.btn-submit:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.25);
}


.page-tool-history-block {
    margin-top: 1rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .page-tool-history-block {
        padding: 1.25rem;
    }
}

.page-tool-history-block-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-tool-history-block-title {
    font-size: 0.875rem;
    font-weight: 600;
}

@media (min-width: 1024px) {
    .page-tool-output {
        grid-column: span 3 / span 3;
    }
}

.overflow-hidden {
    overflow: hidden;
}

.page-tool-output-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(228, 228, 231, 0.6);
    padding: 0.75rem 1rem;
}

.dark .page-tool-output-header {
    border-bottom: 1px solid rgba(39, 39, 42, 0.6);
}

.page-tool-output-header-ind {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 999px;
    background: #a1a1aa;
}

.page-tool-output-header-duration {
    font-size: 0.75rem;
    color: #71717a;
}

.page-tool-output-header-status {
    font-size: 0.875rem;
    font-weight: 500;
}

.dark .page-tool-output-header-duration {
    color: #a1a1aa;
}

.page-tool-output-header-gr {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-tool-output-text {
    background: #fafafa;
    padding: 1rem;
}

.dark .page-tool-output-text {
    background: #09090b;
}

.page-tool-output-pre {
    overflow: auto;
    border-radius: 1rem;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    padding: 1rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    line-height: 1.625;
    color: #18181b;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.dark .page-tool-output-pre {
    border: 1px solid #27272a;
    background: #18181b;
    color: #f4f4f5;
}

.altcha {
    border: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;
    font-size: 14px;
}

.altcha-main, .altcha-error {
    padding: 0 !important;
}

.altcha-error > svg {
    height: 16px !important;
}

.page-tool-output-blocks {
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .page-tool-output-blocks {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.p-4 {
    padding: 1rem;
}

.page-tool-output-blocks-title {
    font-size: 0.75rem;
    color: #71717a;
}

.dark .page-tool-output-blocks-title {
    color: #a1a1aa;
}

.page-tool-output-blocks-body {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/** Tool Props */
/* =========================
   Form UI (no Tailwind)
   ========================= */

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

.field { display: grid; gap: 6px; }

.page-tool-form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #52525b;
}
.dark .page-tool-form-label { color: #a1a1aa; }

/* Inputs / Selects */
select.input {
    height: 39px;
}


.dark .input {
    border-color: #27272a;
    background: #18181b;
    color: #f4f4f5;
}
.dark .input::placeholder { color: #71717a; }

/* Advanced block */
.advanced {
    border-top: 1px solid rgba(228,228,231,0.6);
    padding-top: 10px;
}
.dark .advanced { border-top-color: rgba(39,39,42,0.6); }

.advanced-summary {
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-weight: 500;
    color: #18181b;
}
.dark .advanced-summary { color: #e4e4e7; }

.advanced-hint {
    margin-left: 6px;
    font-size: 12px;
    color: #71717a;
    font-weight: 500;
}
.dark .advanced-hint { color: #a1a1aa; }

.advanced-grid {
    margin-top: 10px;
    display: grid;
    gap: 12px;
}
@media (min-width: 640px) {
    .advanced-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Checkbox */
.checkbox-field { gap: 8px; }

.checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    margin: 0;
    accent-color: #2563eb; /* modern browsers */
}
.dark .checkbox-row input[type="checkbox"] {
    border-color: #27272a;
    background: #18181b;
}

.checkbox-label {
    font-size: 14px;
    font-weight: 500;
    color: #18181b;
}
.dark .checkbox-label { color: #f4f4f5; }

.checkbox-hint {
    font-size: 12px;
    color: #71717a;
    padding-left: 28px; /* aligns under label (checkbox+gap) */
}
.dark .checkbox-hint { color: #a1a1aa; }

