/* Ariade marketing site — shared by / (en) and /fr/ (fr). Brand: assets/brand/. */
:root {
  --ink: #102A43;
  --ink-2: #243B53;
  --slate: #486581;
  --slate-2: #627D98;
  --paper: #F7FAFC;
  --white: #FFFFFF;
  --mist: #D9EAF3;
  --mist-2: #EEF5F9;
  --thread: #F7B267;
  --thread-2: #E9A04E;
  --line: #D9E2EC;
  --panel: rgba(16, 42, 67, 0.86);
  --radius: 14px;
  --font: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--slate); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--thread-2); margin-bottom: 12px;
}

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 250, 252, 0.88); backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.15rem; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand .tld { color: var(--thread-2); }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-size: 0.95rem; }
.nav nav a { text-decoration: none; color: var(--ink-2); }
.nav nav a:hover { color: var(--ink); }
.lang { display: flex; gap: 4px; font-size: 0.85rem; margin-left: 8px; }
.lang a { text-decoration: none; padding: 4px 8px; border-radius: 6px; color: var(--slate-2); }
.lang a[aria-current] { background: var(--mist); color: var(--ink); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px;
  font-weight: 600; text-decoration: none; font-size: 1rem; border: 1px solid transparent;
  cursor: pointer; font-family: inherit; line-height: 1.2;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--ink-2); }
.btn-accent { background: var(--thread); color: var(--ink); }
.btn-accent:hover { background: var(--thread-2); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--white); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; }
/* Official Apple badge: artwork untouched, only scaled. */
.store-badge { display: inline-flex; align-items: center; border-radius: 10px; }
.store-badge img { display: block; height: 48px; width: auto; }
.store-badge:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.cta-note { font-size: 0.9rem; color: var(--slate-2); }

/* Hero */
.hero { padding: 80px 0 72px; border-top: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--thread-2); }
.nots { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; font-size: 0.95rem; color: var(--slate); }
.nots span::before { content: "✕"; color: var(--thread-2); margin-right: 6px; font-weight: 700; }

/* Panel mock (the floating overlay) */
.scene {
  position: relative; border-radius: 20px; padding: 36px 28px 28px; min-height: 380px;
  background:
    radial-gradient(120% 90% at 100% 0%, #FDE7C8 0%, rgba(253,231,200,0) 55%),
    linear-gradient(160deg, #EAF3F8 0%, #D9EAF3 100%);
  overflow: hidden;
}
.call {
  position: absolute; inset: 24px 24px auto auto; width: 62%; height: 78%; border-radius: 12px;
  background: linear-gradient(180deg, #F4F8FB, #E5EEF4); border: 1px solid #C9D9E5; opacity: 0.9;
}
.call::before {
  content: ""; position: absolute; inset: 12px; border-radius: 8px;
  background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(16,42,67,0.05) 22px 23px);
}
.call .face {
  position: absolute; left: 50%; top: 40%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: #B9CFDE; box-shadow: 0 0 0 10px rgba(185,207,222,0.35);
}
.panel {
  position: relative; width: min(340px, 92%); margin: 120px 0 0; border-radius: 16px;
  background: var(--panel); color: #F8FBFC; padding: 14px 16px 16px;
  box-shadow: 0 24px 60px rgba(16,42,67,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
  font-size: 0.9rem;
}
.panel .row { display: flex; align-items: center; gap: 8px; }
.panel .state { font-size: 0.75rem; color: #BFD3E1; }
.panel .dot { width: 8px; height: 8px; border-radius: 50%; background: #F7B267; box-shadow: 0 0 0 3px rgba(247,178,103,0.25); }
.panel .people { display: flex; gap: 6px; margin: 12px 0 14px; flex-wrap: wrap; }
.panel .chip { padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,0.10); font-size: 0.75rem; }
.panel .chip b { font-weight: 600; }
.panel .chip.warm { background: rgba(247,178,103,0.22); color: #FBD9B0; }
.panel .cue { border-left: 3px solid var(--thread); padding: 2px 0 2px 12px; }
.panel .cue .type { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--thread); margin-bottom: 4px; }
.panel .cue .text { font-size: 1.02rem; font-weight: 500; line-height: 1.35; }
.panel .why { margin-top: 12px; font-size: 0.75rem; color: #BFD3E1; }
.panel .why b { color: #E4EEF5; font-weight: 600; }
.panel .goal { margin-top: 12px; font-size: 0.75rem; color: #BFD3E1; display: flex; justify-content: space-between; }
.panel .bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.12); margin-top: 6px; overflow: hidden; }
.panel .bar i { display: block; height: 100%; width: 55%; background: var(--thread); }
.caption { margin-top: 12px; font-size: 0.85rem; color: var(--slate-2); text-align: center; }

/* Grids */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.card .n {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--mist); color: var(--ink); font-weight: 700; margin-bottom: 14px; font-size: 0.9rem;
}
.card p:last-child { margin-bottom: 0; }

/* Cue taxonomy */
.cues { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 28px; }
.cue-ex { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.cue-ex .type { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--thread-2); font-weight: 700; }
.cue-ex q { display: block; margin-top: 4px; font-weight: 500; quotes: "“" "”"; }
html[lang="fr"] .cue-ex q { quotes: "« " " »"; }

/* Privacy */
.privacy { background: var(--ink); color: #E4EEF5; }
.privacy h2, .privacy h3 { color: var(--white); }
.privacy .eyebrow { color: var(--thread); }
.privacy .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.10); }
.privacy .muted { color: #BFD3E1; }
.privacy ul { padding-left: 1.1em; margin: 0; }
.privacy li { margin-bottom: 8px; }

/* Quote / thread */
.thread { background: var(--mist-2); }
.thread blockquote { margin: 0; font-size: 1.35rem; font-weight: 500; max-width: 30em; color: var(--ink-2); }
.thread cite { display: block; margin-top: 12px; font-style: normal; font-size: 0.9rem; color: var(--slate-2); }

/* Beta */
.beta .card { padding: 28px; }
.req { list-style: none; padding: 0; margin: 0; }
.req li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--line); }
.req li:last-child { border-bottom: 0; }
.req li::before { content: "•"; position: absolute; left: 8px; color: var(--thread-2); font-weight: 700; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--thread-2); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--ink-2); max-width: 44em; }

/* Pricing */
.pricing .card h3 { font-size: 1.25rem; }
.pricing .price { font-size: 2.2rem; font-weight: 600; margin: 4px 0 14px; letter-spacing: -0.01em; }
.pricing .price span { font-size: 1rem; font-weight: 500; color: var(--slate-2); }
.pricing .card.pro { border-color: var(--thread); box-shadow: 0 12px 40px rgba(247,178,103,0.18); }

/* Legal pages */
.legal { padding-top: 56px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.legal h2 { font-size: 1.2rem; margin-top: 2.2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal p, .legal li { color: var(--ink-2); }

/* Footer */
footer { padding: 40px 0 56px; font-size: 0.9rem; color: var(--slate-2); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer a { color: var(--slate); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .grow { flex: 1; }

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .lang { margin-left: auto; }
  .panel { margin-top: 100px; }
}
