/* Pink Works — shared styles
   Palette from the business card: card paper + pink accent, soft ink instead of black. */

/* DM Sans, self-hosted (SIL Open Font License, see assets/fonts/OFL.txt) */
@font-face {
  font-family: "DM Sans";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/DMSans-Regular.woff") format("woff");
}
@font-face {
  font-family: "DM Sans";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/DMSans-Medium.woff") format("woff");
}
@font-face {
  font-family: "DM Sans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/DMSans-Bold.woff") format("woff");
}

:root {
  --paper: #F1EDE6;      /* Cream: primary background */
  --white: #FFFFFF;      /* Secondary / alternate background */
  --ink: #17191C;        /* Ink: primary text */
  --gray: #6B6E70;       /* Secondary text: captions, labels */
  --line: #D9D2C5;       /* dividers */
  --pink: #F10963;       /* Pink: CTAs, links, highlights */

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1.125rem;
  --step-1: 1.5rem;
  --step-2: 1.875rem;
  --display: clamp(3rem, 6.6vw, 5.5rem);   /* desktop: 48px to 88px */

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 3px; }

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

.skip {
  position: absolute; left: var(--gutter); top: -4rem;
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 1rem; z-index: 10; border-radius: 4px;
}
.skip:focus { top: 0.75rem; }

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

/* ---------- Header ---------- */

.site-header { padding-block: 1.5rem; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

.wordmark { display: inline-block; line-height: 0; }
.wordmark img { width: 20rem; height: auto; }
@media (max-width: 52rem) { .wordmark img { width: 15.3rem; } }

.nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-size: var(--step--1); font-weight: 500; letter-spacing: 0.01em; }
.nav a { text-decoration: none; padding-block: 0.25rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--pink); }

/* ---------- Display type ---------- */

.display {
  margin: 0;
  font-weight: 700;
  font-size: var(--display);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.display > span { display: block; }
.display .x { color: var(--pink); }

/* One orchestrated moment: the two headline lines rise into place on load. */
@media (prefers-reduced-motion: no-preference) {
  .display > span { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) both; }
  .display > span:nth-child(2) { animation-delay: 0.14s; }
  @keyframes rise { from { opacity: 0; transform: translateY(0.35em); } to { opacity: 1; transform: none; } }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(3rem, 9vw, 7rem) clamp(3rem, 8vw, 6rem); }
.hero .lede { max-width: 38rem; margin: clamp(1.75rem, 4vw, 2.75rem) 0 0; font-size: var(--step-1); line-height: 1.5; }
.hero .sub { max-width: 38rem; margin: 1rem 0 0; }

.actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.5rem; align-items: center; margin-top: 2.25rem; }

.btn {
  display: inline-block;
  background: var(--pink); color: var(--white);
  font-weight: 700; font-size: 1.2rem; text-decoration: none;
  padding: 0.8rem 1.75rem; border-radius: 999px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--ink); }
.btn:active { transform: translateY(1px); }

