/* Home page of theworkinghub.com, shared by all four languages.
   Generated pages: marketing/landing/build.py. Colours: brand palette (Rota15/CLAUDE.md). */

:root {
    --slate-900: #1e293b;
    --slate-700: #334155;
    --slate-500: #475569;
    --slate-400: #9ca3af;
    --slate-100: #f1f5f9;
    --off-white: #fafafa;
    --border: #e5e7eb;
    --sky: #0ea5e9;
    --ocean: #0284c7;
    --emerald: #059669;
    --brand-gold: #ffd700;
    --radius: 14px;
    --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35), 0 12px 24px -12px rgba(15, 23, 42, .25);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px rgba(15, 23, 42, .05);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--slate-900);
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

@media (min-width: 640px) { .wrap { padding: 0 32px; } }

h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.2;
    letter-spacing: -.02em;
    margin: 0 0 .75rem;
}

.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.section-head p { font-size: 1.125rem; color: var(--slate-500); margin: 0; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--slate-900); }
.btn-light:hover { background: var(--slate-100); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: .45rem .8rem; font-size: .85rem; border-radius: 8px; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(30, 41, 59, .92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: .75rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; min-width: 0; }
.brand img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.wordmark { color: #fff; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.wordmark .gold { color: var(--brand-gold); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-link { color: #cbd5e1; text-decoration: none; font-size: .95rem; margin-right: .75rem; }
.nav-link:hover { color: #fff; }
.lang-select {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 8px;
    padding: .35rem .4rem;
    font: inherit;
    font-size: .85rem;
    cursor: pointer;
}
.lang-select option { color: var(--slate-900); }

@media (max-width: 767px) {
    .nav-link { display: none; }
    .brand img { height: 24px; }
    .wordmark { font-size: .95rem; }
}
@media (max-width: 639px) {
    /* Room for the full wordmark in every language: Get Started is repeated in the hero right below. */
    .nav-actions .btn-light { display: none; }
    .lang-select { padding: .3rem .2rem; }
}
@media (max-width: 380px) {
    .wordmark { font-size: .85rem; }
}
@media (max-width: 359px) {
    .wordmark { display: none; }
}

/* Hero: headline, one supporting line, two actions. No product image; the screens are further down. */
.hero {
    position: relative;
    background:
        radial-gradient(1200px 500px at 50% -10%, rgba(14, 165, 233, .18), transparent 60%),
        linear-gradient(180deg, var(--slate-900) 0%, #253247 100%);
    color: #fff;
    padding: 6.5rem 0 6rem;
    text-align: center;
}
.hero-title {
    max-width: 44rem;
    margin: 0 auto;
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.025em;
    color: #fff;
    text-wrap: balance;
}
.hero-intro {
    max-width: 40rem;
    margin: 1.5rem auto 0;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.6;
    font-weight: 400;
    color: #cbd5e1;
    text-wrap: pretty;
}
.hero-actions { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; margin-top: 2.5rem; }
@media (max-width: 639px) {
    .hero { padding: 4rem 0 3.5rem; }
}

/* Screenshot frames */
.frame {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 23, 42, .08);
}
.frame-bar {
    display: flex;
    gap: 6px;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    background: var(--slate-100);
    border-bottom: 1px solid var(--border);
}
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.frame img { width: 100%; height: auto; }

/* Value tiles */
.tiles { background: var(--slate-100); padding: 4rem 0; }
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 900px) { .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
.tile {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.4rem 1.25rem;
    box-shadow: var(--shadow-sm);
}
.tile p { margin: 0; }
.tile .tile-title { font-weight: 600; margin-top: .9rem; }
.tile .tile-text { color: var(--slate-500); font-size: .9rem; margin-top: .2rem; }

.icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    color: var(--ocean);
    flex-shrink: 0;
}
.icon svg { width: 22px; height: 22px; }

/* Promo video */
.video { background: var(--slate-900); color: #fff; padding: 5rem 0; }
.video .section-head p { color: #cbd5e1; }
.video video { width: 100%; max-width: 960px; margin: 0 auto; display: block; border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); background: #000; }

/* Works everywhere */
.everywhere { padding: 5.5rem 0 6rem; background: linear-gradient(180deg, #fff 0%, var(--slate-100) 100%); }
.devices { position: relative; max-width: 980px; margin: 0 auto; padding: 0 0 2rem; }
.laptop { width: 82%; margin: 0 auto; }
.laptop .screen {
    background: #0f172a;
    padding: 10px 10px 14px;
    border-radius: 14px 14px 0 0;
    box-shadow: var(--shadow-lg);
}
.laptop .screen img { border-radius: 4px; }
.laptop .base {
    height: 14px;
    width: 112%;
    margin-left: -6%;
    background: linear-gradient(180deg, #cbd5e1, #94a3b8);
    border-radius: 0 0 14px 14px;
}
.tablet, .phone {
    position: absolute;
    bottom: 0;
    background: #0f172a;
    box-shadow: var(--shadow-lg);
}
.tablet { left: 0; width: 34%; padding: 7px; border-radius: 16px; }
.tablet img { border-radius: 9px; aspect-ratio: 4 / 3; object-fit: cover; object-position: left top; }
.phone { right: 2%; width: 17%; padding: 5px; border-radius: 22px; }
.phone img { border-radius: 17px; }
@media (max-width: 639px) {
    .devices { padding-bottom: 1.25rem; }
    .laptop { width: 84%; margin: 0; }
    .laptop .screen { padding: 5px 5px 8px; border-radius: 9px 9px 0 0; }
    .laptop .screen img { border-radius: 2px; }
    .laptop .base { height: 8px; width: 104%; margin-left: -2%; border-radius: 0 0 8px 8px; }
    .tablet { display: none; }
    .phone { right: 0; width: 30%; padding: 3px; border-radius: 16px; }
    .phone img { border-radius: 13px; }
}

/* Feature set */
.features { padding: 6rem 0; background: #fff; }
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    background: var(--off-white);
}
.card-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
h3 { font-size: 1.125rem; line-height: 1.3; margin: 0; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.checks li { position: relative; padding-left: 1.6rem; color: var(--slate-700); font-size: .95rem; }
.checks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .2rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #d1fae5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.showcase { display: grid; gap: 5rem; margin-top: 5.5rem; }
.row { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) {
    .row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; }
    .row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .row.flip .row-text { order: 2; }
}
.row-text .card-head { margin-bottom: 1.25rem; }
.row-text h3 { font-size: 1.5rem; letter-spacing: -.01em; }
.row-text .checks li { font-size: 1rem; }

/* Customise */
.flexible { padding: 6rem 0; background: var(--slate-100); }
.flexible .row-text h3 { margin-bottom: 1.5rem; }
.points { display: grid; gap: 1.25rem; }
.point { display: flex; gap: .9rem; }
.point .check {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #d1fae5;
    color: var(--emerald);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: .1rem;
}
.point .check svg { width: .9rem; height: .9rem; }
.point p { margin: 0; }
.point .point-title { font-weight: 600; }
.point .point-text { color: var(--slate-500); margin-top: .15rem; }

/* Closing call to action */
.cta {
    background:
        radial-gradient(800px 300px at 50% 120%, rgba(14, 165, 233, .25), transparent 60%),
        var(--slate-900);
    color: #fff;
    text-align: center;
    padding: 5rem 0;
}
.cta p { color: #cbd5e1; font-size: 1.1rem; margin: 0 auto 2rem; max-width: 36rem; }
.cta-actions { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }

/* Legal footer */
.footer { border-top: 1px solid var(--border); padding: 2rem 16px; text-align: center; font-size: .9rem; color: var(--slate-500); }
.footer nav { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: .75rem; }
.footer a { color: var(--ocean); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .btn:hover { transition: none; transform: none; }
}
