/* BeneFIT SA — "bright training floor": a fitness app's daylight energy in the brand's yellow and teal.
   White and soft-mint grounds, ink text, yellow for every action, teal for brand and progress. */

:root {
  --bg: #ffffff;
  --bg-soft: #f1f8f5;
  --bg-mint: #e2f2ed;
  --surface: #ffffff;
  --ink: #13242b;
  --text: #13242b;
  --muted: #51666a;
  --line: #dbe9e4;
  --accent: #f1d31d;
  --accent-soft: #fdf5c4;
  --accent-d: #d9bb0a;
  --teal: #76bbad;
  --teal-ink: #2a7466;
  --teal-soft: #d6eee7;
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 72px;
  --shadow: 0 18px 40px -22px rgba(19, 36, 43, 0.35);
  --shadow-sm: 0 8px 22px -14px rgba(19, 36, 43, 0.3);
  --font-display: 'Archivo', 'Rubik', system-ui, sans-serif;
  --font-body: 'Rubik', system-ui, sans-serif;
}
[dir='rtl'] { --font-display: 'Rubik', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 0.55em; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 900; font-stretch: 104%; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; font-stretch: 108%; }
h3 { font-size: 1.18rem; font-weight: 700; font-family: var(--font-body); letter-spacing: 0; }
[dir='rtl'] h1, [dir='rtl'] h2 { letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 0.95em; letter-spacing: 0.04em; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.container-mid { width: min(880px, 100% - 2.5rem); margin-inline: auto; }
.container-narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section-tight { padding-top: 1.5rem; }
.section-head { margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  padding: 0.95rem 1.6rem; border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 10px 22px -12px rgba(217, 187, 10, 0.9); }
.btn-primary:hover { background: #ffe03a; color: var(--ink); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--ink); }
.btn-dark { background: var(--ink); color: #ffffff; }
.btn-dark:hover { background: #1d3640; color: #ffffff; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.92rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- header + nav ---------- */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.site-header { position: sticky; top: 0; z-index: 900; direction: ltr; height: var(--header-h); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 100%; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 34px; width: auto; max-width: none; aspect-ratio: 480 / 111; object-fit: contain; }
.footer-logo { max-width: none; aspect-ratio: 520 / 186; object-fit: contain; }
.site-nav-desktop ul { display: flex; gap: 0.25rem; list-style: none; }
.site-nav-desktop a { display: block; padding: 0.5rem 0.85rem; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 999px; }
.site-nav-desktop a:hover { background: var(--bg-soft); }
.site-nav-desktop a.active { background: var(--teal-soft); color: var(--teal-ink); font-weight: 600; }
.header-end { display: flex; align-items: center; gap: 0.75rem; }
.lang-switcher { display: inline-flex; gap: 0.25rem; padding: 0.2rem; background: var(--bg-soft); border-radius: 999px; }
.lang-pill { font-size: 0.82rem; font-weight: 600; padding: 0.3rem 0.65rem; color: var(--muted); text-decoration: none; border-radius: 999px; }
.lang-pill.lang-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 999px; background: var(--bg-soft); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.site-nav { display: none; }
@media (max-width: 900px) {
  .site-nav-desktop { display: none; }
  .nav-burger { display: inline-flex; }
  .header-end { gap: 0.5rem; }
  .header-end .lang-switcher { padding: 0; background: none; }
  .header-end .lang-switcher .lang-active { display: none; }
  .header-end .lang-switcher .lang-pill:not(.lang-active) { display: inline-flex; align-items: center; height: 40px; padding: 0 0.8rem; border: 1.5px solid var(--line); background: #ffffff; color: var(--ink); font-size: 0.88rem; }
  .site-nav {
    display: block; position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 800; background: #ffffff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-110%); visibility: hidden; transition: transform 0.25s ease, visibility 0.25s ease;
  }
  .site-nav ul { list-style: none; }
  .site-nav a:not(.btn), .site-nav .lang-switcher { display: block; padding: 0.7rem 0; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
  .site-nav .btn { width: 100%; justify-content: center; }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); visibility: visible; }
  .site-nav .lang-switcher-menu { display: inline-flex; margin-top: 1rem; padding: 0.25rem; border-bottom: 0; }
  .site-nav .lang-switcher-menu .lang-pill { display: inline-block; padding: 0.5rem 1.1rem; border-bottom: 0; font-size: 0.95rem; }
}
@media (max-width: 420px) {
  .brand-logo { height: 26px; }
  .header-row { gap: 0.6rem; }
  .header-end { gap: 0.4rem; }
  .header-end .btn-sm { padding: 0.55rem 0.85rem; font-size: 0.85rem; }
  .header-end .lang-switcher .lang-pill:not(.lang-active) { height: 38px; padding: 0 0.6rem; }
  .nav-burger { width: 40px; height: 40px; }
}
@media (max-width: 350px) { .brand-logo { height: 22px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5.5rem); background: radial-gradient(1200px 520px at 85% 0%, var(--bg-mint), transparent 65%), linear-gradient(180deg, var(--bg-soft), #ffffff); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-brand { display: block; width: max-content; font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; color: var(--teal-ink); background: var(--teal-soft); padding: 0.35rem 0.85rem; border-radius: 999px; margin-bottom: 1.1rem; letter-spacing: 0.02em; }
.hero-line { display: block; }
.hero-mark { display: inline-block; white-space: nowrap; background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%); color: var(--ink); padding: 0 0.1em; }
.hero-sub { font-size: 1.18rem; color: var(--muted); margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-visual { position: relative; padding: 1.5rem 0 1.5rem; }
.hero-visual::before { content: ''; position: absolute; z-index: 0; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); inset-inline-end: -4%; top: -2%; }
.hero-visual::after { content: ''; position: absolute; z-index: 0; width: 120px; height: 120px; border-radius: 50%; border: 14px solid var(--teal); inset-inline-start: 18%; top: 0; opacity: 0.55; }
.hero-photo { position: relative; z-index: 1; margin: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 4.3; box-shadow: var(--shadow); width: 76%; margin-inline-start: auto; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.app-card {
  position: absolute; z-index: 2; inset-inline-start: 0; bottom: 0; width: min(270px, 58%); padding: 1.1rem 1.1rem 1.2rem;
  background: #ffffff; border-radius: 26px; box-shadow: 0 30px 60px -28px rgba(19, 36, 43, 0.55); direction: ltr;
}
[dir='rtl'] .app-card { direction: rtl; }
.app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
.app-today { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.app-chip { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.78rem; font-weight: 600; color: #b5480f; background: #ffeedd; padding: 0.25rem 0.6rem; border-radius: 999px; }
.app-chip .icon { width: 15px; height: 15px; }
.ring-wrap { position: relative; width: 132px; margin: 0.2rem auto 0.8rem; }
.ring { width: 132px; height: 132px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring-bg { stroke: var(--teal-soft); }
.ring-fg { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(0.3, 0.7, 0.2, 1); }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring-label b { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.ring-label > span { font-size: 0.72rem; color: var(--muted); margin-top: 0.2rem; }
.app-tasks { list-style: none; display: grid; gap: 0.45rem; margin-bottom: 0.9rem; }
.app-task { display: flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; color: var(--muted); padding: 0.45rem 0.6rem; background: var(--bg-soft); border-radius: 12px; transition: color 0.3s ease, background 0.3s ease; }
.app-task .tick { display: inline-grid; color: var(--line); transition: color 0.3s ease, transform 0.3s ease; }
.app-task .tick .icon { width: 18px; height: 18px; }
.app-task.done { color: var(--ink); background: var(--teal-soft); }
.app-task.done .tick { color: var(--teal-ink); transform: scale(1.1); }
.reward { display: flex; align-items: center; gap: 0.7rem; width: 100%; padding: 1rem 0.7rem 0.5rem; background: var(--accent-soft); border: 0; border-radius: 16px; cursor: pointer; font: inherit; color: var(--ink); text-align: start; }
.reward:hover .cube { transform: translateY(-3px) rotate(-3deg); }
.cube { width: 60px; height: 60px; flex: none; overflow: visible; transition: transform 0.2s ease; }
.cube-left { fill: var(--accent); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.cube-right { fill: var(--accent-d); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.cube-lid polygon { fill: #fbe768; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.cube-q { font: 800 30px/1 'Archivo', sans-serif; fill: var(--ink); text-anchor: middle; }
.cube-lid, .cube-prize { transform-box: fill-box; transform-origin: center; transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.3s ease; }
.cube-prize { opacity: 0; transform: translateY(30px) scale(0.6); }
.reward-hint { font-weight: 700; font-size: 0.9rem; }
.reward-msg { margin: 0.6rem 0 0; font-size: 0.82rem; color: var(--muted); }
.reward-msg b { display: block; color: var(--ink); font-size: 0.95rem; }
.app-card.is-open .cube-lid { transform: translate(46px, 8px) rotate(58deg); opacity: 0.9; }
.app-card.is-open .cube-prize { opacity: 1; transform: translateY(-40px) scale(1.15); }
.app-card.is-open .reward-hint { opacity: 0.55; }
html.js .app-card:not(.is-open) .reward-msg { visibility: hidden; }
html.js .app-card.is-run .ring-fg { stroke-dashoffset: 100; }
html.js .app-card.is-run .app-task { color: var(--muted); background: var(--bg-soft); }
html.js .app-card.is-run .app-task .tick { color: var(--line); transform: none; }
html.js .app-card.is-run .app-task.done { color: var(--ink); background: var(--teal-soft); }
html.js .app-card.is-run .app-task.done .tick { color: var(--teal-ink); transform: scale(1.1); }
html.js .app-card.is-run.is-filled .ring-fg { stroke-dashoffset: 0; }
.app-card.is-ready .reward { animation: nudge 1.6s ease-in-out infinite; }
.burst { position: absolute; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; animation: burst 0.8s ease-out forwards; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(200deg); opacity: 0; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .app-card { position: relative; width: min(320px, 92%); margin: -7rem auto 0; inset: auto; }
  .hero-photo { aspect-ratio: 4 / 3.2; width: 100%; }
  .hero-visual::before { width: 70%; top: -1rem; }
  .hero-visual::after { display: none; }
}

/* ---------- how it works ---------- */
.how-title { text-align: center; margin-bottom: 3rem; }
.how-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.how-steps::before { content: ''; position: absolute; top: 34px; left: 16%; right: 16%; border-top: 2px dashed var(--teal); }
.how-step { position: relative; text-align: center; }
.how-icon { position: relative; display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: 0 0 0 8px #ffffff; margin-bottom: 1rem; }
.how-icon .icon { width: 30px; height: 30px; }
.how-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--teal-ink); letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.how-step p { color: var(--muted); }
@media (max-width: 760px) { .how-steps { grid-template-columns: 1fr; } .how-steps::before { display: none; } }

/* ---------- programs mosaic (showcase) ---------- */
.programs { background: var(--bg-soft); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.program { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 280px; background: var(--ink); box-shadow: var(--shadow-sm); }
.program img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.program:hover img { transform: scale(1.05); }
.program figcaption { position: absolute; inset: auto 0 0 0; padding: 1.2rem 1.3rem 1.3rem; color: #ffffff; background: linear-gradient(180deg, transparent, rgba(10, 22, 27, 0.88) 55%); }
.program h3 { color: #ffffff; margin-bottom: 0.25rem; font-size: 1.25rem; }
.program p { margin: 0; color: rgba(255, 255, 255, 0.86); font-size: 0.95rem; }
.program-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; background: var(--accent); color: var(--ink); padding: 0.2rem 0.65rem; border-radius: 999px; margin-bottom: 0.6rem; }
.program-1, .program-6 { grid-column: span 2; }
.program-1 { min-height: 360px; }
.program-2, .program-3 { min-height: 360px; }
@media (max-width: 960px) { .mosaic { grid-template-columns: repeat(2, 1fr); } .program-1, .program-6 { grid-column: span 2; } }
@media (max-width: 560px) { .mosaic { grid-template-columns: 1fr; } .program-1, .program-6 { grid-column: auto; } .program { min-height: 260px; } }

/* ---------- why us ---------- */
.why-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.why-card { padding: 1.7rem; border-radius: var(--radius); background: #ffffff; border: 1px solid var(--line); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card:nth-child(3n + 1) { background: var(--accent-soft); border-color: transparent; }
.why-card:nth-child(3n + 2) { background: var(--teal-soft); border-color: transparent; }
.why-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #ffffff; color: var(--teal-ink); margin-bottom: 1.1rem; box-shadow: var(--shadow-sm); }
.why-icon .icon { width: 26px; height: 26px; }
.why-card p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- features ---------- */
.features { background: linear-gradient(180deg, #ffffff, var(--bg-soft)); }
.features-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.features-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.features-intro p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.6rem; }
.feature-list { list-style: none; display: grid; }
.feature { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.feature:first-child { padding-top: 0; }
.feature-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--accent); }
.feature-icon .icon { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 0.3rem; }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr; } .features-intro { position: static; } }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 5rem); background: var(--bg-soft); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 32px; background: var(--accent); background-image: radial-gradient(circle at 92% 20%, rgba(255, 255, 255, 0.45) 0 60px, transparent 61px), radial-gradient(circle at 80% 110%, rgba(255, 255, 255, 0.3) 0 110px, transparent 111px); }
.cta-inner h2 { margin-bottom: 0.4rem; }
.cta-inner p { margin: 0; font-size: 1.1rem; color: #3a3a1a; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.cta-note { color: var(--ink); font-weight: 600; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.8rem; }
.faq-item { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow 0.2s ease; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--teal-soft); }
.faq-item summary { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; cursor: pointer; list-style: none; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); font-size: 0.85rem; font-weight: 700; }
.faq-q { flex: 1; }
.faq-toggle { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); position: relative; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; background: var(--ink); border-radius: 2px; left: 50%; top: 50%; }
.faq-toggle::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-toggle::after { width: 2px; height: 12px; transform: translate(-50%, -50%); transition: transform 0.2s ease; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-body { padding: 0 1.3rem 1.3rem 4.3rem; color: var(--muted); }
[dir='rtl'] .faq-body { padding: 0 4.3rem 1.3rem 1.3rem; }
@media (max-width: 560px) { .faq-body, [dir='rtl'] .faq-body { padding: 0 1.3rem 1.3rem; } }

/* ---------- inner pages ---------- */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 2.5rem; text-align: center; background: radial-gradient(900px 360px at 50% 0%, var(--bg-mint), transparent 70%), var(--bg-soft); }
.page-hero-plain { padding-bottom: 2rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split p { color: var(--muted); }
.photo-frame { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-flip > :first-child { order: 2; } }
.values-row { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.value { padding: 1.8rem; border-radius: var(--radius); background: var(--bg-soft); }
.value:nth-child(2) { background: var(--accent-soft); }
.value-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #ffffff; color: var(--teal-ink); margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.value-icon .icon { width: 26px; height: 26px; }
.value p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .values-row { grid-template-columns: 1fr; } }
.vision-quote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 700; line-height: 1.3; color: var(--ink) !important; border-inline-start: 5px solid var(--accent); padding-inline-start: 1rem; }

/* pricing */
.pass-rack { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.pass { display: flex; flex-direction: column; padding: 1.8rem; background: #ffffff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-sm); border-top: 6px solid var(--accent); }
.pass-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.pass-kicker { font-size: 0.78rem; font-weight: 700; color: var(--teal-ink); background: var(--teal-soft); padding: 0.25rem 0.7rem; border-radius: 999px; }
.pass-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.pass-icon .icon { width: 20px; height: 20px; }
.pass-title { font-size: 1.5rem; margin-bottom: 0.2rem; }
.pricing-operator { color: var(--teal-ink); font-weight: 600; margin-bottom: 1rem; }
.price-row { display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
[dir='rtl'] .price-row { justify-content: flex-end; }
.price-val { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 3vw, 2.4rem); margin: 0; line-height: 1; }
.price-freq { margin: 0; color: var(--muted); font-weight: 600; }
.pricing-line { margin-bottom: 0.3rem; }
.pricing-renewal { color: var(--muted); font-size: 0.92rem; }
.pricing-features { list-style: none; margin: 0.4rem 0 1.5rem; display: grid; gap: 0.5rem; flex: 1; }
.pricing-features li { padding-inline-start: 1.6rem; position: relative; }
.pricing-features li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.8-4.8' fill='none' stroke='%232a7466' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pass .btn { width: 100%; }
.pricing-unsub { margin: 1rem 0 0; font-size: 0.92rem; color: var(--muted); }

.path-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.path-step { padding: 1.6rem; border-radius: var(--radius); background: var(--bg-soft); }
.path-step p { color: var(--muted); margin: 0; }
.path-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-family: var(--font-display); font-weight: 800; background: var(--accent); color: var(--ink); margin-bottom: 1rem; }
.path-steps-compact { margin-top: 1.5rem; }
@media (max-width: 860px) { .path-steps { grid-template-columns: 1fr; } }

/* opt-out + refund */
.optout-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-bottom: 1.2rem; }
.optout-card { padding: 1.7rem; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); border-inline-start: 6px solid var(--accent); }
.optout-card h3 { color: var(--teal-ink); }
.optout-instruction { font-size: 1.12rem; line-height: 2; }
.optout-instruction strong { display: inline-block; background: var(--ink); color: var(--accent); padding: 0.05rem 0.6rem; border-radius: 8px; line-height: 1.6; font-weight: 600; }
.optout-instruction strong.code { background: var(--teal-soft); color: var(--teal-ink); }
.optout-instruction strong a { color: inherit; }
.optout-notes { list-style: none; display: grid; gap: 0.35rem; margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; }
.optout-notes li::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-inline-end: 0.6rem; vertical-align: middle; }
.optout-also { color: var(--muted); }
.refund-card { padding: clamp(1.6rem, 4vw, 2.6rem); background: var(--bg-soft); border-radius: 28px; }
.refund-list { counter-reset: r; list-style: none; display: grid; gap: 0.8rem; }
.refund-list li { counter-increment: r; display: flex; gap: 0.9rem; align-items: flex-start; }
.refund-list li::before { content: counter(r); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 700; font-size: 0.85rem; background: #ffffff; color: var(--teal-ink); box-shadow: var(--shadow-sm); }

/* contact + sign in */
.contact-layout { display: grid; grid-template-columns: 4fr 7fr; gap: 1.5rem; align-items: start; }
.care-plaque { padding: 2rem; background: var(--accent); border-radius: var(--radius); }
.care-plaque a { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.form-card { padding: clamp(1.5rem, 4vw, 2.3rem); background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-card.narrow { width: min(520px, 100%); margin-inline: auto; }
.form-group { margin-bottom: 1.1rem; }
.contact-form h3,
.form-card h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.signin-card button,
.form-card button { margin-top: 0.5rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 0.8rem 0.95rem; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #6f8386; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--teal-ink); background: #ffffff; box-shadow: 0 0 0 4px var(--teal-soft); }
.error-msg { display: none; color: #c0392b; font-size: 0.82rem; margin-top: 0.3rem; }
.errorMsg { display: block; color: #c0392b; font-size: 0.85rem; margin-top: 0.4rem; }
.form-success { display: none; color: var(--accent, #52c41a); font-weight: 600; margin-top: 1rem; }
.contact-form .form-success, .successMsg { color: var(--teal-ink); font-weight: 600; margin-top: 1rem; }
.form-disclaimer { color: var(--muted); font-size: 0.82rem; margin-top: 1rem; }
.signin-card .form-group label { text-align: center; }
[dir='rtl'] .form-group input[type='text'],
[dir='rtl'] .form-group textarea { direction: rtl; text-align: right; }
[dir='rtl'] .form-group input[type='email'],
[dir='rtl'] .form-group input[type='tel'] { direction: ltr; text-align: left; }
[dir='rtl'] .form-group label { text-align: right; }
[dir='rtl'] .phone-row { direction: ltr; }
[dir='rtl'] .signin-card .form-group label { text-align: center; }
/* the MSISDN stays left-to-right in Arabic; only its placeholder is centred */
#si-phone { direction: ltr; text-align: left; }
#si-phone::placeholder { text-align: center; }

/* legal pages */
.legals-wrap { padding: 3.5rem 0; }
.legals { padding-top: 1rem; padding-bottom: 5rem; }
.legals .container { width: min(840px, 92vw); margin-inline: auto; }
.legals h1 { display: none; }
.legals h6 {
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); margin: 2rem 0 0.5rem;
}
.legals h6 { color: var(--teal-ink); }
.legals p { margin-bottom: 0.85rem; line-height: 1.75; }
.legals ul { margin: 0.5rem 0 1rem; padding-inline-start: 1.2rem; }
.legals li { margin-bottom: 0.4rem; line-height: 1.7; }

/* 404 */
.not-found { padding: clamp(4rem, 10vw, 8rem) 0; text-align: center; background: var(--bg-soft); }
.nf-code { font-family: var(--font-display); font-weight: 900; font-size: clamp(4rem, 12vw, 8rem); line-height: 1; margin-bottom: 1rem; background: linear-gradient(transparent 55%, var(--accent) 55%); display: inline-block; padding: 0 0.15em; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-soft); padding: 4rem 0 2rem; border-top: 1px solid var(--line); }
.footer-ground { display: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-logo { height: 70px; width: auto; margin-bottom: 1rem; }
.footer-sub, .footer-care { color: var(--muted); font-size: 0.95rem; }
.footer-col h2 { font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; color: var(--teal-ink); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
[dir='rtl'] .footer-col h2 { letter-spacing: 0; font-size: 0.95rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--teal-ink); text-decoration: underline; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.footer-entity { color: var(--muted); font-size: 0.86rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .lang-switcher { background: #ffffff; }
.footer-version { opacity: 0.6; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- reveal (only when JS is on) ---------- */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .ring-fg, .app-task, .app-task .tick, .cube-lid, .cube-prize, .program img, .btn, .why-card, .cube { transition: none; }
  .app-card.is-ready .reward, .burst { animation: none; }
}
