/* _shared/css/synaps.css — sections unique to synaps.dexo.ch.
   Shared design system lives in tokens.css + base.css. */

/* --- HERO extras --- */
.hero-meta { font-size: 0.85rem; color: var(--color-ink-muted); margin-bottom: var(--space-md); }
.hero-positioning { font-size: 0.98rem; color: var(--color-ink); background: var(--color-accent-bg); border-left: 3px solid var(--color-accent); border-radius: 8px; padding: 0.9rem 1.1rem; max-width: 620px; margin-bottom: var(--space-md); line-height: 1.6; }
.hero-positioning strong { color: var(--color-accent); font-weight: 600; }

/* --- PROBLEM extra --- */
.problem-source { margin-top: var(--space-md); font-size: 0.8rem; color: var(--color-ink-muted); font-style: italic; }

/* --- 3-LAYER EXPLAINER --- */
.layers { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
.layers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.layer-card p + p { margin-top: 0.5rem; }
.agent-tier { margin-top: auto; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-accent); background: var(--color-accent-bg); padding: 0.25rem 0.6rem; border-radius: 20px; width: fit-content; }

/* --- INTEGRATIONS GRID --- */
.integrations { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
.integration-group { margin-bottom: var(--space-md); }
.integration-group h3 { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-sm); }
.integration-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.integration { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 10px; padding: 0.85rem 0.9rem; display: flex; flex-direction: column; gap: 0.35rem; }
.integration-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.3rem 0.5rem; } /* a badge that does not fit beside the name moves under it (#136) */
.integration-name { font-size: 0.92rem; font-weight: 600; color: var(--color-ink); }
.integration-desc { font-size: 0.8rem; color: var(--color-ink-muted); line-height: 1.45; }
.integration-badge { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.18rem 0.45rem; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
.integration-badge--ready { color: var(--color-accent); background: var(--color-accent-bg); }
.pilot-group { margin: 2.2rem 0 0.2rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink-muted); }
.pilot-live { display: inline-block; margin-left: 0.45rem; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.12em 0.4em; border-radius: 3px; color: var(--color-accent); background: var(--color-accent-bg); vertical-align: 0.14em; }
.footer-pilots { font-size: 0.8rem; opacity: 0.72; margin-bottom: 0.45rem; }
.footer-pilots a { white-space: nowrap; }
.integrations-rule { max-width: 62ch; margin: -0.4rem 0 2rem; font-size: 0.92rem; line-height: 1.6; color: var(--color-ink-muted); }
.integrations-rule .integration-badge { vertical-align: 0.08em; }
.tier-impl-desc { margin: 0.35rem 0 0; font-size: 0.78rem; line-height: 1.45; color: var(--color-ink-muted); }
/* A third badge state beside ready/soon: what a tier's premium-integration
   allowance is spent on. Same box, different colour, so the three read as one
   scale rather than as a badge and a label. */
