/* =========================================
   HARTI TOOLS — V3
   ========================================= */


/* RESET */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background: #f6f8fb;

    color: #172033;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}


button,
input,
select {
    font-family: inherit;
    font-size: 100%;
    box-sizing: border-box;
}


.container {
    width: min(1120px, 92%);

    margin: 0 auto;
}



/* =========================================
   HEADER
   ========================================= */

.site-header {
    background: #101827;

    color: white;

    border-bottom: 1px solid rgba(255,255,255,0.06);
}


.header-content {
    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.brand {
    text-decoration: none;

    color: white;

    display: flex;

    align-items: baseline;

    gap: 8px;
}


.brand-main {
    font-size: 24px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.brand-tools {
    font-size: 13px;

    font-weight: 500;

    letter-spacing: 2px;

    opacity: 0.65;
}


.header-tagline {
    font-size: 13px;

    color: rgba(255,255,255,0.65);
}



/* =========================================
   HERO
   ========================================= */

.hero {
    background: #ffffff;

    border-bottom: 1px solid #e8edf3;
}


.hero-content {
    text-align: center;

    padding: 58px 20px 48px;
}


.eyebrow,
.section-label {
    display: inline-block;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.6px;

    color: #667085;
}


.hero h1 {
    margin-top: 10px;

    font-size: clamp(32px, 5vw, 46px);

    line-height: 1.15;

    letter-spacing: -1px;

    color: #101827;
}


.hero p {
    max-width: 610px;

    margin: 16px auto 0;

    font-size: 17px;

    color: #667085;
}



/* =========================================
   CALCULATOR SECTION
   ========================================= */

.calculator-section {
    padding: 48px 0 70px;
}


.calculator-card {
    max-width: 680px;

    margin: 0 auto;

    background: white;

    border: 1px solid #e4e9f0;

    border-radius: 20px;

    padding: 34px;

    box-shadow:
        0 12px 40px rgba(16, 24, 39, 0.07);
}



/* =========================================
   CALCULATOR HEADER
   ========================================= */

.calculator-header {
    display: flex;

    align-items: center;

    gap: 16px;

    padding-bottom: 26px;

    margin-bottom: 26px;

    border-bottom: 1px solid #edf0f4;
}


.tool-icon {
    width: 48px;

    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f1f4f8;

    border-radius: 12px;

    font-size: 23px;
}


.calculator-header h2 {
    font-size: 21px;

    line-height: 1.25;

    color: #172033;
}


.calculator-header p {
    margin-top: 4px;

    font-size: 14px;

    color: #7a8495;
}



/* =========================================
   FORM
   ========================================= */

.form-group {
    margin-bottom: 21px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;

    font-weight: 700;

    color: #273246;
}


.input-row {
    display: grid;

    grid-template-columns: 1fr 180px;

    gap: 10px;
}


.input-row input,
.input-row select {
    width: 100%;

    height: 48px;

    border: 1px solid #d7dde6;

    border-radius: 9px;

    background: #ffffff;

    color: #172033;

    padding: 0 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.input-row input::placeholder {
    color: #a1a9b6;
}


.input-row input:focus,
.input-row select:focus {
    border-color: #6b7280;

    box-shadow:
        0 0 0 3px rgba(16, 24, 39, 0.07);
}


.input-row select {
    cursor: pointer;
}



/* =========================================
   ERROR
   ========================================= */

.error-message {
    min-height: 0;

    margin-bottom: 0;

    color: #b42318;

    font-size: 13px;

    font-weight: 600;
}


.error-message:not(:empty) {
    margin-bottom: 15px;

    padding: 10px 12px;

    background: #fef3f2;

    border: 1px solid #fecdca;

    border-radius: 8px;
}



/* =========================================
   BUTTON
   ========================================= */

#calculateButton {
    width: 100%;

    height: 50px;

    border: none;

    border-radius: 9px;

    background: #101827;

    color: white;

    font-size: 15px;

    font-weight: 750;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}


#calculateButton:hover {
    background: #1b2638;

    box-shadow:
        0 7px 18px rgba(16, 24, 39, 0.15);
}


#calculateButton:active {
    transform: translateY(1px);
}


#calculateButton:focus-visible {
    outline: 3px solid rgba(16, 24, 39, 0.25);

    outline-offset: 3px;
}



