/* יוסי רותם - ביטוח ופיננסים | site styles */

/* Fonts: free Google Fonts (SIL Open Font License, allowed on websites), self-hosted.
   Headings = Secular One (one weight, used for every heading weight), body = Heebo (variable, all weights in one file).
   Monopoly/Monopolitser (Fontbit) are NOT licensed for web use - do not put them back. */
@font-face { font-family: "Secular One"; src: url("../fonts/SecularOne-400-hebrew.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Secular One"; src: url("../fonts/SecularOne-400-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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; }
@font-face { font-family: "Heebo"; src: url("../fonts/Heebo-400-hebrew.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; src: url("../fonts/Heebo-400-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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 {
  --navy: #00254F;
  --navy-deep: #001833;
  --navy-soft: #0b3566;
  --cream: #FFFEF8;
  --paper: #F6F3E9;
  --sun: #F2AF0F;
  --sun-soft: #FDF1D0;
  --ink: #12203A;
  --muted: #5A6578;
  --line: #E4DFD0;
  --white: #FFFFFF;
  --wa: #1FAF54;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px -18px rgba(0, 24, 51, .35);
  --shadow-sm: 0 6px 18px -8px rgba(0, 24, 51, .25);
  --wrap: 1180px;
  --head: "Secular One", "Arial Hebrew", Arial, sans-serif;
  --body: "Heebo", "Arial Hebrew", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.7; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(48px, 7.4vw, 96px); }
h2 { font-size: clamp(38px, 5.2vw, 64px); }
h3 { font-size: clamp(25px, 2.8vw, 33px); }
p, li, summary { text-wrap: pretty; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.hl { color: var(--sun); }
.mark { background: linear-gradient(transparent 58%, rgba(242, 175, 15, .55) 58%); padding-inline: .08em; }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; background: var(--sun); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; transform: translateY(-150%); }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 700; font-size: 18px; text-decoration: none; border-radius: 999px; padding: 15px 26px; border: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-sun { background: var(--sun); color: var(--navy); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-ghost { border-color: rgba(255, 254, 248, .5); color: var(--cream); }
.btn-ghost:hover { background: rgba(255, 254, 248, .08); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn svg { width: 22px; height: 22px; flex: none; }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--navy); transition: box-shadow .3s ease, background .3s ease; }
.site-head.scrolled { background: rgba(0, 24, 51, .94); backdrop-filter: blur(10px); box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .6); }
.head-in { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .3s ease; }
.site-head.scrolled .head-in { height: 66px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; transition: height .3s ease; }
.site-head.scrolled .brand img { height: 40px; }
.nav { display: flex; gap: 6px; margin-inline-start: auto; }
.nav a { color: var(--cream); text-decoration: none; font-size: 17px; padding: 8px 12px; border-radius: 10px; opacity: .88; white-space: nowrap; }
.head-cta { white-space: nowrap; }
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, .07); }
.head-cta { padding: 10px 18px; font-size: 16px; }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 0; color: var(--cream); padding: 8px; cursor: pointer; }
.menu-btn svg { width: 30px; height: 30px; }
@media (max-width: 1120px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: block; }
  .nav.open { display: flex; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; background: var(--navy-deep); padding: 12px 16px 20px; gap: 2px; }
  .nav.open a { padding: 12px; font-size: 19px; }
}

