/* BlaYep site. One stylesheet for the landing pages and the legal pages.
   Colour roles: amber = you answering ("yep"), teal = the others talking ("blá-blá"). */

:root {
  --ink: #0b0e13;
  --amber: #f5a94a;
  --cream: #fff3dc;

  --bg: #f4f5f7;
  --surface: #ffffff;
  --sunken: #e9ebef;
  --line: #d5d9e0;
  --text: #10141b;
  --muted: #4a5261;
  --accent: #a84300;
  --them: #0a6762;
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  --focus: #a84300;
  --shadow: 0 30px 60px -30px rgb(11 14 19 / 0.45);

  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e13;
    --surface: #141922;
    --sunken: #1b212c;
    --line: #2a313d;
    --text: #f1ede6;
    --muted: #a7afbc;
    --accent: #f5a94a;
    --them: #6fd6cd;
    --btn-bg: var(--amber);
    --btn-fg: var(--ink);
    --focus: #f5a94a;
    --shadow: 0 30px 60px -30px rgb(0 0 0 / 0.9);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1.0625rem/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgb(245 169 74 / 0.4); }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }

.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: var(--cream); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border: 2px solid var(--btn-bg); border-radius: 14px; background: var(--btn-bg); color: var(--btn-fg); font: 700 1.05rem/1.2 var(--display); text-decoration: none; }
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { filter: none; background: rgb(11 14 19 / 0.08); }
.btn-small { min-height: 42px; padding: 8px 16px; font-size: 0.95rem; border-radius: 11px; }

/* The amber field that carries the header and the hero */
.field { --btn-bg: var(--ink); --btn-fg: var(--cream); --focus: var(--ink); background: var(--amber); color: var(--ink); }
.field a:not(.btn) { color: var(--ink); }

