/* Parrot: one stylesheet for every page. Colors live here as tokens (spec 125): the neutral tokens of
   shadcn, the same as assistant/ui/src/theme.css, and one accent, the green of Parrot, the same as
   assistant/ui/src/brand.css (assistant/ui/tests/brand.test.ts checks they stay equal). The accent goes
   only to the logo, links, the focus, the active item and small marks; never to a band, a card or a
   button. The site follows the theme of the system. */
:root {
  color-scheme: light;
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --border: oklch(0.922 0 0);
  --parrot: #11774e;
  --parrot-ink: #ffffff;
  /* The dark bands (systems, contact, code, footer): neutral, the same in both themes */
  --surface-dark: oklch(0.205 0 0);
  --surface-darker: oklch(0.145 0 0);
  --on-dark: oklch(0.985 0 0);
  --on-dark-muted: oklch(0.708 0 0);
  --parrot-on-dark: #4cb386;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 8px 24px rgb(0 0 0 / 0.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-height: 116px;
}

/* Dark, twice, as in theme.css: with a dark system, and with data-theme="dark" */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: oklch(0.145 0 0);
    --foreground: oklch(0.985 0 0);
    --card: oklch(0.205 0 0);
    --primary: oklch(0.922 0 0);
    --primary-foreground: oklch(0.205 0 0);
    --muted: oklch(0.269 0 0);
    --muted-foreground: oklch(0.708 0 0);
    --border: oklch(1 0 0 / 10%);
    --parrot: #4cb386;
    --parrot-ink: #0a0a0a;
    --surface-darker: oklch(0.1 0 0);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.3);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.205 0 0);
  --primary: oklch(0.922 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --border: oklch(1 0 0 / 10%);
  --parrot: #4cb386;
  --parrot-ink: #0a0a0a;
  --surface-darker: oklch(0.1 0 0);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.3);
}

@media (min-width: 1100px) {
  :root { --header-height: 76px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
}

img, svg { display: block; max-width: 100%; }

a { color: var(--parrot); }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.4rem; font-weight: 800; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--parrot); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 32px, 1120px); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--card);
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { left: 16px; }

/* Text for screen readers only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--background) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding-top: 10px;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--foreground);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand img { width: 38px; height: 38px; }

.header-cta { padding-inline: 14px; }

/* The sprite of the icons: in the page, never on the screen (a class, so the strict policy of the
   pages, which blocks style attributes, keeps it out of sight) */
.icon-sprite { position: absolute; }

/* Spec 149 · «Entrar» and «Crear cuenta»: on phones a row of their own under the first one, each
   half of the width; on a computer next to the contact button */
.header-account {
  order: 2;
  display: flex;
  gap: 8px;
  width: 100%;
  padding-bottom: 4px;
}
.header-account .btn { flex: 1; justify-content: center; }

/* Language switch (ES / EN): first row on phones, before the contact button */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--foreground);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.lang-switch:hover { border-color: var(--parrot); color: var(--parrot); }

/* On phones the menu is a second row that scrolls sideways; it spills into the gutter so the
   first link's text lines up with the logo. */
.main-nav {
  order: 3;
  width: calc(100% + 24px);
  margin-inline: -12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }

.main-nav ul {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0 0 6px;
  list-style: none;
  white-space: nowrap;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--foreground);
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a:hover { background: var(--muted); color: var(--foreground); }

@media (min-width: 1100px) {
  .header-inner { flex-wrap: nowrap; column-gap: 12px; padding-block: 12px; }
  .main-nav { order: 0; width: auto; margin: 0 0 0 auto; overflow: visible; }
  .main-nav ul { padding: 0; }
  .lang-switch { margin-left: 0; }
  .header-cta { padding-inline: 18px; }
  .header-account { order: 0; width: auto; padding-bottom: 0; }
  .header-account .btn { flex: none; white-space: nowrap; }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }

/* The main action is neutral, as in shadcn (spec 125); on a dark band it is the light one */
.btn-primary, .btn-accent { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover, .btn-accent:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }
.section-dark .btn-accent, .contact-card .btn-accent { background: var(--on-dark); color: var(--surface-dark); }
.section-dark .btn-accent:hover, .contact-card .btn-accent:hover { background: var(--on-dark-muted); }

.btn-outline { border-color: var(--border); color: var(--foreground); background: var(--card); }
.btn-outline:hover { background: var(--muted); }

.btn-light { background: var(--card); color: var(--foreground); }
.btn-light:hover { background: var(--muted); }

.btn-ghost-light { border-color: color-mix(in oklab, var(--on-dark) 55%, transparent); color: var(--on-dark); }
.btn-ghost-light:hover { background: color-mix(in oklab, var(--on-dark) 12%, transparent); }

.btn-small { min-height: 44px; padding: 8px 18px; font-size: 0.97rem; }

/* Hero */

.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(60rem 30rem at 100% 0%, var(--muted), transparent 60%),
    var(--background);
}

.hero-grid { display: grid; gap: 48px; align-items: center; }