/* hero */
.hero { position: relative; background: radial-gradient(1100px 600px at 85% 0%, #0d4382 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--cream); overflow: hidden; padding: 64px 0 96px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 254, 248, .09) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 20%, transparent 95%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--sun); background: rgba(242, 175, 15, .1); border: 1px solid rgba(242, 175, 15, .35); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { color: var(--cream); margin-bottom: 22px; font-size: clamp(56px, 8.4vw, 112px); line-height: .98; }
.hero h1 .line { display: block; }
.lead { text-wrap: pretty; font-size: clamp(20px, 1.9vw, 23px); color: rgba(255, 254, 248, .86); max-width: 34ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: 16px; color: rgba(255, 254, 248, .8); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--sun); flex: none; }
.portrait { position: relative; justify-self: center; width: min(420px, 100%); }
.portrait-frame { border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, #e9e9ea, #cfd0d3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); border: 6px solid rgba(255, 254, 248, .08); aspect-ratio: 900 / 968; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after { content: ""; position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px; border: 2px dashed rgba(242, 175, 15, .55); border-radius: 50%; z-index: -1; }
/* hero cut-out portrait on a brand "sun" */
.stage { position: relative; aspect-ratio: 795 / 1000; }
.stage-sun { position: absolute; inset-inline: 6%; bottom: 0; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #ffd35a 0%, var(--sun) 55%, #d99500 100%); box-shadow: 0 0 120px 10px rgba(242, 175, 15, .25); }
.stage-ring { position: absolute; inset-inline: -2%; bottom: -4%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255, 254, 248, .22); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-person { position: absolute; bottom: 0; inset-inline: 0; margin-inline: auto; width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(0, 16, 40, .45)); -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, #000 88%, transparent 100%); }
.stage .float-card { position: absolute; max-width: 220px; z-index: 2; animation: bob 6s ease-in-out infinite; }
/* chips sit on the sun's edge, clear of the face and body */
.stage .float-card { max-width: 200px; }
.chip-a { inset-inline-start: -24%; top: 30%; }
.chip-b { inset-inline-end: -24%; top: 8%; animation-delay: -3s !important; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  /* on narrow screens there is no room beside the photo; the hero tick list says the same */
  .stage .float-card { display: none; }
}
@media (min-width: 901px) and (max-width: 1250px) {
  .chip-a { inset-inline-start: -10%; }
  .chip-b { inset-inline-end: -10%; }
}
.portrait-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.float-card { background: var(--cream); color: var(--ink); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); font-size: 15px; line-height: 1.35; display: flex; gap: 10px; align-items: center; }
.float-card b { display: block; font-family: var(--head); font-size: 17px; color: var(--navy); }
.float-card .ico { width: 38px; height: 38px; border-radius: 12px; background: var(--sun-soft); display: grid; place-items: center; flex: none; color: var(--navy); }
.float-card .ico svg { width: 22px; height: 22px; }
.hero-wave { position: absolute; bottom: -1px; inset-inline: 0; height: 70px; width: 100%; color: var(--cream); }
@media (max-width: 900px) {
  .hero { padding: 36px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .portrait { width: min(360px, 100%); }
}

/* sections */
section { padding: 96px 0; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; font-weight: 700; font-size: 15px; color: var(--navy); background: var(--sun-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 21px; text-wrap: balance; }
.kicker { font-size: 16px; }
.on-paper { background: var(--paper); }
.on-navy { background: var(--navy); color: var(--cream); }
.on-navy h2, .on-navy h3 { color: var(--cream); }
.on-navy .sec-head p { color: rgba(255, 254, 248, .78); }
.on-navy .kicker { background: rgba(242, 175, 15, .16); color: var(--sun); }
@media (max-width: 700px) { section { padding: 68px 0; } .sec-head { margin-bottom: 32px; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -60px; position: relative; z-index: 2; }
.stat { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); text-align: center; }
.stat b { display: block; font-family: var(--head); font-size: 40px; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 15px; }
.stat .todo { color: #a36b00; font-size: 13px; display: block; }
.stat b.lic { font-family: var(--body); font-size: 26px; padding: 8px 0 4px; direction: ltr; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* audiences */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.aud:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.aud::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--sun); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.aud:hover::after { transform: scaleX(1); }
.aud .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: var(--sun); display: grid; place-items: center; margin-bottom: 8px; }
.aud .ico svg { width: 28px; height: 28px; }
.aud h3 { margin: 0; color: var(--navy); font-size: clamp(28px, 2.8vw, 36px); }
.aud p { margin: 0; color: var(--muted); font-size: 17px; }
.aud .go { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 15px; color: var(--navy); }
@media (max-width: 900px) { .aud-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .aud-grid { grid-template-columns: 1fr; } }

/* pains */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 254, 248, .12); border-radius: var(--radius); padding: 26px; }
.pain .n { font-family: var(--head); font-size: 44px; color: var(--sun); line-height: 1; display: block; margin-bottom: 10px; }
.pain h3 { font-size: 24px; }
.pain p { color: rgba(255, 254, 248, .75); font-size: 16px; margin: 0; }
@media (max-width: 960px) { .pains { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pains { grid-template-columns: 1fr; } }

/* journey */
.journey { position: relative; }
.journey-path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.journey-path path { fill: none; stroke: var(--sun); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.journey-path .ghost { stroke: var(--line); stroke-dasharray: 2 12; stroke-dashoffset: 0; stroke-width: 3; }
.stops { position: relative; display: grid; gap: 70px; padding: 20px 0; }
.stop { width: min(470px, 100%); background: var(--white); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; }
.stop:nth-child(even) { justify-self: end; }
.stop .num { position: absolute; top: -20px; inset-inline-start: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--sun); font-family: var(--head); font-size: 22px; display: grid; place-items: center; border: 4px solid var(--cream); }
.stop h3 { margin-top: 10px; color: var(--navy); }
.stop p { margin: 0; color: var(--muted); font-size: 17px; }
@media (max-width: 760px) { .journey-path { display: none; } .stops { gap: 36px; } .stop:nth-child(even) { justify-self: stretch; } }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--navy); transition: background .2s ease, transform .2s ease; }
.svc:hover { background: var(--sun-soft); transform: translateY(-2px); }
.svc svg { width: 22px; height: 22px; color: var(--sun); flex: none; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .svc-grid { grid-template-columns: 1fr; } }

/* calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.calc-in { padding: 34px; display: grid; gap: 18px; }
.field label { display: flex; justify-content: space-between; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 16px; }
.field output { color: var(--muted); font-weight: 400; }
.field input[type=number] { width: 100%; font: inherit; font-size: 20px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); }
.field input[type=number]:focus { border-color: var(--navy); outline: none; }
.field input[type=range] { width: 100%; accent-color: var(--navy); }
.calc-out { background: var(--navy); color: var(--cream); padding: 34px; display: flex; flex-direction: column; gap: 14px; }
.calc-out .big { font-family: var(--head); font-size: clamp(44px, 5vw, 64px); color: var(--sun); line-height: 1; }
.calc-out .row { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255, 254, 248, .14); padding-bottom: 8px; font-size: 17px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; margin-top: 6px; }
.bars span { flex: 1; background: linear-gradient(180deg, var(--sun) var(--g, 0%), rgba(255, 254, 248, .35) var(--g, 0%)); border-radius: 4px 4px 0 0; min-height: 2px; transition: height .4s ease; }
.legend { display: flex; gap: 16px; font-size: 14px; color: rgba(255, 254, 248, .75); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; }
.fine { font-size: 13px; color: var(--muted); line-height: 1.5; }
.calc-out .fine { color: rgba(255, 254, 248, .6); }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } .calc-in, .calc-out { padding: 24px; } }

/* calculator shown inside a laptop */
.laptop { max-width: 1040px; margin-inline: auto; perspective: 1600px; }
.laptop-screen { background: #0d1626; border-radius: 22px 22px 0 0; padding: 14px 14px 18px; box-shadow: 0 40px 80px -30px rgba(0, 24, 51, .55); transform: rotateX(4deg); transform-origin: bottom; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.laptop.in .laptop-screen { transform: none; }
.laptop-bar { display: flex; align-items: center; gap: 6px; padding: 0 6px 12px; direction: ltr; }
.laptop-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4559; }
.laptop-bar i:first-child { background: #ff5f57; } .laptop-bar i:nth-child(2) { background: #febc2e; } .laptop-bar i:nth-child(3) { background: #28c840; }
.laptop-bar span { margin-inline: auto; font-size: 13px; color: #8a96ab; background: #1b2638; padding: 3px 14px; border-radius: 8px; }
.laptop .calc { border-radius: 12px; box-shadow: none; }
.laptop-base { height: 22px; margin-inline: -5%; background: linear-gradient(180deg, #c9ced8, #9aa2b1); border-radius: 0 0 22px 22px; position: relative; box-shadow: 0 18px 30px -12px rgba(0, 24, 51, .45); }
.laptop-base::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18%; height: 8px; background: #8b93a3; border-radius: 0 0 10px 10px; }
@media (max-width: 820px) {
  .laptop-screen { padding: 8px 8px 10px; border-radius: 16px 16px 0 0; transform: none; }
  .laptop-bar span { display: none; }
  .laptop-base { height: 14px; margin-inline: -3%; }
}

/* how I work */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.quote { font-family: var(--head); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.25; color: var(--navy); margin: 0 0 18px; position: relative; padding-inline-start: 26px; border-inline-start: 6px solid var(--sun); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 26px; height: 26px; color: var(--wa); flex: none; margin-top: 2px; }
/* green checks draw themselves in when the section scrolls into view */
.js .ticks svg { stroke-dasharray: 26; stroke-dashoffset: 26; transform: scale(.6); opacity: 0; transition: stroke-dashoffset .7s ease, transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .3s ease; }
.js .in .ticks svg { stroke-dashoffset: 0; transform: none; opacity: 1; }
.js .in .ticks li:nth-child(1) svg { transition-delay: .35s; }
.js .in .ticks li:nth-child(2) svg { transition-delay: .75s; }
.js .in .ticks li:nth-child(3) svg { transition-delay: 1.15s; }
.phone { justify-self: center; width: min(360px, 100%); background: #0b141a; border-radius: 34px; padding: 14px; box-shadow: var(--shadow); }
.phone-top { display: flex; align-items: center; gap: 10px; color: #e9edef; padding: 6px 8px 12px; font-size: 15px; }
.phone-top .av { width: 34px; height: 34px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.phone-top .av img { width: 22px; }
.chat { background: #0b141a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23182229'/%3E%3C/svg%3E"); border-radius: 22px; padding: 14px; display: grid; gap: 8px; }
.msg { background: #005c4b; color: #e9edef; padding: 9px 12px; border-radius: 12px 12px 4px 12px; font-size: 15px; line-height: 1.45; max-width: 88%; justify-self: start; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.msg.them { background: #202c33; justify-self: end; border-radius: 12px 12px 12px 4px; }
.in .msg { opacity: 1; transform: none; }
.in .msg:nth-child(2) { transition-delay: .5s; } .in .msg:nth-child(3) { transition-delay: 1s; } .in .msg:nth-child(4) { transition-delay: 1.5s; }
.how-photo { justify-self: center; width: min(400px, 100%); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, #e9e9ea, #cfd0d3); box-shadow: var(--shadow); border-bottom: 6px solid var(--sun); }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }

/* case */
.case { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.case-col { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); text-align: center; }
.case-col.after { border: 2px solid var(--sun); box-shadow: var(--shadow); }
.case-col small { display: block; font-weight: 700; color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.case-col b { display: block; font-family: var(--head); font-size: clamp(40px, 5vw, 58px); color: var(--navy); line-height: 1.05; }
.case-col span { color: var(--muted); font-size: 15px; }
.case-mid { align-self: center; background: var(--navy); color: var(--sun); font-family: var(--head); font-size: 22px; padding: 12px 18px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 700px) { .case { grid-template-columns: 1fr; } .case-mid { justify-self: center; } }

/* testimonials */
.video-ph { max-width: 900px; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy), var(--navy-soft)); display: grid; place-items: center; color: var(--cream); text-align: center; padding: 20px; box-shadow: var(--shadow); }
.play { width: 84px; height: 84px; border-radius: 50%; background: var(--sun); color: var(--navy); display: grid; place-items: center; margin: 0 auto 14px; }
.play svg { width: 34px; height: 34px; margin-inline-start: -4px; }

/* articles */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-top { background: var(--navy); color: var(--sun); padding: 22px 24px; font-weight: 700; font-size: 14px; }
.card-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { color: var(--navy); font-size: 23px; margin: 0; }
.card-body p { color: var(--muted); font-size: 16px; margin: 0; }
.card-body .go { margin-top: auto; font-weight: 700; color: var(--navy); font-size: 15px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 21px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--head); font-size: 26px; color: var(--sun); line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }

/* icons & visual accents */
.pain-ico { width: 58px; height: 58px; border-radius: 18px; background: rgba(242, 175, 15, .14); color: var(--sun); display: grid; place-items: center; margin-bottom: 16px; }
.pain-ico svg { width: 30px; height: 30px; }
.pain h3 { font-size: clamp(26px, 2.4vw, 30px); }
.stop-ico { position: absolute; top: 22px; inset-inline-end: 24px; width: 48px; height: 48px; border-radius: 14px; background: var(--sun-soft); color: var(--navy); display: grid; place-items: center; }
.stop-ico svg { width: 26px; height: 26px; }
.stop h3 { font-size: clamp(26px, 2.6vw, 32px); padding-inline-end: 60px; }
.svc { font-size: 18px; }
.svc .svc-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--sun); display: grid; place-items: center; flex: none; }
.svc .svc-ico svg { width: 22px; height: 22px; color: var(--sun); }
.card-top { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 22px; padding: 20px 24px; }
.card-top svg { width: 28px; height: 28px; flex: none; }
.card-body h3 { font-size: clamp(25px, 2.4vw, 30px); }
.has-waves { position: relative; padding-top: 130px; padding-bottom: 130px; }
.wave { position: absolute; inset-inline: 0; width: 100%; height: 60px; pointer-events: none; }
.wave-top { top: -1px; color: var(--cream); }
.wave-bot { bottom: -1px; color: var(--paper); }
.deco { position: relative; overflow: hidden; }
.deco > .wrap { position: relative; }
.deco-ico { position: absolute; color: var(--navy); opacity: .05; pointer-events: none; }
.deco-a { width: 340px; height: 340px; top: 40px; inset-inline-start: -70px; transform: rotate(-12deg); }
.deco-b { width: 220px; height: 220px; bottom: 50px; inset-inline-end: -40px; transform: rotate(10deg); color: var(--sun); opacity: .12; }
@media (max-width: 700px) { .deco-ico { display: none; } .has-waves { padding-top: 100px; padding-bottom: 100px; } }

/* faq colours */
.faq details { border-inline-start: 5px solid var(--line); transition: border-color .2s ease, background .2s ease; }
.faq details[open] { border-inline-start-color: var(--sun); background: var(--white); box-shadow: var(--shadow-sm); }
.faq summary { align-items: center; justify-content: flex-start; }
.faq summary .q-txt { flex: 1; }
.faq summary::after { content: "+"; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--sun); display: grid; place-items: center; font-size: 24px; flex: none; }
.q-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--sun-soft); color: var(--navy); display: grid; place-items: center; flex: none; }
.q-ico svg { width: 22px; height: 22px; }
.faq details p { color: var(--ink); background: var(--paper); border-radius: 12px; padding: 14px 18px; margin: 0 0 16px; }

/* disclosure */
.disclosure { background: var(--paper); border-radius: var(--radius); padding: 22px 26px; font-size: 15px; color: var(--muted); border: 1px dashed #cfc7b0; }
.disclosure b { color: var(--navy); }

/* final cta */
.final { text-align: center; position: relative; overflow: hidden; }
.final h2 { font-size: clamp(34px, 5vw, 60px); max-width: 18ch; margin-inline: auto; }
.final p { color: rgba(255, 254, 248, .8); font-size: 20px; max-width: 46ch; margin: 0 auto 30px; }
.final .hero-ctas { justify-content: center; }

/* footer */
.site-foot { background: var(--navy-deep); color: rgba(255, 254, 248, .78); padding: 64px 0 28px; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h4 { color: var(--cream); font-size: 20px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--sun); }
.foot-legal { border-top: 1px solid rgba(255, 254, 248, .12); margin-top: 40px; padding-top: 20px; font-size: 13px; line-height: 1.6; display: grid; gap: 8px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* floating whatsapp */
.wa-float { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }

/* reveal */
/* content stays visible without JS; only .js pages animate */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
/* hero animates on load, not on scroll */
.js .hero .reveal, .js .art-hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero .reveal-d1 { animation-delay: .12s; } .js .hero .reveal-d2 { animation-delay: .24s; } .js .hero .reveal-d3 { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ===== article page ===== */
.crumbs { font-size: 15px; color: rgba(255, 254, 248, .7); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "‹"; margin-inline-end: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--sun); }
.art-hero { background: linear-gradient(180deg, var(--navy), var(--navy-deep)); color: var(--cream); padding: 44px 0 110px; position: relative; overflow: hidden; }
.art-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 254, 248, .08) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent); }
.art-hero h1 { font-size: clamp(36px, 5vw, 60px); color: var(--cream); max-width: 22ch; position: relative; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; color: rgba(255, 254, 248, .78); font-size: 15px; position: relative; }
.meta .who { display: flex; align-items: center; gap: 10px; }
.meta .who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--sun); }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; margin-top: -70px; position: relative; }
.art-main { min-width: 0; }
.tldr { background: var(--white); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); border-top: 6px solid var(--sun); margin-bottom: 40px; }
.tldr h2 { font-size: 22px; color: var(--navy); margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.tldr p { margin: 0; font-size: 19px; }
.prose { font-size: 19px; }
.prose h2 { font-size: clamp(28px, 3.2vw, 38px); color: var(--navy); margin-top: 1.6em; scroll-margin-top: 90px; }
.prose h3 { color: var(--navy); margin-top: 1.2em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--sun); font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: 17px; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.prose th { background: var(--navy); color: var(--cream); font-weight: 700; text-align: start; padding: 12px 14px; }
.prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; background: var(--sun-soft); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.callout { background: var(--sun-soft); border-radius: 14px; padding: 18px 22px; border-inline-start: 6px solid var(--sun); margin: 1.4em 0; }
.example { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.example .total { font-family: var(--head); font-size: 30px; color: var(--navy); }
.draft-note { border: 2px dashed #d39b00; background: #fff8e3; color: #7a5300; border-radius: 12px; padding: 14px 18px; font-size: 16px; margin-bottom: 1.4em; }
.toc { position: sticky; top: 96px; align-self: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: 16px; }
.toc h2 { font-size: 20px; color: var(--navy); }
.toc ol { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 4px; counter-reset: t; }
.toc a { text-decoration: none; display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); border-inline-start: 3px solid transparent; }
.toc a:hover, .toc a.active { color: var(--navy); background: var(--paper); border-inline-start-color: var(--sun); }
.toc .btn { width: 100%; justify-content: center; font-size: 16px; padding: 12px; }
.author { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 24px; margin: 48px 0; }
.author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--sun); }
.author h3 { margin: 0 0 4px; color: var(--navy); font-size: 22px; }
.author p { margin: 0; font-size: 16px; color: var(--muted); }
.art-cta { background: var(--navy); color: var(--cream); border-radius: var(--radius-lg); padding: 36px; margin: 48px 0; position: relative; overflow: hidden; }
.art-cta h2 { color: var(--cream); margin-top: 0; }
.art-cta p { color: rgba(255, 254, 248, .82); }
@media (max-width: 980px) { .art-layout { grid-template-columns: 1fr; } .toc { display: none; } }

