/* eCaymis landing v6 — national insurer portal. One container (.c), sections bleed backgrounds only. Light + dark. */
.v6 { --paper: #F8F5EF; --paper-2: #F1ECE2; --navy: #0F2E63; --navy-2: #143A7A; --blue: #1E5AC8; --gold: #D4941A; --gold-2: #F3D98B; --ink: #14213D; --mute: #4F5F7A; --line: #E4DED2; --card: #FFFFFF; --r: 20px; --ease: cubic-bezier(.2,.7,.2,1); color: var(--ink); background: var(--paper); }
[data-theme="dark"] .v6 { --paper: #0B1526; --paper-2: #101B30; --ink: #E6EDF8; --mute: #9FB0CB; --line: #24324A; --card: #121F35; --navy: #E6EDF8; }
.v6 .c { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
@media (max-width: 899px) { .v6 .c { padding: 0 16px; } }
/* neutralise app shell rules that would force widths/margins on bleed children */
.page-bleed > .v6 { max-width: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.page-bleed > .v6 > * { padding-left: 0; padding-right: 0; }
.v6-body .page { max-width: none; padding: 0; margin: 0; }
.v6-body .footer { border-top: 0; }

/* type */
.v6-h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin: 18px 0 0; color: var(--navy); }
[data-theme="dark"] .v6-h1 { color: #fff; }
.v6-h1 em { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; color: var(--gold); letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
.v6-h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; margin: 14px 0 12px; color: var(--navy); max-width: 22ch; }
[data-theme="dark"] .v6-h2 { color: #fff; }
.v6-lede, .v6-p { font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.6; color: var(--mute); max-width: 56ch; margin: 18px 0 0; }
.v6-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 80%, transparent); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.v6-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.v6-link { font-weight: 700; color: var(--blue); text-decoration: none; display: inline-block; margin-top: 18px; }
.v6-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.v6-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.v6-ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.v6-ghost-light { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.v6-sec { padding: clamp(56px, 8vw, 112px) 0; }
.v6-head { margin-bottom: clamp(24px, 4vw, 40px); }
.v6-split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .v6-split { grid-template-columns: 5fr 7fr; gap: 64px; } .v6-split-rev { grid-template-columns: 6fr 6fr; } }

/* reveal: visible by default; JS adds .pre to below-fold elements, then .in */
.v6 [data-reveal].pre { opacity: 0; transform: translateY(18px); }
.v6 [data-reveal].in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }

/* hero */
.v6-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); background: var(--paper); }
.v6-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.v6-hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(15,46,99,.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(15,46,99,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 65% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 65% 45%, #000 20%, transparent 75%); }
[data-theme="dark"] .v6-hero-bg .grid { background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px); }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.v6-hero-bg .g1 { width: 46vw; height: 46vw; right: -10vw; top: -8vw; background: radial-gradient(circle, #CFE0FF, transparent 62%); animation: v6drift 26s ease-in-out infinite alternate; }
.v6-hero-bg .g2 { width: 34vw; height: 34vw; right: 18vw; bottom: -14vw; background: radial-gradient(circle, #FFE7BF, transparent 62%); animation: v6drift 32s ease-in-out infinite alternate-reverse; }
[data-theme="dark"] .v6-hero-bg .g1 { background: radial-gradient(circle, #1E5AC8, transparent 62%); opacity: .35; } [data-theme="dark"] .v6-hero-bg .g2 { background: radial-gradient(circle, #8A5A12, transparent 62%); opacity: .3; }
@keyframes v6drift { to { transform: translate3d(-4vw, 3vw, 0) scale(1.08); } }
.v6-hero-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .v6-hero-grid { grid-template-columns: 6fr 6fr; gap: 24px; min-height: 560px; } }
.v6-facts { list-style: none; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.v6-facts li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.v6-facts li i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* orbit: eight photo tiles circling the card */
.v6-orbit { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; container-type: inline-size; }
.v6-ring { position: absolute; inset: 0; animation: v6spin 70s linear infinite; }
.v6-tile { --r: 42%; position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; margin: -11% 0 0 -11%; border-radius: 22%; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(15,46,99,.45); border: 3px solid var(--card); transform: rotate(calc(var(--i) * 45deg)) translateY(-42cqw) rotate(calc(var(--i) * -45deg)); }
.v6-tile img { width: 100%; height: 100%; object-fit: cover; display: block; animation: v6unspin 70s linear infinite; }
@keyframes v6spin { to { transform: rotate(360deg); } }
@keyframes v6unspin { to { transform: rotate(-360deg); } }
.v6-orbit-card { position: relative; width: 62%; z-index: 2; transition: transform .25s ease; }
.v6-card { margin: 0; max-width: none; box-shadow: 0 40px 80px -30px rgba(5,15,40,.6), 0 0 0 1px rgba(255,255,255,.06) inset; }
.v6-card .member-no { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
@media (max-width: 899px) { .v6-orbit { width: min(440px, 100%); } .v6-tile { width: 24%; margin: -12% 0 0 -12%; transform: rotate(calc(var(--i) * 45deg)) translateY(-40cqw) rotate(calc(var(--i) * -45deg)); } .v6-orbit-card { width: 66%; } }

/* ticker */
.v6-ticker { background: var(--navy); color: #E6EDF8; overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); }
[data-theme="dark"] .v6-ticker { background: #0F2E63; }
.v6-ticker-track { display: flex; gap: 40px; width: max-content; padding: 12px 0; animation: v6ticker 40s linear infinite; font-size: .88rem; font-weight: 600; }
.v6-ticker-track span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.v6-ticker-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@keyframes v6ticker { to { transform: translateX(-50%); } }
[dir="rtl"] .v6-ticker-track { animation-direction: reverse; }

/* package areas */
.v6-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 900px) { .v6-areas { grid-template-columns: repeat(3, 1fr); } }
.v6-areas li { display: grid; gap: 12px; padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); min-height: 118px; }
.v6-area-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--blue); background: #EAF1FE; }
[data-theme="dark"] .v6-area-ic { background: #14274A; color: #A7C4F5; }
.v6-areas b { font-size: .95rem; line-height: 1.3; color: var(--navy); }

/* who: bento */
.v6-who { background: var(--paper-2); }
.v6-bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .v6-bento { grid-template-columns: repeat(6, 1fr); } .g1 { grid-column: span 3; } .g2 { grid-column: span 3; } .g3, .g4, .g5 { grid-column: span 2; } }
.v6-tilecard { position: relative; overflow: hidden; border-radius: var(--r); padding: 24px; color: #fff; min-height: 200px; display: grid; align-content: end; gap: 8px; --mx: 50%; --my: 50%; }
.v6-tilecard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255,255,255,.18), transparent 60%); pointer-events: none; transition: opacity .3s; }
.v6-tilecard h3 { margin: 0; font-size: 1.15rem; color: #fff; } .v6-tilecard p { margin: 0; color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.5; }
.v6-cat-ic { position: absolute; top: 20px; inset-inline-start: 20px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.g1 { background: linear-gradient(160deg, #0F2E63, #1E5AC8 90%); } .g2 { background: linear-gradient(160deg, #0B6B7D, #0F9BB5 90%); } .g3 { background: linear-gradient(160deg, #3F2FA6, #6A5AE0 90%); } .g4 { background: linear-gradient(160deg, #145A38, #1E9E63 90%); } .g5 { background: linear-gradient(160deg, #5B6B85, #8A98B0 90%); }

/* how: rail */
.v6-rail-wrap { position: relative; }
.v6-rail-line { position: absolute; inset-inline: 0; top: 34px; height: 2px; background: var(--line); display: none; }
.v6-rail-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--blue)); transition: width .3s linear; }
.v6-rail { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .v6-rail { grid-template-columns: repeat(4, 1fr); gap: 20px; } .v6-rail-line { display: block; } }
.v6-step { position: relative; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.v6-step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .06em; margin-bottom: 14px; position: relative; z-index: 1; }
[data-theme="dark"] .v6-step-n { background: var(--blue); }
.v6-step h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--navy); }
.v6-desk h3, .v6-step h3, .v6-areas b, .v6-notice-list b, .v6-contact b { color: var(--navy); } .v6-step p { margin: 0; color: var(--mute); font-size: .95rem; line-height: 1.55; }

/* clinic: dark photo band + phone */
.v6-clinic { position: relative; overflow: hidden; color: #fff; }
.v6-clinic-bg { position: absolute; inset: 0; }
.v6-clinic-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.v6-clinic-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,46,99,.86), rgba(11,21,38,.94)); }
.v6-clinic .c { position: relative; }
.v6-copy-dark .v6-h2 { color: #fff; } .v6-copy-dark .v6-pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #E6EDF8; }
.v6-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.v6-points li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.v6-point-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); font-weight: 800; font-size: .85rem; }
.v6-points b { display: block; font-size: 1.05rem; margin-bottom: 4px; } .v6-points p { margin: 0; color: #C9D6EC; line-height: 1.55; }
.v6-phone-wrap { display: grid; place-items: center; perspective: 1200px; }
.v6-phone { width: min(320px, 90%); border-radius: 36px; background: #0B1526; padding: 12px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08) inset; transition: transform .25s ease; }
.v6-phone-top { display: grid; place-items: center; padding: 6px 0 10px; } .v6-phone-top span { width: 90px; height: 6px; border-radius: 999px; background: #22314D; }
.v6-screen { background: #F4F7FB; color: #14213D; border-radius: 26px; padding: 16px; display: grid; gap: 12px; min-height: 420px; }
.v6-scr-h { display: flex; align-items: center; gap: 8px; } .v6-scr-h b { color: #0F2E63; } .v6-scr-h small { color: #5B6B85; margin-inline-start: auto; }
.v6-scr-l { margin: 4px 0 0; font-size: .8rem; font-weight: 700; color: #0F2E63; }
.v6-scr-input { position: relative; overflow: hidden; border: 1px solid #CFD8E6; border-radius: 12px; padding: 12px 14px; font-weight: 700; letter-spacing: .06em; background: #fff; }
.v6-scan { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: linear-gradient(90deg, transparent, #1E9E63, transparent); animation: v6scan 2.4s ease-in-out infinite; }
@keyframes v6scan { 0%, 100% { top: 0; opacity: 0; } 15% { opacity: 1; } 50% { top: calc(100% - 2px); } 85% { opacity: 1; } }
.v6-scr-res { display: grid; gap: 4px; padding: 14px; border: 2px solid #1E9E63; border-radius: 14px; background: #fff; justify-items: start; }
.v6-scr-res b { font-size: 1.05rem; color: #0F2E63; } .v6-scr-res small { color: #5B6B85; }
.v6-scr-btn { margin-top: auto; text-align: center; padding: 12px; border-radius: 999px; background: #0F2E63; color: #fff; font-weight: 700; }

/* desks */
.v6-desk-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .v6-desk-grid { grid-template-columns: repeat(3, 1fr); } }
.v6-desk { position: relative; overflow: hidden; display: grid; gap: 10px; padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: inherit; --mx: 50%; --my: 50%; transition: transform .35s var(--ease), box-shadow .35s; }
.v6-desk::before { content: ""; position: absolute; inset: 0; background: radial-gradient(280px circle at var(--mx) var(--my), rgba(30,90,200,.10), transparent 60%); pointer-events: none; }
.v6-desk h3 { margin: 6px 0 0; font-size: 1.15rem; color: var(--navy); } .v6-desk p { margin: 0; color: var(--mute); line-height: 1.55; }
.v6-desk-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #EAF1FE; color: var(--blue); }
[data-theme="dark"] .v6-desk-ic { background: #14274A; color: #A7C4F5; }
@media (hover: hover) { .v6-desk:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(15,46,99,.5); } }

/* notices + help */
.v6-notices { background: var(--paper-2); }
.v6-notice-list { list-style: none; margin: 0; padding: 0; display: grid; }
.v6-notice-list li { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .v6-notice-list li { grid-template-columns: 150px 1fr; gap: 24px; } }
.v6-notice-list li:last-child { border-bottom: 1px solid var(--line); }
.v6-notice-list time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--gold); font-size: .85rem; letter-spacing: .04em; }
.v6-notice-list b { display: block; font-size: 1.05rem; color: var(--navy); margin-bottom: 4px; } .v6-notice-list p { margin: 0; color: var(--mute); line-height: 1.55; }
.v6-faq { display: grid; gap: 10px; }
.v6-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.v6-faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.v6-faq summary::-webkit-details-marker { display: none; }
.v6-faq summary i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: transform .3s; }
.v6-faq summary i::before, .v6-faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); }
.v6-faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.v6-faq details[open] summary i { transform: rotate(45deg); }
.v6-faq p { margin: 0 0 16px; color: var(--mute); line-height: 1.6; }
.v6-contact { margin-top: 24px; padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 4px; }
.v6-contact b { color: var(--navy); } .v6-contact p { margin: 0; color: var(--mute); } .v6-contact a { color: var(--blue); font-weight: 600; text-decoration: none; }

/* close */
.v6-close { position: relative; overflow: hidden; color: #fff; padding: clamp(64px, 9vw, 120px) 0; text-align: center; }
.v6-close-bg { position: absolute; inset: 0; }
.v6-close-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.v6-close-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,46,99,.85), rgba(11,21,38,.95)); }
.v6-close-bg .g1 { width: 50vw; height: 50vw; left: 50%; top: -20vw; transform: translateX(-50%); background: radial-gradient(circle, rgba(212,148,26,.35), transparent 60%); }
.v6-close-in { position: relative; display: grid; justify-items: center; gap: 8px; }
.v6-close .v6-h2 { color: #fff; max-width: none; } .v6-close p { color: #C9D6EC; max-width: 46ch; margin: 0; }
.v6-close .v6-cta { justify-content: center; }
.v6-sticky { display: none; }
@media (max-width: 699px) { .v6-sticky { display: flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 30; min-height: 52px; align-items: center; justify-content: center; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 20px 40px -18px rgba(5,15,40,.6); transform: translateY(120%); transition: transform .35s var(--ease); } .v6-sticky.show { transform: none; } .v6-body .footer { padding-bottom: 90px; } }
@media (prefers-reduced-motion: reduce) { .v6 *, .v6 *::before, .v6 *::after { animation: none !important; transition: none !important; } .v6 [data-reveal].pre { opacity: 1; transform: none; } }