@media (min-width: 900px) {
  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--parrot);
  font-size: 0.9rem;
  font-weight: 700;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--parrot); }

.lead { max-width: 34em; color: var(--muted-foreground); font-size: clamp(1.1rem, 2.2vw, 1.25rem); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted-foreground);
  font-size: 0.97rem;
}
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks .icon { width: 18px; height: 18px; color: var(--parrot); stroke-width: 3; }

/* Chat mockup in the hero */

.chat-figure { margin: 0; }

.chat {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 24px;
  background: var(--muted);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface-dark);
  color: var(--on-dark);
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--on-dark);
  color: var(--surface-dark);
  font-weight: 800;
  font-size: 0.95rem;
}

.chat-name { font-weight: 700; line-height: 1.2; }
.chat-status { color: var(--on-dark-muted); font-size: 0.82rem; }

.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 22px; }

.msg {
  position: relative;
  max-width: 85%;
  margin: 0;
  padding: 8px 12px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.08);
}
/* As in the real chat: the customer on the right in the brand color, the assistant on the left */
.msg-in { align-self: flex-end; background: var(--primary); color: var(--primary-foreground); border-top-right-radius: 4px; }
.msg-out { align-self: flex-start; background: var(--card); border-top-left-radius: 4px; }
.msg-time { position: absolute; right: 10px; bottom: 3px; color: var(--muted-foreground); font-size: 0.72rem; }
.msg-in .msg-time { color: color-mix(in oklab, var(--primary-foreground) 75%, transparent); }

.chat-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 12px 12px;
  padding: 6px 6px 6px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted-foreground);
  font-size: 0.93rem;
}
.chat-send {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
}
.chat-send .icon { width: 16px; height: 16px; }

/* The window and the round button that opens it on the company's site */
.chat-widget {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
.chat-launcher {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow);
}

.chat-caption { margin-top: 14px; color: var(--muted-foreground); font-size: 0.92rem; text-align: center; }

/* Sections */

.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }

.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head p { color: var(--muted-foreground); font-size: 1.12rem; }
.section-head p.kicker { color: var(--parrot); font-size: 0.82rem; }

.kicker {
  margin-bottom: 10px;
  color: var(--parrot);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Services by pyramid level */

.level {
  display: grid;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 900px) {
  .level { grid-template-columns: 300px 1fr; gap: 48px; padding: 48px 0; }
}

.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  background: var(--muted);
  color: var(--foreground);
  font-size: 0.86rem;
  font-weight: 800;
}
.level-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
}
.level-4 .level-num { background: var(--parrot); color: var(--parrot-ink); }

.level-intro p { color: var(--muted-foreground); }

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

/* Four cards read better as 2 x 2 than as 3 + 1 */
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card h4 { margin: 0; }
.card p { margin: 0; color: var(--muted-foreground); font-size: 0.98rem; }

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: var(--muted);
  color: var(--parrot);
}

.card-featured { border-color: var(--foreground); box-shadow: var(--shadow); }

.card-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 10px;
  color: var(--parrot);
  font-weight: 700;
  text-decoration: none;
}
.card-link .icon { width: 18px; height: 18px; transition: transform 0.15s; }
.card-link:hover { text-decoration: underline; }
.card-link:hover .icon { transform: translateX(3px); }

/* AI chat */

.steps.steps-3 { margin-bottom: 40px; }
@media (min-width: 700px) { .steps.steps-3 { grid-template-columns: repeat(3, 1fr); } }

.assistant-detail { display: grid; gap: 32px; align-items: start; }
.assistant-detail > * { min-width: 0; }
@media (min-width: 900px) { .assistant-detail { grid-template-columns: 1.25fr 1fr; gap: 48px; } }

.benefits {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefits li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: start; }
.benefits .card-icon { margin: 0; }
.benefits h3 { margin: 0 0 4px; font-size: 1.05rem; }
.benefits p { margin: 0; color: var(--muted-foreground); font-size: 0.97rem; }

.install {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.install h3 { font-size: 1.15rem; }
.install pre {
  margin: 0 0 14px;
  padding: 14px 16px;
  overflow-x: auto;
  border-radius: 10px;
  background: var(--surface-darker);
  color: var(--on-dark);
  font: 0.8rem/1.6 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
.install p { color: var(--muted-foreground); font-size: 0.97rem; }

/* Management systems (dark band) */

.section-dark { background: var(--surface-dark); color: var(--on-dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--on-dark); }
.section-dark .section-head p { color: var(--on-dark-muted); }

.tag-new {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--parrot-on-dark);
  color: var(--surface-darker);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-dark {
  background: color-mix(in oklab, var(--on-dark) 6%, transparent);
  border-color: color-mix(in oklab, var(--on-dark) 16%, transparent);
}
.card-dark p { color: var(--on-dark-muted); }
.card-dark .card-icon { background: color-mix(in oklab, var(--parrot-on-dark) 16%, transparent); color: var(--parrot-on-dark); }
.card-dark .card-link { color: var(--parrot-on-dark); }
.card-dashed { border-style: dashed; border-color: color-mix(in oklab, var(--on-dark) 35%, transparent); background: transparent; }

.feature-list { display: grid; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; }
.feature-list .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--parrot-on-dark); stroke-width: 3; }

