@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url("/assets/inter-latin-3100e775e861.woff2") format("woff2");}
:root {
    --ink: #0d0d0d;
    --secondary: #717179;
    --white: #fff;
    --surface: rgba(30, 56, 64, .05);
    --hairline: rgba(18, 18, 18, .10);
    --brand-blue: #0a85d1;
    --action: #0077c2;
    --action-hover: #006db0;
    --gutter: 32px;
    --rhythm: 96px;
    --hero-top: 136px;
    --display: 56px;
    --heading: 40px;
    --card-title: 24px;
    --lead: 18px;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.5; }
a { color: var(--action); text-underline-offset: .18em; }
a:focus-visible, summary:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 4px;
}
h1, h2, h3, p, ol { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
h1 { font-size: var(--display); line-height: 1.05; letter-spacing: -.035em; }
h2 { font-size: var(--heading); line-height: 1.12; letter-spacing: -.03em; }

.site-width { width: min(1120px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.site-header { position: absolute; inset: 0 0 auto; }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 80px;
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.wordmark {
    display: inline-block;
    color: inherit;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -.02em;
    text-decoration: none;
    white-space: nowrap;
}
.wordmark span { color: var(--brand-blue); }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 180ms ease-out;
}
.button:active { transform: translateY(1px); }
.button.primary { color: var(--white); background: var(--action); }
.button.primary:hover { background: var(--action-hover); }
.button.secondary { color: var(--ink); background: var(--white); border-color: var(--hairline); }
.button.secondary:hover { background: #f8f8f8; }
.button.small { min-height: 36px; padding-inline: 14px; }

.hero { padding-top: var(--hero-top); }
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.hero h1 { margin-top: 16px; max-width: 100%; text-wrap: balance; }
.hero-lead {
    max-width: 640px;
    margin-top: 16px;
    color: var(--secondary);
    font-size: var(--lead);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -.01em;
}
.hero-meta {
    margin-top: 12px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}
.tool-builder { margin-top: 40px; }
.sdw-b, .sdw-widget { line-height: normal; }
.tool-builder .sdw-link { white-space: nowrap; }
.tool-builder noscript { display: block; color: var(--secondary); }
.content-section { margin-top: var(--rhythm); }
.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}
.section-heading .view-all {
    flex: none;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.view-all:hover { text-decoration: underline; }
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    padding: 0;
    list-style: none;
}
.card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 24px;
    border-radius: 20px;
    background: var(--surface);
}
.card h3 {
    font-size: var(--card-title);
    line-height: 1.25;
    letter-spacing: -.02em;
}
.card p {
    color: var(--secondary);
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -.006em;
}
.step-card p, .template-card p { margin-top: 8px; }
.step-card h3 { font-size: clamp(18px, 2.4vw, var(--card-title)); }
.guide { max-width: 640px; }
.guide h2 { text-wrap: balance; }
.guide p {
    margin-top: 16px;
    color: var(--secondary);
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: -.01em;
}

.widget-card {
    color: inherit;
    text-decoration: none;
    transition: transform 200ms ease-out, background-color 200ms ease-out;
}
@media (hover: hover) {
    .widget-card:hover { transform: translateY(-2px); background-color: rgba(30, 56, 64, .07); }
}
.widget-thumbnail {
    height: 200px;
    flex: none;
    overflow: hidden;
    border: 1px solid var(--hairline);
    border-radius: 16px;
    background: var(--white);
}
.widget-card h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.015em; }
.widget-card-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-top: 16px;
}
.widget-card-title span {
    flex: none;
    color: var(--secondary);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
}
.widget-card p { margin-top: 4px; font-size: 14px; line-height: 1.45; }

.template-card p { flex: 1; }
.template-card .button { margin-top: 16px; }
.faq {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 48px;
    align-items: start;
}
.faq-intro p { margin-top: 12px; color: var(--secondary); }
.faq-questions { display: grid; gap: 8px; }
.faq-questions details { border-radius: 12px; background: var(--surface); }
.faq-questions summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 16px 24px;
    border-radius: inherit;
    list-style: none;
    font-weight: 600;
    cursor: pointer;
}
.faq-questions summary::-webkit-details-marker { display: none; }
.faq-questions details p { padding: 0 24px 24px; color: var(--secondary); }
.faq-icon { display: block; position: relative; width: 14px; height: 14px; flex: none; }
.faq-icon::before, .faq-icon::after {
    content: "";
    position: absolute;
    inset: calc(50% - 1px) 0 auto;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.faq-icon::after { transform: rotate(90deg); transition: transform 180ms ease-out; }
details[open] .faq-icon::after { transform: rotate(0); }

.site-footer {
    margin-top: var(--rhythm);
    margin-bottom: var(--gutter);
    padding: 48px;
    border-radius: 28px;
    background: var(--ink);
    color: var(--white);
}
.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 168px) minmax(0, 132px);
    gap: 32px;
    align-items: start;
}
.footer-inner > .wordmark { justify-self: start; }
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.45;
}
.footer-links .legal-label { font-weight: 600; }
.footer-links a { color: #a2a2a2; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-copyright {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.15);
    color: #a2a2a2;
    font-size: 12px;
    line-height: 1.4;
}
.error-page .button { margin-top: 24px; }

body.embed-page { overflow: hidden; }
.embed-root { height: 100vh; height: 100dvh; width: 100%; }

/* Fit each world-clock time to its city column in taller embeds. */
@container (min-width: 451px) {
    .sdw-world { --world-time-size: min(26cqw, 15cqh, 112px); }
    .sdw-world > div { container-type: inline-size; }
}
.sdw-widget .sdw-world > div > div:nth-child(2) {
    font-size: var(--world-time-size, 9cqmin) !important;
}

@media (max-width: 1023px) {
    :root {
        --gutter: 24px;
        --rhythm: 72px;
        --hero-top: 124px;
        --display: 48px;
        --heading: 36px;
        --card-title: 22px;
    }
    .template-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .faq { gap: 32px; }
}
@media (max-width: 599px) {
    :root {
        --gutter: 20px;
        --rhythm: 56px;
        --hero-top: 112px;
        --display: 38px;
        --heading: 30px;
        --card-title: 21px;
        --lead: 17px;
    }
    .header-inner { min-height: 72px; }
    .header-actions .secondary { display: none; }
    .hero h1 { letter-spacing: -.03em; }
    .tool-builder { margin-top: 32px; }
    .tool-builder .sdw-panel { padding: 24px; }
    .section-heading { margin-bottom: 24px; }
    .cards, .faq { grid-template-columns: minmax(0, 1fr); }
    .faq { gap: 24px; }
    .cards { gap: 16px; }
    .step-card h3 { font-size: var(--card-title); }
    .faq-questions summary { padding-block: 24px; }
    .button.small { min-height: 44px; }
    .site-footer { padding: 24px; }
    .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .footer-inner > .wordmark { grid-column: 1 / -1; }
    .footer-copyright { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .button, .widget-card, .faq-icon::after { transition: none; }
    .button:active, .widget-card:hover { transform: none; }
}