.integration-badge--premium { color: #fff; background: var(--color-accent); }
.integration-badge--soon { color: var(--color-ink-muted); background: var(--color-surface-warm); border: 1px solid var(--color-border); }
.integrations-cta { margin-top: var(--space-md); font-size: 0.92rem; color: var(--color-ink-light); }
.integrations-cta a { color: var(--color-accent); text-decoration: none; border-bottom: 1px solid var(--color-accent); padding-bottom: 1px; transition: opacity 0.2s; }
.integrations-cta a:hover { opacity: 0.75; }

/* --- SOVEREIGNTY --- */
.sovereignty { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
.sovereignty-inner { background: var(--color-accent-bg); border-radius: 16px; padding: var(--space-lg); border: 1px solid var(--color-accent); }
.sovereignty-inner h2 { font-family: var(--font-sans); font-weight: 400; font-size: 1.6rem; margin-bottom: var(--space-md); color: var(--color-ink); }
.sovereignty-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.sovereignty-item:nth-child(odd):last-child { grid-column: 1 / -1; }
.sovereignty-item h3 { font-family: var(--font-sans); font-weight: 400; font-size: 1.15rem; color: var(--color-accent); margin-bottom: 0.4rem; }
.sovereignty-item p { font-size: 0.92rem; color: var(--color-ink); line-height: 1.65; }
.sovereignty-note { margin-top: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid var(--color-accent); font-size: 0.85rem; color: var(--color-ink-light); line-height: 1.6; font-style: italic; }

/* --- BILAN CARD (pricing funnel, synaps only) --- */
.bilan-card { background: var(--color-white); border: 2px solid var(--color-accent); border-radius: 14px; padding: var(--space-md); display: grid; grid-template-columns: 1fr auto; gap: var(--space-md); align-items: center; margin-top: var(--space-md); }
.price-label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-sm); }
.price-amount { font-size: 2.2rem; font-weight: 600; color: var(--color-ink); line-height: 1; margin-bottom: 0.4rem; letter-spacing: -0.03em; }
.price-amount-unit { font-size: 0.95rem; color: var(--color-ink-light); margin-bottom: var(--space-sm); }
.bilan-card p { font-size: 0.92rem; color: var(--color-ink-light); line-height: 1.65; margin-bottom: 0.5rem; }
.bilan-card p:last-child { margin-bottom: 0; }
.bilan-card em { font-style: italic; color: var(--color-accent); }
.price-cta { display: inline-block; font-size: 0.9rem; font-weight: 500; color: var(--color-white); background: var(--color-accent); padding: 0.75rem 1.5rem; border-radius: 8px; text-decoration: none; white-space: nowrap; transition: background 0.2s; }
.price-cta:hover { background: var(--color-accent-light); }

/* --- PRICING: four tiers (Starter / Business / Premium / Enterprise) --- */
.tiers-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; margin-bottom: var(--space-md); }
.tiers-grid--four .tier-card { padding: var(--space-sm) 1rem 1rem; }
.tiers-grid--four .tier-desc { min-height: 5.2rem; }
/* The implementation fee sits on its label's line at desktop width, like
   Specta's (Jon, 30 Sept); narrower cards drop it whole. */
.tiers-grid--four .tier-impl-row { gap: 0 0.35rem; }
.tiers-grid--four .tier-impl-label, .tiers-grid--four .tier-impl-value { font-size: 0.78rem; }

/* Enterprise: quote-only, so not selectable — it carries its own CTA instead. */
.tier-card--quote { cursor: default; border-style: dashed; }
.tier-price--quote { font-size: 1.5rem; line-height: 1.3; }
.tier-cta { margin-top: var(--space-sm); display: block; text-align: center; font-size: 0.85rem; font-weight: 500; color: var(--color-accent); background: var(--color-accent-bg); padding: 0.6rem 1rem; border-radius: 8px; text-decoration: none; transition: background 0.2s, color 0.2s; }
.tier-cta:hover { background: var(--color-accent); color: var(--color-white); }

.pricing-fairuse { font-size: 0.95rem; color: var(--color-ink); background: var(--color-accent-bg); border-left: 3px solid var(--color-accent); border-radius: 8px; padding: 0.8rem 1.1rem; margin-bottom: var(--space-sm); line-height: 1.6; }
.pricing-fairuse strong { color: var(--color-accent); font-weight: 600; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .sovereignty-inner { padding: var(--space-md); }
    .layers-grid, .sovereignty-grid { grid-template-columns: 1fr; }
    .bilan-card { grid-template-columns: 1fr; }
    .integration-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tiers-grid--four { grid-template-columns: 1fr; }
    .tiers-grid--four .tier-desc { min-height: 0; }
}
@media (min-width: 769px) and (max-width: 1100px) {
    .integration-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tiers-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tiers-grid--four .tier-desc { min-height: 0; }
}

