/* ResellParrot's sales page. */
:root {
  --bg: #fbfcfc;
  --bg-alt: #f1f5f5;
  --surface: #ffffff;
  --text: #13201f;
  --muted: #5b6867;
  --border: #dfe5e4;
  --accent: #007782;
  --accent-strong: #005e67;
  --accent-soft: #e0f2f3;
  --beak: #f29a2e;
  --beak-soft: #fdf0de;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 40, 40, 0.06), 0 12px 32px -12px rgba(16, 40, 40, 0.18);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1314;
    --bg-alt: #131a1b;
    --surface: #182022;
    --text: #e8eeee;
    --muted: #9aa7a7;
    --border: #273133;
    --accent: #3fb6bf;
    --accent-strong: #66cbd2;
    --accent-soft: #15383b;
    --beak-soft: #3a2a14;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 19px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin: 14px 0 0; }
section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 650; font-size: 16px; border: 1px solid transparent; transition: background 0.15s, border-color 0.15s, transform 0.05s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #062224; } }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }

/* Navigation */
header.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo svg { width: 32px; height: 32px; }
.nav nav { display: flex; gap: 24px; margin-left: 12px; }
.nav nav a { color: var(--muted); font-size: 15px; font-weight: 550; }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.nav .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav .actions .btn { padding: 9px 16px; font-size: 15px; }
.nav .login { color: var(--text); font-weight: 600; font-size: 15px; padding: 9px 8px; }

/* Hero */
.hero { padding: 80px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub { font-size: 19px; color: var(--muted); margin: 22px 0 32px; max-width: 34em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero .note span::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Hero visual: a conversation handled by the assistant */
.demo { position: relative; }
.demo::before { content: ""; position: absolute; inset: -40px -60px -40px 20px; background: radial-gradient(closest-side, var(--accent-soft), transparent); z-index: -1; }
.chat { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; max-width: 440px; margin-left: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.thumb { width: 46px; height: 56px; border-radius: 10px; background: linear-gradient(160deg, #5b7fa6, #2f4c6e); position: relative; overflow: hidden; flex: none; }
.thumb::after { content: ""; position: absolute; left: 14px; right: 14px; top: 8px; bottom: 0; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #7ea0c4, #4d6f95); }
.chat-head b { display: block; font-size: 15px; }
.chat-head small { color: var(--muted); font-size: 13px; }
.pill { margin-left: auto; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--beak-soft); color: #b5650a; }
@media (prefers-color-scheme: dark) { .pill { color: var(--beak); } }
.msgs { display: grid; gap: 10px; padding-top: 14px; }
.event { text-align: center; font-size: 12.5px; color: var(--muted); }
.bubble { max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.them { background: var(--bg-alt); border-bottom-left-radius: 5px; }
.me { margin-left: auto; background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
@media (prefers-color-scheme: dark) { .me { color: #062224; } }
.me .offer { display: block; font-weight: 750; }
.tag { justify-self: end; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 22px; height: 22px; }
.card p { color: var(--muted); margin: 8px 0 0; font-size: 15.5px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; background: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .step::before { color: #062224; } }
.step p { color: var(--muted); margin: 8px 0 0; }

/* Safety */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checks li::before { content: "✓"; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 14px; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 15.5px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 30px; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.plan.featured::before { content: "Le plus choisi"; position: absolute; top: -13px; left: 30px; font-size: 12px; font-weight: 750; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .plan.featured::before { color: #062224; } }
.plan h3 { font-size: 18px; }
.plans.beta { grid-template-columns: minmax(0, 440px); justify-content: center; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 2px; }
.price small { font-size: 16px; font-weight: 550; color: var(--muted); letter-spacing: 0; }
.plan .for { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: 15.5px; flex: 1; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.plan .btn { width: 100%; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Final call and footer */
.final { text-align: center; }
.final .box { background: linear-gradient(160deg, #00616b, #007782 50%, #0a8f8a); color: #f2fbfb; border-radius: 28px; padding: 64px 28px; position: relative; overflow: hidden; }
.final .box::after { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 154, 46, 0.35), transparent 65%); }
.final h2 { position: relative; z-index: 1; }
.final p { color: rgba(242, 251, 251, 0.85); margin: 14px auto 30px; max-width: 34em; position: relative; z-index: 1; }
.final .btn { background: #fff; color: #00545c; position: relative; z-index: 1; }
.site-footer { padding: 56px 0 40px; color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 40px; border-top: 1px solid var(--border); }
.foot-brand .logo { margin-bottom: 12px; }
.foot-brand p { margin: 0; max-width: 32ch; line-height: 1.55; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 { margin: 0 0 4px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.foot-col a { color: var(--muted); text-decoration: none; width: fit-content; }
.foot-col a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12.5px; }
.foot-bottom span:last-child { max-width: 70ch; text-align: right; }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom span:last-child { text-align: left; }
}

@media (max-width: 920px) {
  .nav nav { display: none; }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .chat { margin: 0 auto; }
  .grid, .plans, .steps { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
}
@media (max-width: 480px) {
  .nav .login { display: none; }
}
.plans.beta .plan.featured::before { content: "Version bêta"; }

/* Legal pages */
.legal { padding: 56px 0 24px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); }
.legal .updated { color: var(--muted); font-size: 14px; margin: 8px 0 32px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }

/* Download page */
.dl-hero { padding: 72px 0 56px; }
.dl-hero h1 { font-size: clamp(32px, 5vw, 50px); max-width: 18ch; margin-top: 10px; }
.dl-hero .sub { color: var(--muted); max-width: 62ch; margin: 18px 0 8px; font-size: 18px; }
.dl-pre { color: var(--muted); margin: 0 0 28px; }
.dl-jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 640px; }
.dl-card { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.dl-card:hover { text-decoration: none; border-color: var(--accent); }
.dl-card small { display: block; color: var(--muted); font-size: 14px; }
.dl-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.dl-icon svg { width: 22px; height: 22px; }
.dl-section { display: grid; gap: 28px; }
.dl-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 8px; }
.dl-head p { color: var(--muted); max-width: 64ch; margin: 14px 0 0; }
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.dl-note { color: var(--muted); font-size: 14px; max-width: 46ch; }
.dl-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.dl-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.dl-steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 56px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; line-height: 1.55; font-size: 16px; }
.dl-steps li::before { content: counter(step); position: absolute; left: 14px; top: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.dl-steps code, .dl-faq code { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: 14px; }
.dl-video { position: sticky; top: 90px; }
.dl-video-frame { aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px dashed var(--border); background: linear-gradient(160deg, var(--accent-soft), var(--bg-alt)); display: grid; place-items: center; color: var(--accent); }
.dl-video-frame svg { width: 56px; height: 56px; opacity: .7; }
.dl-video p { color: var(--muted); font-size: 14px; margin: 10px 2px 0; }
.dl-faq { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 12px 16px; }
.dl-faq summary { cursor: pointer; font-weight: 600; }
.dl-faq p { color: var(--muted); margin: 10px 0 0; }
@media (max-width: 860px) {
  .dl-body, .dl-jump { grid-template-columns: 1fr; }
  .dl-video { position: static; }
}