.more-calc { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 44px auto 0; background: var(--white); border: 1px solid var(--line); border-inline-start: 6px solid #D32F2F; border-radius: 18px; padding: 18px 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.more-calc:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.more-calc b { display: block; color: var(--navy); font-size: 20px; }
.more-calc .mc-ico { width: 48px; height: 48px; border-radius: 14px; background: #FDECEA; color: #C62828; display: grid; place-items: center; flex: none; }
.more-calc .mc-ico svg { width: 26px; height: 26px; }
.more-calc .mc-arrow { margin-inline-start: auto; font-size: 26px; color: var(--sun); }

/* ===== calculator pages ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.calc-page { margin-bottom: 40px; }
.calc-page .tldr { margin-bottom: 0; box-shadow: none; padding: 0; border: 0; }
.calc-wide { margin-bottom: 40px; overflow-x: clip; padding-bottom: 24px; }
.calc-top { margin-top: -80px; position: relative; padding-top: 0; }
.calc-cta { text-align: center; margin-top: 34px; }
.calc-page-text { margin-top: 0; }
.seg { border: 0; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.seg legend { font-weight: 700; color: var(--navy); font-size: 16px; margin-bottom: 6px; padding: 0; width: 100%; }
.seg label { flex: 1; display: block; cursor: pointer; margin: 0; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); font-weight: 700; color: var(--navy); transition: background .2s, color .2s, border-color .2s; }
.seg input:checked + span { background: var(--navy); color: var(--sun); border-color: var(--navy); }
.seg input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.range-marks { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.loss-box { background: var(--white); border-radius: 16px; padding: 18px 20px; border-inline-start: 8px solid #D32F2F; display: grid; gap: 14px; margin: 6px 0; }
.loss-line, .loss-total { display: grid; gap: 2px; }
.loss-line + .loss-line { border-top: 1px dashed #F1C6C6; padding-top: 12px; }
.loss-box span { color: var(--ink); font-weight: 700; font-size: 17px; }
.loss-box strong { font-family: var(--head); font-size: clamp(32px, 3.4vw, 42px); color: #C62828; line-height: 1.05; }
.loss-box small { color: #8E1B1B; font-size: 14px; font-weight: 700; }
.tax-note { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink); background: #FDECEA; border-radius: 10px; padding: 10px 12px; }
.tax-note:empty { display: none; }
.loss-total { background: #C62828; color: #fff; border-radius: 12px; padding: 14px 16px; margin: 2px -6px -4px; }
.loss-total span { color: #fff; font-size: 18px; }
.loss-total strong { color: #fff; font-size: clamp(42px, 4.8vw, 60px); }
.seg-3 label span { padding: 10px 6px; line-height: 1.2; }
.seg span small { display: block; font-weight: 400; font-size: 13px; opacity: .8; margin-top: 2px; }
.calc-out .row b { font-size: 20px; color: var(--sun); white-space: nowrap; }

.sources { background: var(--paper); border-radius: 16px; padding: 18px 22px; margin: 32px 0 20px; }
.sources h2 { font-size: 20px; color: var(--navy); margin: 0 0 8px; }
.sources ul { margin: 0; padding-inline-start: 1.2em; font-size: 16px; }
.sources li { margin-bottom: 4px; }

/* ===== travel calculator (wizard) ===== */
.wiz { background: var(--white); border-radius: 12px; padding: clamp(20px, 4vw, 40px); min-height: 460px; }
.wiz-steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: s; }
.wiz-steps li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--muted); padding-bottom: 10px; border-bottom: 4px solid var(--line); transition: color .3s, border-color .3s; }
.wiz-steps li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--navy); font-size: 14px; flex: none; transition: background .3s, color .3s; }
.wiz-steps li.is-on { color: var(--navy); border-color: var(--sun); }
.wiz-steps li.is-on span { background: var(--sun); }
.wiz-steps li.is-done { color: var(--navy); border-color: var(--navy); }
.wiz-steps li.is-done span { background: var(--navy); color: var(--sun); }
.wiz-pane { display: grid; gap: 18px; max-width: 640px; margin-inline: auto; padding: 0; }
.wiz-pane[hidden] { display: none; }
.wiz-pane.is-on { animation: wizIn .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes wizIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.wiz-pane h3 { font-size: clamp(26px, 3vw, 34px); color: var(--navy); margin: 0; outline: none; }
.wiz-hint { margin: -8px 0 0; color: var(--muted); font-size: 16px; }
.wiz-days { margin: 0; font-weight: 700; color: var(--navy); min-height: 1.4em; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.wiz-nav .btn { margin-inline-start: auto; }
.wiz-back { font: inherit; font-weight: 700; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 10px 4px; }
.wiz-back:hover { color: var(--navy); }
.wiz-summary { margin: -6px 0 0; background: var(--paper); border-radius: 12px; padding: 10px 14px; font-size: 16px; color: var(--navy); }
.wiz-result { max-width: 760px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wiz .quote { background: var(--cream); border: 1.5px solid var(--line); border-inline-start: 6px solid var(--sun); gap: 6px; }
.wiz .quote .buy { justify-content: center; margin-top: 8px; font-size: 17px; padding: 12px 18px; }
.wiz .addons label, .wiz .tr-row { background: var(--cream); }
@media (max-width: 640px) { .quotes { grid-template-columns: 1fr; } .wiz-steps li { font-size: 0; justify-content: center; } .wiz-steps li span { font-size: 14px; } }

.wiz .quote .q-name { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.wiz .quote .q-name img { height: 44px; width: auto; }
.wiz .buy-next { justify-self: center; font-size: 19px; padding: 15px 34px; }
.buy-wrap { max-width: 860px; margin: -70px auto 90px; position: relative; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 5vw, 48px); }
.buy-summary { background: var(--paper); border-radius: 12px; padding: 10px 14px; color: var(--navy); font-weight: 700; margin: 0 0 14px; }
.buy-lead { font-size: 18px; margin: 0 0 24px; }
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.buy-card { border: 1.5px solid var(--line); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.buy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sun); }
.buy-logo { height: 76px; display: grid; place-items: center; }
.buy-logo img { max-height: 70px; width: auto; }
.buy-card h2 { font-size: 26px; color: var(--navy); margin: 0; }
.buy-price { margin: 0; color: var(--muted); }
.buy-price b { color: var(--navy); font-family: var(--head); font-size: 26px; direction: ltr; display: inline-block; }
.buy-card .btn { width: 100%; justify-content: center; margin-top: auto; }
.buy-notes { margin: 28px 0 12px; padding-inline-start: 1.2em; display: grid; gap: 8px; font-size: 16px; }
.buy-notes li::marker { color: var(--sun); }
@media (max-width: 640px) { .buy-grid { grid-template-columns: 1fr; } }

/* ===== travel calculator ===== */
.field select, .field input[type=date] { width: 100%; font: inherit; font-size: 18px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.travellers, .addons { border: 0; padding: 0; margin: 0; }
.travellers legend, .addons legend { font-weight: 700; color: var(--navy); font-size: 16px; margin-bottom: 8px; padding: 0; }
.tr-list { display: grid; gap: 8px; }
.tr-row { display: flex; align-items: center; gap: 10px; background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; padding: 6px 10px; }
.tr-row input[name=age] { width: 70px; font: inherit; font-size: 18px; padding: 6px 8px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--white); }
.tr-lbl { color: var(--muted); font-size: 15px; }
.tr-row .pre { display: flex; align-items: center; gap: 6px; font-size: 15px; margin-inline-start: auto; cursor: pointer; }
.rm-tr { border: 0; background: none; font-size: 22px; color: var(--muted); cursor: pointer; line-height: 1; padding: 0 4px; }
.add-tr { margin-top: 8px; font: inherit; font-weight: 700; color: var(--navy); background: none; border: 1.5px dashed var(--line); border-radius: 12px; padding: 8px 14px; cursor: pointer; width: 100%; }
.add-tr:hover { border-color: var(--navy); }
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.addons legend { grid-column: 1 / -1; }
.addons label { display: flex; align-items: center; gap: 8px; font-size: 15px; background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; margin: 0; color: var(--ink); font-weight: 400; justify-content: flex-start; }
.addons input, .tr-row .pre input { accent-color: var(--navy); width: 18px; height: 18px; flex: none; }
.addons small { color: var(--muted); }
.quote { background: var(--white); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; border-inline-start: 6px solid var(--sun); }
.quote .q-name { font-weight: 700; color: var(--navy); font-size: 17px; }
.quote strong { font-family: var(--head); font-size: clamp(34px, 3.6vw, 46px); color: var(--navy); line-height: 1.05; direction: ltr; text-align: right; }
.quote small { color: var(--muted); font-size: 14px; }
.quote.is-na strong { font-size: 26px; }
.calc-out .buy { justify-content: center; margin-top: 4px; }
@media (max-width: 520px) { .addons, .dates { grid-template-columns: 1fr; } .tr-row { flex-wrap: wrap; } }

/* ===== glossary ===== */
.g-bar { margin-top: -70px; position: relative; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; border: 1.5px solid var(--line); background: var(--cream); color: var(--navy); border-radius: 999px; padding: 9px 18px; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.chip span { font-weight: 400; font-size: 14px; opacity: .7; margin-inline-start: 4px; }
.chip:hover { transform: translateY(-1px); border-color: var(--navy); }
.chip.is-on { background: var(--navy); color: var(--sun); border-color: var(--navy); }
.chip:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.g-search { display: flex; align-items: center; gap: 8px; background: var(--cream); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; min-width: 240px; flex: 0 1 300px; }
.g-search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.g-search input { border: 0; background: none; font: inherit; font-size: 17px; width: 100%; color: var(--ink); outline: none; }
.g-status { min-height: 1.5em; color: var(--muted); font-size: 15px; margin: 14px 4px 0; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin: 6px 0 40px; }
.g-item { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; scroll-margin-top: 100px; transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .2s ease; }
.g-item:hover { box-shadow: var(--shadow-sm); }
.js .g-item { opacity: 0; transform: translateY(18px); }
.js .g-item.in { opacity: 1; transform: none; }
.g-item.g-hit { border-color: var(--sun); box-shadow: 0 0 0 3px var(--sun-soft); }
.g-term { font-size: 23px; color: var(--navy); margin: 8px 0 6px; line-height: 1.25; }
.g-def { margin: 0; font-size: 17px; color: var(--ink); line-height: 1.6; }
.g-more { font-weight: 700; white-space: nowrap; }
.g-cat { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.g-pension { background: var(--sun-soft); color: #7a5300; }
.g-finance { background: #E3ECF7; color: var(--navy); }
.g-health { background: #E3F4EC; color: #1E6B45; }
.g-life { background: #FBE9E7; color: #9A3412; }
.g-travel { background: #EDE7F6; color: #4A2C82; }
.g-empty { text-align: center; font-size: 18px; margin: 10px 0 40px; }
.g-cta { margin-bottom: 90px; }
@media (max-width: 640px) { .g-search { flex: 1 1 100%; } .chip { font-size: 15px; padding: 8px 14px; } }

/* cards whose page is not built yet (build.py turns the link into a div) */
.is-soon { cursor: default; }
.is-soon:hover { transform: none; }
.is-soon .go, .is-soon .mc-arrow, .is-soon .hub-go { display: none; }

/* ===== audience hubs (/for/...) ===== */
.hub-hero { padding-bottom: 130px; }
.hub-head { display: flex; align-items: center; gap: 18px; position: relative; }
.hub-head .hub-ico { width: 64px; height: 64px; border-radius: 20px; flex: none; }
.hub-head .hub-ico svg { width: 34px; height: 34px; }
.hub-head h1 { max-width: 24ch; margin: 0; }
.hub-body { position: relative; margin-top: -90px; }
.hub-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: stretch; }
.hub-photo { margin: 0; }
.hub-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); display: block; aspect-ratio: 16 / 10; }
.hub-tldr { margin: 0; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.hub-tldr p { font-size: 18px; }
.hub-tldr .btn { align-self: flex-start; }
.hub-sec { margin: 64px 0 0; padding: 0; }
.hub-sec > h2 { font-size: clamp(30px, 3.6vw, 44px); color: var(--navy); margin-bottom: 24px; }
.hub-pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hub .pain { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 24px; }
.hub .pain h3 { color: var(--navy); font-size: clamp(26px, 2.4vw, 31px); line-height: 1.15; margin: 0 0 8px; }
.hub .pain p { color: var(--muted); margin: 0; font-size: 16px; }
.hub .pain-ico { background: var(--sun-soft); color: var(--navy); }
.hub-check { background: var(--navy); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); }
.hub-check > h2 { color: var(--cream); }
.hub-ticks { grid-template-columns: 1fr 1fr; gap: 14px 32px; font-size: 18px; margin: 0; }
.hub-ticks svg { color: var(--sun); }
.hub-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hub-link { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; text-decoration: none; color: var(--muted); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; font-size: 16px; }
.hub-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--sun); }
.hub-link b { display: block; color: var(--navy); font-size: 19px; }
.hub-link-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--sun); display: grid; place-items: center; flex: none; }
.hub-link-ico svg { width: 26px; height: 26px; }
.hub-link .mc-arrow { margin-inline-start: auto; font-size: 24px; color: var(--sun); }
.hub-cta { margin-top: 64px; padding: 36px; }
.hub-fine { margin: 0 0 90px; }
@media (max-width: 1000px) { .hub-pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .hub-top { grid-template-columns: 1fr; } .hub-ticks, .hub-links { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hub-pains { grid-template-columns: 1fr; } .hub-head .hub-ico { width: 52px; height: 52px; } }

/* ===== calculators hub ===== */
.calc-hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -70px; position: relative; }
.hub-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 30px 26px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; border-top: 6px solid var(--sun); transition: transform .25s ease, box-shadow .25s ease; }
.hub-card:hover { transform: translateY(-4px); }
.hub-card h2 { font-size: clamp(24px, 2.4vw, 30px); color: var(--navy); margin: 6px 0 0; }
.hub-card p { margin: 0; color: var(--muted); font-size: 17px; flex: 1; }
.hub-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: var(--sun); display: grid; place-items: center; }
.hub-ico svg { width: 30px; height: 30px; }
.hub-red { border-top-color: #D32F2F; }
.hub-red .hub-ico { background: #FDECEA; color: #C62828; }
.hub-go { font-weight: 700; color: var(--navy); }
.hub-fine { margin: 28px auto 90px; max-width: 760px; text-align: center; font-size: 15px; }
@media (max-width: 900px) { .calc-hub { grid-template-columns: 1fr; } }

/* ===== about page ===== */
.about-intro { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: center; margin-bottom: 12px; }
.about-photo { margin: 0; position: relative; }
.about-photo::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; background: var(--sun); border-radius: 26px; z-index: 0; }
.about-photo img { position: relative; z-index: 1; width: 100%; height: auto; border-radius: 22px; display: block; box-shadow: var(--shadow); }
.eyebrow-dark { display: inline-block; background: var(--sun-soft); color: var(--navy); font-weight: 700; border-radius: 999px; padding: 6px 14px; font-size: 15px; margin: 0 0 12px; }
.about-lead .lead { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.about-lead .facts { margin-top: 18px; }
.values { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.values li { background: var(--paper); border-radius: 18px; padding: 20px; font-size: 16px; color: var(--muted); border-top: 4px solid var(--sun); }
.values b { display: block; color: var(--navy); font-family: var(--head); font-size: 22px; margin: 10px 0 4px; }
.v-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: var(--sun); display: grid; place-items: center; }
.v-ico svg { width: 24px; height: 24px; }
.about-body .art-cta { margin: 40px 0 24px; }
@media (max-width: 760px) { .about-intro { grid-template-columns: 1fr; } .about-photo { max-width: 260px; margin-inline: auto; } .values { grid-template-columns: 1fr; } }

/* ===== article photos ===== */
.art-fig { margin: 1.6em 0; }
.art-fig img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: var(--shadow-sm); }
.art-fig-hero { margin: 0 0 36px; }
.art-fig-hero img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; }
.art-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

.prose ul.partners { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.prose ul.partners li { margin: 0; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 700; color: var(--navy); }

/* ===== legal pages ===== */
.legal-body { max-width: 860px; margin: -70px auto 90px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 5vw, 56px); position: relative; }
.legal-body .prose h2 { font-size: clamp(28px, 3vw, 36px); display: flex; align-items: center; gap: 12px; }
.legal-body .prose h2 .h-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sun-soft); color: var(--navy); display: grid; place-items: center; flex: none; }
.legal-body .prose h2 .h-ico svg { width: 24px; height: 24px; }
.legal-body .meta-line { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.facts li { background: var(--paper); border-radius: 14px; padding: 14px 16px; font-size: 16px; }
.facts b { display: block; color: var(--navy); font-family: var(--head); font-size: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .msg { opacity: 1; transform: none; }
  .js .ticks svg { stroke-dashoffset: 0; opacity: 1; transform: none; }
}
