/* QasidDesk website. Colours and fonts follow docs/qasiddesk-brand. */
:root {
  --teal: #0c3b3e; --teal-2: #14585c; --amber: #e8862a; --amber-ink: #1d1204; --amber-light: #f5a44e;
  --mist: #e3efee; --paper: #fbf9f4; --white: #ffffff; --ink: #142628; --muted: #51676a; --line: #d6e2e1;
  --display: "Sora", "Segoe UI", system-ui, sans-serif; --text: "Inter", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal-2); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.wrap { max-width: 68rem; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.eyebrow { font: 600 .78rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-2); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 249, 244, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.top img { height: 2.1rem; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--teal-2); }
.nav .links { display: flex; gap: 1.5rem; }
@media (max-width: 760px) { .nav .links { display: none; } }

.btn { display: inline-block; font: 600 1rem/1 var(--text); text-decoration: none; border-radius: 999px; padding: .9rem 1.4rem; transition: transform .15s ease, background .15s ease; }
.btn.primary { background: var(--amber); color: var(--amber-ink); }
.btn.primary:hover { background: var(--amber-light); transform: translateY(-1px); }
.btn.ghost { color: var(--white); border: 1.5px solid rgba(255, 255, 255, .45); }
.btn.ghost:hover { border-color: var(--white); }
.btn.small { padding: .65rem 1.05rem; font-size: .92rem; }

/* Hero */
.hero { background: var(--teal); color: var(--white); padding-block: clamp(3rem, 8vw, 5.5rem) clamp(3rem, 8vw, 5rem); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; align-items: center; }
.hero h1 em { font-style: normal; color: var(--amber-light); }
.hero .lead { margin-top: 1.25rem; font-size: 1.15rem; color: #d5e6e4; max-width: 33rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero .note { margin-top: 1.25rem; font-size: .9rem; color: #a9c6c3; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* The desk picture, drawn in HTML */
.desk { background: var(--white); color: var(--ink); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); padding: .9rem; display: flex; flex-direction: column; gap: .55rem; font-size: .9rem; }
.desk-top { display: flex; align-items: center; justify-content: space-between; padding: .2rem .35rem .5rem; border-bottom: 1px solid var(--line); font-weight: 600; }
.desk-top span { font: 600 .72rem/1 var(--text); background: var(--mist); color: var(--teal); padding: .35rem .6rem; border-radius: 999px; }
.chat { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .6rem .5rem; border-radius: 12px; }
.chat.on { background: var(--mist); }
.who { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font: 600 .85rem/1 var(--display); color: var(--white); position: relative; }
.who i { position: absolute; right: -3px; bottom: -3px; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--white); }
.chat b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat small { display: block; color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font: 600 .7rem/1 var(--text); padding: .35rem .55rem; border-radius: 999px; white-space: nowrap; }
.tag.wait { background: #fde9d2; color: #8a4708; } .tag.ok { background: #dcefe4; color: #17603a; } .tag.new { background: #e6e9fb; color: #2f3a9c; }
.wa { background: #25d366; } .ig { background: #d6338a; } .fb { background: #1877f2; } .web { background: #6b5bd6; } .em { background: #e0483c; }
.c1 { background: #14585c; } .c2 { background: #b8632a; } .c3 { background: #4a5fa8; } .c4 { background: #7a4b8f; } .c5 { background: #2f7d57; }

/* Sections */
section { padding-block: clamp(3.2rem, 8vw, 5.5rem); }
.head { max-width: 40rem; display: flex; flex-direction: column; gap: .8rem; margin-bottom: 2.4rem; }
.head p { color: var(--muted); font-size: 1.08rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); gap: 1.1rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; display: flex; flex-direction: column; gap: .55rem; }
.card p { color: var(--muted); font-size: .97rem; }
.pain { background: var(--mist); }
.pain .card { border: 0; }
.steps { counter-reset: n; }
.steps .card { counter-increment: n; }
.steps .card::before { content: counter(n); font: 700 1.05rem/2.3rem var(--display); width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--teal); color: var(--white); text-align: center; }
.ico { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--mist); display: grid; place-items: center; color: var(--teal); }
.ico svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.split { background: var(--teal); color: var(--white); }
.split .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2.5rem; align-items: center; }
.split .eyebrow { color: var(--amber-light); }
.split p { color: #d5e6e4; margin-top: 1rem; font-size: 1.08rem; }
.split ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.split li { background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 1rem 1.1rem; display: grid; grid-template-columns: 1.6rem 1fr; gap: .7rem; }
.split li::before { content: ""; width: 1.1rem; height: 1.1rem; margin-top: .25rem; border-radius: 50%; border: 4px solid var(--amber-light); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1rem; font-weight: 500; font-size: .95rem; }
.faq { display: flex; flex-direction: column; gap: .7rem; max-width: 46rem; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; }
summary { font: 600 1.02rem/1.4 var(--display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--amber); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: .7rem; color: var(--muted); }
.cta { background: var(--amber); color: var(--amber-ink); text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.cta p { max-width: 34rem; font-size: 1.08rem; }
.cta .btn { background: var(--teal); color: var(--white); }
.cta .mail { font: 600 1.15rem/1 var(--display); color: var(--amber-ink); }

footer { background: var(--teal); color: #c3d8d6; padding-block: 2.5rem; font-size: .92rem; }
footer .wrap { display: flex; flex-direction: column; gap: 1.2rem; }
footer .row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
footer img { height: 2rem; width: auto; }
footer a { color: var(--white); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
footer small { font-size: .82rem; color: #9bbab7; line-height: 1.5; }

/* Legal pages */
.legal { padding-block: 3rem 4.5rem; }
.legal .wrap { max-width: 46rem; display: flex; flex-direction: column; gap: 1.1rem; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1.2rem; }
.legal ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.legal .date { color: var(--muted); font-size: .92rem; }
.legal .box { background: var(--mist); border-radius: 14px; padding: 1rem 1.2rem; }

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