/* relate.css: styles for v5.7 (relate.js, the industry pages, the estimate add-ons). Blue family; no white haze. */

.rl-input { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(3, 10, 30, .55); color: #fff; font: 600 15px var(--body); }
.rl-input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.x-mt { margin-top: 20px; }

/* ---------- 1 + 2. Your business, live ---------- */
.rl-studio { grid-template-columns: .8fr 1.2fr !important; }
@media (max-width: 900px) { .rl-studio { grid-template-columns: 1fr !important; } }
.rl-file { cursor: pointer; }
.rl-file .ic { width: 16px; height: 16px; }
.rl-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.rl-sw { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.rl-sw i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.rl-sw small { font: 700 12.5px var(--body); color: var(--muted); }
.rl-sw code { font: 600 12px ui-monospace, monospace; color: var(--dim); }
.rl-out { --b1: #e4572e; --b2: #3b1d12; --b3: #ffc145; --on1: #fff; --on3: #141414; min-width: 0; }
.rl-devices { position: relative; padding: 0 16% 26px 0; }
.rl-screen { border: 10px solid #0c1630; border-bottom-width: 12px; border-radius: 16px 16px 0 0; overflow: hidden; background: #fff; aspect-ratio: 16 / 10; box-shadow: 0 30px 60px rgba(0, 6, 28, .5); }
.rl-base { height: 16px; margin: 0 -6%; border-radius: 0 0 16px 16px; background: linear-gradient(#cfd9f2, #7181a8); }
.rl-phone { position: absolute; right: 0; bottom: 0; width: 24%; aspect-ratio: 9 / 18; border: 6px solid #0c1630; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 24px 44px rgba(0, 6, 28, .6); }
.rl-site { height: 100%; display: flex; flex-direction: column; background: #fbfaf7; color: #1b1b1f; font-family: var(--body); container-type: inline-size; }
.rl-top { display: flex; align-items: center; gap: 2.2cqw; padding: 2.4cqw 3.4cqw; background: #fff; border-bottom: 1px solid rgba(0, 0, 0, .07); }
.rl-logo { flex: none; display: grid; place-items: center; width: 6.4cqw; height: 6.4cqw; border-radius: 28%; background: var(--b1); color: var(--on1); overflow: hidden; }
.rl-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.rl-logo i { font: 800 3.6cqw var(--head); font-style: normal; }
.rl-top .rl-name { font: 800 3.1cqw var(--head); color: var(--b2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rl-links { margin-left: auto; display: flex; gap: 1.6cqw; }
.rl-links i { width: 6cqw; height: 1.2cqw; border-radius: 1cqw; background: rgba(0, 0, 0, .14); }
.rl-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.6cqw; padding: 3cqw 4cqw; background: linear-gradient(135deg, var(--b2), var(--b1)); color: #fff; }
.rl-h { margin: 0; font: 800 5.4cqw/1.12 var(--head); letter-spacing: -.02em; }
.rl-s { margin: 0; font: 500 2.5cqw/1.4 var(--body); opacity: .9; max-width: 34ch; }
.rl-cta { font: 800 2.5cqw var(--body); padding: 1.6cqw 3.2cqw; border-radius: 99px; background: var(--b3); color: var(--on3); }
.rl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 2.6cqw 3.4cqw; }
.rl-cards div { display: flex; flex-direction: column; gap: 1.2cqw; padding: 2cqw; border-radius: 2cqw; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 4px 14px rgba(0, 0, 0, .06); }
.rl-cards i { width: 5cqw; height: 5cqw; border-radius: 30%; background: var(--b1); opacity: .9; }
.rl-cards span { font: 700 2.1cqw/1.25 var(--body); color: #26262b; }
.rl-site.slim .rl-top { padding: 4cqw 5cqw; gap: 3cqw; } .rl-site.slim .rl-logo { width: 13cqw; height: 13cqw; } .rl-site.slim .rl-logo i { font-size: 7cqw; }
.rl-site.slim .rl-top .rl-name { font-size: 6.4cqw; } .rl-site.slim .rl-links { display: none; }
.rl-site.slim .rl-hero { padding: 7cqw 6cqw; gap: 4cqw; } .rl-site.slim .rl-h { font-size: 10.5cqw; } .rl-site.slim .rl-s { font-size: 5.6cqw; } .rl-site.slim .rl-cta { font-size: 5.6cqw; padding: 3.4cqw 6cqw; }
.rl-site.slim .rl-cards { grid-template-columns: 1fr; gap: 3cqw; padding: 5cqw; } .rl-site.slim .rl-cards div { flex-direction: row; align-items: center; gap: 3.4cqw; padding: 3.6cqw; border-radius: 4cqw; }
.rl-site.slim .rl-cards i { width: 9cqw; height: 9cqw; flex: none; } .rl-site.slim .rl-cards span { font-size: 5.2cqw; }
.rl-kit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }
.rl-card { display: flex; align-items: center; gap: 14px; width: min(100%, 300px); aspect-ratio: 1.75; padding: 18px 20px; border-radius: 14px; background: linear-gradient(135deg, var(--b2), var(--b1)); color: #fff; box-shadow: 0 18px 40px rgba(0, 6, 28, .5); container-type: inline-size; }
.rl-card .rl-logo { width: 58px; height: 58px; background: #fff; color: var(--b1); } .rl-card .rl-logo i { font-size: 30px; }
.rl-card b { display: block; font: 800 18px/1.2 var(--head); } .rl-card small, .rl-wa small { font: 600 12px var(--body); opacity: .8; }
.rl-wa { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); }
.rl-wa .rl-logo { width: 92px; height: 92px; border-radius: 50%; box-shadow: 0 0 0 4px #0c1630, 0 0 0 6px var(--b3), 0 14px 30px rgba(0, 6, 28, .5); } .rl-wa .rl-logo i { font-size: 44px; }

/* ---------- 3. Website check ---------- */
.rl-check { max-width: 860px; }
.rl-row { display: flex; gap: 12px; } .rl-row .rl-input { flex: 1; min-width: 0; } .rl-row .btn { white-space: nowrap; }
@media (max-width: 640px) { .rl-row { flex-direction: column; } }
.rl-status { min-height: 1.6em; margin: 12px 0 0; color: var(--muted); font-weight: 600; }
.rl-result { margin-top: 10px; display: grid; grid-template-columns: 210px 1fr; gap: 10px 30px; align-items: start; }
.rl-result[hidden] { display: none; }
@media (max-width: 720px) { .rl-result { grid-template-columns: 1fr; } }
.rl-scorebox { text-align: center; }
.rl-score { --p: 0; --c: #22c55e; width: 150px; height: 150px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-content: center; background: radial-gradient(circle, #071640 58%, transparent 59%), conic-gradient(var(--c) calc(var(--p) * 1%), rgba(120, 170, 255, .16) 0); }
.rl-score[data-g="b"] { --c: #ffd60a; } .rl-score[data-g="c"] { --c: #ff6b6b; }
.rl-score b { font: 800 46px/1 var(--head); color: #fff; } .rl-score small { font: 600 12.5px var(--body); color: var(--muted); }
.rl-host { margin: 0; font: 800 17px var(--head); word-break: break-all; } .rl-facts { margin: 4px 0 0; color: var(--dim); font: 600 13px var(--body); }
.rl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rl-list li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-weight: 600; }
.rl-list i { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #22c55e; position: relative; }
.rl-list i::after { content: ""; position: absolute; left: 6px; top: 4px; width: 6px; height: 9px; border: solid #04122e; border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
.rl-list .rl-warn i { background: #ffd60a; } .rl-list .rl-bad i { background: #ff6b6b; }
.rl-list .rl-warn i::after, .rl-list .rl-bad i::after { left: 9px; top: 4px; width: 0; height: 8px; border-width: 0 2.5px 0 0; transform: none; box-shadow: 0 5px 0 -1px transparent; }
.rl-fix { grid-column: 2; justify-self: start; margin-top: 8px; } @media (max-width: 720px) { .rl-fix { grid-column: 1; } }

/* ---------- 4. Industry links and pages ---------- */
.rl-ind { margin-top: 34px; } .rl-ind-links { display: flex; flex-wrap: wrap; gap: 10px; }
.rl-ind-links .chip { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; } .rl-ind-links .ic { width: 15px; height: 15px; }
.rl-page .rl-phero { padding-top: 70px; padding-bottom: 60px; }
.rl-page h1 { font: 800 clamp(34px, 5vw, 60px)/1.08 var(--head); letter-spacing: -.035em; margin: 22px 0 18px; max-width: 18ch; }
.rl-page h1 span { background: linear-gradient(100deg, #9fe8ff, var(--cyan) 40%, #6aa8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rl-page .lead { max-width: 60ch; color: var(--muted); font-size: 18px; }
.rl-pt h3 { margin: 0 0 8px; font: 800 19px/1.25 var(--head); } .rl-pt p { margin: 0; color: var(--muted); }
@media (min-width: 1000px) { .rl-four { grid-template-columns: repeat(4, 1fr); } }
.rl-example { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding: 18px; border-radius: 24px; background: var(--glass-bg); box-shadow: var(--glass-shadow); text-decoration: none; color: inherit; }
.rl-example img { width: 100%; height: auto; border-radius: 14px; display: block; }
.rl-example > span { display: flex; flex-direction: column; gap: 10px; padding: 6px 12px 6px 0; } .rl-example b { font: 800 30px/1.1 var(--head); } .rl-example span span { color: var(--muted); }
.rl-example em { font-style: normal; font-weight: 800; color: var(--yellow); display: inline-flex; align-items: center; gap: 8px; } .rl-example .ic { width: 16px; height: 16px; }
@media (max-width: 760px) { .rl-example { grid-template-columns: 1fr; } .rl-example > span { padding: 0 6px 8px; } }
.rl-pcta { text-align: center; } .rl-pcta h2 { font: 800 clamp(28px, 4vw, 44px)/1.1 var(--head); margin: 0 0 12px; } .rl-pcta h2 span { color: var(--cyan); }
.rl-pcta .lead { margin: 0 auto; } .rl-pcta .hero-actions { justify-content: center; }

/* ---------- 5. Voice note ---------- */
.rl-voice { grid-column: 1 / -1; margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.rl-voice-btn .ic { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.rl-voice-btn.on { color: #0a1430; background: #ff6b6b; box-shadow: none; } .rl-voice-btn.on::before { display: none; }
.rl-voice-st { margin: 0; color: var(--muted); font: 600 14px var(--body); }

/* ---------- 7. Project stories (inside liquid.js's project view) ---------- */
.lq-proj-story { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 12px; border-top: 1px solid rgba(120, 180, 255, .2); }
.lq-proj-story[hidden] { display: none; }
.lq-proj-story h4 { margin: 10px 0 6px; font: 800 13px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.lq-proj-story p { margin: 0; color: var(--muted); }
.lq-proj-story ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.lq-proj-story li { padding: 6px 12px; border-radius: 99px; background: rgba(47, 134, 255, .16); border: 1px solid rgba(120, 180, 255, .3); font: 600 13.5px var(--body); color: #dfeaff; }

/* ---------- 9. Verified client line on a review ---------- */
.x-rproj { margin: 12px 0 0; display: flex; align-items: center; gap: 7px; font: 700 13px var(--body); color: var(--muted); }
.x-rproj .ic { width: 15px; height: 15px; color: var(--green); } .x-rproj span { color: #9fe8b8; } .x-rproj a { color: var(--yellow); }

/* ---------- 10, 11, 12. Under the estimate ---------- */
.rl-est { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.rl-parts ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.rl-parts li { display: flex; justify-content: space-between; gap: 12px; font: 600 14px var(--body); color: var(--muted); } .rl-parts li b { color: #fff; white-space: nowrap; }
.rl-est-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .rl-est-btns .btn { white-space: nowrap; padding-inline: 10px; } .rl-est-btns .ic { width: 16px; height: 16px; }
@media (max-width: 420px) { .rl-est-btns { grid-template-columns: 1fr; } }
.rl-when { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; } .rl-when[hidden] { display: none; }
.rl-pcta .lead { border: 0; padding: 0; }

/* ---------- The TaniX Platform card: the founder's full TANIX logo, large (2026-11-16) ----------
   The picture has its own dark-blue background; "screen" lets only its light through, and the soft edge mask
   removes the rectangle, so the logo sits on the card's glass with no box around it. */
/* 2026-11-16, founder again: "Can you remove the light in that container?" The glow, the dark backdrop and the light
   streak under the word were part of the picture, so the logo is now a cut-out (assets/tanix-logo-cut.webp, made
   from his TanixLogo.png): the robot and the word only, drawn as they are on the card with nothing behind them. */
.bento-logo.bento-logo-full { align-self: stretch; width: 100%; height: auto; max-width: none; object-fit: contain; border-radius: 0; box-shadow: none; filter: none; margin: 0 0 auto; padding-bottom: 14px; }
/* Founder 2026-11-16: "Make the logo ... the container width. Remove the bright light in that container": the logo
   spans the card, and the card loses its blue glow in the corner and the light that follows the pointer. */
/* Founder, after a before/after picture: "remove it". The last light was the page's blue glow showing through the
   card's glass, so this one card is a solid dark-blue panel (the four beside it are still glass). */
.bento-card.big { background: linear-gradient(160deg, #0b1c48, #071233 60%, #050d28); -webkit-backdrop-filter: none; backdrop-filter: none; }
.bento-card.big.fx-light::after { display: none; }

/* ---------- A menu too long for the bar (v5.7) ----------
   Yoruba and Hausa menu words are much longer than English. When the links do not fit on ONE row, relate.js puts
   .rl-burger on <html> and the bar uses the same fold-away menu as phones, at any width. English, French, Pidgin
   and Igbo fit and never get it. These are the phone-menu rules of styles.css, by class instead of by width. */
@media (min-width: 921px) {
  .primary-nav > a:not(.btn) { white-space: nowrap; }
  html.rl-burger .nav-toggle { display: block; }
  html.rl-burger .primary-nav { position: absolute; top: calc(100% + 10px); left: auto; right: 0; width: min(420px, 100%); flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border-radius: 26px;
    background: #06102a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .6);
    transform: translateY(-10px) scale(.98); transform-origin: top; opacity: 0; visibility: hidden; transition: transform .28s var(--ease), opacity .2s ease, visibility .2s; }
  html.rl-burger .primary-nav.open { transform: none; opacity: 1; visibility: visible; }
  html.rl-burger .primary-nav > a:not(.btn) { padding: 14px 16px; font-size: 17px; }
  html.rl-burger .primary-nav > a.is-active { background: rgba(120, 180, 255, .16); }
  html.rl-burger .nav-cta { margin: 8px 0 0; min-height: 52px; }
  html.rl-burger .lq-drop { display: none; }
  html.rl-burger .lq-sound { align-self: flex-start; margin: 6px 0 0 4px; }
  html.rl-burger .x-lang { align-self: flex-start; margin: 6px 0 0 4px; }
  html.rl-burger .x-lang ul { right: auto; left: 0; top: auto; bottom: calc(100% + 8px); }
}

/* ---------- The four product cards beside the TANIX logo (founder 2026-11-16: "make these containers beautiful, they
   look messy") ----------
   One pattern for all four: the icon and the name on one row, the sentence under them, and the links in a tidy
   list pinned to the foot of the card, one per row with a hairline between (the download buttons used to wrap onto
   two uneven rows). Solid dark-blue panels like the logo card, so all five match and no light shows through. */
.bento-card:not(.big) { display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 14px; align-items: center; padding: 22px 22px 14px;
  background: linear-gradient(160deg, #0b1c48, #071233 60%, #050d28); -webkit-backdrop-filter: none; backdrop-filter: none; }
.bento-card:not(.big).fx-light::after { display: none; }
.bento-card:not(.big) .bento-ic { width: 46px; height: 46px; border-radius: 14px; margin: 0; }
.bento-card:not(.big) h3 { margin: 0; font-size: 19px; line-height: 1.2; }
.bento-card:not(.big) > p { grid-column: 1 / -1; align-self: start; margin: 0; font-size: 14.5px; line-height: 1.55; }
.bento-card:not(.big) .dl-links { grid-column: 1 / -1; display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid rgba(120, 170, 255, .22); }
.bento-card:not(.big) .dl-links a { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px; border-radius: 0; background: none; box-shadow: none;
  border-bottom: 1px solid rgba(120, 170, 255, .12); font-size: 14px; font-weight: 700; color: #dfe9ff; transition: color .2s ease, padding .2s ease; }
.bento-card:not(.big) .dl-links a:last-child { border-bottom: 0; }
.bento-card:not(.big) .dl-links .ic { box-sizing: border-box; width: 28px; height: 28px; padding: 7px; border-radius: 50%; background: rgba(47, 134, 255, .2); color: var(--cyan); transition: background .2s ease, color .2s ease; }
.bento-card:not(.big) .dl-links a:hover { color: var(--yellow); box-shadow: none; padding-left: 6px; }
.bento-card:not(.big) .dl-links a:hover .ic { background: var(--yellow); color: #0a1430; }
.bento-card:not(.big) .text-link { grid-column: 1 / -1; align-self: end; justify-content: space-between; width: 100%; margin: 0; padding: 12px 2px 10px; border-top: 1px solid rgba(120, 170, 255, .22); font-size: 14.5px; }
.bento-card:not(.big) .text-link .ic { box-sizing: border-box; width: 28px; height: 28px; padding: 7px; border-radius: 50%; background: rgba(255, 214, 10, .14); }
.bento-card:not(.big) .text-link:hover { text-decoration: none; }
.bento-card:not(.big) .text-link:hover .ic { background: var(--yellow); color: #0a1430; }

/* ---------- Social links section (founder 2026-11-16) ---------- */
.rl-social { padding-top: 30px; }
.rl-social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .rl-social-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rl-social-grid { grid-template-columns: 1fr; } }
.rl-soc { --n: 47, 134, 255; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; text-decoration: none; color: inherit;
  background: linear-gradient(160deg, #0b1c48, #071233 60%, #050d28); box-shadow: inset 0 0 0 1px rgba(120, 170, 255, .22); transition: box-shadow .2s ease, transform .2s ease; }
.rl-soc[data-net="wa"] { --n: 34, 197, 94; } .rl-soc[data-net="yt"] { --n: 255, 72, 72; } .rl-soc[data-net="tg"] { --n: 56, 176, 255; } .rl-soc[data-net="fb"] { --n: 66, 133, 255; }
.rl-soc-ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: rgba(var(--n), .9); }
.rl-soc-ic .ic { width: 23px; height: 23px; }
.rl-soc-t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rl-soc-t b { font: 800 17px/1.2 var(--head); }
.rl-soc-t small { font: 600 13.5px/1.35 var(--body); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-soc-go { flex: none; margin-left: auto; width: 16px; height: 16px; color: var(--dim); transition: color .2s ease, transform .2s ease; }
.rl-soc:hover { box-shadow: inset 0 0 0 1px rgba(var(--n), .8), 0 12px 30px rgba(0, 6, 28, .5); transform: translateY(-2px); }
.rl-soc:hover .rl-soc-go { color: var(--yellow); transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) { .rl-soc, .rl-soc-go { transition: none; } .rl-soc:hover { transform: none; } }

/* ---------- v5.8: no sideways scroll on a phone in the longer languages ----------
   At 390px the page was 469px wide in French and 443px in Hausa (the #contact column) and 451px in Pidgin (the
   social cards). Cause: a grid child is never narrower than its longest unbreakable content unless it is told it
   may be (min-width: 0), and the voice-note button could not wrap (.btn is nowrap). Nothing else changes: where
   the content already fitted, these rules do nothing. */
.contact-panel > *, .contact-form > *, .contact-form .row > * { min-width: 0; }
.rl-voice > * { min-width: 0; max-width: 100%; }
.rl-voice-btn { white-space: normal; text-align: center; padding-block: 8px; }
/* The social cards, one per row on a phone: the card keeps to the column, and its second line wraps instead of
   pushing the card wider (it is cut with "…" only where the cards sit side by side, as before). */
@media (max-width: 560px) { .rl-social-grid > * { min-width: 0; } .rl-soc-t small { white-space: normal; } }
