/* Flow Leak Calculator tool — built entirely on the variables and type scale
   already defined in ../css/style.css. No new colors or fonts introduced. */

/* ── SS HERO ─────────────────────────────────────────── */
.flc-hero {
    background: var(--navy);
    padding: 180px clamp(20px, 7vw, 100px) 90px;
    text-align: center;
}
.flc-hero-inner { max-width: 780px; margin: 0 auto; }

.flc-hero-h1 {
    font-family: var(--f-display);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -.025em;
    color: var(--cream);
    margin-bottom: 26px;
}
.flc-hero-h1 em { font-style: italic; color: var(--gold); }

.flc-hero-sub {
    font-size: clamp(.92rem, 1.4vw, 1.05rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--muted-dark);
    max-width: 640px;
    margin: 0 auto;
}

/* ── FORM ────────────────────────────────────────────── */
.flc-form-wrap { max-width: 640px; margin: 0 auto; padding: 0 clamp(20px, 7vw, 40px) 60px; }

.flc-field-group { margin-bottom: 48px; }

.flc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.flc-field { margin-bottom: 26px; }
.flc-field label {
    display: block;
    font-family: var(--f-body);
    font-size: .85rem;
    font-weight: 500;
    color: var(--on-light);
    margin-bottom: 10px;
    line-height: 1.5;
}
.flc-field input[type="text"],
.flc-field input[type="email"],
.flc-field input[type="number"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--on-light);
    padding: 10px 2px;
    font-family: var(--f-body);
    font-size: 1rem;
    color: var(--on-light);
    transition: border-color .3s;
}
.flc-field input:focus,
.flc-field select:focus {
    outline: none;
    border-bottom-color: var(--gold-lo);
}
.flc-field select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--on-light);
    padding: 10px 2px;
    font-family: var(--f-body);
    font-size: 1rem;
    color: var(--on-light);
    transition: border-color .3s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23C9A85C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 18px;
}

/* ── PROGRESS BAR ─────────────────────────────────────── */
.flc-progress { max-width: 640px; margin: 0 auto 40px; padding: 0 clamp(20px, 7vw, 40px); }
.flc-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(5, 9, 26, 0.1);
    border-radius: 4px;
    overflow: hidden;
}
.flc-progress-fill {
    height: 100%;
    background: var(--gold);
    width: 20%;
    transition: width .4s ease;
}
.flc-progress-label {
    font-family: var(--f-body);
    font-size: .78rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--muted-light);
    margin-top: 10px;
}

/* ── STEP SHOW/HIDE ───────────────────────────────────── */
.flc-step { display: none; animation: flcFadeIn .35s ease; }
.flc-step-active { display: block; }
@keyframes flcFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.flc-nav-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 8px;
}
.flc-btn-back {
    background: none;
    border: none;
    font-family: var(--f-body);
    font-size: .9rem;
    color: var(--muted-light);
    cursor: pointer;
    padding: 12px 4px;
    text-decoration: underline;
}
.flc-btn-back:hover { color: var(--on-light); }
.flc-help {
    font-size: .78rem;
    color: var(--muted-light);
    margin-top: 8px;
    line-height: 1.6;
}
.flc-help-top { margin-top: -10px; margin-bottom: 18px; }

.flc-check {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .92rem;
    color: var(--body-light);
    margin-bottom: 14px;
    cursor: pointer;
}
.flc-check input {
    width: 17px;
    height: 17px;
    accent-color: var(--gold-lo);
}

.flc-hp { position: absolute; left: -9999px; top: -9999px; }

.flc-submit {
    width: 100%;
    text-align: center;
    padding: 16px 30px;
    font-size: .8rem;
    border: none;
    cursor: pointer;
}

.flc-privacy {
    text-align: center;
    font-size: .78rem;
    color: var(--muted-light);
    margin-top: 14px;
    line-height: 1.6;
}

/* ── RESULTS PAGE ────────────────────────────────────── */
.flc-result-hero {
    background: var(--navy);
    padding: 170px clamp(20px, 7vw, 100px) 70px;
    text-align: center;
}
.flc-result-greeting {
    font-family: var(--f-mono);
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
}

