/* VisibilityDone — shared styles for every language version
   Colour and type follow the Omnia brand guidelines (Color Palette, Typography).
   Text is always #212121; palette colours are used as backgrounds. */

/* Questrial (SIL Open Font License), served from this site so no visitor data goes to Google */
@font-face {
  font-family: "Questrial"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/questrial-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Questrial"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/questrial-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Palette */
  --pink: #ff9ecf;
  --blue: #79cae7;
  --yellow: #fff67c;
  --orange: #fbaa47;
  --beige: #f5f3ee;
  /* Greyscale */
  --ink: #212121;
  --ink-2: #3b3b3b;
  --line: #e7e7e7;
  --grey: #f3f3f6;
  --white: #ffffff;

  /* OT Sono is the brand font; Questrial is the only approved fallback */
  --font: "OT Sono", "Questrial", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(33,33,33,.06), 0 12px 32px -12px rgba(33,33,33,.18);

  /* Grain texture laid over colour panels */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type scale (16px base, 1.25 ratio) */
.display { font-size: clamp(40px, 5.6vw, 61px); line-height: 1.05; letter-spacing: -.02em; }
.h2 { font-size: clamp(32px, 4vw, 49px); line-height: 1.08; letter-spacing: -.02em; }
.label { font-size: 12.5px; line-height: 1.4; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }

/* Grain panels */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background-image: var(--grain); opacity: .16; mix-blend-mode: multiply; pointer-events: none;
}
.bg-pink { background-color: var(--pink); }
.bg-blue { background-color: var(--blue); }
.bg-yellow { background-color: var(--yellow); }
.bg-orange { background-color: var(--orange); }
.bg-white { background-color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--r-sm);
  background: var(--pink); color: var(--ink);
  font: 500 16px/1.4 var(--font); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  box-shadow: inset 0 -2px 0 rgba(33,33,33,.12);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 -2px 0 rgba(33,33,33,.12), 0 6px 16px -6px rgba(33,33,33,.35); }