.store-panel {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 40px);
  background: color-mix(in oklab, var(--on-dark) 6%, transparent);
  border: 1px solid color-mix(in oklab, var(--on-dark) 16%, transparent);
  border-radius: 24px;
}
@media (min-width: 900px) { .store-panel { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; } }

.store-intro p { color: var(--on-dark-muted); }

.store-features {
  display: grid;
  gap: 28px 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.store-features .card-icon { background: color-mix(in oklab, var(--parrot-on-dark) 16%, transparent); color: var(--parrot-on-dark); }
.store-features h4 { margin: 0 0 4px; }
.store-features p { margin: 0; color: var(--on-dark-muted); font-size: 0.97rem; }

.subhead { margin: 48px 0 20px; font-size: 1.25rem; }

.link-on-dark { color: var(--on-dark); font-weight: 600; text-underline-offset: 3px; }
.link-on-dark:hover { color: var(--parrot-on-dark); }

/* AI integration (MCP) */

.paths { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 600px) { .paths { grid-template-columns: 1fr 1fr; } }
.paths h3 { margin: 0; font-size: 1.15rem; }

.note-icon { display: flex; align-items: flex-start; gap: 10px; }
.note-icon .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--parrot); }

.mcp-visual { width: 100%; max-width: 440px; margin-inline: auto; }

.mcp-flow {
  margin: 0;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--muted);
}
.flow-node .card-icon { margin: 0; background: var(--card); }
.flow-node strong { display: block; color: var(--foreground); }
.flow-node span:not(.card-icon) { color: var(--muted-foreground); font-size: 0.93rem; }

.flow-link { position: relative; display: grid; place-items: center; height: 64px; }
.flow-link::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px dashed var(--muted-foreground);
}
.flow-link span {
  position: relative;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--parrot);
  color: var(--parrot-ink);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.prompts-title { margin: 24px 0 10px; color: var(--muted-foreground); font-size: 0.95rem; font-weight: 600; }

.prompts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.prompts li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 0.93rem;
}

/* Free diagnosis */

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }

.diagnosis-list { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.diagnosis-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.diagnosis-list .icon { margin-top: 2px; color: var(--parrot); stroke-width: 3; }

.note { margin-top: 16px; color: var(--muted-foreground); font-size: 0.92rem; }

.pyramid-figure { margin: 0; }

.pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.pyramid li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 14%;
  color: var(--on-dark);
  font-weight: 700;
  text-align: center;
  clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%);
}
.pyramid .num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: color-mix(in oklab, var(--on-dark) 20%, transparent);
  font-size: 0.85rem;
}
/* The levels in the neutral of the dark bands, from lighter to darker; the top one, the mark of Parrot */
.pyramid .p4 { width: 52%; background: var(--parrot); color: var(--parrot-ink); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.pyramid .p4 .num { background: color-mix(in oklab, var(--parrot-ink) 20%, transparent); }
.pyramid .p3 { width: 68%; background: oklch(0.439 0 0); }
.pyramid .p2 { width: 84%; background: oklch(0.32 0 0); }
.pyramid .p1 { width: 100%; background: var(--surface-dark); }

.pyramid-caption { margin-top: 16px; color: var(--muted-foreground); font-size: 0.92rem; text-align: center; }

/* How we work */

.section-tinted { background: var(--muted); }

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  padding: 26px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 1.1rem;
  font-weight: 800;
}
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted-foreground); }

/* About */

.facts { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.facts li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
}
.facts .card-icon { margin: 0; }

/* Contact */

.contact-card {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 6vw, 56px);
  border-radius: 28px;
  background: var(--surface-dark);
  color: var(--on-dark);
}
.contact-card h2 { color: var(--on-dark); }
.contact-card p { color: var(--on-dark-muted); font-size: 1.12rem; }
@media (min-width: 900px) { .contact-card { grid-template-columns: 1.2fr 1fr; align-items: center; } }

.contact-actions { display: grid; gap: 12px; }
.contact-actions .btn { justify-content: flex-start; width: 100%; }
.contact-place { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; color: var(--on-dark-muted); }

/* Footer */

.site-footer { padding: 56px 0 32px; background: var(--surface-darker); color: var(--on-dark-muted); font-size: 0.97rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }

.footer-brand .brand { color: var(--on-dark); }
.footer-brand p { max-width: 26em; margin-top: 12px; }

.footer-title { margin: 0 0 12px; color: var(--on-dark); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; }

.footer-links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in oklab, var(--on-dark) 12%, transparent);
  font-size: 0.9rem;
}

/* Legal pages */

.legal { max-width: 760px; padding: 56px 0 80px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { margin-top: 1.6em; font-size: 1.35rem; }
.legal .updated { color: var(--muted-foreground); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.4em; }