.flc-blocks {
    max-width: var(--wrap);
    margin: -60px auto 0;
    padding: 0 clamp(20px, 7vw, 100px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    position: relative;
    z-index: 2;
}
.flc-block {
    background: var(--navy-card);
    padding: 44px 40px;
    position: relative;
}
.flc-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
}
.flc-block-lbl {
    font-family: var(--f-mono);
    font-size: .64rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted-dark);
    margin-bottom: 14px;
}
.flc-block-val {
    font-family: var(--f-display);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 12px;
}
.flc-block-desc {
    font-size: .86rem;
    color: var(--on-dark);
    opacity: .72;
    line-height: 1.65;
}

/* the revenue figure is the conversion hook, make it the one the eye lands on first */
.flc-block--highlight {
    background: var(--navy-mid);
    border: 1.5px solid var(--gold);
}
.flc-block--highlight::before { height: 3px; }
.flc-block--highlight .flc-block-lbl { color: var(--gold); }
.flc-block--highlight .flc-block-val {
    font-size: clamp(3rem, 6.5vw, 4.8rem);
}
.flc-block--highlight .flc-block-desc { opacity: .85; }

.flc-methodology {
    max-width: var(--wrap);
    margin: 3px auto 0;
    padding: 30px clamp(20px, 7vw, 100px);
    background: var(--navy-mid);
    font-size: .82rem;
    line-height: 1.75;
    color: var(--muted-dark);
}
.flc-methodology strong { color: var(--on-dark); }

.flc-insight {
    background: var(--cream);
    padding: 70px clamp(20px, 7vw, 100px);
}
.flc-insight-inner { max-width: 720px; margin: 0 auto; }
.flc-insight-inner h3 {
    font-family: var(--f-display);
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--on-light);
    margin-bottom: 16px;
}
.flc-insight-inner p {
    font-size: .98rem;
    line-height: 1.85;
    color: var(--body-light);
}

.flc-cta-section {
    background: var(--gold);
    padding: 80px clamp(20px, 7vw, 100px);
    text-align: center;
}
.flc-cta-section p {
    font-size: 1rem;
    color: rgba(5,9,26,.6);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.flc-cta-btn {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--gold-lo);
    padding: 16px 40px;
    text-decoration: none;
    display: inline-block;
    border: none;
    transition: background .3s, transform .3s;
}
.flc-cta-btn:hover { background: #86703a; transform: translateY(-2px); }

.flc-cta-btn--ghost {
    background: transparent;
    border: 1.5px solid var(--navy);
    color: var(--navy);
    cursor: pointer;
}
.flc-cta-btn--ghost:hover { background: rgba(5, 9, 26, 0.1); color: var(--navy); transform: translateY(-2px); }

.flc-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ── FACE + CTA ───────────────────────────────────────── */
.flc-cta-face {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}
.flc-cta-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--gold);
}
.flc-cta-text { flex: 1; }
.flc-cta-text .flc-cta-buttons { justify-content: flex-start; }
@media (max-width: 640px) {
    .flc-cta-face { flex-direction: column; text-align: center; }
    .flc-cta-text .flc-cta-buttons { justify-content: center; }
}

/* ── FLOW DIAGRAM DOTS ────────────────────────────────── */
.flc-dots {
    display: flex;
    gap: 8px;
    margin: 14px 0 10px;
}
.flc-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}
.flc-dot--filled { background: var(--gold); }
.flc-dot--empty { background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.55); }

/* ── TACTICAL TIP CARDS ───────────────────────────────── */
.flc-tips {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px clamp(20px, 7vw, 40px) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.flc-tip-card {
    background: #fff;
    border-left: 3px solid var(--gold);
    padding: 26px 28px;
}
.flc-tip-lbl {
    font-family: var(--f-body);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold-lo);
    margin-bottom: 10px;
}
.flc-tip-card p {
    font-size: .92rem;
    line-height: 1.7;
    color: rgba(5,9,26,.75);
    margin: 0;
}
@media (max-width: 640px) {
    .flc-tips { grid-template-columns: 1fr; }
}

/* ── PROOF POINT ──────────────────────────────────────── */
.flc-proof {
    max-width: 900px;
    margin: 32px auto 0;
    padding: 0 clamp(20px, 7vw, 40px);
}
.flc-proof-inner {
    background: var(--navy);
    padding: 32px 36px;
    border-radius: 2px;
}
.flc-proof-inner p {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--cream);
    margin: 0;
}

@media (max-width: 640px) {
    .flc-row { grid-template-columns: 1fr; }
    .flc-blocks { grid-template-columns: 1fr; }
}
