/* /plans (2026-10-24). DMS blue and fonts as on /start (landing_start.css), on a cool clinic white.
   The plan's size is drawn: one dental chair / one person per seat (.pl-cap). Everything is under .pl. */
.pl {
    --pl-ink: #0B1F33;
    --pl-ink-2: #3E5266;
    --pl-muted: #64768A;
    --pl-paper: #EFF4F8;      /* cool clinic white */
    --pl-surface: #FFFFFF;
    --pl-line: #D9E2EA;
    --pl-blue: #0870B9;
    --pl-sky: #00A4E5;
    --pl-night: #063A63;      /* the recommended card */
    --pl-mint: #0B8F69;       /* the "ask for a discount code" link */
    --pl-mint-bg: #E3F5EE;
    --pl-wa: #1FAF5A;
    --pl-silver: #A3AEBA;
    --pl-gold: #C9A23A;
    --pl-platinum: #56636F;
    --pl-r: 18px;
    --pl-shadow: 0 1px 2px rgba(11, 31, 51, .05), 0 14px 36px rgba(11, 31, 51, .08);
    --pl-font-display: 'Alexandria', 'IBM Plex Sans', system-ui, sans-serif;
    --pl-font: 'IBM Plex Sans', system-ui, sans-serif;

    background: var(--pl-paper);
    color: var(--pl-ink);
    font-family: var(--pl-font);
    font-size: 16px;
    line-height: 1.6;
    padding-block: 48px 72px;
    text-transform: none;
}
.lang-content[data-lang="ar"] .pl { --pl-font: 'IBM Plex Sans Arabic', system-ui, sans-serif; --pl-font-display: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif; }
.lang-content[data-lang="he"] .pl { --pl-font: 'IBM Plex Sans Hebrew', system-ui, sans-serif; --pl-font-display: 'IBM Plex Sans Hebrew', sans-serif; }
.pl-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.pl * { box-sizing: border-box; }
:where(.pl) :where(h1, h2, h3, p, dl, dd, ul) { margin: 0; }
/* homePage.css sets every element's font with !important (a Kufi web font that often doesn't load: serif). */
.pl, .pl * { font-family: var(--pl-font) !important; }
.pl :is(.pl-h1, .pl-h2, .pl-eyebrow, .pl-finder__title, .pl-card__name, .pl-price__main, .pl-step__val, .pl-cap__more,
        .pl-sure__item h3) { font-family: var(--pl-font-display) !important; }
.pl-wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .pl-wrap { padding-inline: 32px; } }

/* ---- Hero ---- */
.pl-hero { text-align: center; }
.pl-eyebrow { font-family: var(--pl-font-display); font-weight: 600; font-size: 14px; color: var(--pl-blue); }
.pl-h1 {
    font-family: var(--pl-font-display); font-weight: 800; letter-spacing: -.015em;
    font-size: clamp(30px, 5.2vw, 54px); line-height: 1.15; margin-top: 10px; text-wrap: balance;
}
.pl-lead { color: var(--pl-ink-2); max-width: 620px; margin: 16px auto 0; font-size: 17px; text-wrap: pretty; }

.pl-billing {
    display: inline-flex; gap: 4px; padding: 4px; margin-top: 28px;
    background: #DCE7F0; border-radius: 999px;
}
.pl-billing__opt {
    border: 0; background: transparent; color: var(--pl-ink-2); font: inherit; font-weight: 600;
    min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
}
.pl-billing__opt[aria-checked="true"] { background: var(--pl-surface); color: var(--pl-ink); box-shadow: 0 2px 8px rgba(11, 31, 51, .12); }

