@font-face { font-family: Heebo; src: url("./assets/heebo.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Karantina; src: url("./assets/karantina.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --navy: #122959;
  --ink: #172840;
  --orange: #de4b14;
  --yellow: #ffb400;
  --body: Heebo, Arial, sans-serif;
  --display: Karantina, "Arial Narrow", Arial, sans-serif;
  --wrap: 1180px;
  color: var(--ink);
  background: #fff;
  font-family: var(--body);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, ol { margin: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
[hidden] { display: none !important; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
:focus-visible { outline: 3px solid #0077b9; outline-offset: 4px; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 20px; }
.wrap { width: min(91%, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; z-index: 20; background: white; padding: 12px 20px; }
.skip-link:focus { top: 5px; }

.topbar { position: relative; z-index: 3; background: #fff; }
.topbar-inner { display: flex; width: min(90%, 1200px); min-height: 72px; gap: clamp(18px, 4vw, 46px); margin: auto; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: clamp(23px, 2.55vw, 32px); font-weight: 900; line-height: 1; color: var(--navy); }
.brand img { flex: none; width: 48px; height: auto; }
nav { display: flex; gap: clamp(19px, 3.2vw, 42px); align-items: center; padding-inline-start: clamp(18px, 3vw, 34px); border-inline-start: 1px solid #b4cce3; color: #101f4b; font-weight: 800; }
nav a { white-space: nowrap; padding-block: 9px; }
nav a:hover { color: #0075b9; }
.topbar .button { margin-inline-start: auto; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8em; width: fit-content; min-height: 55px; border: 0; border-radius: 9px; padding: 10px 25px; color: #fff; background: linear-gradient(164deg,#f78b06 0%,#ef6505 50%,#dd3f06 100%); font-weight: 900; line-height: 1.2; box-shadow: inset 0 1px 0 #ffaf4e; transition: filter .2s, transform .2s; }
.button:hover { filter: brightness(1.06); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button svg { width: 1.1em; height: 1.1em; }
.button-small { min-height: 41px; padding: 9px 17px; font-size: 16px; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(115deg,#fff 40%,#eefaff 100%); }
.hero-blue { position: absolute; inset: 0; z-index: -1; clip-path: polygon(61% 0,100% 0,100% 100%,calc(43% - min(1.4vw, 18px)) 100%,45.16% 88%); background: linear-gradient(138deg,#30d8f7 12%,#06afe9 49%,#0182cb 49.15%,#0d52a1 92%); }
.hero-blue::before { content: ""; position: absolute; inset: 0; clip-path: polygon(100% 67%,100% 100%,69% 100%); background: #0a509a; }
.hero-blue::after, .hero-visual::after { position: absolute; background: linear-gradient(103deg,#2db7eb 36%,#1b85cf 72%,#0865b5); opacity: .78; }
.hero-blue::after { content: ""; inset: auto 0 0; height: 21%; clip-path: polygon(40% 49%,100% 8%,100% 100%,40% 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 44% 56%; direction: ltr; min-height: clamp(600px, 65vw, 755px); }
.hero-copy { direction: rtl; align-self: start; position: relative; z-index: 2; padding-top: clamp(48px, 6vw, 76px); padding-inline: 20px 4px; }
.eyebrow { display: inline-flex; gap: .55em; flex-wrap: wrap; align-items: center; color: #0b376b; background: linear-gradient(110deg,#eef9ff,#c4e6f9); padding: 7px 16px 6px; border-radius: 13px; font-size: clamp(13px,1.45vw,17px); font-weight: 800; }
.display { font-family: var(--display); font-weight: 700; line-height: .98; letter-spacing: -.015em; color: var(--orange); }
.display em { color: #ed7805; font-style: normal; }
.hero h1 { margin-top: 25px; font-size: clamp(52px, 6.25vw, 82px); }
.hero h1 em { display: inline-block; margin-top: 3px; background: linear-gradient(100deg,#ffae00,#ed650d); color: #ed7805; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { margin-top: 24px; max-width: 435px; font-size: clamp(17px, 1.85vw, 22px); line-height: 1.37; color: #263342; }
.hero-button { margin-top: 28px; font-size: clamp(20px, 2.2vw, 26px); }
.hero-note { margin-top: 11px; color: #3a4661; font-size: 15px; }
.hero-note span { margin-inline: 4px; }
.hero-visual { position: relative; min-width: 0; }
.art { --art-w: 724; --art-x: 0; aspect-ratio: var(--art-w) / 724; background: url("./assets/illustrations.png") no-repeat; background-size: calc(2172 / var(--art-w) * 100%) 100%; background-position: calc(var(--art-x) / (2172 - var(--art-w)) * 100%) 0; }
.art-hero { --art-w: 540; --art-x: 76; position: absolute; z-index: 3; width: clamp(158px, 20vw, 241px); left: -1%; bottom: 8%; filter: drop-shadow(0 11px 7px #034d8e64); pointer-events: none; }
.phone { position: absolute; z-index: 2; inset: 24px 9% 39px auto; width: clamp(285px, 29.5vw, 378px); border: 6px solid #e9f6ff; padding: 7px; border-radius: 54px; background: linear-gradient(145deg,#163967,#0a2b5d 65%,#174580); box-shadow: 11px 5px 0 #83c4f0, 19px 9px 0 #4b9ada, 20px 19px 28px #062e6680; transform: rotate(2deg) skew(-4deg,-6deg); }
.phone-side { position: absolute; left: calc(100% + 9px); width: 7px; height: 13%; top: 22%; border-radius: 10px; background: linear-gradient(90deg,#042e63,#0e6eaf 56%,#0b3e75); }
.phone-notch { position: absolute; z-index: 2; left: 50%; top: 5px; transform: translateX(-50%); width: 34%; height: 21px; border-radius: 0 0 17px 17px; background: #163966; }
.phone-notch::after { content: ""; position: absolute; width: 34%; height: 4px; background: #071c3e; border-radius: 4px; left: 32%; top: 9px; }
.phone-screen { position: relative; height: 100%; border-radius: 41px; overflow: hidden; display: flex; flex-direction: column; background: #e9f2f9; direction: rtl; container-type: inline-size; }
.chat-header { display: flex; gap: 9px; align-items: center; padding: 21px 12px 10px; color: white; background: linear-gradient(115deg,#027b6b,#005d54 80%); min-height: 69px; }
.chat-logo { display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; background: #09a64d; border-radius: 50%; }
.chat-logo svg { width: 32px; height: 32px; }
.chat-title { display: flex; flex-direction: column; text-align: left; font-size: 16px; line-height: 1.1; flex: 1; }
.chat-title small { color: #cdf9e8; margin-top: 3px; font-size: 10px; }
.chat-header-icon { flex: 0 0 14px; height: 15px; }
.chat-modes { display: flex; gap: 5px; padding: 8px 10px 5px; border-bottom: 1px solid #d6e5f1; background: #eaf4fc; }
.chat-modes button { min-height: 29px; border: 0; border-radius: 40px; background: #d6e8f6; color: #153b64; font-size: 12px; font-weight: 800; padding: 3px 12px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.chat-modes button[data-mode] { flex: 1; min-width: 0; min-height: 46px; padding: 4px 6px; font-size: clamp(14px, 6.5cqi, 18px); white-space: nowrap; }
.chat-modes button[aria-pressed=true] { background: #2d6398; color: #fff; }
.chat-modes button[data-mode=work][aria-pressed=true] { background: #007f62; }
.chat-modes button svg { width: 13px; height: 13px; }
.chat-modes .chat-replay { align-self: center; flex: none; padding: 4px 7px; }
.chat-log { flex: 1; min-height: 0; overflow: auto; padding: 8px 8px 9px; display: flex; flex-direction: column; align-items: stretch; gap: 6px; background: radial-gradient(ellipse at 100% 6%,#f7fbff,transparent 65%), linear-gradient(155deg,#d9eaf6,#eff6fc); scrollbar-width: thin; }
.chat-mode-label { align-self: flex-start; padding: 2px 10px; border-radius: 99px; background: #d4e8f7; color: #245584; font-size: clamp(10px,4.1cqi,14px); font-weight: 800; }
.chat-mode-label.work { color: #00664f; background: #c8f0df; }
.chat-line { display: flex; align-items: flex-end; gap: 4px; max-width: 96%; animation: message-in .29s ease both; }
.chat-line.sent { align-self: flex-start; }
.chat-line.received { align-self: flex-end; direction: ltr; }
.chat-line.received .message { direction: rtl; border-end-end-radius: 2px; }
.chat-line.sent .message { border-end-start-radius: 2px; background: #cbf6b9; }
.message { color: #12283b; background: #fff; border-radius: 10px; padding: 5px 8px 4px; font-size: clamp(10px,4.2cqi,14px); line-height: 1.25; box-shadow: 0 2px 5px #2b668721; overflow-wrap: anywhere; }
.sent .message { font-weight: 600; }
.chat-meta { display: inline-flex; gap: 1px; align-items: center; margin-inline-start: 5px; white-space: nowrap; color: #486171; font-size: clamp(8px, 2.9cqi, 10px); font-weight: 400; }
.chat-meta svg { width: 12px; height: 10px; color: #00815d; }
.chat-avatar { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #f7fcff; border: 1px solid #a8d7f1; flex: 0 0 22px; }
.chat-avatar::before { content: "⌣"; display: grid; place-items: center; width: 15px; height: 11px; border-radius: 5px; background: #0b376f; color: #fff; font: 900 12px/1 Arial, sans-serif; }
.chat-compose { display: flex; align-items: center; gap: 6px; padding: 5px 8px 8px; background: #e4eff8; }
.chat-input { display: flex; align-items: center; gap: 6px; padding: 6px 9px; background: white; border-radius: 99px; flex: 1; font-size: 12px; color: #4d677d; }
.chat-input svg { width: 17px; height: 17px; }
.chat-mic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: #00816d; }
.chat-mic svg { width: 18px; height: 18px; }
@keyframes message-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

.ribbon { margin-top: -38px; min-height: 143px; padding: 47px 3% 23px; position: relative; z-index: 1; text-align: center; color: white; background: linear-gradient(105deg,#164e92,#103874 57%,#113f81); clip-path: polygon(0 32px,30% 9px,100% 17px,100% 85%,0 100%); }
.ribbon p { font-size: clamp(43px, 6.3vw, 83px); color: #fff; }
.ribbon em { color: var(--yellow); }
.section-label { display: flex; align-items: center; gap: 18px; color: #0856a2; font-size: clamp(17px, 1.85vw, 22px); line-height: 1.1; font-weight: 900; }
.idea { position: relative; isolation: isolate; }
.idea::before { content: ""; position: absolute; inset: -24px 0 0; z-index: -1; background: linear-gradient(35deg,#04a5db,#96ddfa 53%,#e9faff 70%); clip-path: polygon(0 0,37% 0,39% 70%,31% 100%,0 100%); }
.idea-inner { display: grid; grid-template-columns: 64% 36%; align-items: stretch; min-height: 380px; }
.idea-copy { padding: 26px 0 28px 12px; position: relative; z-index: 1; }
.idea h2, .capabilities h2 { margin-top: 12px; font-size: clamp(43px, 5.05vw, 65px); }
.section-description { margin-top: 8px; font-size: clamp(16px,1.65vw,20px); color: #193958; line-height: 1.36; max-width: 560px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(7px, 2vw, 20px); margin-top: 25px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; position: relative; text-align: center; direction: rtl; padding: 11px 5px 10px; min-height: 125px; border-radius: 16px; background: linear-gradient(140deg,#f3faff,#e7f4fc); }
.tile svg { width: clamp(49px, 6.6vw, 76px); height: 68px; margin-bottom: 3px; }
.tile .tile-wa { color: #fff; }
.tile strong { font-size: clamp(14px, 1.65vw, 20px); font-weight: 900; line-height: 1.07; }
.tile-number { position: absolute; top: -8px; left: -3px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(#ffad10,#f58000); color: #fff; font-size: 16px; font-weight: 900; }
.idea-note { margin-top: 16px; padding-inline-start: 10px; border-inline-start: 4px solid #ff8b0b; color: #24374b; font-size: clamp(15px,1.65vw,19px); }
.idea-visual { display: grid; align-items: end; position: relative; }
.art-idea { --art-w: 783; --art-x: 679; width: 112%; justify-self: center; margin-bottom: 0; transform: translateX(-2%); }

.capabilities { position: relative; z-index: 1; background: linear-gradient(100deg,#f6fcff,#e7f6fc); clip-path: polygon(3% 0,100% 0,100% 89%,50% 100%,0 88%,0 20%); }
.capabilities-inner { display: grid; grid-template-columns: 42% 58%; align-items: center; direction: ltr; padding-block: 30px 45px; }
.capabilities-copy { direction: rtl; border-inline-start: 1px solid #9fc4e4; padding-inline-start: 24px; padding-inline-end: 9px; }
.capabilities h2 { font-size: clamp(38px,4.5vw,58px); }
.actions { display: flex; justify-content: space-evenly; gap: 5px; padding-inline: 15px 0; }
.action { text-align: center; direction: rtl; min-width: 0; width: 30%; color: #12284a; }
.action-illustration svg { width: min(100%, 147px); height: auto; margin: auto; }
.action strong { display: block; font-size: clamp(15px,1.85vw,21px); line-height: 1.08; font-weight: 900; }

.survey { position: relative; overflow: hidden; margin-top: -27px; background: linear-gradient(132deg,#18b4e4,#0079c1 37%,#079ed9 77%,#10509d 77.1%,#123a7d); }
.survey-inner { display: grid; grid-template-columns: 31% 69%; align-items: stretch; direction: ltr; padding: 44px 0 26px; }
.survey-copy { position: relative; direction: rtl; color: white; padding-inline-start: 16px; }
.survey .section-label { color: #fff; }
.survey h2 { margin-top: 13px; color: var(--yellow); font-size: clamp(54px,6.4vw,82px); line-height: .91; }
.art-survey { --art-w: 705; --art-x: 1464; position: absolute; width: min(74%, 231px); left: 12%; bottom: -35px; pointer-events: none; }
.survey-card { direction: rtl; background: #fff; color: var(--navy); border: 4px solid #f1f7fc; border-radius: 26px; box-shadow: 9px 9px 23px #0b3a6460; padding: clamp(17px, 2.7vw, 33px); min-height: 321px; position: relative; z-index: 1; }
.question-count { color: #184d82; font-size: 15px; font-weight: 700; }
.steps { margin: 8px 0 15px; position: relative; display: flex; justify-content: space-between; padding: 0; list-style: none; isolation: isolate; }
.steps::before { content: ""; position: absolute; z-index: -1; inset-inline: 4px; top: 50%; height: 2px; background: #d9dce4; }
.step { width: 12px; height: 12px; border-radius: 50%; background: #d9dce4; }
.step.is-done { background: #80c8ec; }
.step[aria-current=step] { background: #0089cd; box-shadow: 0 0 0 3px #d1effd; }
.survey-card h3 { font-size: clamp(22px, 2.45vw, 29px); font-weight: 900; line-height: 1.15; margin-bottom: 11px; }
#question-hint { margin: -4px 0 8px; color: #465973; font-size: 14px; }
#question-fields { display: grid; gap: 6px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 34px; border: 1px solid #c8d2df; border-radius: 10px; padding: 4px 10px; color: #162b50; font-weight: 600; line-height: 1.25; cursor: pointer; transition: background .15s, border-color .15s; }
.choice:hover { background: #f0f9ff; border-color: #85b7d4; }
.choice:has(:checked) { background: #e7f5ff; border-color: #2588bd; }
.choice input { flex: none; margin: 0; width: 17px; height: 17px; accent-color: #0075b4; }
.answer-text { width: 100%; min-width: 0; border-radius: 10px; border: 1px solid #aabdd0; padding: 9px 12px; color: var(--navy); background: #fff; }
textarea.answer-text { min-height: 106px; resize: vertical; }
.contact-label { font-weight: 700; color: #243b57; }
#survey-error { color: #ad2813; margin-top: 8px; font-size: 14px; font-weight: 700; }
.form-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 15px; }
.back { display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: var(--navy); background: white; min-height: 39px; border: 1px solid #aab6c6; border-radius: 9px; padding: 5px 13px; font-weight: 800; }
.back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.back:disabled { opacity: .42; cursor: default; }
.back:not(:disabled):hover { background: #eff8fd; }
.next:disabled { opacity: .65; cursor: wait; transform: none; }
.survey-done { min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.survey-done h3 { margin: 0; }
.success-check { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e3f8ef; color: #007957; }
.success-check svg { width: 27px; height: 27px; }
footer { background: #12295b; padding: 13px 5%; text-align: center; color: #fff; font-size: 14px; }

@media (min-width: 1350px) {
  .hero-blue { clip-path: polygon(59% 0,100% 0,100% 100%,calc(43% - min(1.4vw, 18px)) 100%,44.92% 88%); }
  .art-hero { left: 1%; }
}

@media (max-width: 950px) and (min-width: 751px) {
  .hero-copy { padding-top: 45px; }
  .hero h1 { font-size: clamp(48px,6.4vw,62px); }
  .desktop-break { display: none; }
  .phone { right: 4%; }
  .art-hero { left: -10%; bottom: 8%; width: 165px; }
  .survey-card { min-height: 340px; }
}

@media (max-width: 750px) {
  .wrap { width: min(90%, 540px); }
  .topbar-inner { min-height: 61px; flex-wrap: wrap; justify-content: space-between; column-gap: 10px; row-gap: 2px; padding-block: 8px; }
  .brand { font-size: 24px; gap: 7px; }
  .brand img { width: 36px; }
  .topbar .button { margin: 0; min-height: 37px; padding: 7px 11px; font-size: 13px; }
  nav { order: 3; justify-content: space-between; gap: 6px; flex-basis: 100%; border: 0; border-top: 1px solid #e0edf6; padding: 0; font-size: 13px; }
  nav a { padding: 5px 3px 0; }
  .hero-inner { display: block; min-height: 0; }
  .hero-blue { display: none; }
  .hero-copy { padding: 30px 0 0; }
  .hero h1 { margin-top: 18px; font-size: clamp(49px,10.7vw,75px); }
  .hero-description { margin-top: 15px; }
  .hero-button { margin-top: 18px; min-height: 47px; }
  .hero-note { margin-top: 7px; font-size: 13px; }
  .hero-visual { height: 510px; }
  .hero-visual::before { content: ""; position: absolute; inset: 0 -8vw; clip-path: polygon(100% 0,100% 100%,0 100%,0 28%); background: linear-gradient(138deg,#30d8f7,#06afe9 49%,#0182cb 49.15%,#0d52a1 92%); }
  .hero-visual::after { content: ""; inset: auto -8vw 0; height: 19%; clip-path: polygon(0 62%,100% 10%,100% 100%,0 100%); }
  .phone { inset: 23px 7% 31px auto; width: min(72%, 290px); border-width: 5px; padding: 5px; border-radius: 42px; box-shadow: 8px 4px 0 #83c4f0, 13px 7px 0 #4b9ada, 15px 15px 24px #062e6670; }
  .phone-screen { border-radius: 32px; }
  .phone-side { left: calc(100% + 6px); width: 5px; }
  .phone-notch { height: 17px; }
  .phone-notch::after { top: 6px; }
  .art-hero { width: clamp(100px,33vw,174px); bottom: 7%; left: -3%; }
  .ribbon { min-height: 101px; margin-top: -21px; padding: 29px 4% 19px; clip-path: polygon(0 16px,25% 4px,100% 10px,100% 91%,0 100%); }
  .ribbon p { font-size: clamp(34px, 7vw, 53px); }
  .idea-inner { display: flex; flex-direction: column; }
  .idea-copy { padding: 23px 0 6px; }
  .idea::before { inset: 0; clip-path: polygon(0 53%,100% 76%,100% 100%,0 100%); }
  .idea-visual { min-height: 0; padding-top: 8px; }
  .art-idea { width: min(96%, 320px); transform: none; }
  .idea h2, .capabilities h2 { font-size: clamp(38px,8.5vw,56px); }
  .tiles { margin-top: 18px; gap: 7px; }
  .tile { min-height: 98px; border-radius: 11px; padding: 9px 2px 7px; }
  .tile svg { height: 49px; }
  .tile-number { width: 24px; height: 24px; font-size: 12px; }
  .tile strong { font-size: clamp(12px,3.5vw,15px); }
  .idea-note { margin-top: 13px; }
  .capabilities { clip-path: polygon(0 0,100% 0,100% 93%,49% 100%,0 94%); }
  .capabilities-inner { display: block; padding-block: 22px 35px; }
  .capabilities-copy { border: 0; padding: 0; }
  .actions { padding: 0; margin-top: 13px; }
  .action strong { font-size: clamp(13px,3.5vw,18px); }
  .survey { margin-top: -17px; }
  .survey-inner { display: block; padding: 32px 0 22px; }
  .survey-copy { min-height: 151px; padding: 0; overflow: hidden; }
  .survey h2 { margin-top: 12px; font-size: clamp(47px, 10.8vw, 65px); }
  .art-survey { width: min(37%,170px); left: 3%; bottom: -8px; }
  .survey-card { padding: 16px; min-height: 300px; border-radius: 19px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 46px; }
  .hero-visual { height: 458px; }
  .phone { right: 4%; width: 75%; }
  .chat-header { gap: 6px; padding-inline: 8px; }
  .chat-modes { padding-inline: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* ---- survey additions (agreed questionnaire) ---- */
.survey-card h3.long { font-size: clamp(18px, 2vw, 23px); }
.choice { min-height: 48px; padding: 6px 12px; position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice:has(input:focus-visible) { outline: 3px solid #0077b9; outline-offset: 2px; }
.choice-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #aabdd0; border-radius: 7px; font-size: 14px; font-weight: 900; color: #184d82; background: #fff; transition: background .15s, color .15s, border-color .15s; }
.choice-text { flex: 1; }
.choice-arrow { flex: none; width: 16px; height: 16px; color: #6f8aa5; transition: transform .2s, color .15s; }
.choice:hover .choice-arrow { transform: translateX(-3px); color: #0075b4; }
.choice:has(:checked) { background: #0b66b0; border-color: #0b66b0; color: #fff; }
.choice:has(:checked) .choice-n { background: #fff; color: #0b66b0; border-color: #fff; }
.choice:has(:checked) .choice-arrow { color: #fff; }
.multi-check .choice-n::after { content: ""; }
#question-fields.is-scale { grid-template-columns: repeat(5, 1fr); gap: 8px; }
#question-fields.is-scale > * { grid-column: auto; }
.scale-choice { justify-content: center; min-height: 64px; padding: 6px; font-size: 24px; font-weight: 900; }
.scale-caption { grid-column: 1 / -1; display: flex; justify-content: space-between; color: #465973; font-size: 14px; margin-top: 2px; }
#oth:empty { display: none; }
.reaction { min-height: 20px; margin: 0 0 6px; color: #00664f; font-weight: 800; font-size: 15px; }
.survey-note { margin-top: 12px; color: #5b6c82; font-size: 13px; }
.survey-card .next[hidden] { display: none; }
.contact-form { display: grid; gap: 8px; width: min(100%, 430px); text-align: start; }
.contact-form h4 { margin: 0; font-size: 22px; font-weight: 900; color: var(--navy); }
.contact-sub { color: #465973; font-size: 14px; }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: #243b57; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: #0075b4; }
.form-error { color: #ad2813; font-size: 14px; font-weight: 700; }
.hp-field { position: absolute; inset-inline-start: -9999px; opacity: 0; width: 0; height: 0; }
.answer-text { min-height: 46px; }
footer small { opacity: .8; font-size: 12px; }
@media (max-width: 750px) {
  .choice { min-height: 50px; }
  .scale-choice { min-height: 58px; font-size: 22px; }
}
.scale-choice .choice-text { flex: none; text-align: center; }
#question-fields .scale-caption { grid-column: 1 / -1; }
#question-fields .scale-caption span { white-space: nowrap; }

/* idea section: myths, lead and support line */
.myths { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; max-width: 640px; }
.myths li { display: grid; gap: 3px; padding: 11px 15px 12px; border-radius: 14px; background: linear-gradient(140deg,#f6fbff,#e9f5fc); border-inline-start: 4px solid #ff8b0b; }
.myths strong { font-size: clamp(16px,1.7vw,19px); font-weight: 900; color: #0b376b; line-height: 1.2; }
.myths span { font-size: clamp(14.5px,1.5vw,17px); color: #263342; line-height: 1.38; }
.idea-lead { margin-top: 18px; max-width: 640px; font-size: clamp(16px,1.7vw,19px); font-weight: 700; color: #0b376b; line-height: 1.4; }
.idea-support { margin-top: 14px; max-width: 640px; font-size: clamp(14.5px,1.5vw,17px); color: #193958; line-height: 1.38; }
@media (max-width: 760px) { .idea::before { clip-path: polygon(0 80%,100% 90%,100% 100%,0 100%); } }

/* typography pass (2026-11-17) */
.section-label { gap: 0; font-size: clamp(15px, 1.5vw, 18px); letter-spacing: .02em; }
.section-label span:empty, .section-label:has(span:empty) { display: none; }
h1, h2, h3, .display { text-wrap: balance; }
p, li, .tile strong, .action strong, .myths span, .idea-lead { text-wrap: pretty; }
.tile strong, .action strong, .ribbon .display { text-wrap: balance; }
/* emphasis inside running text: colour and weight, never italic */
em { font-style: normal; font-weight: 900; color: var(--orange); }
.ribbon em { color: var(--yellow); }
.hero-description em, .section-description em { font-weight: 900; color: var(--navy); background: linear-gradient(transparent 62%, #ffe08a 62%); padding-inline: 2px; }
.hero-description { font-size: clamp(18px, 1.95vw, 23px); line-height: 1.5; max-width: 470px; color: #1f2d44; }
.hero-note { font-size: 15px; letter-spacing: .01em; }
.section-description { font-size: clamp(17px, 1.75vw, 21px); line-height: 1.5; color: #193958; }
.idea h2 { margin-top: 0; }
.myths { gap: 12px; margin-top: 20px; }
.myths li { gap: 5px; padding: 14px 18px 15px; }
.myths strong { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.2; letter-spacing: -.005em; }
.myths span { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.55; color: #22344d; }
.idea-lead { margin-top: 22px; font-size: clamp(19px, 2vw, 23px); font-weight: 800; line-height: 1.45; letter-spacing: -.005em; }
.idea-lead em { color: var(--orange); }
.idea-support { margin-top: 16px; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.5; color: #193958; }
.idea-note { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.5; font-weight: 600; }
.tile strong { line-height: 1.15; }
.survey-card h3 { letter-spacing: -.01em; line-height: 1.2; }
.choice { line-height: 1.35; }
footer { line-height: 1.6; }
footer bdi { unicode-bidi: isolate; }
@media (max-width: 750px) {
  .hero-description { font-size: 18px; line-height: 1.5; }
  .myths li { padding: 13px 15px 14px; }
  .idea-lead { font-size: 19px; }
}

/* code-style "<" arrows between the four idea tiles: the sequence runs right to left */
.tiles { --tile-gap: clamp(7px, 2vw, 20px); gap: var(--tile-gap); }
.tile:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 50%; left: calc(var(--tile-gap) / -2 - 11px); width: 22px; height: 28px; transform: translateY(-50%); pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 28'%3E%3Cpath d='M15 4 6 14l9 10' fill='none' stroke='%23ef6505' stroke-width='4.2' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 1px 0 #fff) drop-shadow(0 0 3px #fff); }
@media (max-width: 750px) {
  .tiles { --tile-gap: 7px; }
  .tile:not(:last-child)::after { width: 16px; height: 22px; left: calc(var(--tile-gap) / -2 - 8px); }
}

/* after-survey invitation to the detailed questionnaire */
.survey-done .deep { width: min(100%, 430px); display: grid; gap: 8px; justify-items: center; text-align: center; padding: 16px 18px 18px; border-radius: 16px; background: linear-gradient(140deg, #f3faff, #e7f4fc); border-inline-start: 4px solid #ff8b0b; }
.survey-done .deep h4 { margin: 0; font-size: 21px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.survey-done .deep p { color: #263342; font-size: 15.5px; line-height: 1.5; }

/* detailed questionnaire page (/detailed/) */
.dq-body { background: #f3f8fc; }
.dq-hero { position: relative; isolation: isolate; color: #fff; padding: clamp(34px, 6vw, 70px) 0 clamp(70px, 10vw, 120px); }
.dq-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); background: linear-gradient(138deg, #30d8f7 12%, #06afe9 49%, #0182cb 49.15%, #0d52a1 92%); }
.dq-hero h1 { font-size: clamp(46px, 8.5vw, 84px); color: #fff; line-height: .98; max-width: 760px; }
.dq-hero h1 em { color: var(--yellow); background: none; }
.dq-hero p { margin-top: 14px; max-width: 600px; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.5; color: #eaf8ff; }
.dq-wrap { margin-top: clamp(-70px, -7vw, -44px); padding-bottom: 60px; position: relative; z-index: 1; }
.dq-card { direction: rtl; max-width: 760px; margin-inline: auto; background: #fff; color: var(--navy); border: 4px solid #f1f7fc; border-radius: 26px; box-shadow: 9px 9px 23px #0b3a6440; padding: clamp(18px, 3.2vw, 38px); }
.dq-section { padding-bottom: 12px; margin-bottom: 22px; border-bottom: 2px dashed #d6e6f3; }
.dq-section:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.dq-section h2 { font-size: clamp(34px, 4.4vw, 46px); margin-bottom: 6px; color: var(--orange); }
.dq-q { margin: 18px 0 22px; padding: 2px 0; border-radius: 12px; transition: background .2s; }
.dq-q h3 { font-size: clamp(18px, 2vw, 21px); font-weight: 900; line-height: 1.3; margin-bottom: 6px; letter-spacing: -.005em; }
.dq-hint { color: #465973; font-size: 14.5px; margin: 0 0 8px; line-height: 1.45; }
.dq-choices { display: grid; gap: 6px; }
.dq-q textarea.answer-text { min-height: 84px; resize: vertical; line-height: 1.5; }
.dq-q.is-missing { background: #fff3f1; box-shadow: -4px 0 0 #d93a22; padding: 8px 10px; }
.dq-contact { display: grid; gap: 10px; border-bottom: 0; }
.dq-contact .dq-hint { margin: -2px 0 2px; }
.dq-note { color: #5a6b82; font-size: 13.5px; }
.dq-error { margin: 6px 0 0; font-weight: 700; }
.dq-submit { margin-top: 14px; min-width: 190px; font-size: 19px; }
.dq-done { text-align: center; display: grid; gap: 12px; justify-items: center; padding-block: 46px; }
.dq-done h2 { font-size: clamp(34px, 5vw, 48px); color: var(--navy); }
.dq-done p { max-width: 460px; font-size: 18px; line-height: 1.5; color: #263342; }
.dq-back { margin-inline-start: auto; }
@media (max-width: 750px) { .dq-card { border-radius: 20px; } .dq-back { min-height: 38px; padding-inline: 12px; font-size: 14px; } }
