/* The product pages (2026-09-24), from the mockups of Kesho Hela, Personal
   Pension, the Umbrella Fund, Corporate Insurance and ESOP Administration.
   Loaded by the block layouts that draw them (ProductCss in
   cms/src/frontend/blocks), so no other page carries it. Every selector
   starts with `html`: this file loads BEFORE site.css, so a selector here
   only as specific as one there would lose to it. */

/* Eyebrow: a short rule before it (and after it, in the opening). */
html .prod-eyebrow{display:inline-flex;align-items:center;gap:14px;font-size:var(--fs-label);font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--plum)}
html .prod-head{margin-bottom:28px}
html .prod-head.has-action{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 32px}
html .prod-head h2{margin-top:12px;font-family:var(--font-head);font-size:var(--fs-d3);line-height:1.1;color:var(--plum)}
html .prod-intro{margin-top:10px;color:var(--copy)}
html .prod-section{padding-top:clamp(40px,5vw,64px);padding-bottom:clamp(40px,5vw,64px)}
html .prod-section+.prod-section{border-top:1px solid rgba(53,0,79,.07)}

/* Buttons: aubergine, and an outline one whose arrow points down to a section. */
/* Specific enough to win over .page-hero .hero-actions .btn:not(.primary):
   this file loads before site.css, so a tie loses. */
