@font-face {
  font-family: "Funnel Display";
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/funnel-display.woff2") format("woff2");
}
@font-face {
  font-family: "Funnel Sans";
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/funnel-sans.woff2") format("woff2");
}

:root {
  --paper: #f5f5f2;
  --white: #fff;
  --ink: #15171c;
  --grey: #5d6068;
  --line: #dcdcd6;
  --chip: #ebebe6;
  --signal: #ff5a1f;
  --signal-soft: #ffe2d6;
  --display: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
  --text: "Funnel Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 12px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-underline-offset: 0.2em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--ink); }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.dot { color: var(--signal); }
.contact .dot { color: var(--white); }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: var(--gutter);
  top: 12px;
  z-index: 30;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 245, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 40px; height: var(--header-h); }
.brand {
  margin-right: auto;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.nav { display: flex; gap: 28px; font-size: 0.9375rem; }
.nav a { color: var(--grey); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.header-end { display: flex; align-items: center; gap: 20px; font-size: 0.9375rem; }
.lang { color: var(--grey); white-space: nowrap; }
.lang strong { color: var(--ink); font-weight: 600; }
.lang a { text-decoration: none; }
.lang a:hover { color: var(--ink); }
.menu-toggle {
  display: none;
  padding: 8px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--signal);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-big { padding: 16px 26px; font-size: 1rem; }
.text-link { font-weight: 600; text-decoration-thickness: 1.5px; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 112px);
}
.hero h1 {
  font-size: clamp(2.5rem, 4.9vw, 4.5rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero .lede {
  max-width: 36ch;
  margin-top: 28px;
  color: var(--grey);
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.hero-visual img { width: 100%; height: auto; }

.marquee {
  overflow: hidden;
  padding-block: 26px;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 56px; padding-right: 56px; }
.marquee li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
/* Logos are drawn in ink so the band reads as one line, whatever the brand colours. */
.marquee img { width: 26px; height: 26px; filter: brightness(0); }
@keyframes marquee {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; animation: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 20px; padding-inline: var(--gutter); }
  .marquee ul[aria-hidden] { display: none; }
}

.section { padding-block: clamp(72px, 9vw, 128px); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 { max-width: 16ch; font-size: clamp(2rem, 3.6vw, 3.25rem); }
.section-head p { justify-self: end; max-width: 46ch; color: var(--grey); }

.situations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.situations li { padding: clamp(24px, 3vw, 36px); background: var(--paper); }
.situations h3 { max-width: 22ch; margin-bottom: 12px; font-size: 1.375rem; }
.situations p { color: var(--grey); }

.services > li {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.2fr;
  gap: 32px;
  align-items: start;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
.services > li:last-child { border-bottom: 1px solid var(--line); }
.service-title { display: flex; align-items: center; gap: 14px; }
.services h3 { font-size: 1.5rem; }
.services p { color: var(--grey); }
.tools { display: flex; flex: none; gap: 6px; }
.tool {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.tool img { width: 20px; height: 20px; }
.chips { display: flex; flex-wrap: wrap; align-content: start; gap: 8px; }
.chip { padding: 5px 12px; border-radius: 999px; background: var(--chip); font-size: 0.875rem; line-height: 1.4; }

.dark { background: var(--ink); color: var(--paper); }
.dark .section-head p { color: #a9acb3; }

/* Sample account structure: real methodology, never client data. */
.structure { width: 100%; border-collapse: collapse; text-align: left; }
.structure thead th {
  padding: 0 24px 14px 0;
  border-bottom: 1px solid #3a3d44;
  color: #8e9198;
  font-size: 0.875rem;
  font-weight: 500;
}
.structure tbody th,
.structure td {
  padding: 28px 24px 28px 0;
  border-bottom: 1px solid #2c2f36;
  vertical-align: top;
}
.structure tbody th { width: 20%; font-weight: 400; }
.structure td { color: #c9cbd0; font-size: 0.9375rem; line-height: 1.5; }
.structure td:nth-child(2) { color: var(--paper); font-family: var(--display); font-size: 1.125rem; line-height: 1.35; }
.stage { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.heat { display: flex; gap: 4px; margin: 14px 0 8px; }
.heat i { width: 22px; height: 6px; border-radius: 3px; background: #3a3d44; }
.heat i.on { background: var(--signal); }
.temp { color: #8e9198; font-size: 0.8125rem; }
.account-note { margin-top: 24px; color: #a9acb3; font-size: 0.9375rem; }

.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.offer {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.offer-start { border-color: var(--signal); background: var(--signal); }
.offer h3 { font-size: 1.375rem; }
.offer .when { margin-top: 6px; color: var(--grey); font-size: 0.9375rem; }
.offer-start .when { color: var(--ink); }
.offer ul { flex: 1; margin-top: 20px; }
.offer li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 0.9375rem; line-height: 1.45; }
.offer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--signal);
}
.offer-start li::before { background: var(--ink); }
.offer .price { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; }
.offer-start .price { border-color: rgba(21, 23, 28, 0.25); }
.offer .btn {
  display: block;
  margin-top: 14px;
  border: 1.5px solid var(--ink);
  background: transparent;
  text-align: center;
}
.offer .btn:hover, .offer-start .btn { background: var(--ink); color: var(--paper); }
.offer-start .btn:hover { border-color: var(--white); background: var(--white); color: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { padding-top: 20px; border-top: 2px solid var(--ink); }
.steps .when {
  display: block;
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: clamp(1.625rem, 2.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.steps h3 { margin-bottom: 8px; font-size: 1.25rem; }
.steps p { color: var(--grey); font-size: 1rem; }

.team {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--chip); }
.team figcaption { margin-top: 10px; font-size: 0.875rem; }
.team h2 { max-width: 18ch; margin-bottom: 24px; font-size: clamp(2rem, 3.6vw, 3.25rem); }
.team .lede { max-width: 48ch; font-size: 1.1875rem; }
.commitments { margin-top: 40px; }
.commitments li {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.commitments strong { font-family: var(--display); font-weight: 600; }
.commitments span { color: var(--grey); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 88px); }
.split h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.split .side p { max-width: 34ch; margin-top: 20px; color: var(--grey); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 62ch; padding-bottom: 24px; color: var(--grey); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

.contact { background: var(--signal); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact h2 { max-width: 12ch; font-size: clamp(2.5rem, 5.4vw, 5rem); line-height: 0.98; letter-spacing: -0.035em; }
.contact .lede { max-width: 38ch; margin-top: 24px; font-size: 1.1875rem; }
.contact-meta { margin-top: 32px; font-size: 0.9375rem; }
.contact-meta p { margin-bottom: 4px; }

.form {
  position: relative;
  padding: clamp(24px, 3.2vw, 44px);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 30px 60px -40px rgba(21, 23, 28, 0.5);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-badge {
  position: absolute;
  top: -16px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8125rem;
  font-weight: 600;
}
.form-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }

/* Floating labels: the label sits inside the field and moves up once it's focused or filled. */
.float { position: relative; }
.float-full { grid-column: 1 / -1; }
.float input, .float select, .float textarea {
  width: 100%;
  height: 58px;
  padding: 24px 16px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.3;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.float textarea { height: auto; min-height: 124px; padding-top: 28px; resize: vertical; }
.float select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2315171c' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
.float label {
  position: absolute;
  top: 19px;
  left: 17px;
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.2;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.15s, color 0.15s;
}
.float input:focus + label,
.float input:not(:placeholder-shown) + label,
.float textarea:focus + label,
.float textarea:not(:placeholder-shown) + label,
.float select + label { transform: translateY(-11px) scale(0.78); }
.float :focus + label { color: var(--ink); }
.float input:focus, .float select:focus, .float textarea:focus {
  outline: none;
  border-color: var(--ink);
  background-color: var(--white);
  box-shadow: 0 0 0 3px var(--signal-soft);
}
.float .is-invalid { border-color: var(--signal); background-color: #fff6f2; }

/* Honeypot field: hidden from people, filled in by spam bots. */
.hp { position: absolute; left: -9999px; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 22px; }
.form-submit { background: var(--signal); color: var(--ink); }
.form-submit:hover { background: var(--ink); color: var(--paper); }
.form-submit:disabled { opacity: 0.7; cursor: progress; }
.form-note { max-width: 32ch; margin: 0; color: var(--grey); font-size: 0.8125rem; }
.form-status {
  display: inline-block;
  margin: 18px 0 0;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--paper);
  font-size: 0.9375rem;
  font-weight: 600;
}
.form-status:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  .float input, .float select, .float textarea, .float label { transition: none; }
}

/* Rules drawn as backgrounds so they stop at the content edge, not the wrap's padding. */
.page-head {
  padding-top: clamp(48px, 7vw, 104px);
  padding-bottom: clamp(32px, 4vw, 56px);
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 100% / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.page-head h1 { max-width: 18ch; font-size: clamp(2.5rem, 4.9vw, 4.5rem); line-height: 0.98; letter-spacing: -0.035em; }
.page-head p { margin-top: 20px; color: var(--grey); }

.legal { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: 0.9375rem; }
.toc p { margin-bottom: 12px; font-weight: 600; }
.toc li { padding-block: 6px; border-top: 1px solid var(--line); }
.toc a { color: var(--grey); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.prose { max-width: 68ch; }
.prose h2 { margin: 48px 0 14px; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin-bottom: 1em; }
.prose li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--signal);
}
.facts { margin: 0 0 1em; }
.facts div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; padding-block: 10px; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--grey); }
.facts dd { margin: 0; }

.not-found { min-height: 60vh; display: grid; align-content: center; gap: 24px; padding-block: 96px; }
.not-found h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.035em; }
.not-found p { max-width: 46ch; color: var(--grey); }
.not-found .hero-actions { margin-top: 8px; }

.site-footer { background: var(--ink); color: #c9cbd0; font-size: 0.9375rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-block: 64px 48px;
}
.footer-grid .brand { display: inline-block; margin: 0 0 14px; color: var(--paper); font-size: 1.5rem; }
.footer-grid p { max-width: 32ch; }
.footer-head { margin-bottom: 8px; color: #8e9198; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 24px 32px;
  background: linear-gradient(#2c2f36, #2c2f36) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  color: #8e9198;
  font-size: 0.8125rem;
}
.footer-legal p { margin: 0; }

@media (max-width: 1080px) {
  .offers { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .structure thead { display: none; }
  .structure, .structure tbody, .structure tr, .structure tbody th, .structure td { display: block; width: auto; }
  .structure tr { padding-block: 24px; border-bottom: 1px solid #2c2f36; }
  .structure tbody th, .structure td { padding: 0; border: 0; }
  .structure tbody th { margin-bottom: 16px; }
  .structure td + td { margin-top: 12px; }
  .structure td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: #8e9198; font-family: var(--text); font-size: 0.8125rem; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    font-size: 1.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding-block: 12px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .hero, .section-head, .team, .split, .contact-grid, .legal { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .services > li { grid-template-columns: 1fr; gap: 14px; }
  .team figure, .hero-visual { max-width: 460px; }
  .toc { position: static; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero-visual { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .header-inner { gap: 14px; }
  .header-end { gap: 12px; }
  .header-end .btn { display: none; }
  .situations, .offers, .steps, .footer-grid { grid-template-columns: 1fr; }
  .marquee li { font-size: 1.0625rem; }
  .marquee ul { gap: 40px; padding-right: 40px; }
  .commitments li, .facts div { grid-template-columns: 1fr; gap: 2px; }
}