/* =========================================
   RESULTS
   ========================================= */

.results {
    margin-top: 30px;

    padding-top: 28px;

    border-top: 1px solid #e8edf3;
}


.hidden {
    display: none;
}


.results-heading {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 15px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.4px;

    color: #667085;
}


.result-line {
    height: 1px;

    flex: 1;

    background: #e8edf3;
}


.result-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;
}


.result-card {
    min-height: 118px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 18px;

    background: #f8fafc;

    border: 1px solid #e8edf3;

    border-radius: 12px;
}


.result-card.result-primary {
    background: #101827;

    color: white;

    border-color: #101827;
}


.result-label {
    font-size: 12px;

    color: #667085;
}


.result-primary .result-label {
    color: rgba(255,255,255,0.65);
}


.result-card strong {
    font-size: 23px;

    line-height: 1.1;

    letter-spacing: -0.4px;
}


.result-primary strong {
    color: white;
}



/* =========================================
   INFO SECTION
   ========================================= */

.info-section {
    background: white;

    border-top: 1px solid #e8edf3;

    border-bottom: 1px solid #e8edf3;

    padding: 70px 0;
}


.info-container {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: start;
}


.info-block h2 {
    margin-top: 10px;

    font-size: 30px;

    line-height: 1.2;

    letter-spacing: -0.6px;
}


.info-block p {
    margin-top: 15px;

    color: #667085;

    font-size: 15px;
}


.steps {
    display: flex;

    flex-direction: column;

    gap: 25px;
}


.step {
    display: flex;

    gap: 18px;

    padding-bottom: 24px;

    border-bottom: 1px solid #edf0f4;
}


.step:last-child {
    border-bottom: none;

    padding-bottom: 0;
}


.step-number {
    font-size: 12px;

    font-weight: 800;

    color: #98a2b3;

    padding-top: 3px;
}


.step h3 {
    font-size: 15px;

    margin-bottom: 3px;
}


.step p {
    color: #667085;

    font-size: 14px;
}



/* =========================================
   RELATED TOOLS
   ========================================= */

.related-section {
    padding: 70px 0;
}


.related-section h2 {
    margin-top: 9px;

    font-size: 28px;

    letter-spacing: -0.5px;
}


.related-section > .container > p {
    margin-top: 8px;

    color: #667085;
}


.coming-soon-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

    margin-top: 30px;
}


.coming-card {
    display: flex;

    flex-direction: column;

    gap: 6px;

    padding: 22px;

    background: white;

    border: 1px solid #e4e9f0;

    border-radius: 13px;
}


.coming-card span {
    font-size: 23px;
}


.coming-card strong {
    font-size: 15px;
}


.coming-card small {
    color: #98a2b3;

    font-size: 12px;
}



/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background: #101827;

    color: white;

    padding: 30px 0;
}


.footer-content {
    display: flex;

    justify-content: space-between;

    align-items: center;
}


.footer-content strong {
    font-size: 14px;

    letter-spacing: 1px;
}


.footer-content p {
    margin-top: 4px;

    color: rgba(255,255,255,0.55);

    font-size: 12px;
}


.footer-content .copyright {
    margin-top: 0;
}



/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 760px) {


    .header-content {
        min-height: 68px;
    }


    .header-tagline {
        display: none;
    }


    .hero-content {
        padding: 45px 15px 38px;
    }


    .hero h1 {
        font-size: 34px;
    }


    .hero p {
        font-size: 15px;
    }


    .calculator-section {
        padding: 30px 0 50px;
    }


    .calculator-card {
        padding: 24px 20px;

        border-radius: 16px;
    }


    .input-row {
        grid-template-columns: 1fr;
    }


    .input-row input,
    .input-row select {
        height: 48px;
    }


    .result-grid {
        grid-template-columns: 1fr;
    }


    .result-card {
        min-height: 92px;
    }


    .info-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .info-block h2 {
        font-size: 26px;
    }


    .coming-soon-grid {
        grid-template-columns: 1fr;
    }


    .footer-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

}


@media (max-width: 420px) {


    .brand-main {
        font-size: 21px;
    }


    .brand-tools {
        font-size: 11px;
    }


    .hero h1 {
        font-size: 30px;
    }


    .calculator-header h2 {
        font-size: 18px;
    }

}