:root {
    --bg: #eef2f7;
    --bg-glow: rgba(59, 93, 135, 0.08);
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --card: #ffffff;
    --text: #18212f;
    --muted: #5f6c80;
    --line: rgba(24, 33, 47, 0.08);
    --line-strong: rgba(24, 33, 47, 0.14);
    --accent: #37516f;
    --accent-deep: #24384f;
    --accent-soft: rgba(55, 81, 111, 0.08);
    --accent-brass: #9a7744;
    --accent-brass-soft: rgba(154, 119, 68, 0.12);
    --success: #1d6b52;
    --warning: #9b6a1f;
    --warning-soft: #f7ecd8;
    --neutral-soft: #e6ebf2;
    --shadow-lg: 0 20px 56px rgba(20, 30, 43, 0.08);
    --shadow-md: 0 10px 28px rgba(20, 30, 43, 0.05);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, var(--bg-glow), transparent 26%),
        radial-gradient(circle at top right, rgba(34, 73, 118, 0.06), transparent 20%),
        linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
    color: var(--text);
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    line-height: 1.5;
    min-height: 100vh;
}

button,
input,
select {
    font: inherit;
}

button {
    border: none;
}

.page-shell {
    overflow: hidden;
}

.container {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 24px;
}

.hero {
    padding: 20px 0 12px;
}

.hero-grid {
    align-items: stretch;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.96fr);
}

.hero-copy,
.hero-panel,
.calculator {
    backdrop-filter: blur(14px);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
}

.hero-copy {
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
    min-height: 0;
    padding: 18px 20px;
    position: relative;
}

.hero-copy-main {
    position: relative;
    z-index: 1;
}

