/* Landing pages: editorial paper + ink, one accent per product (--accent / --on-accent). */

/* Nav */
.nav { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; letter-spacing: -.045em; font-variation-settings: "wdth" 122; text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 4px; background: var(--accent); color: var(--on-accent); }
.logo-mark .ico { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink-2); }
.btn-sm { padding: 13px 18px; font-size: .9rem; }

/* Hero */
.hero { position: relative; padding: 7vw 0 0; overflow: hidden; }
.hero-ar {
  position: absolute; right: -3vw; top: 2vw; z-index: 0; font-size: 30vw; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 2px var(--accent); opacity: .55; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 14px 0; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule); margin-bottom: 4.5vw; }
.hero-meta span:first-child { color: var(--ink); background: var(--accent); color: var(--on-accent); padding: 2px 8px; }
.hero h1 { max-width: 15ch; }
.hero h1 em { background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%); padding: 0 .08em; }
.hero-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; margin-top: 4vw; align-items: end; }
.ai-line { display: flex; gap: 12px; font-size: 1.12rem; font-weight: 600; line-height: 1.4; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.ai-line span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: .8rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ar-line { margin-top: 22px; color: var(--ink-2); font-size: 1.1rem; font-weight: 500; }

.stage { margin-top: 7vw; perspective: 1800px; padding-bottom: 6vw; }
.mock {
  position: relative; max-width: 1080px; margin: 0 auto; transform-origin: 50% 100%;
  background: #fbf9f4; border: 1.5px solid var(--ink); border-radius: 10px; box-shadow: 18px 18px 0 var(--accent); font-size: .82rem;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1.5px solid var(--ink); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.mock-bar span { margin-left: 14px; font-family: var(--mono); font-size: .72rem; color: var(--ink-2); }
.mock-body { display: grid; grid-template-columns: 170px 1fr; min-height: 360px; }
.mock-nav { list-style: none; margin: 0; padding: 18px 12px; border-right: 1px solid var(--rule); }
.mock-nav li { padding: 8px 12px; border-radius: 4px; color: var(--ink-2); font-weight: 500; }
.mock-nav li.on { background: var(--ink); color: var(--paper); font-weight: 700; }
.mock-main { padding: 20px 24px; min-width: 0; }
.mock-title { font-size: 1.15rem; font-weight: 800; font-variation-settings: "wdth" 110; letter-spacing: -.02em; margin-bottom: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi { border: 1px solid var(--rule); border-radius: 6px; padding: 10px 12px; }
.kpi span { display: block; font-family: var(--mono); font-size: .66rem; color: var(--ink-2); text-transform: uppercase; }
.kpi strong { font-size: 1.15rem; font-variation-settings: "wdth" 110; }
.kpi:first-child { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.kpi:first-child span { color: inherit; opacity: .75; }
.mock table { width: 100%; border-collapse: collapse; }
.mock th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: .66rem; text-transform: uppercase; color: var(--ink-2); padding: 6px 6px; border-bottom: 1.5px solid var(--ink); }
.mock td { padding: 9px 6px; border-bottom: 1px solid var(--rule); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 3px; font: 500 .66rem var(--mono); text-transform: uppercase; }
.pill.ok { background: #d8f0dd; color: #14532d; }
.pill.wait { background: #fde9c8; color: #7c3d00; }
.pill.bad { background: #fbd5d0; color: #8f1d12; }
.pill.info { background: var(--ink); color: var(--paper); }
.toast { position: absolute; right: 28px; bottom: -20px; padding: 12px 16px; background: var(--ink); color: var(--paper); font: 500 .76rem var(--mono); text-transform: uppercase; border-radius: 4px; }

/* Marquee band */
.band { background: var(--ink); color: var(--paper); padding: 22px 0; border-block: 1.5px solid var(--ink); }
.band .marquee { font-size: clamp(2.2rem, 5.4vw, 5.2rem); font-weight: 800; font-variation-settings: "wdth" 118; letter-spacing: -.04em; line-height: 1; }
.band span { padding: 0 .35em; }
.band i { font-style: normal; color: var(--accent); }

/* Sections */
.sec { padding: clamp(96px, 12vw, 180px) 0; }
.sec-head .mono { margin-bottom: 24px; }
.sec-head .h2 { max-width: 17ch; }
.sec-head .lead { margin-top: 24px; }

.rows { margin-top: 72px; }
.row { position: relative; display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: 32px; padding: 40px 0; align-items: baseline; }
.row hr { position: absolute; left: 0; right: 0; top: 0; margin: 0; border: 0; height: 1.5px; background: var(--ink); }
.row h3 { font-size: clamp(1.7rem, 2.8vw, 2.8rem); }
.row p { color: var(--ink-2); font-size: 1.08rem; max-width: 46ch; }
.idx { color: var(--ink-2); }

.feats { background: var(--paper-2); }
.feats-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6vw; }
.feats-head { position: sticky; top: 120px; align-self: start; }
.feats-head .mono { margin-bottom: 24px; }
.feat-list { list-style: none; margin: 0; padding: 0; }
.feat-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 32px 0; border-top: 1.5px solid var(--ink); transition: padding .5s var(--ease); }
.feat-list li:hover { padding-left: 14px; }
.feat-list h3 { font-size: 1.6rem; letter-spacing: -.03em; }
.feat-list p { color: var(--ink-2); margin-top: 10px; max-width: 48ch; }

/* AI section */
.ai { background: var(--ink); color: var(--paper); overflow: hidden; }
.ai .mono { color: var(--accent); margin-bottom: 24px; }
.ai .h2 { max-width: 16ch; }
.ai-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 6vw; margin-top: 72px; }
.manifesto { font-size: clamp(1.5rem, 2.5vw, 2.5rem); line-height: 1.18; font-weight: 600; letter-spacing: -.025em; font-variation-settings: "wdth" 104; }
.ai-list { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
.ai-list li { border-top: 1px solid rgba(241, 236, 226, .25); padding-top: 18px; }
.ai-list .mono { display: block; margin-bottom: 12px; }
.ai-list h3 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.05; }
.ai-list p { color: #a9a39a; margin-top: 10px; font-size: .98rem; }
.chat-col { position: sticky; top: 110px; align-self: start; }
.chat { background: #efeae2; color: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 16px 16px 0 var(--accent); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #0b3b34; color: #fff; }
.chat-head small { display: block; font: 400 .7rem var(--mono); opacity: .75; text-transform: uppercase; }
.chat-body { display: grid; gap: 10px; padding: 20px 18px 24px; min-height: 380px; align-content: start; font-size: .95rem; line-height: 1.4; }
.bubble { max-width: 86%; padding: 9px 13px; border-radius: 12px; box-shadow: 0 1px 0 rgba(0, 0, 0, .1); }
.bubble.me { justify-self: end; background: #d9fdd3; border-top-right-radius: 3px; }
.bubble.bot { justify-self: start; background: #fff; border-top-left-radius: 3px; }
.typing { justify-self: start; display: flex; gap: 4px; padding: 13px 14px; background: #fff; border-radius: 12px; border-top-left-radius: 3px; }
.typing[hidden] { display: none; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8a8580; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.ai-band { margin-top: clamp(96px, 10vw, 160px); }
.ai-band .marquee { font-size: clamp(2.6rem, 7vw, 7rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; font-variation-settings: "wdth" 120; color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.ai-band span { padding: 0 .3em; }
.ai-band i { font-style: normal; color: var(--accent); -webkit-text-stroke: 0; }

/* Steps */
.step-list { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4vw; }
.step-list .big { display: block; font-size: clamp(5rem, 11vw, 10rem); font-weight: 800; line-height: .8; letter-spacing: -.06em; font-variation-settings: "wdth" 125; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.step-list li:hover .big { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step-list h3 { font-size: 1.6rem; margin-top: 28px; letter-spacing: -.03em; }
.step-list p { color: var(--ink-2); margin-top: 10px; }

/* Pricing */
.pricing { background: var(--paper-2); }
.founder { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 36px; align-items: center; margin: 64px 0; }
.seal { width: 170px; height: 170px; font: 500 13.5px var(--mono); fill: var(--ink); letter-spacing: .5px; }
.seal-mid { position: absolute; left: 0; top: 0; width: 170px; height: 170px; display: grid; place-items: center; font-size: 2.1rem; font-weight: 800; font-variation-settings: "wdth" 120; letter-spacing: -.05em; }
.seal-mid::before { content: ""; position: absolute; inset: 42px; border-radius: 50%; background: var(--accent); z-index: -1; }
.founder { isolation: isolate; }
.seal-mid { color: var(--on-accent); }
.founder p { font-size: 1.3rem; max-width: 40ch; line-height: 1.35; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); }
.plan { position: relative; display: flex; flex-direction: column; padding: 40px 30px 32px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); background: var(--paper); }
.plan.featured { background: var(--ink); color: var(--paper); }
.plan-tag { position: absolute; top: 14px; right: 16px; color: var(--accent); }
.plan h3 { font-size: 2.2rem; }
.plan-for { color: var(--ink-2); margin-top: 8px; min-height: 3em; }
.plan.featured .plan-for { color: #a9a39a; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 28px 0; }
.price s { font: 500 .9rem var(--mono); opacity: .55; width: 100%; }
.price strong { font-size: clamp(3.4rem, 5vw, 4.8rem); line-height: .9; letter-spacing: -.05em; font-variation-settings: "wdth" 122; }
.price span { font: 500 .74rem var(--mono); text-transform: uppercase; opacity: .7; }
.plan ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "+"; font-family: var(--mono); color: var(--accent); font-weight: 500; }
.plan:not(.featured) li::before { color: var(--ink); }
.plan.featured .btn-accent:hover { color: var(--ink); }
.plan.featured .btn-accent::before { background: var(--paper); }
.fine { margin-top: 28px; color: var(--ink-2); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6vw; }
.faq-grid .mono { margin-bottom: 24px; }
.faq-list { border-bottom: 1.5px solid var(--ink); }
.faq-list details { border-top: 1.5px solid var(--ink); }
.faq-list summary { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; font-variation-settings: "wdth" 106; }
.faq-list summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 22px; height: 22px; margin-top: 4px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: currentColor; transition: transform .5s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0); }
.faq-list details p { color: var(--ink-2); padding-bottom: 28px; max-width: 62ch; font-size: 1.05rem; }

/* CTA */
.cta { background: var(--accent); color: var(--on-accent); padding: clamp(96px, 12vw, 180px) 0; }
.cta-title { font-size: clamp(3rem, 8vw, 8.6rem); max-width: 13ch; margin: 24px 0 72px; }
.cta-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 6vw; align-items: start; }
.cta-sub { font-size: 1.35rem; line-height: 1.35; font-weight: 500; }
.cta-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.lead-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lead-form .btn { margin-top: 12px; padding: 22px; font-size: 1.1rem; }
.form-note { opacity: .7; }
.form-ok { background: var(--accent); }

/* Footer */
.foot { background: var(--ink); color: var(--paper); padding-top: 64px; overflow: hidden; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; color: #a9a39a; }
.foot-top strong { color: var(--paper); }
.foot-word { font-size: calc(124vw / var(--chars, 8)); font-weight: 800; letter-spacing: -.07em; line-height: .76; font-variation-settings: "wdth" 125; color: var(--accent); white-space: nowrap; margin: 48px 0 0 -1vw; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-in .btn { margin-left: auto; }
  .hero { padding-top: 48px; }
  .hero-ar { font-size: 56vw; top: 30vw; }
  .hero-foot, .feats-grid, .ai-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; }
  .feats-head, .chat-col { position: static; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .ai-list, .step-list, .plans, .lead-form .two { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-nav { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis .kpi:nth-child(3) { display: none; }
  .mock { box-shadow: 10px 10px 0 var(--accent); }
  .founder { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 32px); }
}

/* Proof section (products without the AI block) */
.proof-stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); margin: 40px 0 28px; }
.proof-stats li { padding: 28px 20px 24px; border-right: 1.5px solid var(--ink); display: flex; flex-direction: column; gap: 8px; }
.proof-stats li:last-child { border-right: 0; }
.proof-stats strong { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: -.05em; font-variation-settings: "wdth" 115; color: var(--accent); }
.proof-stats span { font-size: .95rem; opacity: .8; max-width: 22ch; }
.proof-items { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .8rem; }
@media (max-width: 760px) { .proof-stats li { border-right: 0; border-bottom: 1.5px solid var(--ink); } .proof-stats li:last-child { border-bottom: 0; } }

/* "Sur mesure": what we build on request */
.custom { background: var(--ink); color: var(--paper); }
.custom .h2, .custom .lead { color: var(--paper); }
.custom-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5px; background: color-mix(in srgb, var(--paper) 30%, transparent); border: 1.5px solid color-mix(in srgb, var(--paper) 30%, transparent); margin: 36px 0 20px; }
.custom-list li { background: var(--ink); padding: 26px 22px 28px; display: flex; flex-direction: column; gap: 10px; }
.custom-list li .mono { color: var(--accent); font-size: .72rem; }
.custom-list h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.custom-list p { opacity: .78; font-size: .95rem; }
.custom .fine { opacity: .6; }