.btn:active { transform: none; }
.btn.ghost { background: var(--white); border-color: var(--line); }
.btn.yellow { background: var(--yellow); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Floating header ---------- */
.site-header { position: sticky; top: 12px; z-index: 30; padding: 0 var(--gutter); margin-top: 12px; }
.site-header .bar {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  height: 60px; padding: 0 10px 0 18px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-radius: var(--r-md); box-shadow: var(--shadow);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font: 400 20px/1 "Questrial", var(--font); text-decoration: none; }
.logo .mark { width: 28px; height: 28px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a:not(.btn) { text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.lang { display: inline-flex; padding: 3px; background: var(--grey); border-radius: 10px; font-size: 13px; }
.lang a, .lang span { padding: 4px 9px; border-radius: 8px; text-decoration: none; }
.lang [aria-current="true"] { background: var(--white); box-shadow: 0 1px 2px rgba(33,33,33,.12); }

/* ---------- Hero ---------- */
.hero { padding: 16px var(--gutter) 0; margin-top: -72px; }
.hero-panel {
  max-width: 1360px; margin: 0 auto; border-radius: var(--r-lg);
  padding: 156px 0 140px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -.025em; max-width: 13ch; }
.hero h1 .hl { background: var(--yellow); padding: 0 .12em; border-radius: 10px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .lead { margin-top: 24px; color: var(--ink); font-size: 20px; max-width: 34ch; }
.hero .lead-sep { display: block; width: 48px; height: 2px; margin: 14px 0; border-radius: 2px; background: var(--ink); opacity: .35; }
.hero .sub { margin-top: 12px; color: var(--ink-2); max-width: 48ch; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .contact { margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.hero .contact a { color: var(--ink); }

/* Scene: illustration + answer cards */
.scene { position: relative; min-height: 520px; }
.scene .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene .art .float { animation: bob 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.scene .art .float.d2 { animation-delay: -2s; }
.scene .art .float.d3 { animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.acard {
  position: absolute; width: min(320px, 78%);
  background: var(--white); border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow); font-size: 14px; line-height: 1.5;
  opacity: 0; animation: pop .6s cubic-bezier(.2,.9,.3,1.2) forwards;
}
.acard .src { display: flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .02em; color: var(--ink-2); margin-bottom: 6px; }
.acard .chip { width: 18px; height: 18px; border-radius: 6px; flex: none; }
.acard .url { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.acard mark { background: var(--pink); color: var(--ink); padding: 0 4px; border-radius: 4px; }
.acard.q { top: 2%; left: 4%; transform: rotate(-3deg); }
.acard.q b { display: block; font-size: 18px; font-weight: 500; margin-top: 2px; }
.acard.a1 { top: 26%; right: 0; transform: rotate(2deg); animation-delay: .2s; }
.acard.a2 { top: 52%; left: 0; transform: rotate(-1.5deg); animation-delay: .4s; }
.acard.a3 { bottom: 2%; right: 6%; transform: rotate(1.5deg); animation-delay: .6s; }
@keyframes pop { from { opacity: 0; translate: 0 16px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }

/* Overlapping trust card, as on clay.com */
.trust { position: relative; z-index: 2; margin-top: -72px; }
.trust .card {
  background: var(--white); border-radius: var(--r-lg); padding: 36px 40px;
  box-shadow: var(--shadow); text-align: center;
}
.trust p { font-size: 20px; }
.engines { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.engines span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; background: var(--beige); font-size: 15px;
}
.engines img { width: 20px; height: 20px; flex: none; }

/* Founder contact with photo */
.founder { margin-top: 24px; display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.founder img {
  width: 56px; height: 56px; flex: none; border-radius: 16px; object-fit: cover;
  border: 3px solid var(--white); box-shadow: var(--shadow);
}
.founder a { color: var(--ink); }
.reach { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 2px; }
.reach .wa {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 8px;
  border-radius: 999px; background: var(--white); text-decoration: none; font-weight: 500;
}
.reach .wa img { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-head { max-width: 760px; }
.section-head .label { margin-bottom: 14px; }
.section-head .lead { margin-top: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lead { margin-left: auto; margin-right: auto; }
/* Proof */
.proof-panel { border-radius: var(--r-lg); padding: 56px; }
.proof-head .h2 { max-width: 16ch; }

/* Share-of-voice chart: lines stretch to the box, labels are HTML so they stay legible */
.chart { margin: 32px 0 0; background: var(--white); border-radius: var(--r-md); padding: 28px 28px 24px; box-shadow: var(--shadow); }
.chart-title { font-size: 18px; margin-bottom: 28px; }
.plot { position: relative; height: 340px; margin: 0 8px 36px 44px; border-bottom: 1.5px solid var(--line); }
.plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plot .grid line { stroke: var(--line); stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.plot .sov { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.plot .sov.mine { stroke-width: 4; }
.plot .yl { position: absolute; right: calc(100% + 12px); transform: translateY(-50%); font-size: 13px; color: var(--ink-2); }
.plot .xl { position: absolute; top: calc(100% + 10px); transform: translateX(-50%); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.plot .xl.x-first { transform: none; }
.plot .xl.x-last { transform: translateX(-100%); }
.sov-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 15px; }
.sov-legend span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.sov-legend i { width: 16px; height: 16px; border-radius: 5px; }
.sov-legend .mine { color: var(--ink); font-weight: 500; }

/* Why us */
.why-panel { border-radius: var(--r-lg); padding: 56px; display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; }
.why-panel .h2 { margin-top: 4px; }
.why-panel .lead { margin-top: 18px; color: var(--ink); }
.founder-card { background: var(--white); border-radius: var(--r-md); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); }
.founder-card img { width: 160px; height: 160px; margin: 0 auto; border-radius: 28px; object-fit: cover; }
.founder-card .name { margin-top: 18px; font-size: 20px; font-weight: 500; }
.founder-card .role { margin-top: 2px; color: var(--ink-2); font-size: 15px; }
.why-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.why-points li { background: var(--white); border-radius: var(--r-md); padding: 18px; }
.why-points b { display: block; font-weight: 500; font-size: 16px; line-height: 1.35; }
.why-points span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* Work */
.tasks { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.task {
  background: var(--white); border-radius: var(--r-md); padding: 28px;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.task:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.task .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.task .ic svg { width: 24px; height: 24px; }
.task:nth-child(5n+1) .ic { background: var(--pink); }
.task:nth-child(5n+2) .ic { background: var(--blue); }
.task:nth-child(5n+3) .ic { background: var(--yellow); }
.task:nth-child(5n+4) .ic { background: var(--orange); }
.task:nth-child(5n+5) .ic { background: var(--beige); }
.task h3 { margin: 20px 0 6px; font-size: 20px; line-height: 1.35; }
.task p { color: var(--ink-2); font-size: 15px; }
.plus { margin-top: 24px; text-align: center; color: var(--ink-2); }

/* Price */
.price-panel { border-radius: var(--r-lg); padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; overflow: hidden; }
.price .amount { font-size: clamp(72px, 10vw, 128px); line-height: .95; font-weight: 500; letter-spacing: -.03em; margin-top: 12px; }
.price .per { margin-top: 12px; font-size: 25px; line-height: 1.25; font-weight: 500; }
.price .terms { margin-top: 18px; max-width: 42ch; }
.price .contact { margin-top: 24px; font-size: 15px; }
.includes { background: var(--white); border-radius: var(--r-md); padding: 32px; box-shadow: var(--shadow); }
.includes ul { list-style: none; margin: 14px 0 0; padding: 0; }
.includes li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.includes li b {
  min-width: 36px; height: 28px; padding: 0 8px; border-radius: 8px;
  display: inline-grid; place-items: center; background: var(--yellow); font-weight: 500; font-size: 14px;
}
.includes .compare { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.includes .btn { margin-top: 22px; width: 100%; justify-content: center; }

/* Start */
.madlib { margin-top: 48px; border-radius: var(--r-lg); padding: 48px; }
.madlib .sentence { font-size: clamp(24px, 3vw, 39px); line-height: 1.6; letter-spacing: -.015em; font-weight: 500; }
.madlib input {
  font: inherit; color: var(--ink); background: var(--white);
  border: 0; border-radius: 12px; outline: none;
  padding: 0 14px; margin: 4px 0; width: 12ch; max-width: 100%;
  box-shadow: inset 0 -3px 0 var(--pink);
}
.madlib input::placeholder { color: #8a8a8a; }
.madlib input:focus { box-shadow: inset 0 -3px 0 var(--ink), 0 0 0 3px rgba(33,33,33,.12); }
.madlib .nw { white-space: nowrap; }
.madlib .row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 48px; }
.madlib .send { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.madlib .hint { color: var(--ink-2); font-size: 14px; }
.madlib .wa-founder { margin-top: 0; font-size: 15px; }
.wa-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--ink); font-weight: 500; }
.wa-link img { width: 18px; height: 18px; flex: none; }
.timeline { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.timeline > div { background: var(--white); border-radius: var(--r-md); padding: 28px; border: 1px solid var(--line); }
.timeline .when { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; letter-spacing: .02em; }
.timeline > div:nth-child(1) .when { background: var(--pink); }
.timeline > div:nth-child(2) .when { background: var(--blue); }
.timeline > div:nth-child(3) .when { background: var(--orange); }
.timeline h3 { margin: 14px 0 6px; font-size: 25px; line-height: 1.25; }
.timeline p { color: var(--ink-2); }

/* FAQ */
.faq-list { max-width: 820px; margin: 48px auto 0; display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-size: 18px; font-weight: 500; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 9px; background: var(--pink);
  display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "–"; background: var(--yellow); }
.faq-item p { padding: 0 24px 22px; color: var(--ink-2); max-width: 65ch; }

/* Keyboard focus */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px;
}
.btn:focus-visible { border-radius: var(--r-sm); }

/* ---------- Footer ---------- */
.site-footer { padding: 0 var(--gutter) 24px; }
.site-footer .inner {
  max-width: var(--wrap); margin: 0 auto; background: var(--white); border-radius: var(--r-lg);
  padding: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; font-size: 15px;
}
.site-footer .links { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.site-footer .copy { width: 100%; color: var(--ink-2); font-size: 14px; padding-top: 16px; border-top: 1px solid var(--line); }

/* Simple content pages (privacy) */
.page { padding: 120px 0; }
.legal { margin-top: 24px; display: grid; gap: 16px; }
.legal b { font-weight: 500; }
.legal .updated { font-size: 14px; color: var(--ink-2); }
.page .card { max-width: 760px; background: var(--white); border-radius: var(--r-lg); padding: 48px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .price-panel, .why-panel { grid-template-columns: 1fr; }
  .founder-card { max-width: 320px; }
  .scene { min-height: 480px; }
  .tasks, .timeline { grid-template-columns: 1fr 1fr; }
  .section { padding: 88px 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --r-lg: 24px; }
  .nav .hide-sm { display: none; }
  .nav { gap: 10px; }
  .site-header .bar { padding: 0 8px 0 12px; }
  .logo span { display: none; }
  .hero { padding: 8px 8px 0; }
  .hero-panel { padding: 120px 0 112px; border-radius: 24px; }
  .scene { min-height: 440px; }
  .acard { width: 86%; }
  .tasks, .timeline { grid-template-columns: 1fr; }
  .chart { padding: 20px 14px 16px; }
  .chart-title { font-size: 16px; margin-bottom: 20px; }
  .plot { height: 220px; margin: 0 4px 30px 30px; }
  .plot .yl, .plot .xl { font-size: 11px; }
  .plot .yl { right: calc(100% + 6px); }
  .plot .xl.x-minor { display: none; }
  .sov-legend { font-size: 13px; gap: 8px 14px; }
  .trust .card, .proof-panel, .price-panel, .why-panel, .madlib, .includes, .page .card { padding: 24px; }
  .why-panel { gap: 28px; }
  .why-points { grid-template-columns: 1fr; }
  .trust p { font-size: 18px; }
  .site-footer .inner { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .acard { animation: none; opacity: 1; }
  .scene .art .float { animation: none; }
  html { scroll-behavior: auto; }
}