.top { display: flex; align-items: center; gap: 10px 22px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font: 800 1.3rem/1 var(--display); letter-spacing: -0.03em; text-decoration: none; color: inherit; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.field .brand img { box-shadow: 0 0 0 2px var(--ink); }
.top nav { display: flex; gap: 22px; font-size: 0.95rem; font-weight: 600; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.lang { padding: 6px 10px; border: 1.5px solid currentColor; border-radius: 9px; font-size: 0.85rem; font-weight: 700; text-decoration: none; }
.lang:hover { background: rgb(11 14 19 / 0.1); }
@media (max-width: 860px) { .top nav { display: none; } }
@media (max-width: 420px) { .top .btn { display: none; } }

/* Hero */
.hero { display: grid; gap: 44px; align-items: center; padding: 36px 0 72px; }
.hero > * { min-width: 0; }
.hero h1 { font-size: clamp(2.5rem, 6.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 0.98; }
.hero h1 span { display: block; }
.hero h1 span + span { margin-top: 0.14em; }
.lede { max-width: 33em; margin-top: 24px; font-size: 1.2rem; line-height: 1.5; color: #2b1d08; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { max-width: 36em; margin-top: 18px; font-size: 0.92rem; color: #2b1d08; }
@media (min-width: 980px) {
  .hero { grid-template-columns: 1.08fr 0.92fr; gap: 56px; padding: 56px 0 104px; }
}

/* Product mock built in HTML: always the extension's dark theme */
.mock { margin: 0; }
.mock-win { overflow: hidden; border: 1px solid #2a313d; border-radius: 20px; background: #0b0e13; color: #f1ede6; box-shadow: var(--shadow); font-family: var(--body); }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: #151a23; font-size: 0.85rem; font-weight: 700; }
.mock-bar small { color: #a7afbc; font-weight: 400; font-size: 0.85rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.mock-body { padding: 16px 18px 6px; }
.who { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; font-weight: 700; color: #6fd6cd; }
.who time { margin-left: auto; color: #a7afbc; font-size: 0.78rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #0f4a48; color: #d5fffb; font-size: 0.75rem; }
.said { margin: 8px 0 3px 35px; font-size: 1.22rem; line-height: 1.32; }
.orig { margin: 0 0 12px 35px; color: #a7afbc; font-size: 0.88rem; }
.reply { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0 0 9px 35px; padding: 12px 14px; border: 1px solid #2a313d; border-radius: 13px; background: #141922; }
.reply em { grid-column: 1 / -1; font-style: normal; font-size: 0.75rem; font-weight: 700; color: var(--amber); }
.reply b { font-size: 1rem; line-height: 1.35; }
.reply i { grid-column: 1; font-style: normal; color: #a7afbc; font-size: 0.85rem; line-height: 1.4; }
.copy { align-self: start; padding: 6px 12px; border: 1px solid #2a313d; border-radius: 9px; font-size: 0.82rem; font-weight: 700; }
.mock-dock { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px 18px 18px; border-top: 1px solid #2a313d; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 4px 12px; border: 1px solid #2a313d; border-radius: 999px; background: #141922; color: #f1ede6; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.chip-lead { border-color: #8a6230; color: var(--amber); }
.compose { display: flex; gap: 8px; min-width: 0; }
.compose span:first-child { flex: 1; min-width: 0; padding: 10px 13px; border: 1px solid #2a313d; border-radius: 11px; background: #141922; color: #a7afbc; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compose span:last-child { flex: none; white-space: nowrap; padding: 10px 14px; border-radius: 11px; background: var(--amber); color: var(--ink); font-size: 0.88rem; font-weight: 700; }
.mock figcaption, .shot figcaption { margin-top: 12px; font-size: 0.88rem; }
.mock figcaption { color: #2b1d08; }

/* The one orchestrated moment: the two replies arrive after the question */
@media (prefers-reduced-motion: no-preference) {
  .reply { animation: arrive 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .reply:nth-of-type(1) { animation-delay: 0.7s; }
  .reply:nth-of-type(2) { animation-delay: 1.05s; }
  @keyframes arrive { from { opacity: 0; transform: translateY(10px); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Sections */
.sec { padding: 88px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { max-width: 44rem; margin-bottom: 44px; }
.sec-head h2 span { display: block; }
.sec-head p { margin-top: 16px; font-size: 1.15rem; color: var(--muted); }
@media (max-width: 700px) { .sec { padding: 60px 0; } .sec-head { margin-bottom: 32px; } }

/* The name, spelled out: blá-blá is the meeting, yep is you answering */
.name { display: grid; gap: 8px 48px; align-items: end; margin-bottom: 48px; font-family: var(--display); line-height: 0.9; letter-spacing: -0.05em; }
.name div { display: grid; gap: 14px; }
.name b { font-size: clamp(3.2rem, 12.5vw, 9.5rem); }
.name .bla b { font-weight: 300; color: var(--them); }
.name .yep b { font-weight: 800; color: var(--accent); }
.name span { font: 600 1rem/1.3 var(--body); letter-spacing: 0; color: var(--muted); }
@media (min-width: 900px) { .name { grid-template-columns: auto auto; justify-content: start; } }
.problem { display: grid; gap: 24px 48px; }
.problem p { font-size: 1.15rem; }
.problem p + p { margin-top: 14px; }
.problem .muted { color: var(--muted); }
.quote { font: 700 clamp(1.5rem, 3.4vw, 2.2rem)/1.15 var(--display); letter-spacing: -0.02em; }
@media (min-width: 900px) { .problem { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Steps: a real sequence, so it is numbered */
.steps { display: grid; gap: 28px 40px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 18px; border-top: 3px solid var(--text); }
.steps li::before { content: counter(s); display: block; margin-bottom: 10px; font: 800 3rem/1 var(--display); color: var(--accent); }
.steps p { margin-top: 8px; color: var(--muted); }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Real screenshots, cropped to their content with --z (zoom) and --x (left offset) */
.shot { margin: 0; max-width: 980px; }
.shot-view { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #0b0e13; box-shadow: var(--shadow); }
.shot-view img { width: calc(100% * var(--z, 1)); max-width: none; margin-left: calc(-1 * var(--x, 0%)); }
.shot figcaption { color: var(--muted); }
.shot-light .shot-view { background: #faf9f5; }
.s1, .s2, .s3 { --z: 1; --x: 0%; }

@media (max-width: 700px) {
  /* On a phone the wide screenshots keep a readable size and pan sideways */
  .s1 .shot-view, .s2 .shot-view, .s3 .shot-view { overflow-x: auto; }
  .s1 img, .s2 img, .s3 img { width: 760px; margin-left: 0; }

  .s4 { --z: 2.9; --x: 185%; }
  .s4 .shot-view { max-width: 420px; }
}

/* Feature lists */
.feats { display: grid; gap: 32px 48px; margin: 44px 0 0; }
.feats div { padding-top: 18px; border-top: 1px solid var(--line); }
.feats dt { font: 700 1.2rem/1.25 var(--display); }
.feats dd { margin: 8px 0 0; color: var(--muted); }
.feats .ui { display: inline-block; margin-bottom: 12px; padding: 5px 13px; border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent); font: 700 0.9rem/1.3 var(--body); }
.feats .ui-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.feats .ui-row .ui { margin: 0; border-color: var(--line); color: var(--text); }
@media (min-width: 760px) { .feats { grid-template-columns: 1fr 1fr; } .feats-3 { grid-template-columns: repeat(3, 1fr); } }

.split { display: grid; gap: 40px 56px; align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 0.8fr 1.2fr; } }
.ticks { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.ticks li { padding-left: 22px; border-left: 3px solid var(--accent); }
.ticks strong { display: block; }
.ticks span { color: var(--muted); }

/* Privacy: where each thing goes */
.routes { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.routes li { padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--line); }
.routes .r-you { border-top-color: var(--accent); }
.routes .r-ai { border-top-color: var(--them); }
.routes h3 { margin-bottom: 10px; }
.routes p { color: var(--muted); }
.routes p + p { margin-top: 10px; }
@media (min-width: 860px) { .routes { grid-template-columns: repeat(3, 1fr); } }
.note { max-width: 46rem; margin-top: 32px; padding: 18px 20px; border-radius: 14px; background: var(--sunken); }

/* Comparison */
.cmp-scroll { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 1rem; }
.cmp th, .cmp td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { font: 700 1.05rem/1.25 var(--display); border-bottom: 3px solid var(--text); }
.cmp { max-width: 980px; }
.cmp tbody th { font-weight: 600; width: 38%; }
.cmp thead th:nth-child(2) { width: 24%; }
.cmp td { color: var(--muted); }
.cmp td.yes { color: var(--text); font-weight: 700; }
.cmp td.yes::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--accent); }
.cmp caption { caption-side: bottom; padding-top: 14px; text-align: left; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 560px) { .cmp { font-size: 0.9rem; } .cmp th, .cmp td { padding: 12px 8px; } .cmp tbody th { width: 34%; } .cmp thead th:nth-child(2) { width: 30%; } }

/* Pricing */
.plan { display: grid; gap: 32px 56px; padding: clamp(24px, 5vw, 48px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.plan-big { font: 800 clamp(2.2rem, 5.5vw, 3.6rem)/1 var(--display); letter-spacing: -0.04em; }
.plan-then { margin-top: 16px; font-size: 1.2rem; }
.plan-then [data-price] { font-weight: 800; color: var(--accent); }
.plan .actions { margin-top: 28px; }
.plan ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.plan li { padding-left: 22px; border-left: 3px solid var(--accent); }
.plan li span { display: block; color: var(--muted); font-size: 0.97rem; }
@media (min-width: 860px) { .plan { grid-template-columns: 1fr 1fr; align-items: center; } }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 3px solid var(--text); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font: 700 1.15rem/1.3 var(--display); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 22px; max-width: 44rem; color: var(--muted); }
.faq details p + p { margin-top: 12px; }

/* Closing call: the amber field again */
.close { padding: 80px 0; }
.close h2 { max-width: 16em; font-size: clamp(2.1rem, 5.4vw, 3.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.close p { max-width: 38rem; margin-top: 20px; font-size: 1.15rem; color: #2b1d08; }
.pending { display: inline-block; margin-top: 28px; padding: 14px 20px; border: 2px dashed var(--ink); border-radius: 14px; font-weight: 700; }
[hidden] { display: none !important; }

footer { padding: 40px 0 56px; font-size: 0.92rem; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; }
.foot strong { color: var(--text); }
.foot a { color: var(--muted); }
.foot-note { margin-top: 16px; max-width: 46rem; font-size: 0.85rem; }

/* Legal pages */
.legal-top { border-bottom: 1px solid var(--line); }
.legal { max-width: 46rem; padding: 48px 0 80px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 12px; }
.legal p, .legal ul, .legal ol { margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal code { padding: 1px 6px; border-radius: 6px; background: var(--sunken); font-size: 0.9em; overflow-wrap: anywhere; }
.legal hr { margin: 48px 0; border: 0; border-top: 1px solid var(--line); }
.legal .tbl { overflow-x: auto; margin: 0 0 16px; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.95rem; }
.legal th, .legal td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--sunken); }
.draft { margin: 0 0 32px; padding: 18px 20px; border: 2px dashed var(--accent); border-radius: 14px; background: var(--surface); }
.draft p { margin: 0; }
.draft p + p { margin-top: 8px; }