/* --- PUBLIC WEBSITE ASSISTANT (upcoming capability) --- */
.pubassist { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
.pubassist-lead { font-size: 1.02rem; color: var(--color-ink-light); max-width: 680px; margin-bottom: var(--space-md); line-height: 1.7; }
.pubassist-lead em { color: var(--color-accent); font-style: normal; font-weight: 600; }
.pubassist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.pubassist-item { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 12px; padding: var(--space-md); }
.pubassist-item h3 { font-size: 1.02rem; margin-bottom: 0.45rem; color: var(--color-accent); }
.pubassist-item p { font-size: 0.92rem; line-height: 1.65; color: var(--color-ink-light); }
.pubassist-status { margin-top: var(--space-md); font-size: 0.92rem; line-height: 1.65; color: var(--color-ink); background: var(--color-surface-warm); border: 1px dashed var(--color-border); border-radius: 10px; padding: 0.85rem 1.1rem; }
.pubassist-status a { color: var(--color-accent); text-decoration: none; border-bottom: 1px solid var(--color-accent); margin-left: 0.3rem; }
@media (max-width: 800px) { .pubassist-grid { grid-template-columns: 1fr; } }

/* Support terms: the small print that makes the response times defensible. */
.pricing-support-note { font-size: 0.82rem; color: var(--color-ink-muted); line-height: 1.6; margin-bottom: var(--space-md); }
.pricing-support-note strong { color: var(--color-ink-light); font-weight: 600; }

/* --- AGENT CATALOGUE: the tier ladder is agent autonomy, watch -> prepare -> act --- */
.agents { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
.agents-lead { font-size: 1.02rem; color: var(--color-ink-light); max-width: 720px; margin-bottom: var(--space-lg); line-height: 1.7; }
.agent-family { margin-bottom: var(--space-lg); }
.agent-family-head { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 0.4rem; flex-wrap: wrap; }
.agent-family-step { font-size: 0.8rem; font-weight: 600; color: var(--color-ink-muted); letter-spacing: 0.05em; }
.agent-family-head h3 { font-family: var(--font-sans); font-weight: 400; font-size: 1.5rem; color: var(--color-ink); }
.agent-family-desc { font-size: 0.95rem; color: var(--color-ink-light); margin-bottom: var(--space-md); line-height: 1.65; max-width: 640px; }
.agent-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.agent-item { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 12px; padding: 0.95rem 1.05rem; }
.agent-item h4 { font-size: 0.96rem; font-weight: 600; color: var(--color-accent); margin-bottom: 0.35rem; }
.agent-item p { font-size: 0.86rem; line-height: 1.6; color: var(--color-ink-light); }
.agent-badge { display: inline-block; vertical-align: 0.08em; margin-left: 0.3rem; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.16rem 0.42rem; border-radius: 4px; white-space: nowrap; color: var(--color-ink-muted); background: var(--color-surface-warm); border: 1px solid var(--color-border); }
.agents-custom { font-size: 0.92rem; color: var(--color-ink); background: var(--color-accent-bg); border-left: 3px solid var(--color-accent); border-radius: 8px; padding: 0.85rem 1.1rem; line-height: 1.6; }
@media (max-width: 1000px) { .agent-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .agent-list { grid-template-columns: 1fr; } }
.agents-pick { font-size: 0.95rem; color: var(--color-ink); background: var(--color-accent-bg); border-left: 3px solid var(--color-accent); border-radius: 8px; padding: 0.8rem 1.1rem; margin-bottom: var(--space-lg); line-height: 1.6; max-width: 760px; }
.agents-pick strong { color: var(--color-accent); font-weight: 600; }

/* The price for the period the toggle is not showing, as an arithmetic
   equivalent. The annual figure is a discounted list price, so neither number
   can be derived from the other and both belong on the card. */
.tier-price-alt { font-size: 0.82rem; color: var(--color-ink-muted); margin-top: 0.15rem; }

/* --- PILOT PAGES (unlisted: /cabinets/ and the five verticals) ------------
   One page, one audience, one ask. Deliberately narrower than the main site:
   a 640px measure and a single column, so the whole proposition reads on a
   phone without a horizontal thought.

   Scoped on `body.pilot`, NOT on `body.site-synaps`: every Synaps page carries
   site-synaps, so scoping the narrow layout there caught the FR/DE/EN home
   pages too -- it capped their contact section at 780px (a visibly cramped
   form) and, because `padding: 0 1.5rem` is a shorthand, it reset the top and
   bottom padding base.css gives `.contact`, leaving the address block sitting
   on the footer rule. A pilot page opts in with `<body class="site-synaps
   pilot">`; nothing else should. */
.pilot-top { display: flex; justify-content: space-between; align-items: center;
    padding: 1.25rem 1.5rem; max-width: 780px; margin: 0 auto; }
.pilot-top a:last-child { font-size: 0.88rem; color: var(--color-ink-muted); text-decoration: none; }
.pilot-top a:last-child:hover { color: var(--color-accent); }

.pilot-hero, .pilot-daily, .pilot-programme, body.pilot .contact {
    max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }
.pilot-hero { padding-top: var(--space-md); padding-bottom: var(--space-lg); }
.pilot-hero h1 { font-family: var(--font-sans); font-weight: 400; letter-spacing: -0.02em;
    font-size: clamp(1.9rem, 5.2vw, 2.7rem); line-height: 1.18; margin: 0.6rem 0 var(--space-sm); }
.pilot-lead { font-size: 1.02rem; line-height: 1.7; color: var(--color-ink-light);
    margin-bottom: var(--space-sm); }
/* The sovereignty claim carries the accent, because it is the reason a Swiss
   practice reads any further. */
.pilot-sovereign { font-size: 0.95rem; line-height: 1.65; color: var(--color-ink);
    background: var(--color-accent-bg); border-left: 3px solid var(--color-accent);
    border-radius: 8px; padding: 0.85rem 1.05rem; margin-bottom: var(--space-sm); }
.pilot-proof { font-size: 0.95rem; color: var(--color-ink); margin: 0; }
.pilot-proof strong { color: var(--color-accent); font-weight: 600; }

.pilot-daily, .pilot-programme { padding-bottom: var(--space-lg); }
.pilot-examples { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: var(--space-md); }
.pilot-example { background: var(--color-white); border: 1px solid var(--color-border);
    border-radius: 12px; padding: 0.9rem 1.1rem; }
.pilot-q { font-size: 0.98rem; line-height: 1.55; color: var(--color-ink); margin: 0 0 0.3rem; }
.pilot-a { font-size: 0.88rem; color: var(--color-accent); font-weight: 500; margin: 0; }
.pilot-note, .pilot-intro { font-size: 0.95rem; line-height: 1.7; color: var(--color-ink-light); margin: 0; }
.pilot-intro { margin-bottom: var(--space-md); }

.pilot-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.pilot-list h3 { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.07em; text-transform: uppercase; color: var(--color-accent);
    margin-bottom: 0.6rem; }
.pilot-list ul { list-style: none; margin: 0; padding: 0; }
.pilot-list li { font-size: 0.88rem; line-height: 1.6; color: var(--color-ink-light);
    padding: 0 0 0.55rem 0.95rem; position: relative; }
.pilot-list li::before { content: '·'; position: absolute; left: 0; top: -0.05rem;
    color: var(--color-accent); font-weight: 700; }
/* What we will NOT do reads as a commitment, not a disclaimer, so it gets the
   same weight as the other two columns and a muted marker rather than a cross. */
.pilot-list--limits li::before { color: var(--color-ink-muted); }

.pilot-agents-section { max-width: 780px; margin: 0 auto; padding: 0 1.5rem var(--space-lg); }
/* Two columns on a desk, one on a phone. Eight items is a lot for a page that
   has to read in one pass, so each is a name and a line and nothing else. */
.pilot-agents { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm) var(--space-md); }
.pilot-agent h3 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
    color: var(--color-ink); margin-bottom: 0.2rem; letter-spacing: -0.01em; }
.pilot-agent p { font-size: 0.86rem; line-height: 1.55; color: var(--color-ink-light); margin: 0; }

.pilot-cta-note { font-size: 0.95rem; color: var(--color-ink-light); margin-bottom: var(--space-md); }
.pilot-form { max-width: 560px; }

@media (max-width: 760px) {
    .pilot-agents { grid-template-columns: 1fr; }
    .pilot-lists { grid-template-columns: 1fr; gap: var(--space-sm); }
    .pilot-list { padding-bottom: var(--space-sm); border-bottom: 1px solid var(--color-border); }
    .pilot-list:last-child { border-bottom: none; }
}
