      /* Landing-page styling lives here so the tool pages themselves remain untouched. */
:root {
    --landing-glow: rgba(96, 165, 250, .22);
    --landing-glow2: rgba(168, 85, 247, .18);
    --landing-card: rgba(255,255,255,.055);
    --landing-card-border: rgba(255,255,255,.11);
    --landing-muted: rgba(255,255,255,.68);
}

body {
    overflow-x: hidden;
    color: rgba(255,255,255,.92);
    background:
        radial-gradient(circle at 12% 8%, var(--landing-glow), transparent 30rem),
        radial-gradient(circle at 88% 18%, var(--landing-glow2), transparent 32rem),
        radial-gradient(circle at 50% 100%, rgba(45, 212, 191, .08), transparent 28rem),
        #0b1020;
}

.landing-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.landing-hero {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "orbit title"
        "subtitle subtitle";
    align-items: center;
    column-gap: 16px;
    text-align: left;
    //padding: 22px 24px 20px;
    margin-bottom: 18px;
}

.landing-hero::before {
    content: "";
    position: absolute;
    left: 42px;
    top: 0;
    width: 180px;
    height: 180px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--landing-glow);
    filter: blur(55px);
    opacity: .55;
    pointer-events: none;
}

.landing-hero h1 {
    grid-area: title;
    position: relative;
    margin: 0;
    font-size: clamp(1.55rem, 3.2vw, 2.45rem);
    letter-spacing: -.045em;
    line-height: 1;
}

.landing-subtitle {
    grid-area: subtitle;
    position: relative;
    width: 100%;
    max-width: none;
    margin: 12px 0 0;
    color: var(--landing-muted);
    font-size: .92rem;
    line-height: 1.5;
}

.landing-orbit {
    grid-area: orbit;
    position: relative;
    width: 52px;
    height: 52px;
    margin: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    box-shadow: 0 0 38px var(--landing-glow);
}

.landing-orbit::before,
.landing-orbit::after {
    content: "";
    position: absolute;
    inset: 11px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
}

.landing-orbit::after {
    inset: 24px 5px 24px;
    transform: rotate(-28deg);
    background: rgba(255,255,255,.7);
    border: 0;
    box-shadow: 0 0 13px rgba(255,255,255,.65);
}

.tool-frame {
    margin-bottom: 18px;
    border-radius: 20px;
    border: solid black 1px;
    width: 100%;
}

.timetool {
    margin-bottom: 18px;
    border-radius: 20px;
    width: 100%;
}

.about-tools {
    margin: 54px 0 70px;
}

.about-heading {
    text-align: center;
    margin-bottom: 30px;
}

.about-heading .eyebrow {
    display: inline-block;
    border: 1px solid var(--landing-card-border);
    border-radius: 999px;
    color: var(--landing-muted);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.about-heading h2 {
    margin: 13px 0 8px;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.about-heading p {
    margin: 0 auto;
    max-width: 700px;
    color: var(--landing-muted);
}

.tool-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tool-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--landing-card-border);
    border-radius: 20px;
    background: linear-gradient(145deg, var(--landing-card), rgba(255,255,255,.025));
    box-shadow: 0 16px 45px rgba(0,0,0,.16);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.tool-card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    background: var(--card-glow, rgba(96,165,250,.14));
    filter: blur(5px);
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.22);
    box-shadow: 0 20px 55px rgba(0,0,0,.24);
}

.tool-card.active { --card-glow: rgba(251, 191, 36, .18); }
.tool-card.clocks { --card-glow: rgba(96, 165, 250, .18); padding: 12px; }
.tool-card.difference { --card-glow: rgba(52, 211, 153, .18); }
.tool-card.converter { --card-glow: rgba(192, 132, 252, .18); }

.tool-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 17px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    background: rgba(255,255,255,.055);
    font-size: 1.5rem;
}

.tool-card h3 {
    margin: 0 0 9px;
    font-size: 1.3rem;
}

.tool-card p {
    margin: 0 0 17px;
    color: var(--landing-muted);
    line-height: 1.62;
}

.tool-explanation {
    margin-left: 1.2rem;
}

.example-label {
    margin-bottom: 7px;
    color: rgba(255,255,255,.5);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.example {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 11px;
    background: rgba(0,0,0,.18);
    color: rgba(255,255,255,.88);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .88rem;
    line-height: 1.55;
}

.tip {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.57);
    font-size: .83rem;
    line-height: 1.5;
}

.landing-footer {
    padding: 0 0 38px;
    text-align: center;
    color: rgba(255,255,255,.4);
    font-size: .8rem;
}

@media (max-width: 760px) {
    .landing-wrap { width: min(100% - 20px, 1180px); }
    .landing-hero {
        grid-template-columns: auto 1fr;
        padding: 22px 10px 20px;
    }
    .landing-hero h1 { font-size: clamp(1.4rem, 7vw, 2rem); }
    .tool-cards { grid-template-columns: 1fr; }
    //.tool-card { padding: 21px; }
}

.timezone-text {
    font-size: 1rem;
    width: 84%;
    margin: 8%;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--landing-card), rgba(255,255,255,.025));
    box-shadow: 0 16px 45px rgba(0,0,0,.16);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.timezone-h2 {
    font-size: 1.8rem;
    padding-bottom: 1rem;
    padding-top: 2rem;
}