/* ---- Find your plan ---- */
.pl-finder { margin-top: 28px; text-align: center; }
.pl-finder__title { font-family: var(--pl-font-display); font-size: 15px; font-weight: 700; color: var(--pl-ink-2); }
.pl-finder__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 12px; }
.pl-step {
    display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 16px;
    padding-inline: 16px 10px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 999px;
}
.pl-step__label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--pl-ink-2); }
.pl-step__label .pl-ic { color: var(--pl-blue); }
.pl-step__ctl { display: inline-flex; align-items: center; gap: 4px; }
.pl-step__btn {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--pl-line); background: var(--pl-paper);
    color: var(--pl-ink); font-size: 20px; line-height: 1; cursor: pointer;
}
.pl-step__btn:hover { background: #E2ECF4; }
.pl-step__val { min-width: 2.2ch; text-align: center; font-family: var(--pl-font-display); font-weight: 700; font-size: 18px; color: var(--pl-muted); }
.pl-step__val.is-set { color: var(--pl-ink); }

/* ---- Plan cards ---- */
.pl-cards { display: grid; gap: 20px; margin-top: 36px; align-items: stretch; }
@media (min-width: 992px) { .pl-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.pl-card {
    position: relative; display: flex; flex-direction: column; gap: 18px;
    background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: var(--pl-r);
    padding: 28px 24px 24px; box-shadow: var(--pl-shadow);
    transition: transform .25s ease, box-shadow .25s ease, outline-color .25s ease;
    outline: 3px solid transparent; outline-offset: 3px;
}
.pl-card.is-recommended {
    background: linear-gradient(160deg, var(--pl-blue) 0%, var(--pl-night) 78%);
    border-color: transparent; color: #fff;
    box-shadow: 0 30px 70px rgba(8, 112, 185, .28);
}
@media (min-width: 992px) { .pl-card.is-recommended { transform: translateY(-14px); } }
@media (max-width: 991.98px) { .pl-card.is-recommended { order: -1; } }   /* phones and tablets: the recommended plan first */
.pl-card.is-fit { outline-color: var(--pl-sky); }
.pl.has-fit .pl-card:not(.is-fit) { opacity: .72; }

.pl-card__badge {
    position: absolute; inset-block-start: -13px; inset-inline-start: 24px;
    font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
    background: var(--pl-sky); color: #fff; box-shadow: 0 6px 14px rgba(0, 164, 229, .35);
}
.pl-card__badge:empty { display: none; }
.pl-card__name { display: flex; align-items: center; gap: 10px; font-family: var(--pl-font-display); font-size: 22px; font-weight: 700; }
.pl-card__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--pl-silver); box-shadow: inset 0 -3px 5px rgba(0, 0, 0, .18); }
.pl-card--gold .pl-card__dot { background: var(--pl-gold); }
.pl-card--platinum .pl-card__dot { background: var(--pl-platinum); }
.pl-card__for { color: var(--pl-muted); font-size: 15px; margin-top: -10px; }
.is-recommended .pl-card__for { color: #BFD9EE; }

.pl-price__main { font-family: var(--pl-font-display); font-weight: 800; font-size: 40px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pl-price__per { font-family: var(--pl-font); font-size: 15px; font-weight: 500; color: var(--pl-muted); margin-inline-start: 6px; }
.is-recommended .pl-price__per { color: #BFD9EE; }
.pl-price__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; font-size: 14px; color: var(--pl-muted); min-height: 26px; }
.is-recommended .pl-price__sub { color: #D6E7F5; }
.pl-discount { margin-top: 10px; font-size: 14px; }
.pl-discount a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--pl-mint-bg); color: var(--pl-mint); font-weight: 600; text-decoration: none; }
.pl-discount a:hover, .pl-discount a:focus-visible { text-decoration: underline; }
.is-recommended .pl-discount a { background: rgba(255, 255, 255, .14); color: #9FF0CF; }
.pl[data-billing="yearly"] .pl-price--monthly,
.pl[data-billing="monthly"] .pl-price--yearly { display: none; }

/* The plan's size: chairs and people, drawn */
.pl-cap { display: grid; gap: 10px; padding-block: 16px; border-block: 1px solid var(--pl-line); }
.is-recommended .pl-cap { border-color: rgba(255, 255, 255, .18); }
.pl-cap__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pl-cap__icons { order: 2; display: flex; align-items: center; gap: 3px; color: var(--pl-blue); font-weight: 400; min-height: 26px; }
.is-recommended .pl-cap__icons { color: #7FD3F5; }
.pl-cap__more { font-family: var(--pl-font-display); font-weight: 700; font-size: 18px; margin-inline-start: 2px; }
.pl-cap__text { font-weight: 600; font-size: 15px; }
.pl-ic { width: 22px; height: 22px; fill: currentColor; flex: none; font-size: 20px; line-height: 1; display: inline-block; }

/* ---- Buttons ---- */
.pl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 16px;
    text-decoration: none; border: 2px solid transparent; transition: background .2s ease, color .2s ease;
}
.pl-card .pl-btn { margin-top: auto; width: 100%; }
.pl-btn--line { border-color: var(--pl-blue); color: var(--pl-blue); background: transparent; }
.pl-btn--line:hover { background: var(--pl-blue); color: #fff; }
.pl-btn--solid { background: #fff; color: var(--pl-night); }
.pl-btn--solid:hover { background: #E3F2FC; color: var(--pl-night); }
.pl-btn--wa { background: var(--pl-wa); color: #fff; }
.pl-btn--wa:hover { background: #168A46; color: #fff; }
.pl :is(a, button):focus-visible { outline: 3px solid var(--pl-sky); outline-offset: 3px; }

.pl-note { text-align: center; color: var(--pl-muted); font-size: 14px; margin-top: 28px; }

/* ---- Every plan includes ---- */
.pl-h2 { font-family: var(--pl-font-display); font-size: clamp(22px, 3vw, 28px); font-weight: 700; text-align: center; }
.pl-includes { margin-top: 64px; }
.pl-includes__list {
    list-style: none; padding: 0; margin-top: 22px;
    display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.pl-includes__list li {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px;
    background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 14px; font-weight: 500;
}
.pl-includes__list i { color: var(--pl-blue); font-size: 20px; }

/* ---- Before you choose ---- */
.pl-sure { margin-top: 48px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pl-sure__item { padding: 22px; border-radius: var(--pl-r); background: #E3EDF5; }
.pl-sure__item i { font-size: 24px; color: var(--pl-blue); }
.pl-sure__item h3 { font-family: var(--pl-font-display); font-size: 17px; font-weight: 700; margin-top: 10px; }
.pl-sure__item p { color: var(--pl-ink-2); font-size: 15px; margin-top: 6px; }

/* ---- Questions ---- */
.pl-faq { margin-top: 64px; max-width: 820px; }
.pl-faq .pl-h2 { margin-bottom: 18px; }
.pl-faq details { background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 14px; margin-top: 10px; }
.pl-faq summary {
    list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.pl-faq summary::-webkit-details-marker { display: none; }
.pl-faq summary::after { content: '+'; font-size: 22px; color: var(--pl-blue); line-height: 1; transition: transform .2s ease; }
.pl-faq details[open] summary::after { transform: rotate(45deg); }
.pl-faq details p { padding: 0 20px 18px; color: var(--pl-ink-2); }

/* ---- The end ---- */
.pl-end {
    margin-top: 64px; text-align: center; padding-block: 40px; border-radius: 24px;
    background: linear-gradient(135deg, #E1F1FB 0%, #EAF2F8 100%);
}
.pl-end p { color: var(--pl-ink-2); margin-top: 8px; }
.pl-end__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
    .pl * { transition: none !important; }
    .pl-card.is-recommended { transform: none; }
}
