/* Glowdesk marketing site. Colours come from the logo: a plum vanity mirror with gold bulbs. */
:root {
    --plum-950: #1f1828;
    --plum-900: #2a2035;
    --plum: #3b2f4a;
    --plum-700: #4d3e60;
    --ink: #2a2035;
    --muted: #645a72;
    --lav-25: #fcfaff;
    --lav-50: #f7f3fc;
    --lav-100: #f1ecf8;
    --lav-200: #e4dcef;
    --lav-300: #cdc3dc;
    --gold: #ffb938;
    --gold-200: #ffe2a3;
    --gold-50: #fff8e8;
    --rose-100: #fbe3ec;
    --rose-700: #9c3a60;
    --mint-100: #dcf1e5;
    --mint-700: #276b4a;
    --white: #fff;
    --radius: 20px;
    --shadow-sm: 0 1px 2px rgba(42, 32, 53, .05), 0 4px 14px rgba(42, 32, 53, .05);
    --shadow-lg: 0 30px 70px -28px rgba(42, 32, 53, .38), 0 10px 28px -14px rgba(42, 32, 53, .2);
    --display: "Playfair Display", Georgia, "Times New Roman", serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--lav-25); color: var(--ink); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; color: var(--plum-900); }
h1 em, h2 em { font-style: italic; color: var(--plum-700); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; border-radius: 999px; background: var(--plum); color: #fff; }
.skip:focus { top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: 0 1.4rem; border: 1px solid transparent; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .2s, box-shadow .2s, transform .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: .9375rem; }
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 10px 24px -10px rgba(59, 47, 74, .7); }
.btn-primary:hover { background: var(--plum-700); box-shadow: 0 0 0 4px rgba(255, 185, 56, .35), 0 10px 24px -10px rgba(59, 47, 74, .7); }
.btn-ghost { background: rgba(255, 255, 255, .75); border-color: var(--lav-200); color: var(--plum); }
.btn-ghost:hover { border-color: var(--lav-300); background: #fff; }
.btn-gold { background: var(--gold); color: var(--plum-950); box-shadow: 0 0 40px -6px rgba(255, 185, 56, .6); }
.btn-gold:hover { background: #ffc65c; box-shadow: 0 0 56px -4px rgba(255, 185, 56, .8); }

/* Header: frosted glass over the page */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(252, 250, 255, .72); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.nav.scrolled { border-bottom-color: var(--lav-200); background: rgba(252, 250, 255, .86); }
.nav-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.brand { margin-inline-end: auto; }
.brand img { height: 2.25rem; width: auto; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a { padding: .5rem .8rem; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .9375rem; text-decoration: none; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--plum); background: var(--lav-100); }
.nav-links .nav-signin { color: var(--plum); }
.nav-toggle { display: none; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border: 1px solid var(--lav-200); border-radius: 999px; background: #fff; color: var(--plum); cursor: pointer; }
.nav-toggle .icon-close, .nav.open .nav-toggle .icon-open { display: none; }
.nav.open .nav-toggle .icon-close { display: block; }

@media (max-width: 899px) {
    .nav-toggle { display: inline-flex; }
    .nav-links { position: absolute; top: 100%; left: 1rem; right: 1rem; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem; border: 1px solid var(--lav-200); border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
    .nav-links a { padding: .85rem 1rem; font-size: 1rem; }
    .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
}
.nav-links .nav-email { display: none; }
@media (max-width: 479px) { .nav-cta { display: none; } .nav-links .nav-email { display: block; color: var(--plum); } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 5rem; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 60rem; height: 60rem; background: radial-gradient(closest-side, rgba(241, 236, 248, .95), rgba(241, 236, 248, 0)); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 3.5rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; padding: .4rem .9rem .4rem .6rem; border: 1px solid var(--lav-200); border-radius: 999px; background: rgba(255, 255, 255, .7); color: var(--plum); font-size: .875rem; font-weight: 500; }
.bulb { width: .7rem; height: .7rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 185, 56, .25), 0 0 14px rgba(255, 185, 56, .9); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 3.9rem); }
.hero h1 em { display: block; }
.lead { max-width: 34rem; margin-top: 1.25rem; color: var(--muted); font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.ticks { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.75rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9375rem; }
.ticks li { display: inline-flex; align-items: center; gap: .4rem; }
.ticks .icon { width: 1rem; height: 1rem; color: var(--mint-700); stroke-width: 2.5; }

@media (min-width: 1000px) {
    .hero { padding: 5rem 0 6.5rem; }
    .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 4rem; }
}

/* Hero visual: the day calendar in a browser window, the Today screen on a phone */
.hero-visual { position: relative; padding: 2rem 0 3rem; }
.glow { position: absolute; inset: 0 5% 10% 15%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 185, 56, .45), rgba(255, 226, 163, .25) 45%, rgba(255, 226, 163, 0)); filter: blur(10px); }
.window { position: relative; overflow: hidden; border: 1px solid var(--lav-200); border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); }
.window-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid var(--lav-100); background: var(--lav-25); }
.window-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--lav-200); }
.window-bar span { margin-inline: auto; padding: .15rem 1rem; border-radius: 999px; background: var(--lav-100); color: var(--muted); font-size: .75rem; }
.day { padding: 1rem 1.1rem 1.25rem; font-size: .75rem; }
.day-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9rem; }
.day-head strong { display: block; color: var(--plum-900); font-size: 1rem; }
.day-head small { color: var(--muted); }
.mini-btn { padding: .4rem .75rem; border-radius: 8px; background: var(--plum); color: #fff; font-weight: 600; }
.day-grid { --row: 21px; display: grid; grid-template-columns: 2.75rem repeat(3, 1fr); gap: .4rem; }
.day-times { display: grid; grid-auto-rows: calc(var(--row) * 2); padding-top: 2rem; color: var(--muted); font-size: .6875rem; }
.day-times span { transform: translateY(-.45em); }
.day-name { display: flex; align-items: center; gap: .4rem; height: 1.6rem; margin-bottom: .4rem; color: var(--plum-900); font-weight: 600; }
.av { display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; font-size: .6875rem; }
.av-rose { background: var(--rose-100); color: var(--rose-700); }
.av-lav { background: var(--lav-100); color: var(--plum-700); }
.av-gold { background: var(--gold-50); color: #8a5a00; }
.day-slots { position: relative; height: calc(var(--row) * 16); border-radius: 8px; background: repeating-linear-gradient(to bottom, var(--lav-100) 0 1px, transparent 1px calc(var(--row) * 2)); }
.bk { position: absolute; top: calc(var(--s) * var(--row) + 2px); height: calc(var(--l) * var(--row) - 4px); inset-inline: 2px; overflow: hidden; padding: .3rem .45rem; border-inline-start: 3px solid; border-radius: 7px; line-height: 1.25; }
.bk b, .bk span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk span { opacity: .8; }
.bk-rose { background: var(--rose-100); border-color: #d9799c; color: var(--rose-700); }
.bk-lav { background: var(--lav-100); border-color: #a796c2; color: var(--plum-700); }
.bk-gold { background: var(--gold-50); border-color: var(--gold); color: #7a5000; }
.bk-mint { background: var(--mint-100); border-color: #7cc4a0; color: var(--mint-700); }
.bk-travel { border-color: var(--lav-300); background: repeating-linear-gradient(135deg, var(--lav-50) 0 5px, #fff 5px 10px); color: var(--muted); }

.phone { position: absolute; right: -1rem; bottom: 0; width: 13.5rem; padding: .55rem; border-radius: 2.2rem; background: var(--plum-950); box-shadow: var(--shadow-lg); }
.phone-screen { position: relative; overflow: hidden; padding: 1.9rem .85rem 1rem; border-radius: 1.75rem; background: var(--lav-25); font-size: .6875rem; }
.phone-notch { position: absolute; top: .45rem; left: 50%; width: 4.5rem; height: 1.1rem; transform: translateX(-50%); border-radius: 999px; background: var(--plum-950); }
.ph-title { color: var(--plum-900); font-size: 1.05rem; font-weight: 600; }
.ph-sub { color: var(--muted); }
.ph-stat { display: flex; justify-content: space-between; align-items: baseline; margin: .7rem 0; padding: .55rem .65rem; border-radius: 12px; background: var(--plum); color: rgba(255, 255, 255, .8); }
.ph-stat strong { color: var(--gold); font-size: .875rem; }
.ph-list { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.ph-list li { min-width: 0; display: flex; align-items: center; gap: .5rem; padding: .5rem .55rem; border: 1px solid var(--lav-100); border-radius: 12px; background: #fff; }
.ph-list time { color: var(--plum); font-weight: 600; }
.ph-list div { flex: 1; min-width: 0; }
.ph-list b, .ph-list span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-list b { color: var(--plum-900); }
.ph-list span { color: var(--muted); font-size: .625rem; }
.tag { padding: .15rem .45rem; border-radius: 999px; background: var(--lav-100); color: var(--plum-700); font-size: .5625rem; font-style: normal; font-weight: 600; }
.tag-done { background: var(--mint-100); color: var(--mint-700); }
.ph-btn { margin-top: .7rem; padding: .55rem; border-radius: 10px; background: var(--plum); color: #fff; font-weight: 600; text-align: center; }

.chip { position: absolute; display: flex; align-items: center; gap: .6rem; padding: .6rem .9rem .6rem .6rem; border: 1px solid rgba(255, 255, 255, .7); border-radius: 16px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); font-size: .8125rem; line-height: 1.3; }
.chip b { display: block; color: var(--plum-900); }
.chip span { color: var(--muted); }
.chip-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 12px; }
.chip-ok { background: var(--mint-100); color: var(--mint-700); }
.chip-gold { background: var(--gold-50); color: #9a6400; }
.chip-a { top: .25rem; left: -1.5rem; }
.chip-b { bottom: 1.25rem; left: 1.5rem; }

@media (prefers-reduced-motion: no-preference) {
    .chip-a { animation: float 7s ease-in-out infinite; }
    .chip-b { animation: float 7s ease-in-out -3.5s infinite; }
    .phone { animation: float 9s ease-in-out -2s infinite; }
}
@keyframes float { 50% { translate: 0 -8px; } }

@media (max-width: 1099px) and (min-width: 1000px) { .chip-a { left: -.5rem; } }
@media (max-width: 999px) { .hero-visual { max-width: 40rem; margin-inline: auto; width: 100%; } .chip-a { left: 0; } }
@media (max-width: 639px) {
    /* A phone shows the phone screen; the calendar window needs more room than it has */
    .window { display: none; }
    .hero-visual { display: flex; justify-content: center; padding: 3.5rem 0 4.5rem; }
    .phone { position: relative; right: auto; width: 15rem; }
    .chip-a { top: 0; left: 0; }
    .chip-b { bottom: 1rem; left: auto; right: 0; }
    .glow { inset: 10% 0 10% 0; }
}

/* Made for Kuwait */
.facts { padding-bottom: 1rem; }
.facts-grid { display: grid; gap: 1rem; }
.fact { display: flex; gap: 1rem; padding: 1.4rem; border: 1px solid var(--lav-200); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.fact h3 { margin-bottom: .25rem; color: var(--plum-900); font-size: 1.0625rem; }
.fact p { color: var(--muted); font-size: .9375rem; }
.fact-icon { display: grid; place-items: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 14px; background: var(--plum); color: var(--gold); }
@media (min-width: 800px) { .facts-grid { grid-template-columns: repeat(3, 1fr); } }

/* Sections */
.section { padding: 5.5rem 0; }
.section-tint { background: linear-gradient(to bottom, var(--lav-50), var(--lav-25)); }
.section-head { max-width: 40rem; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
.section-head p:not(.kicker) { margin-top: .9rem; color: var(--muted); font-size: 1.0625rem; }
.kicker { margin-bottom: .75rem; color: #9a6400; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.card, .role, .step { padding: 1.6rem; border: 1px solid var(--lav-200); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); border-color: var(--lav-300); box-shadow: var(--shadow-lg); }
.card h3, .role h3, .step h3 { margin: 1.1rem 0 .45rem; color: var(--plum-900); font-size: 1.125rem; }
.card p, .step p { color: var(--muted); font-size: .9688rem; }
.card-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 15px; background: var(--lav-100); color: var(--plum); }
.card-icon .icon { width: 1.4rem; height: 1.4rem; }

.roles { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .roles { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.role-lead { color: var(--muted); }
.role-feature { background: var(--plum); border-color: var(--plum); box-shadow: var(--shadow-lg); }
.role-feature h3 { color: #fff; }
.role-feature .role-lead, .role-feature .checks { color: rgba(255, 255, 255, .82); }
.role-feature .card-icon { background: rgba(255, 255, 255, .1); color: var(--gold); }
@media (min-width: 900px) { .role-feature { transform: translateY(-1rem); } }
.checks { display: grid; gap: .65rem; margin: 1.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--lav-100); list-style: none; font-size: .9688rem; }
.role-feature .checks { border-top-color: rgba(255, 255, 255, .14); }
.checks li { position: relative; padding-inline-start: 1.6rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--gold-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a6400' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .6rem no-repeat; }
.role-feature .checks li::before { background-color: var(--gold); }

.steps { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-num { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--gold); color: var(--plum-950); font: 600 1.25rem/1 var(--display); box-shadow: 0 0 0 6px var(--gold-50); }

.faq-wrap { max-width: 50rem; }
.faq { display: grid; gap: .75rem; }
.faq details { border: 1px solid var(--lav-200); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--lav-300); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; color: var(--plum-900); font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--lav-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b2f4a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / .85rem no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.25rem 1.2rem; color: var(--muted); }

/* Closing call to action */
.cta { padding: 0 0 5.5rem; }
.cta-inner { position: relative; overflow: hidden; padding: 4rem 1.5rem; border-radius: 28px; background: var(--plum-900); text-align: center; }
.cta-inner::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgba(255, 185, 56, .32), rgba(255, 185, 56, 0)); pointer-events: none; }
.cta-inner > * { position: relative; }
.cta h2 { max-width: 36rem; margin-inline: auto; color: #fff; font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.cta h2 em { color: var(--gold); }
.cta p { margin: 1rem 0 2rem; color: rgba(255, 255, 255, .75); font-size: 1.0625rem; }

.footer { border-top: 1px solid var(--lav-200); padding: 2.5rem 0; color: var(--muted); font-size: .9375rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.footer-inner img { height: 2rem; width: auto; margin-bottom: .35rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--plum); text-decoration: underline; }

/* Content rises in as it scrolls into view (only with JavaScript, and only when motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
    .js [data-reveal].in { opacity: 1; transform: none; }
    .js .role-feature[data-reveal].in { transform: none; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
    .js .role-feature[data-reveal].in { transform: translateY(-1rem); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .card { transition: none; }
}

/* 404 */
.lost { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; min-height: 100vh; padding: 2rem 1.25rem; text-align: center; background: radial-gradient(40rem 30rem at 50% 40%, rgba(255, 185, 56, .18), transparent 70%); }
.lost img { height: 2.25rem; width: auto; margin-bottom: 1.5rem; }
.lost-code { color: var(--lav-300); font: 600 clamp(5rem, 18vw, 8rem)/1 var(--display); }
.lost h1 { font-size: clamp(2rem, 6vw, 3rem); }
.lost p:not(.lost-code) { color: var(--muted); }
.lost .hero-actions { justify-content: center; margin-top: 1rem; }