html .btn.prod-btn,html .page-hero.prod-hero .hero-actions .btn.prod-btn{display:inline-flex;align-items:center;gap:12px;background:var(--plum);border-color:var(--plum);color:#fff}
html .btn.prod-btn:hover,html .page-hero.prod-hero .hero-actions .btn.prod-btn:hover{background:var(--plum-500);border-color:var(--plum-500);color:#fff}
html .btn.prod-btn-line,html .page-hero.prod-hero .hero-actions .btn.prod-btn-line{display:inline-flex;align-items:center;gap:12px;background:#fff;border-color:rgba(53,0,79,.35);color:var(--plum)}
html .btn.prod-btn-line:hover,html .page-hero.prod-hero .hero-actions .btn.prod-btn-line:hover{border-color:var(--plum)}
html .prod-btn-line.is-down .ar{transform:rotate(90deg)}

/* The opening: the headline beside a green sweep. */
html .page-hero.prod-hero{position:relative;overflow:hidden;padding:clamp(40px,5vw,72px) 0 clamp(48px,6vw,88px);background:var(--warm)}
/* One column: the drawn green sweep that filled the right came out with the
   client's checklist (the user, 2026-10-01), and the text takes the width. */
html .prod-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;align-items:center}
html .prod-hero h1{margin-top:18px;font-family:var(--font-head);font-size:var(--fs-d1);line-height:1.02;color:var(--plum)}
html .prod-hero-intro{margin-top:18px;color:var(--copy);font-size:var(--fs-lede);line-height:1.65}
html .prod-hero .hero-actions{margin-top:26px}

/* At a glance, and Talk to the team beside it, in one white panel. */
html .prod-glance-section{position:relative;z-index:1;margin-top:clamp(-56px,-4vw,-32px);padding-bottom:clamp(24px,3vw,40px)}
html .prod-glance{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,38%);gap:clamp(24px,4vw,56px);align-items:center;padding:clamp(24px,3vw,40px);border:1px solid rgba(53,0,79,.08);border-radius:20px;background:#fff;box-shadow:0 18px 44px rgba(53,0,79,.08)}
html .prod-glance h2{font-family:var(--font-head);font-size:var(--fs-d3);color:var(--plum)}
html .prod-glance ul{margin:18px 0 0;padding:0;list-style:none}
html .prod-glance li{border-bottom:1px solid rgba(53,0,79,.08)}
html .prod-glance li:last-child{border-bottom:0}
html .prod-glance li,html .prod-glance li a{display:flex;align-items:center;gap:18px;padding:9px 0;color:var(--plum-dark);font-size:var(--fs-body);text-decoration:none}
html .prod-glance li a{padding:0;flex:1}
html .prod-glance li a .ar{margin-left:auto}
html .prod-round{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--lime);color:var(--plum)}
html .prod-round.big{width:64px;height:64px}
html .prod-cta{position:relative;overflow:hidden;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:clamp(24px,3vw,36px);border-radius:16px;background:var(--lime-soft)}
html .prod-cta h3{font-family:var(--font-head);font-size:var(--fs-d3);color:var(--plum)}
html .prod-cta .btn{align-self:flex-start;position:relative;z-index:1}

/* Cards, each with its icon; --cols across. */
html .prod-cards{display:grid;grid-template-columns:repeat(var(--cols,4),minmax(0,1fr));gap:18px}
html .prod-card{position:relative;display:flex;flex-direction:column;gap:12px;padding:24px 22px 26px;border:1px solid rgba(53,0,79,.1);border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(53,0,79,.05);transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
html .prod-card:hover{border-color:rgba(143,198,65,.7);box-shadow:0 16px 34px rgba(53,0,79,.1)}
html .prod-card h3{font-family:var(--font-head);font-size:var(--fs-h3);line-height:1.25;color:var(--plum)}
html .prod-card p{margin:0;color:var(--copy);font-size:var(--fs-small);line-height:1.6}
html .prod-card.has-link{padding-bottom:70px}
html .prod-card-go{position:absolute;right:20px;bottom:20px;display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(53,0,79,.2);border-radius:50%;color:var(--plum);transition:background .2s ease,border-color .2s ease}
html .prod-card:hover .prod-card-go,html .prod-card-go:focus-visible{background:var(--lime);border-color:var(--lime)}
html .prod-card-marks{display:flex;align-items:center;gap:14px}
html .prod-plain-icon{display:inline-grid;color:var(--plum)}
html .prod-more{display:inline-flex;align-items:center;gap:10px;margin-top:auto;padding-top:8px;font-weight:700;color:var(--plum);text-decoration:none}

/* A timeline: numbered circles in a row, a dotted line between them. */
html .prod-timeline{display:grid;grid-template-columns:repeat(var(--n,5),minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none}
html .prod-timeline li{position:relative}
html .prod-timeline li:not(:last-child)::after{content:"";position:absolute;top:27px;left:68px;right:-18px;border-top:2px dotted rgba(53,0,79,.25)}
html .prod-step-n{display:grid;place-items:center;width:56px;height:56px;border:1px solid rgba(53,0,79,.2);border-radius:50%;background:#fff;font-weight:700;color:var(--plum)}
html .prod-timeline h3{margin-top:18px;font-size:var(--fs-h3);color:var(--plum)}
html .prod-timeline p{margin-top:8px;color:var(--copy);font-size:var(--fs-small);line-height:1.6}

/* Steps in a row, an arrow between each. */
html .prod-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(28px,5vw,80px);margin:0;padding:0;list-style:none}
html .prod-steps li{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px;align-items:start}
html .prod-steps li:not(:last-child)::after{content:"";position:absolute;top:30px;right:calc(-1 * clamp(22px,4vw,64px));width:clamp(16px,3vw,44px);height:12px;background:var(--lime);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 12'%3E%3Cpath d='M0 6h41M36 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 12'%3E%3Cpath d='M0 6h41M36 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat}
html .prod-step-big{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--lime-soft);font-family:var(--font-head);font-size:var(--fs-h3);font-weight:700;color:#527c17}
html .prod-steps h3{margin-top:10px;font-family:var(--font-head);font-size:var(--fs-h3);color:var(--plum)}
html .prod-steps p{margin-top:8px;color:var(--copy);font-size:var(--fs-small);line-height:1.6}

/* Questions in two columns. */
html .prod-faq-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;align-items:start}
html .prod-faq-cols>div{display:grid;gap:12px}
html .prod-faq-item{border:1px solid rgba(53,0,79,.12);border-radius:12px;background:#fff}
html .prod-faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;font-weight:600;color:var(--plum);cursor:pointer;list-style:none}
html .prod-faq-item summary::-webkit-details-marker{display:none}
html .prod-faq-plus{position:relative;flex:none;width:22px;height:22px;border:1.5px solid var(--plum);border-radius:50%}
html .prod-faq-plus::before,html .prod-faq-plus::after{content:"";position:absolute;left:50%;top:50%;width:10px;height:1.5px;background:var(--plum);transform:translate(-50%,-50%)}
html .prod-faq-plus::after{transform:translate(-50%,-50%) rotate(90deg);transition:transform .2s ease}
html .prod-faq-item[open] .prod-faq-plus::after{transform:translate(-50%,-50%) rotate(0)}
html .prod-faq-body{padding:0 18px 16px;color:var(--copy);line-height:1.65}

/* Ticks in two columns, and the card beside them. */
html .prod-check-panel{display:grid;gap:clamp(24px,4vw,48px);padding:clamp(24px,3vw,40px);border:1px solid rgba(53,0,79,.08);border-radius:20px;background:#fff;box-shadow:0 14px 36px rgba(53,0,79,.06)}
html .prod-check-panel.has-card{grid-template-columns:minmax(0,1fr) minmax(240px,28%)}
html .prod-rule-h{display:flex;align-items:baseline;gap:18px;font-family:var(--font-head);font-size:var(--fs-d3);line-height:1.15;color:var(--plum)}
html .prod-rule-h::before{content:"";flex:none;width:40px;height:2px;background:var(--lime);transform:translateY(-.3em)}
html .prod-ticks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 32px;margin:22px 0 0;padding:0;list-style:none}
html .prod-ticks li{position:relative;padding-left:34px;color:var(--plum-dark);font-size:var(--fs-small);line-height:1.5}
html .prod-ticks li::before{content:"";position:absolute;left:0;top:1px;width:22px;height:22px;border-radius:50%;background:var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%2335004f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
html .prod-side-card{display:flex;flex-direction:column;gap:14px;padding:26px 24px;border-radius:16px;background:var(--plum-tint)}
html .prod-side-card h3{font-family:var(--font-head);font-size:var(--fs-h3);color:var(--plum)}
html .prod-side-card p{margin:0;color:var(--copy)}
html .prod-side-item{display:grid;gap:14px}

/* The accordion: a numbered row per heading, the first open. */
html .prod-accordion{display:grid;gap:14px}
html .prod-acc-row{border:1px solid rgba(53,0,79,.1);border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(53,0,79,.04)}
html .prod-acc-row[open]{background:#fff}
html .prod-acc-row summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;padding:20px 24px;cursor:pointer;list-style:none}
html .prod-acc-row summary::-webkit-details-marker{display:none}
html .prod-acc-title{font-family:var(--font-head);font-size:var(--fs-h3);color:var(--plum)}
html .prod-acc-chev{display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(53,0,79,.2);border-radius:50%;background:#fff}
html .prod-acc-chev::before{content:"";width:9px;height:9px;border-right:2px solid var(--plum);border-bottom:2px solid var(--plum);transform:translateY(-2px) rotate(45deg);transition:transform .2s ease}
html .prod-acc-row[open] .prod-acc-chev::before{transform:translateY(2px) rotate(225deg)}
html .prod-acc-body{padding:4px 24px 26px 98px}
html .prod-acc-body .prod-ticks{margin-top:8px}

@media (max-width:1080px){
  html .prod-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  html .prod-timeline{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px}
  html .prod-timeline li::after{display:none}
  html .prod-glance,html .prod-check-panel.has-card{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:900px){
  html .prod-glance-section{margin-top:0}
  html .prod-steps{grid-template-columns:minmax(0,1fr)}
  html .prod-steps li::after{display:none}
  html .prod-faq-cols{grid-template-columns:minmax(0,1fr)}
  html .prod-acc-body{padding-left:24px}
}
@media (max-width:620px){
  html .prod-cards,html .prod-timeline,html .prod-ticks{grid-template-columns:minmax(0,1fr)}
  html .prod-acc-row summary{grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:16px}
  html .prod-acc-row summary .prod-round{display:none}
  /* On a phone the icon sits beside the heading, not on a line of its own
     above it, which left a band of white on every card (2026-09-29). */
  html .prod-card:has(> .prod-round, > .prod-card-marks){display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:14px;row-gap:10px;padding:18px 18px 20px}
  html .prod-card:has(> .prod-round, > .prod-card-marks) > :not(.prod-round):not(.prod-card-marks):not(h3){grid-column:1 / -1}
  html .prod-card.has-link{padding-bottom:70px}
  html .prod-side-item{grid-template-columns:auto minmax(0,1fr);align-items:center}
  html .prod-round.big{width:48px;height:48px}
}

/* Five numbered cards as three and two. */
html .prod-numbered.is-five>.prod-card{grid-column:span 2}
html .prod-numbered.is-five>.prod-card:nth-child(n+4){grid-column:span 3}
@media (max-width:1080px){
  html .prod-numbered.is-five>.prod-card,html .prod-numbered.is-five>.prod-card:nth-child(n+4){grid-column:auto}
  html .prod-numbered.is-five>.prod-card:last-child{grid-column:1 / -1}
}
@media (max-width:620px){
  html .prod-numbered.is-five>.prod-card:last-child{grid-column:auto}
}

/* The About page's regulators, a row each with its market's flag. */
html .timeline-licences{display:grid;gap:10px;margin:14px 0 0;padding:0;list-style:none}
html .timeline-licences li{display:flex;align-items:center;gap:12px;padding-bottom:10px;border-bottom:1px solid rgba(53,0,79,.08);font-size:var(--fs-small);color:var(--plum-dark)}
html .timeline-licences li:last-child{border-bottom:0;padding-bottom:0}
html .timeline-licences svg{flex:none;width:28px;height:19px;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
html .timeline-figures-note{margin:14px 0 0;padding-top:12px;border-top:1px solid rgba(53,0,79,.08);color:var(--copy);font-size:var(--fs-small)}

/* Numbered sections (Why Enwealth, 2026-09-24): accordion rows beside the
   photograph, and the columns layout — photograph wide beside the heading,
   the items in a row under both. */
html .num-acc{display:grid;gap:12px}
html .num-acc-row{border:1px solid rgba(53,0,79,.1);border-radius:16px;background:#fff;transition:box-shadow .2s ease,border-color .2s ease}
html .num-acc-row[open]{border-color:rgba(143,198,65,.55);box-shadow:0 12px 30px rgba(53,0,79,.07)}
html .num-acc-row summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 20px;cursor:pointer;list-style:none}
html .num-acc-row summary::-webkit-details-marker{display:none}
html .num-acc-row summary:focus-visible{outline:3px solid var(--lime);outline-offset:2px;border-radius:16px}
html .num-acc-row .numbered-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--lime-soft);color:var(--plum)}
html .num-acc-title{font-family:var(--font-head);font-size:var(--fs-h3);line-height:1.3;color:var(--plum)}
html .num-acc-row p{margin:0;padding:0 22px 22px 22px;color:var(--copy);line-height:1.7}
html .numbered-columns .numbered-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:auto auto;column-gap:clamp(28px,4vw,64px);row-gap:clamp(32px,4vw,48px);align-items:center}
html .numbered-columns .numbered-intro{display:contents}
html .numbered-columns .numbered-intro>:not(.numbered-figure){grid-column:1}
html .numbered-columns .numbered-figure{grid-column:2;grid-row:1 / span 3;margin:0}
html .numbered-columns .numbered-figure img{width:100%;height:clamp(220px,24vw,340px);object-fit:cover}
html .numbered-columns .numbered-body{grid-column:1 / -1}
/* The items one under another across the width (the user, 2026-10-21: "looks
   squeezed, especially Information Security & DR"): each a row, the icon, the
   title and Read more at the far end, whose text opens under the title at a
   reading width. Three columns had set 500-odd characters each in gappy
   justified lines, the middle one's running into the rule. */
html .numbered-columns .numbered-items{display:block;border-top:1px solid var(--hair)}
/* :nth-child(n) to outrank the dark ground's two-column rules (styles.css). */
html .numbered-columns .numbered-items>.numbered-item:nth-child(n){padding:0;border:0;border-bottom:1px solid var(--hair)}
@media (max-width:980px){
  html .numbered-columns .numbered-grid{grid-template-columns:minmax(0,1fr)}
  html .numbered-columns .numbered-intro>*,html .numbered-columns .numbered-figure{grid-column:1;grid-row:auto}
}
html .numbered-columns .numbered-intro>.eyebrow{justify-self:start}

/* The rows open on click (2026-09-24). */
html .num-col summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:24px;padding:20px 0;list-style:none;cursor:pointer}
html .num-col summary::-webkit-details-marker{display:none}
html .num-col summary:focus-visible{outline:3px solid var(--plum);outline-offset:4px;border-radius:12px}
html .num-col .numbered-top::after,html .num-col h3::after{display:none}
html .num-col h3{margin:0}
html .num-col-more{display:inline-flex;align-items:center;gap:12px;font-weight:700;font-size:var(--fs-small);color:var(--plum)}
html .num-col-more .prod-acc-chev{width:32px;height:32px;background:transparent}
html .num-col[open] .num-col-more .prod-acc-chev::before{transform:translateY(2px) rotate(225deg)}
/* The text level with the title: the 56px icon and the 24px gap. */
html .num-col p{max-width:calc(76ch + 80px);margin:0;padding:0 0 28px 80px}
@media (max-width:640px){
  html .num-col summary{column-gap:14px}
  html .num-col .numbered-icon{width:44px;height:44px}
  /* The chevron alone at the end; the title names the row. */
  html .num-col-more{gap:0;font-size:0}
  html .num-col p{padding-left:0}
}

/* Folds: consecutive sections, each a numbered row opening on its cards. */
html .prod-fold-section{padding:6px 0}
html .prod-fold-section:first-of-type,html :not(.prod-fold-section)+.prod-fold-section{padding-top:clamp(40px,5vw,64px)}
html .prod-fold-section:has(+ :not(.prod-fold-section)){padding-bottom:clamp(40px,5vw,64px)}
html .prod-fold summary{grid-template-columns:minmax(0,1fr) auto auto}
html .prod-fold-count{display:grid;place-items:center;min-width:34px;height:28px;padding:0 10px;border-radius:999px;background:var(--lime-soft);font-size:.8rem;font-weight:700;color:#527c17}
html .prod-fold-body{padding-left:24px}

/* The checklist panel, text and subheads in the body's order. */
html .prod-check-p{margin:16px 0 0;color:var(--copy);line-height:1.7}
html .prod-check-sub{margin:26px 0 0;font-family:var(--font-head);font-size:var(--fs-h3);color:var(--plum)}
/* Rows without an icon keep the title in its column and the chevron at the far right. */
html .prod-acc-row summary .prod-acc-title{grid-column:-3}
html .prod-acc-row summary .prod-acc-chev{grid-column:-2;justify-self:end}
html .prod-fold summary .prod-acc-title{grid-column:1}
html .prod-fold summary .prod-acc-chev{grid-column:3}
html .num-acc-row .num-acc-title{grid-column:2}
