:root {
    --tc-bg: #121b1d;
    --tc-bg-deep: #0d1416;
    --tc-panel: #1a272a;
    --tc-panel-soft: rgba(204, 222, 255, 0.065);
    --tc-line: rgba(204, 222, 255, 0.14);
    --tc-text: #ccdeff;
    --tc-muted: #91a2be;
    --tc-accent: #ccff00;
    --tc-accent-dark: #8eb300;
    --tc-danger: #ff786b;
}

.tc-page {
    min-width: 320px;
    background: var(--tc-bg);
    color: var(--tc-text);
}

.tc-page button,
.tc-page input,
.tc-page select {
    font: inherit;
}

.tc-page input::placeholder {
    color: #6d7e97;
    opacity: 1;
}

.tc-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999;
    padding: 10px 16px;
    border-radius: 3px;
    background: var(--tc-accent);
    color: #000;
    transform: translateY(-180%);
    transition: transform 0.2s ease;
}

.tc-skip-link:focus {
    transform: translateY(0);
}

.tc-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--tc-line);
    background: rgba(18, 27, 29, 0.9);
    backdrop-filter: blur(16px);
}

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

.tc-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.tc-brand img {
    width: 132px;
    max-height: 48px;
}

.tc-nav,
.tc-footer nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.tc-nav a,
.tc-footer nav a {
    color: var(--tc-text);
    font-size: 16px;
    transition: color 0.2s ease;
}

.tc-nav a:hover,
.tc-nav a:focus,
.tc-footer nav a:hover,
.tc-footer nav a:focus {
    color: var(--tc-accent);
}

.tc-header-cta,
.tc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid var(--tc-accent);
    border-radius: 3px;
    background: var(--tc-accent);
    color: #0c1100;
    font-weight: 700;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tc-header-cta:hover,
.tc-header-cta:focus,
.tc-button:hover,
.tc-button:focus {
    background: transparent;
    color: var(--tc-accent);
    transform: translateY(-1px);
}