.textlink { font-weight: 700; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section h2 { margin: 0 0 clamp(1.75rem, 4vw, 3rem); font-size: var(--step-2); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; max-width: 28rem; }

.offer { display: grid; gap: clamp(1.75rem, 4vw, 3rem); grid-template-columns: repeat(3, 1fr); }
.offer > div { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.offer h3 { margin: 0 0 0.5rem; font-size: var(--step-1); font-weight: 700; line-height: 1.25; }
.offer p { margin: 0; max-width: 22rem; }

.panel { background: var(--white); border-radius: 18px; padding: clamp(1.75rem, 5vw, 3.5rem); }
.panel h2 { margin-bottom: 0.75rem; }
.panel p { margin: 0; max-width: 34rem; }
.panel .actions { margin-top: 1.75rem; }

.contact p { margin: 0 0 0.35rem; }
.contact .role { color: var(--gray); }
.contact .mail { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.01em; word-break: break-word; }

/* ---------- EICMA page ---------- */

.video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: var(--white); border-radius: 18px; overflow: hidden;
  display: grid; place-items: center; text-align: center;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button {
  appearance: none; border: 0; cursor: pointer; font: inherit;
  display: grid; place-items: center; gap: 0.9rem; width: 100%; height: 100%;
  background: transparent; color: var(--ink); font-weight: 600;
}
.video .play {
  width: 4.5rem; height: 4.5rem; border-radius: 50%;
  background: var(--ink); display: grid; place-items: center;
  transition: background-color 0.15s ease;
}
.video button:hover .play { background: var(--pink); }
.video .play svg { width: 1.6rem; height: 1.6rem; margin-left: 0.2rem; fill: var(--paper); }
.video .soon { padding: 1.5rem; color: var(--gray); }
.video-note { margin: 0.9rem 0 0; font-size: var(--step--1); color: var(--gray); }

.specs { margin: 0; display: grid; border-top: 2px solid var(--ink); }
.specs > div { display: grid; grid-template-columns: minmax(8rem, 14rem) 1fr; gap: 0.5rem 2rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; max-width: 40rem; }

/* Placeholder marker: delete the class (or the whole rule) once real content is in. */
.todo { background: rgba(241, 9, 99, 0.12); border-bottom: 2px dotted var(--pink); padding-inline: 0.15em; }

/* ---------- Content sections (landing page) ---------- */

.eyebrow { margin: 0 0 0.9rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
.h-big { margin: 0; font-size: clamp(1.75rem, 4.2vw, 2.9rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; max-width: 36rem; }
.section h2.h-big { max-width: 36rem; margin-bottom: 0; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.prose p { margin: 0 0 1.1rem; max-width: 38rem; }
.prose p:last-child { margin-bottom: 0; }
.prose .strong { font-weight: 700; }
.prose .big { font-size: var(--step-1); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }

.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); margin-top: clamp(1.75rem, 4vw, 3rem); }
.two-up .panel { display: flex; flex-direction: column; }
.two-up .panel h3 { margin: 0 0 0.35rem; font-size: var(--step-1); font-weight: 700; line-height: 1.25; }
.two-up .panel .tagline { margin: 0 0 1rem; font-weight: 700; }
.two-up .panel .intro { margin: 0 0 1.25rem; max-width: none; }
.two-up .ticks { margin-bottom: 1.5rem; }
.two-up .goal { margin: auto 0 0; padding-top: 1rem; border-top: 2px solid var(--ink); font-weight: 700; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0.3rem 0 0.3rem 1.4rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 0.5rem; height: 0.5rem; background: var(--pink); border-radius: 1px; }

.steps { list-style: none; margin: clamp(1.75rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.steps li { border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps .num { display: block; font-size: var(--step-1); font-weight: 700; color: var(--pink); line-height: 1; margin-bottom: 0.6rem; }
.steps h3 { margin: 0 0 0.4rem; font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.steps p { margin: 0; font-size: var(--step--1); line-height: 1.5; }

.pullquote { margin: clamp(2rem, 5vw, 3.5rem) 0 0; padding-left: 1.25rem; border-left: 4px solid var(--pink); font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; max-width: 40rem; }

.improve { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem); margin-top: clamp(1.75rem, 4vw, 3rem); }
.improve > div { border-top: 2px solid var(--ink); padding-top: 1rem; }
.improve h3 { margin: 0 0 0.4rem; font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.improve p { margin: 0; font-size: var(--step--1); line-height: 1.55; }

.band { background: var(--ink); color: var(--paper); }
.band .h-big { max-width: 40rem; }
.band .tools { margin: clamp(1.5rem, 4vw, 2.5rem) 0; font-size: clamp(1.5rem, 4.4vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.band p { margin: 0 0 1rem; max-width: 36rem; }
.band .rule { width: 3.5rem; height: 4px; background: var(--pink); margin-bottom: 1.25rem; }
.band a { text-decoration-color: var(--pink); }

.when { background: var(--white); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.when h3 { margin: 0 0 0.75rem; font-size: var(--step-1); font-weight: 700; line-height: 1.25; }
.when ul { list-style: none; margin: 0; padding: 0; }
.when li { padding: 0.8rem 0; border-top: 1px solid var(--line); font-weight: 500; }
.when li:first-child { border-top: 0; }

.not-list { margin: 1.25rem 0 1rem; padding: 0; list-style: none; }
.not-list li { padding: 0.15rem 0; }

.cta { text-align: left; }
.cta .lines p { margin: 0; }
.cta .lines { margin: 1.25rem 0 0; font-weight: 700; }
.cta .mail { display: inline-block; margin-top: 1.5rem; font-weight: 700; font-size: var(--step-1); }
.panel.cta p { max-width: 36rem; color: var(--ink); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2rem); margin-top: clamp(1.75rem, 4vw, 3rem); }
.facts > div { border-top: 2px solid var(--ink); padding-top: 1rem; }
.facts h3 { margin: 0 0 0.4rem; font-size: var(--step-1); font-weight: 700; }
.facts p { margin: 0; }

/* ---------- Footer ---------- */

.site-footer { padding-block: 2.5rem 3rem; margin-top: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--line); color: var(--gray); font-size: var(--step--1); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.site-footer .name { font-weight: 700; color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; align-items: flex-start; }
.site-footer nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-footer nav a:hover { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(4rem, 12vw, 9rem); }

/* ---------- Small screens ---------- */

@media (max-width: 64rem) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .improve { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 52rem) {
  .split, .two-up, .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .improve { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .specs > div { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ---------- Utilities ---------- */
.sr-only { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.section--flush { padding-top: 0; }

/* ---------- Small helpers for the content sections ---------- */
.prose--lead { margin-top: 1.5rem; }
.list-intro { margin: 1.25rem 0 0.5rem; }
.pullquote--inline { margin-top: 0.5rem; }
.after-quote { margin-top: 1.5rem; }
.cta-intro { margin-top: 1.25rem; }
.prose .after-quote { margin-top: 1.5rem; }
.panel .cta-intro { margin-top: 1.25rem; }
@media (max-width: 30rem) { .nav { gap: 0.4rem 1.1rem; font-size: 0.875rem; } }

.nav { align-items: center; }

/* Language switch: charcoal pill, cream text, glows pink while pressed */
.nav .lang {
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 999px;
  padding: 0.2rem 0.85rem; line-height: 1.4;
  transition: box-shadow 0.12s ease, transform 0.12s ease;
}
.nav .lang:hover { border-bottom-color: var(--ink); }
.nav .lang:active {
  box-shadow: 0 0 0 3px rgba(241, 9, 99, 0.45), 0 0 16px 5px rgba(241, 9, 99, 0.8);
  transform: scale(0.97);
}

/* Desktop: the menu sits on the horizontal centre line of the logo */
@media (min-width: 52.01rem) { .nav { padding-top: 3.2px; } }

/* Phones and small tablets: larger headline, allowed to wrap onto a third line */
@media (max-width: 52rem) { :root { --display: clamp(2.4rem, 10.5vw, 3.75rem); } }   /* 38px to 60px */

/* ---------- Language chooser (QR landing page) ---------- */
.display--md { font-size: clamp(2.2rem, 8.5vw, 4.5rem); }
.chooser-label { margin: 2.25rem 0 0.9rem; font-weight: 700; }
.choose { display: flex; flex-wrap: wrap; gap: 1rem; }
.choose .btn { min-width: 12.5rem; text-align: center; padding: 1.05rem 2rem; font-size: 1.3rem; }
@media (max-width: 30rem) { .choose .btn { flex: 1 1 100%; } }

/* ---------- Contact form ---------- */
.cta-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.75rem, 5vw, 4rem); align-items: start; }
.cta-grid .cta-text .h-big { max-width: 22rem; }
.cta-grid .cta-text .textlink { display: inline-block; margin-top: 1.5rem; }

.contact-form { display: grid; gap: 1.1rem; }
.contact-form .field { display: grid; gap: 0.4rem; }
.contact-form label { font-weight: 700; font-size: var(--step--1); }
.contact-form .opt { font-weight: 400; color: var(--gray); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.8rem 1rem; line-height: 1.4;
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-color: var(--ink); }
.contact-form .check { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; font-size: var(--step--1); line-height: 1.45; }
.contact-form .check input { margin-top: 0.2rem; width: 1.15rem; height: 1.15rem; accent-color: var(--pink); flex: none; }
.contact-form .btn { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.contact-form .btn:disabled { opacity: 0.6; cursor: progress; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: var(--step--1); font-weight: 500; }
.form-status.is-error { border-left: 4px solid var(--pink); padding-left: 0.8rem; color: var(--ink); }
.form-status.is-info { color: var(--ink); }
.form-success { margin: 0; padding: 1.25rem 1.4rem; border-left: 4px solid var(--pink); background: var(--paper); border-radius: 0 12px 12px 0; font-weight: 700; font-size: var(--step-0); line-height: 1.5; }
.form-noscript { font-weight: 500; }

@media (max-width: 52rem) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- Footer extras ---------- */
.site-footer p a { color: inherit; text-decoration-color: var(--pink); }

/* ---------- Privacy pages ---------- */
.legal { padding-block: clamp(2rem, 6vw, 4rem); }
.legal h1 { margin: 0 0 0.5rem; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.legal .updated { color: var(--gray); margin: 0 0 2rem; }
.legal h2 { margin: 2.25rem 0 0.6rem; font-size: var(--step-1); font-weight: 700; line-height: 1.25; }
.legal p, .legal li { max-width: 46rem; }
.legal p { margin: 0 0 1rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.25rem; }
.doc-table { border-collapse: collapse; width: 100%; min-width: 34rem; background: var(--white); border-radius: 12px; font-size: var(--step--1); line-height: 1.5; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.doc-table th { font-weight: 700; border-bottom: 2px solid var(--ink); }
.cta .lines p, .cta-text .h-big { text-wrap: balance; }

.form-status a { font-weight: 700; text-decoration-color: var(--pink); }

/* Tagline in the hero: the last word in pink with an underline (as on the LinkedIn banner) */
.hero .lede { font-weight: 500; }
.lede .mark { color: var(--pink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 0.28em; }


/* Narrower form: the text keeps the left, the form gets a fixed, shorter column on the right */
.cta-grid { grid-template-columns: 1fr minmax(0, 27rem); }
.contact-form { width: 100%; max-width: 27rem; }
@media (max-width: 52rem) { .cta-grid { grid-template-columns: 1fr; } .contact-form { max-width: 30rem; } }