.hero-copy::after {
    background: linear-gradient(135deg, rgba(55, 81, 111, 0.06), rgba(255, 255, 255, 0));
    border-radius: inherit;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.eyebrow,
.section-kicker,
.panel-kicker {
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 6px 0 8px;
    max-width: none;
}

.hero-text {
    color: var(--muted);
    font-size: 0.9rem;
    max-width: 58ch;
    position: relative;
    z-index: 1;
}

.hero-presets-copy {
    align-items: center;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(24, 33, 47, 0.07);
    border-radius: 999px;
    color: rgba(82, 91, 106, 0.96);
    display: inline-flex;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 12px;
    position: relative;
    z-index: 1;
}

.hero-presets-icon {
    background: linear-gradient(180deg, #fffdf9 0%, #f4efe6 100%);
    border: 1px solid rgba(24, 33, 47, 0.12);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    flex: 0 0 18px;
    height: 18px;
    position: relative;
    width: 18px;
}

.hero-presets-icon::before,
.hero-presets-icon::after {
    background: rgba(82, 91, 106, 0.92);
    border-radius: 999px;
    content: "";
    position: absolute;
}

.hero-presets-icon::before {
    height: 1.5px;
    left: 4px;
    right: 4px;
    top: 8px;
}

.hero-presets-icon::after {
    bottom: 4px;
    top: 4px;
    width: 1.5px;
    left: 8px;
}

.hero-presets-icon-dot {
    background: #fffdf9;
    border: 1.5px solid rgba(82, 91, 106, 0.86);
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(20, 30, 43, 0.08);
    height: 5px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
}

.hero-preset-groups {
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.hero-preset-group {
    display: grid;
    gap: 6px;
}

.hero-preset-group-label {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.ghost-button,
.outline-button {
    border-radius: 999px;
    cursor: pointer;
    padding: 9px 12px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ghost-button {
    align-items: center;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(30, 36, 48, 0.08);
    color: var(--text);
    display: inline-flex;
    gap: 8px;
    font-weight: 700;
}

.preset-button.is-recommended {
    border-color: rgba(55, 81, 111, 0.18);
    box-shadow: inset 0 0 0 1px rgba(55, 81, 111, 0.04);
}

.preset-button.is-active {
    background: linear-gradient(180deg, rgba(55, 81, 111, 0.12) 0%, rgba(55, 81, 111, 0.18) 100%);
    border-color: rgba(55, 81, 111, 0.3);
    box-shadow: inset 0 0 0 1px rgba(55, 81, 111, 0.06);
    color: var(--accent-deep);
}

.preset-button.is-active .preset-badge {
    background: rgba(255, 255, 255, 0.72);
}

.preset-badge {
    background: rgba(55, 81, 111, 0.08);
    border-radius: 999px;
    color: var(--accent);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 4px 7px;
    text-transform: uppercase;
}

.outline-button {
    background: transparent;
    border: 1px solid rgba(55, 81, 111, 0.2);
    color: var(--accent-deep);
    font-weight: 700;
}

.ghost-button:hover,
.ghost-button:focus-visible,
.outline-button:hover,
.outline-button:focus-visible {
    background: #f8fbff;
    border-color: rgba(55, 81, 111, 0.24);
    outline: none;
    transform: translateY(-1px);
}

.hero-panel {
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
    min-height: 100%;
    padding: 18px 20px;
}

.hero-panel-header,
.results-header,
.footer-content {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.sync-indicator,
.summary-pill {
    background: rgba(21, 115, 71, 0.08);
    border-radius: 999px;
    color: var(--success);
    font-size: 0.86rem;
    font-weight: 700;
    padding: 10px 14px;
    white-space: nowrap;
}

.city-info {
    display: grid;
    gap: 14px;
}

.city-item {
    align-items: center;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    padding: 16px 18px;
}

.city-name,
.hours-city,
.config-hours-city {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.city-timezone {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.city-time {
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.main {
    padding: 0 0 80px;
}

.calculator {
    background: rgba(255, 252, 247, 0.92);
    border-radius: var(--radius-xl);
    display: grid;
    gap: 28px;
    margin: -4px auto 0;
    padding: 36px;
    position: relative;
    z-index: 2;
}

.section-heading {
    align-items: end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.section-heading.compact {
    align-items: start;
    margin-bottom: 22px;
}

.section-heading h2,
.results-header h2 {
    font-size: clamp(1.7rem, 2vw, 2.2rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-top: 8px;
}

.section-heading p,
.timeline-copy p,
.best-time-copy p,
.footer p {
    color: var(--muted);
}

.city-selector,
.meeting-slots {
    display: grid;
    gap: 18px;
}

.city-selector[data-city-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.city-selector[data-city-count="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.config-card,
.timeline-card,
.best-time,
.meeting-slot {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.config-card {
    padding: 22px;
}

.config-card-top {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

.config-index {
    align-items: center;
    background: var(--accent-soft);
    border-radius: 999px;
    color: var(--accent);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.config-card label,
.hours-input label {
    color: var(--muted);
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
}

.timezone-picker {
    position: relative;
}

.timezone-picker::before {
    color: var(--muted);
    content: "Search";
    font-size: 0.74rem;
    font-weight: 800;
    left: 16px;
    letter-spacing: 0.08em;
    pointer-events: none;
    position: absolute;
    text-transform: uppercase;
    top: 14px;
    z-index: 2;
}

.timezone-search,
.time-select {
    appearance: none;
    background: linear-gradient(180deg, #fffefb 0%, #fbf7ef 100%);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    color: var(--text);
    padding: 34px 16px 12px;
    transition: border-color 180ms ease, box-shadow 180ms ease;
    width: 100%;
}

.timezone-search:focus,
.time-select:focus,
.preset-button:focus-visible {
    border-color: rgba(55, 81, 111, 0.34);
    box-shadow: 0 0 0 5px rgba(55, 81, 111, 0.1);
    outline: none;
}

.timezone-selected-meta {
    color: var(--muted);
    font-size: 0.84rem;
    margin-top: 8px;
    min-height: 1.3rem;
}

.timezone-dropdown {
    background: #fffdf9;
    border: 1px solid rgba(30, 36, 48, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(27, 31, 35, 0.12);
    display: none;
    left: 0;
    margin-top: 10px;
    max-height: 304px;
    overflow-y: auto;
    padding: 8px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 20;
}

.timezone-picker.is-open .timezone-dropdown {
    display: block;
}

.timezone-option {
    align-items: flex-start;
    background: transparent;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    text-align: left;
    width: 100%;
}

.timezone-option:hover,
.timezone-option:focus-visible {
    background: #f8f1e7;
    outline: none;
}

.timezone-option-name {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.timezone-option-meta {
    color: var(--muted);
    font-size: 0.84rem;
}

.timezone-empty {
    color: var(--muted);
    padding: 14px;
}

.config-card-divider {
    background: var(--line);
    height: 1px;
    margin: 18px 0 16px;
}

.config-hours {
    display: grid;
    gap: 14px;
}

.config-hours-heading {
    align-items: baseline;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.config-hours-meta {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.city-toggle-row {
    display: flex;
    justify-content: flex-start;
    margin-top: -4px;
}

.hours-inputs {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}

.time-select {
    cursor: pointer;
    margin-top: 8px;
    padding: 15px 42px 15px 16px;
}

.results {
    display: grid;
    gap: 22px;
}

.timeline-card,
.best-time {
    padding: 24px;
}

.mobile-overlap {
    display: none;
}

.timeline-card {
    position: relative;
    padding-top: 24px;
}

.timeline-copy h3,
.best-time-copy h3 {
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}

.timeline-helper {
    align-items: center;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(30, 36, 48, 0.07);
    border-radius: 999px;
    color: rgba(82, 91, 106, 0.96);
    display: inline-flex;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 10px;
    padding: 8px 12px;
}

.timeline-helper-icon {
    background: linear-gradient(180deg, #fffdf9 0%, #f4efe6 100%);
    border: 1px solid rgba(30, 36, 48, 0.12);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    flex: 0 0 18px;
    height: 18px;
    position: relative;
    width: 18px;
}

.timeline-helper-icon::before {
    background: rgba(82, 91, 106, 0.92);
    border-radius: 999px;
    content: "";
    height: 5px;
    left: 50%;
    position: absolute;
    top: 3px;
    transform: translateX(-50%);
    width: 1.5px;
}

.timeline-helper-icon::after {
    border: 1.25px solid rgba(82, 91, 106, 0.92);
    border-radius: 999px;
    content: "";
    inset: 3px 4px 2px;
    position: absolute;
}

.timeline-helper-wheel {
    background: rgba(82, 91, 106, 0.92);
    border-radius: 999px;
    height: 1.5px;
    left: 50%;
    opacity: 0.55;
    position: absolute;
    top: 8px;
    transform: translateX(-50%);
    width: 5px;
}

.legend {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 18px 0 16px;
}

.legend span {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    font-size: 0.9rem;
}

.legend-swatch {
    border-radius: 999px;
    display: inline-block;
    height: 12px;
    width: 12px;
}

.legend-full {
    background: var(--success);
}

.legend-partial {
    background: linear-gradient(180deg, #c6a066 0%, #9a7744 100%);
}

.legend-none {
    background: #d7d0c4;
}

.timeline {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.timeline-row {
    align-items: start;
    background: linear-gradient(180deg, rgba(255, 254, 251, 0.96) 0%, rgba(249, 244, 236, 0.94) 100%);
    border: 1px solid rgba(30, 36, 48, 0.08);
    border-radius: 18px;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(130px, 170px) minmax(0, 1fr);
    padding: 14px;
}

.timeline-row.primary {
    border-color: rgba(55, 81, 111, 0.16);
    box-shadow: inset 0 0 0 1px rgba(55, 81, 111, 0.05);
}

.timeline-city {
    align-items: center;
    grid-template-columns: 1fr auto;
    display: grid;
    gap: 3px 10px;
}

.timeline-city-name {
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.timeline-city-zone {
    color: var(--muted);
    font-size: 0.79rem;
    grid-column: 1;
}

.timeline-working-hours-copy {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    grid-column: 1;
}

.timeline-current-time {
    align-self: start;
    background: var(--accent-brass-soft);
    border-radius: 999px;
    color: var(--accent-deep);
    font-feature-settings: "tnum";
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    opacity: 0;
    padding: 6px 10px;
    transform: translateY(2px);
    transition: opacity 140ms ease, transform 140ms ease, background 140ms ease;
    white-space: nowrap;
}

.timeline-current-time.is-default {
    background: rgba(89, 98, 114, 0.08);
    color: var(--muted);
    opacity: 1;
    transform: translateY(0);
}

.timeline-current-time.is-active {
    background: rgba(154, 119, 68, 0.18);
    opacity: 1;
    transform: translateY(0);
}

.timeline-row-content {
    display: grid;
    gap: 10px;
    padding-top: 16px;
}

.timeline-track {
    background: linear-gradient(180deg, #f4efe6 0%, #efe7db 100%);
    border: 1px solid rgba(30, 36, 48, 0.06);
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
    display: grid;
    gap: 3px;
    grid-template-columns: repeat(48, minmax(0, 1fr));
    overflow: visible;
    padding: 10px;
    position: relative;
}

.timeline-working-window {
    background: linear-gradient(180deg, rgba(154, 119, 68, 0.08) 0%, rgba(154, 119, 68, 0.16) 100%);
    border: 1px solid rgba(154, 119, 68, 0.16);
    border-radius: 12px;
    bottom: 7px;
    pointer-events: none;
    position: absolute;
    top: 7px;
    z-index: 0;
}

.timeline-working-edge {
    align-items: center;
    display: flex;
    flex-direction: column;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: -20px;
    transform: translateX(-50%);
    z-index: 3;
}

.timeline-working-edge-dot {
    background: #fffdf9;
    border: 1.5px solid rgba(154, 119, 68, 0.5);
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(30, 36, 48, 0.08);
    display: inline-block;
    height: 7px;
    margin-top: 3px;
    width: 7px;
}

.timeline-working-edge.is-end .timeline-working-edge-dot {
    border-color: rgba(55, 81, 111, 0.48);
}

.timeline-working-edge-label {
    background: rgba(255, 253, 249, 0.84);
    border: 1px solid rgba(154, 119, 68, 0.12);
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(27, 31, 35, 0.05);
    color: var(--accent-deep);
    font-feature-settings: "tnum";
    font-size: 0.64rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.1;
    margin-bottom: 3px;
    opacity: 0.88;
    padding: 2px 6px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.timeline-working-edge-label.align-start {
    transform: translateX(0);
}

.timeline-working-edge-label.align-end {
    transform: translateX(-100%);
}

.timeline-working-edge.is-end .timeline-working-edge-label {
    border-color: rgba(55, 81, 111, 0.12);
    color: var(--accent);
}

.timeline-track::before {
    background-image: repeating-linear-gradient(
        to right,
        transparent 0,
        transparent calc((100% / 24) - 1px),
        rgba(30, 36, 48, 0.08) calc((100% / 24) - 1px),
        rgba(30, 36, 48, 0.08) calc(100% / 24)
    );
    content: "";
    inset: 10px;
    pointer-events: none;
    position: absolute;
}

.timeline-segment {
    border-radius: 999px;
    min-height: 38px;
    position: relative;
    transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
    z-index: 1;
}

.timeline-segment.working {
    background: rgba(89, 98, 114, 0.2);
}

.timeline-segment.overlap {
    background: linear-gradient(180deg, #25a56a 0%, #157347 100%);
}

.timeline-segment.partial {
    background: linear-gradient(180deg, #d1b07c 0%, #a98550 100%);
}

.timeline-segment.no-overlap {
    background: rgba(89, 98, 114, 0.16);
}

.timeline-segment.is-hovered {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 2px rgba(30, 36, 48, 0.18);
    transform: translateY(-1px);
    z-index: 2;
}

.timeline-segment.is-pinned {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 0 3px rgba(55, 81, 111, 0.24);
}

.timeline-track.is-hovering .timeline-segment:not(.is-hovered) {
    filter: saturate(0.88) opacity(0.6);
}

.timeline-track.is-pinned .timeline-segment:not(.is-pinned) {
    filter: saturate(0.86) opacity(0.58);
}

.timeline-row.is-hovering {
    border-color: rgba(30, 36, 48, 0.14);
}

.timeline-row-markers {
    color: var(--muted);
    display: grid;
    font-feature-settings: "tnum";
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    gap: 6px;
    grid-template-columns: repeat(9, minmax(0, 1fr));
}

.timeline-row-markers span {
    text-align: center;
}

.timeline-row-markers span:first-child {
    text-align: left;
}

.timeline-row-markers span:last-child {
    text-align: right;
}

.timeline-row-markers span.is-active {
    color: var(--accent-deep);
}

.timeline-hover-tooltip {
    background: rgba(30, 36, 48, 0.94);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(27, 31, 35, 0.18);
    color: #fffdf9;
    left: 0;
    opacity: 0;
    padding: 12px 14px;
    pointer-events: none;
    position: absolute;
    top: 24px;
    transform: translate3d(-50%, -6px, 0);
    transition: opacity 160ms ease, transform 180ms ease, left 90ms ease-out;
    width: min(280px, calc(100% - 32px));
    will-change: left, transform, opacity;
    z-index: 5;
}

.timeline-hover-tooltip.is-visible {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
}

.timeline-hover-tooltip.is-pinned {
    box-shadow: 0 20px 44px rgba(27, 31, 35, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.timeline-hover-line {
    background: linear-gradient(180deg, rgba(55, 81, 111, 0) 0%, rgba(55, 81, 111, 0.45) 18%, rgba(55, 81, 111, 0.45) 82%, rgba(55, 81, 111, 0) 100%);
    border-radius: 999px;
    bottom: 24px;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 132px;
    transform: translateX(-50%);
    transition: opacity 140ms ease, left 90ms ease-out;
    width: 2px;
    will-change: left, opacity;
    z-index: 4;
}

.timeline-hover-line.is-visible {
    opacity: 1;
}

.timeline-hover-line.is-pinned {
    background: linear-gradient(180deg, rgba(55, 81, 111, 0) 0%, rgba(55, 81, 111, 0.68) 18%, rgba(55, 81, 111, 0.68) 82%, rgba(55, 81, 111, 0) 100%);
}

.timeline-mobile-hint {
    display: none;
}

.timeline-mobile-hint.is-dismissed {
    opacity: 0;
    transform: translateY(-4px);
}

.timeline-hover-title {
    color: rgba(255, 253, 249, 0.72);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.timeline-hover-list {
    display: grid;
    gap: 6px;
}

.timeline-hover-item {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.timeline-hover-city {
    color: rgba(255, 253, 249, 0.86);
    font-size: 0.84rem;
    font-weight: 700;
}

.timeline-hover-time {
    font-feature-settings: "tnum";
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

.mobile-overlap {
    gap: 14px;
}

.mobile-overlap-summary,
.mobile-city-card {
    background: linear-gradient(180deg, rgba(255, 254, 251, 0.98) 0%, rgba(249, 244, 236, 0.95) 100%);
    border: 1px solid rgba(30, 36, 48, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    padding: 20px;
}

.mobile-overlap-summary {
    display: grid;
    gap: 14px;
}

.mobile-overlap-header {
    display: grid;
    gap: 8px;
}

.mobile-overlap-eyebrow {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.mobile-overlap-eyebrow .summary-pill {
    padding: 8px 12px;
}

.mobile-overlap-summary h3,
.mobile-city-card h3 {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.mobile-overlap-supporting {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-tag {
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 7px 10px;
    white-space: nowrap;
}

.mobile-tag.primary {
    background: var(--accent-brass-soft);
    color: var(--accent-deep);
}

.mobile-tag.subtle {
    background: rgba(89, 98, 114, 0.08);
    color: #525b6a;
}

.mobile-overlap-summary p,
.mobile-city-card p,
.mobile-city-note,
.mobile-timezone-label,
.mobile-overlap-meta {
    color: var(--muted);
}

.mobile-overlap-summary p,
.mobile-city-note {
    font-size: 0.92rem;
    line-height: 1.55;
}

.mobile-overlap-window {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-overlap-stat {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(30, 36, 48, 0.07);
    border-radius: 16px;
    padding: 14px;
}

.mobile-overlap-label,
.mobile-card-label {
    color: var(--muted);
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.mobile-overlap-value,
.mobile-card-value {
    font-feature-settings: "tnum";
    font-size: 1.02rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.mobile-overlap-meta {
    font-size: 0.84rem;
    margin-top: 5px;
}

.mobile-city-card {
    display: grid;
    gap: 16px;
}

.mobile-city-top {
    align-items: start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.mobile-city-title {
    display: grid;
    gap: 4px;
}

.mobile-city-header-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-timezone-label {
    font-size: 0.82rem;
}

.mobile-city-badge {
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 8px 11px;
    text-transform: uppercase;
    white-space: nowrap;
}

.mobile-city-badge.in-window {
    background: rgba(21, 115, 71, 0.12);
    color: var(--success);
}

.mobile-city-badge.out-window {
    background: rgba(95, 108, 128, 0.12);
    color: var(--muted);
}

.mobile-city-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-city-stat {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(30, 36, 48, 0.07);
    border-radius: 16px;
    padding: 14px;
}

.mobile-city-note {
    font-size: 0.84rem;
}

.mobile-city-note strong {
    color: var(--text);
}

.mobile-city-card .mobile-card-value,
.mobile-city-card .mobile-timezone-label {
    word-break: break-word;
}

.best-time {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.seo-sections {
    display: grid;
    gap: 22px;
}

.insight-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 24px;
}

.guide-grid,
.faq-list {
    display: grid;
    gap: 16px;
}

.guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(242, 246, 250, 0.9) 100%);
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 18px;
    color: inherit;
    display: grid;
    gap: 10px;
    padding: 18px;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.guide-card:hover,
.guide-card:focus-visible {
    border-color: rgba(55, 81, 111, 0.22);
    box-shadow: 0 12px 28px rgba(20, 30, 43, 0.08);
    outline: none;
    transform: translateY(-2px);
}

.guide-kicker {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.guide-card h3,
.faq-item h3 {
    font-size: 1.02rem;
    letter-spacing: -0.03em;
}

.guide-card p,
.faq-item p {
    color: var(--muted);
    font-size: 0.92rem;
}

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

.faq-item {
    background: rgba(248, 250, 252, 0.78);
    border: 1px solid rgba(24, 33, 47, 0.06);
    border-radius: 18px;
    padding: 18px;
}

.result-text {
    font-size: 1rem;
    margin-top: 10px;
}

.meeting-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.meeting-slot {
    padding: 18px;
}

.slot-city {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.slot-time {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 12px 0 6px;
}

.slot-note {
    color: var(--muted);
    font-size: 0.88rem;
}

.summary-pill.warning {
    background: var(--warning-soft);
    color: var(--warning);
}

.summary-pill.neutral {
    background: rgba(89, 98, 114, 0.1);
    color: #525b6a;
}

.footer {
    padding: 0 0 48px;
}

.footer-content {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 24px;
    padding: 20px 22px;
}

.footer-brand {
    display: grid;
    gap: 6px;
}

.footer-wordmark {
    color: var(--text);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer-brand p,
.footer-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-meta {
    align-items: flex-end;
    display: grid;
    gap: 6px;
    justify-items: end;
    text-align: right;
}

.footer a {
    color: var(--accent-deep);
    font-weight: 700;
    text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
    text-decoration: underline;
}

.is-hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .hero-grid,
    .best-time,
    .city-selector,
    .guide-grid,
    .faq-list,
    .meeting-slots {
        grid-template-columns: 1fr !important;
    }

    .section-heading,
    .results-header,
    .footer-content,
    .hero-panel-header {
        align-items: start;
        flex-direction: column;
    }

    .timeline-card {
        padding-top: 24px;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding-top: 20px;
    }

    .hero-copy,
    .hero-panel,
    .calculator {
        border-radius: 24px;
        padding: 24px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 11vw, 3.2rem);
        max-width: 12ch;
    }

    .timeline-card {
        display: none;
    }

    .mobile-overlap {
        display: grid;
    }

    .timeline-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .timeline-city {
        align-items: start;
    }

    .hours-inputs,
    .meeting-slots {
        grid-template-columns: 1fr;
    }

    .mobile-overlap-window,
    .mobile-city-grid {
        grid-template-columns: 1fr;
    }

    .mobile-overlap-summary,
    .mobile-city-card {
        border-radius: 18px;
        padding: 18px;
    }

    .mobile-city-top {
        flex-direction: column;
    }

    .mobile-city-badge {
        align-self: flex-start;
    }

    .best-time {
        gap: 14px;
    }

    .meeting-slot {
        padding: 16px;
    }

    .timeline-hover-tooltip,
    .timeline-hover-line {
        display: none;
    }

    .footer-content {
        border-radius: 20px;
        padding: 18px;
    }

    .footer-meta {
        justify-items: start;
        text-align: left;
    }
}