.tc-hero {
    position: relative;
    overflow: hidden;
    padding: 118px 0 104px;
    border-bottom: 1px solid var(--tc-line);
    background:
        linear-gradient(rgba(204, 222, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204, 222, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
}

.tc-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
    pointer-events: none;
}

.tc-glow-one {
    top: -100px;
    left: -80px;
    background: #ccff00;
}

.tc-glow-two {
    right: 6%;
    bottom: -240px;
    background: #6c8cff;
}

.tc-eyebrow,
.tc-kicker {
    color: var(--tc-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.tc-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.tc-eyebrow span {
    width: 34px;
    height: 1px;
    background: var(--tc-accent);
}

.tc-hero h1 {
    max-width: 900px;
    margin: 0;
    color: var(--tc-text);
    font-family: "Nunito", sans-serif;
    font-size: clamp(64px, 9vw, 126px);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.82;
}

.tc-hero h1 em {
    color: transparent;
    font-style: normal;
    -webkit-text-stroke: 1px var(--tc-accent);
    text-stroke: 1px var(--tc-accent);
}

.tc-hero-copy {
    max-width: 700px;
    margin-top: 36px;
    color: var(--tc-muted);
    font-size: 20px;
    line-height: 1.65;
}

.tc-hero-points {
    border-top: 1px solid var(--tc-line);
}

.tc-hero-points div {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--tc-line);
}

.tc-hero-points strong {
    color: var(--tc-accent);
    font-family: "Nunito", sans-serif;
}

.tc-hero-points span {
    color: var(--tc-text);
}

.tc-calculator-section,
.tc-info-section,
.tc-faq-section {
    position: relative;
    padding: 120px 0;
}

.tc-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 44px;
}

.tc-section-heading h2,
.tc-info-section h2,
.tc-result-intro h2 {
    margin-top: 10px;
    color: var(--tc-text);
    font-family: "Nunito", sans-serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.tc-section-heading > p,
.tc-info-lead,
.tc-result-intro > p:last-child {
    color: var(--tc-muted);
    font-size: 17px;
    line-height: 1.7;
}

.tc-section-heading > p strong {
    color: var(--tc-text);
    font-weight: 600;
}

.tc-calculator-card {
    overflow: hidden;
    border: 1px solid var(--tc-line);
    border-radius: 6px;
    background: rgba(22, 34, 37, 0.94);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
}

.tc-toolbar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    padding: 28px;
    border-bottom: 1px solid var(--tc-line);
    background: rgba(204, 222, 255, 0.025);
}

.tc-control {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 9px;
}

.tc-control-wide {
    grid-column: span 1;
}

.tc-label {
    color: var(--tc-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tc-control input,
.tc-control select,
.tc-table input {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    border: 1px solid var(--tc-line);
    border-radius: 3px;
    background: var(--tc-bg-deep);
    color: var(--tc-text);
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tc-control input:focus,
.tc-control select:focus,
.tc-table input:focus {
    border-color: var(--tc-accent);
    box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.08);
}

.tc-table input[aria-invalid="true"] {
    border-color: var(--tc-danger);
    box-shadow: 0 0 0 3px rgba(255, 120, 107, 0.08);
}

.tc-control select {
    color-scheme: dark;
}

.tc-segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 45px;
    padding: 3px;
    border: 1px solid var(--tc-line);
    border-radius: 3px;
    background: var(--tc-bg-deep);
}

.tc-segmented button {
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: var(--tc-muted);
    font-size: 14px;
}

.tc-segmented button.is-active {
    background: var(--tc-accent);
    color: #111700;
    font-weight: 700;
}

.tc-input-affix,
.tc-input-suffix {
    position: relative;
    display: flex;
    align-items: center;
}

.tc-input-affix > span:first-child {
    position: absolute;
    left: 12px;
    z-index: 1;
    color: var(--tc-accent);
    font-weight: 700;
}

.tc-input-affix input {
    padding-left: 29px;
}

.tc-input-suffix > span:last-child {
    position: absolute;
    right: 11px;
    color: var(--tc-muted);
    font-size: 13px;
}

.tc-input-suffix input {
    padding-right: 42px;
}

.tc-table-wrap {
    overflow-x: auto;
}

.tc-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.tc-table th {
    padding: 18px 20px;
    border-bottom: 1px solid var(--tc-line);
    color: var(--tc-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: left;
    text-transform: uppercase;
}

.tc-table td {
    padding: 13px 20px;
    border-bottom: 1px solid rgba(204, 222, 255, 0.08);
    vertical-align: middle;
}

.tc-table tbody tr:last-child td {
    border-bottom: 0;
}

.tc-table tbody tr:hover {
    background: rgba(204, 222, 255, 0.022);
}

.tc-day-cell {
    min-width: 160px;
}

.tc-day-cell strong,
.tc-day-cell span {
    display: block;
}

.tc-day-cell strong {
    color: var(--tc-text);
    font-family: "Nunito", sans-serif;
    font-size: 17px;
}

.tc-day-cell span {
    margin-top: 2px;
    color: var(--tc-muted);
    font-size: 13px;
}

.tc-table .tc-time-input {
    min-width: 130px;
}

.tc-table .tc-break-input {
    min-width: 100px;
}

.tc-day-total {
    min-width: 118px;
    color: var(--tc-text);
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.tc-day-total small {
    display: block;
    margin-top: 2px;
    color: var(--tc-muted);
    font-family: "Jost", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.tc-day-total.is-error {
    color: var(--tc-danger);
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.tc-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 28px;
    border-top: 1px solid var(--tc-line);
}

.tc-card-actions > div {
    display: flex;
    gap: 22px;
}

.tc-text-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tc-text);
    font-size: 14px;
}

.tc-text-button:hover,
.tc-text-button:focus {
    color: var(--tc-accent);
}

.tc-card-actions p {
    color: var(--tc-muted);
    font-size: 13px;
}

.tc-card-actions p i {
    margin-right: 6px;
    color: var(--tc-accent);
}

.tc-results {
    display: grid;
    grid-template-columns: 1.35fr repeat(4, minmax(140px, 0.8fr));
    margin-top: 28px;
    border: 1px solid var(--tc-line);
    border-radius: 6px;
    background: var(--tc-bg-deep);
}

.tc-result-intro,
.tc-result-stat {
    min-width: 0;
    padding: 28px;
    border-right: 1px solid var(--tc-line);
}

.tc-result-intro h2 {
    font-size: 36px;
}

.tc-result-intro > p:last-child {
    margin-top: 12px;
    font-size: 14px;
}

.tc-result-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tc-result-stat > span {
    color: var(--tc-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.tc-result-stat strong {
    display: block;
    margin-top: 7px;
    color: var(--tc-text);
    font-family: "Nunito", sans-serif;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1;
}

.tc-result-stat small {
    margin-top: 7px;
    color: var(--tc-muted);
}

.tc-result-primary {
    background: rgba(204, 255, 0, 0.055);
}

.tc-result-primary strong,
.tc-result-pay strong {
    color: var(--tc-accent);
}

.tc-result-pay {
    border-right: 0;
}

.tc-export-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid var(--tc-line);
}

.tc-button {
    border: 1px solid var(--tc-accent);
    cursor: pointer;
}

.tc-button-secondary {
    border-color: var(--tc-line);
    background: transparent;
    color: var(--tc-text);
}

.tc-button-secondary:hover,
.tc-button-secondary:focus {
    border-color: var(--tc-text);
    color: var(--tc-text);
}

.tc-ad-slot {
    display: grid;
    place-items: center;
    min-height: 126px;
    margin-top: 72px;
    border: 1px dashed rgba(204, 222, 255, 0.2);
    border-radius: 4px;
    background: rgba(204, 222, 255, 0.018);
    text-align: center;
}

.tc-ad-slot span {
    align-self: end;
    color: #63718a;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tc-ad-slot div {
    align-self: start;
    margin-top: 8px;
    color: #72819a;
    font-size: 13px;
}

.tc-info-section {
    border-top: 1px solid var(--tc-line);
    border-bottom: 1px solid var(--tc-line);
    background: var(--tc-bg-deep);
}

.tc-info-lead {
    max-width: 480px;
    margin-top: 28px;
}

.tc-steps {
    border-top: 1px solid var(--tc-line);
}

.tc-steps li {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid var(--tc-line);
}

.tc-steps li > span {
    color: var(--tc-accent);
    font-family: "Nunito", sans-serif;
    font-weight: 700;
}

.tc-steps h3,
.tc-feature-grid h3 {
    color: var(--tc-text);
    font-family: "Nunito", sans-serif;
    font-size: 21px;
    font-weight: 700;
}

.tc-steps p,
.tc-feature-grid p {
    margin-top: 7px;
    color: var(--tc-muted);
    line-height: 1.65;
}

.tc-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 84px;
    border: 1px solid var(--tc-line);
    border-radius: 5px;
    background: var(--tc-line);
    overflow: hidden;
}

.tc-feature-grid article {
    padding: 36px;
    background: var(--tc-bg);
}

.tc-feature-grid i {
    display: inline-grid;
    width: 54px;
    height: 54px;
    margin-bottom: 28px;
    place-items: center;
    border: 1px solid rgba(204, 255, 0, 0.28);
    border-radius: 50%;
    color: var(--tc-accent);
    font-size: 19px;
}

.tc-faq-list {
    border-top: 1px solid var(--tc-line);
}

.tc-faq-list details {
    border-bottom: 1px solid var(--tc-line);
}

.tc-faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 0;
    color: var(--tc-text);
    font-family: "Nunito", sans-serif;
    font-size: clamp(19px, 2.5vw, 26px);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.tc-faq-list summary::-webkit-details-marker {
    display: none;
}

.tc-faq-list summary i {
    color: var(--tc-accent);
    font-size: 16px;
    transition: transform 0.2s ease;
}

.tc-faq-list details[open] summary i {
    transform: rotate(45deg);
}

.tc-faq-list details p {
    max-width: 840px;
    padding: 0 0 30px;
    color: var(--tc-muted);
    font-size: 17px;
    line-height: 1.75;
}

.tc-footer {
    border-top: 1px solid var(--tc-line);
    background: #0a1012;
}

.tc-footer-top,
.tc-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.tc-footer-top {
    min-height: 150px;
}

.tc-footer-top > p,
.tc-footer-bottom p {
    color: var(--tc-muted);
}

.tc-footer-bottom {
    min-height: 76px;
    border-top: 1px solid var(--tc-line);
    font-size: 13px;
}

@media (max-width: 1199px) {
    .tc-toolbar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tc-results {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tc-result-intro {
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 1px solid var(--tc-line);
    }
}

@media (max-width: 991px) {
    .tc-nav {
        display: none;
    }

    .tc-hero {
        padding: 92px 0 82px;
    }

    .tc-calculator-section,
    .tc-info-section,
    .tc-faq-section {
        padding: 88px 0;
    }

    .tc-section-heading {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .tc-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tc-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tc-result-stat:nth-of-type(3) {
        border-right: 0;
    }

    .tc-result-stat:nth-of-type(2),
    .tc-result-stat:nth-of-type(3) {
        border-bottom: 1px solid var(--tc-line);
    }

    .tc-feature-grid {
        grid-template-columns: 1fr;
    }

    .tc-footer-top {
        flex-wrap: wrap;
        padding: 34px 0;
    }
}

@media (max-width: 767px) {
    .tc-header-inner {
        min-height: 78px;
    }

    .tc-brand img {
        width: 112px;
    }

    .tc-header-cta {
        min-height: 42px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .tc-hero h1 {
        font-size: clamp(52px, 18vw, 84px);
    }

    .tc-hero-copy {
        font-size: 17px;
    }

    .tc-toolbar {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .tc-card-actions {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 20px;
    }

    .tc-results {
        grid-template-columns: 1fr;
    }

    .tc-result-stat,
    .tc-result-stat:nth-of-type(3),
    .tc-result-pay {
        border-right: 0;
        border-bottom: 1px solid var(--tc-line);
    }

    .tc-export-actions {
        flex-direction: column;
    }

    .tc-export-actions .tc-button {
        width: 100%;
    }

    .tc-feature-grid {
        margin-top: 58px;
    }

    .tc-footer-top,
    .tc-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        min-height: 0;
        padding: 30px 0;
    }

    .tc-footer nav {
        flex-wrap: wrap;
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .tc-header-cta {
        width: 42px;
        padding: 0;
        font-size: 0;
    }

    .tc-header-cta i {
        font-size: 14px;
    }

    .tc-hero {
        padding-top: 76px;
    }

    .tc-card-actions > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .tc-steps li {
        grid-template-columns: 48px 1fr;
    }
}

@media print {
    @page {
        margin: 14mm;
    }

    .tc-page {
        background: #fff;
        color: #111;
    }

    .tc-header,
    .tc-hero,
    .tc-section-heading,
    .tc-toolbar,
    .tc-card-actions,
    .tc-export-actions,
    .tc-ad-slot,
    .tc-info-section,
    .tc-faq-section,
    .tc-footer {
        display: none !important;
    }

    .tc-calculator-section {
        padding: 0;
    }

    .tc-calculator-card,
    .tc-results {
        border: 1px solid #aaa;
        box-shadow: none;
        background: #fff;
        break-inside: avoid;
    }

    .tc-table,
    .tc-table th,
    .tc-table td,
    .tc-result-stat strong,
    .tc-result-stat span,
    .tc-result-stat small,
    .tc-result-intro h2,
    .tc-result-intro p {
        color: #111 !important;
    }

    .tc-table input {
        min-height: 0;
        padding: 4px;
        border: 0;
        background: transparent;
        color: #111;
    }

    .tc-results {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .tc-result-intro {
        grid-column: 1 / -1;
    }
}
