/* Shared look of the three plan pages. Base rules match mqdar-thread.html. */
:root {
  --night: #071A2C; --deep: #0B2740; --paper: #F2F7FA; --mute: #B7CADA; --line: #24465F;
  --navy: #0B4A7F; --teal: #2FD1C0; --teal-ink: #06302C; --focus: #2FD1C0;
  --display: 'Beiruti', 'IBM Plex Sans Arabic', Tahoma, sans-serif;
  --body: 'IBM Plex Sans Arabic', Tahoma, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--night); color: var(--paper); font-family: var(--body); font-size: 18px; line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--night); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 800; }
img { display: block; max-width: 100%; }
a { color: var(--teal); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.gut { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .gut { padding-left: max(56px, env(safe-area-inset-left, 0px)); padding-right: max(56px, env(safe-area-inset-right, 0px)); } }

.bar { position: fixed; top: env(safe-area-inset-top, 0px); inset-inline: 0; z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 26px; }
.brand img { height: 36px; width: auto; }
.bar nav { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 16px; }
.bar nav a { color: var(--paper); text-decoration: none; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.bar nav a.cta { padding: 0 20px; border-radius: 4px; background: var(--teal); color: var(--teal-ink); font-weight: 600; }
@media (max-width: 719px) { .bar nav a.opt { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 32px; border-radius: 4px; background: var(--teal); color: var(--teal-ink); font-weight: 600; text-decoration: none; will-change: transform; }
footer { padding-block: 48px 16px; border-top: 1px solid var(--line); color: var(--mute); font-size: 15px; line-height: 1.5; }
footer h2 { margin: 0 0 8px; font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--paper); }
footer a { display: flex; align-items: center; min-height: 44px; width: fit-content; max-width: 100%; color: var(--mute); text-decoration: none; overflow-wrap: anywhere; transition: color .18s ease, transform .18s ease; }
footer a:hover { color: var(--teal); transform: translateX(-3px); }
.ft-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.ft-brand { grid-column: 1 / -1; }
.ft-col:last-child { grid-column: 1 / -1; }
.ft-name { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--paper); }
.ft-trust { margin-top: 28px; padding-block: 18px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: center; font-size: 13px; line-height: 1.7; }
.ft-trust img { flex: none; border-radius: 8px; background: #fff; }
.ft-bot { padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 24px; font-size: 14px; }
@media (min-width: 720px) {
  .ft-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-col:last-child { grid-column: auto; }
}
@media (min-width: 1000px) {
  .ft-grid { grid-template-columns: 1.6fr 1.2fr 1fr 1fr; gap: 40px; }
  .ft-brand { grid-column: auto; max-width: 340px; }
  footer a { min-height: 38px; }
}
@media (prefers-reduced-motion: reduce) { footer a { transition: none; } footer a:hover { transform: none; } }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pl { background: var(--deep); padding-block: 112px clamp(56px, 8vw, 96px); }
.pl-head { position: relative; }
.pl-head .kick { color: var(--teal); font-weight: 600; font-size: 17px; }
.pl-head h1 { font-size: clamp(40px, 6.4vw, 88px); line-height: 1.1; text-wrap: balance; }
.pl-head p.d { margin-top: 10px; color: var(--mute); }
.pl-stitch { margin-top: 24px; border-top: 2px dashed var(--teal); opacity: .7; }
.pl-bill { margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
.pl-sw { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--night); }
.pl-sw i { position: absolute; top: 4px; bottom: 4px; inset-inline-start: 4px; width: calc(50% - 4px); border-radius: 4px; background: var(--teal); transition: transform .28s cubic-bezier(.3, .7, .2, 1); }
.pl[data-bill="yearly"] .pl-sw i { transform: translateX(-100%); }
.pl-sw label { position: relative; display: block; cursor: pointer; }
.pl-sw input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pl-sw span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 4px; font-weight: 600; font-size: 16px; line-height: 1.2; white-space: nowrap; transition: color .2s; }
.pl-sw input:checked + span { color: var(--teal-ink); }
.pl-sw input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 2px; }
.pl-sw small { font-size: 14px; font-weight: 600; }
.pl-offer { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s ease, visibility .3s; }
.pl[data-bill="yearly"] .pl-offer { grid-template-rows: 1fr; visibility: visible; }
.pl-offer > div { overflow: hidden; min-height: 0; }
.pl-offer-in { margin-top: 20px; padding: 18px 20px; border: 1px solid var(--teal); border-radius: 14px; display: grid; gap: 12px 40px; align-items: center; }
.pl-offer strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(25px, 3vw, 36px); line-height: 1.25; }
.pl-offer em { font-style: normal; color: var(--teal); font-weight: 600; }
.pl-rule { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; font-size: 15px; color: var(--mute); }
.pl-rule b { display: block; height: 12px; margin-bottom: 4px; transform: scaleX(0); transform-origin: right; transition: transform .55s cubic-bezier(.3, .7, .2, 1); background-image: repeating-linear-gradient(to left, currentColor 0 calc(8.333% - 2px), transparent calc(8.333% - 2px) 8.333%); }
.pl-rule div + div { color: var(--teal); font-weight: 600; }
.pl-rule div + div b { transition-delay: .3s; }
.pl[data-bill="yearly"] .pl-rule b { transform: none; }
.pl-cards { margin-top: 24px; display: grid; gap: 16px; }
.pl-card { display: flex; flex-direction: column; min-width: 0; padding: 26px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--night); transition: border-color .2s; }
.pl-card:hover { border-color: var(--teal); }
.pl-card.pl-hot { border-color: var(--teal); background: #0A2A36; }
.pl-card h2 { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1.2; }
.pl-price { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: var(--mute); font-size: 17px; }
.pl-num { display: inline-block; font-family: var(--display); font-weight: 800; font-size: clamp(60px, 7vw, 84px); line-height: 1.05; color: var(--paper); }
.pl-deal { min-height: 34px; color: var(--teal); font-weight: 600; font-size: 17px; }
.pl-lead { margin-top: 14px; font-weight: 600; font-size: 16px; }
.pl-card ul { list-style: none; margin: 8px 0 24px; padding: 0; font-size: 16px; line-height: 1.45; }
.pl-card li { display: flex; gap: 8px; min-width: 0; padding-block: 8px; border-top: 1px solid var(--line); }
.pl-card li.pl-off { color: #9DB3C5; }
.pl-yes { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pl-no { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: #9DB3C5; stroke-width: 2.6; stroke-linecap: round; }
.pl-card .btn { margin-top: auto; width: 100%; padding: 0 16px; }
@media (min-width: 720px) {
  .pl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pl-card { padding: 26px 20px; }
}
@media (min-width: 1000px) {
  .pl-card { padding: 30px 28px; }
  .pl-offer-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); padding: 20px 28px; }
}

/* Page-only: a solid bar, since dense plan content scrolls beneath it. */
.bar { background: var(--deep); border-bottom: 1px solid var(--line); }
.pl-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; font-weight: 600; text-underline-offset: 5px; }
.pl-kick { color: var(--teal); font-weight: 600; font-size: 17px; }
.pl-soon { margin-top: 20px; padding-block: 10px; border-block: 1px dashed var(--line); color: var(--mute); font-size: 15px; }
.pl-notes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; color: var(--mute); font-size: 14px; line-height: 1.6; }
.pl-vat { margin-top: 10px; color: var(--mute); font-size: 14px; }
@keyframes pl-draw { from { transform: scaleX(0); } }
@keyframes pl-rise { from { opacity: 0; transform: translateY(20px); } }
.pl-stitch { transform-origin: right; animation: pl-draw 1.2s cubic-bezier(.6, 0, .2, 1) both; }
.pl-card { animation: pl-rise .6s cubic-bezier(.3, .7, .2, 1) both; }
.pl-card:nth-child(2) { animation-delay: .1s; }
.pl-card:nth-child(3) { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .btn { will-change: auto; } .pl *, .pl { transition: none !important; animation: none !important; } }
