/* ==========================================================================
   HostNest - plans.css  (loaded only by plans.php, after main.css)
   Uses only the project's existing colour variables (--g50 ... --g900, --ink,
   --ink2, --muted, --line, --shadow). Fully responsive: 280px phones -> 8K.
   ========================================================================== */

/* ---------- 1. Hero ---------- */
.page-hero--pl { padding-bottom: 28px; }
.pl-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: center; }
.pl-hero-main { min-width: 0; }
.pl-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pl-hero-ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .9rem; font-weight: 600; color: var(--ink2); }
.pl-hero-ticks li { display: inline-flex; align-items: center; gap: 6px; }
.pl-hero-ticks svg { color: var(--g600); }

.pl-quick { min-width: 0; padding: 18px; border: 1px solid var(--c-d3eedd); border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgb(var(--g950-rgb) / .12); }
.pl-quick-title { margin-bottom: 8px; font-size: .95rem; font-weight: 800; color: var(--ink); }
.pl-quick ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pl-quick a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--g50); color: inherit; text-decoration: none; transition: border-color .2s; }
.pl-quick a:hover { border-color: var(--g500); }
.pl-quick-name { font-weight: 800; color: var(--ink); }
.pl-quick-info { grid-column: 1; min-width: 0; overflow: hidden; font-size: .82rem; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.pl-quick-price { grid-column: 2; grid-row: 1 / span 2; font-size: 1.15rem; font-weight: 800; color: var(--g700); white-space: nowrap; }
.pl-quick-price small { font-size: .78rem; font-weight: 600; color: var(--muted); }

/* ---------- 2. Trust strip ---------- */
.pl-strip { border-block: 1px solid var(--line); background: #fff; }
.pl-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 14px 0; list-style: none; }
.pl-trust li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 8px; font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--ink2); }
.pl-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--g100); color: var(--g700); }

/* ---------- Shared section bits ---------- */
.pl-sec { padding-block: 40px; }
.pl-sec--tint { border-block: 1px solid var(--c-d9efe2); background: linear-gradient(180deg, var(--g50), var(--c-e9f8ef)); padding-block: 48px; }
.pl-sec--flush { padding-block: 10px 40px; }
.pl-sec--last { padding-bottom: 56px; }

.pl-head { max-width: 46rem; margin: 0 auto 28px; text-align: center; }
.pl-head h2, .pl-split h2, .pl-faq-intro h2, .pl-cta h2, .plan-group-title { text-wrap: balance; }
.pl-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.pl-head p { margin-top: 8px; font-size: 1.04rem; color: var(--muted); }
.pl-link { display: inline-block; margin-top: 12px; font-size: .92rem; font-weight: 700; color: var(--g700); text-decoration: none; }
.pl-link:hover { text-decoration: underline; }

.btn-light { flex: none; border-color: #fff; background: #fff; color: var(--g800); }
.btn-light:hover { background: var(--g100); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); background: transparent; color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- 3. Pricing: cards sit in ONE row on desktop ---------- */
.plans-wrap { padding-block: 40px 20px; }
.plan-group + .plan-group { margin-top: 44px; }
.plan-group-title { margin-bottom: 22px; text-align: center; font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 800; }

.pc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 16px; padding-top: 14px; align-items: stretch; }

.pc { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 28px 20px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.pc:hover { border-color: var(--c-b7e4c7); box-shadow: 0 16px 38px rgb(var(--g950-rgb) / .12); }

.pc-ribbon { position: absolute; top: 0; left: 50%; max-width: calc(100% - 24px); padding: 4px 14px; overflow: hidden; border-radius: 999px; background: var(--g800); color: #fff; font-size: .78rem; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; transform: translate(-50%, -50%); }

.pc-head h4, .vps-head h4 { margin: 0; }
.pc-head h4 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.pc-desc { margin-top: 4px; font-size: .92rem; line-height: 1.45; color: var(--muted); }

.pc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 2px; margin-top: 16px; color: var(--ink); }
.pc-cur { align-self: flex-start; margin-top: .5rem; margin-right: 2px; font-size: 1.3rem; font-weight: 700; color: var(--g700); }
.pc-amt { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pc-cents { align-self: flex-start; margin-top: .45rem; font-size: 1.2rem; font-weight: 700; }
.pc-per { margin-left: 4px; font-size: 1rem; font-weight: 600; color: var(--muted); }
.pc-bill { margin-top: 4px; font-size: .86rem; color: var(--muted); }

.pc-feats { display: grid; gap: 10px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.pc-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; line-height: 1.4; color: var(--ink2); }
.pc-feats .chk { margin-top: .2rem; }
.pc > .btn { width: 100%; margin-top: auto; height: auto; min-height: 44px; padding-block: 10px; white-space: normal; text-align: center; line-height: 1.25; }
.pc-feats + .btn { margin-top: 22px; }
.pc-price + .pc-bill + .btn { margin-top: 22px; }

/* featured (dark) card */
.pc.is-featured { border-color: var(--g700); background: linear-gradient(160deg, var(--g900), var(--g700)); color: #fff; box-shadow: 0 22px 48px rgb(var(--g950-rgb) / .28); }
.pc.is-featured .pc-ribbon { background: #fff; color: var(--g800); box-shadow: 0 6px 14px rgba(0, 0, 0, .2); }
.pc.is-featured .pc-head h4, .pc.is-featured .pc-price, .pc.is-featured .pc-feats li { color: #fff; }
.pc.is-featured .pc-desc, .pc.is-featured .pc-bill, .pc.is-featured .pc-per { color: var(--c-e3f5ea); }
.pc.is-featured .pc-cur { color: var(--g200); }
.pc.is-featured .pc-feats { border-top-color: rgba(255, 255, 255, .2); }

.pl-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .9rem; font-weight: 600; color: var(--ink2); }
.pl-assure li { display: inline-flex; align-items: center; gap: 8px; }
.pl-assure svg { color: var(--g700); }
.pl-fine { margin-top: 14px; text-align: center; font-size: .86rem; color: var(--muted); }

/* ---------- 4. Which plan fits ---------- */
.pl-fit, .pl-why, .pl-other { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pl-fit li, .pl-why li, .pl-other a { display: block; min-width: 0; padding: 20px; border: 1px solid var(--c-d3eedd); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.pl-fit li:hover, .pl-why li:hover, .pl-other a:hover { border-color: var(--c-b7e4c7); box-shadow: var(--shadow); }
.pl-why-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--c-d3f2df); color: var(--g700); }
.pl-fit h3, .pl-why h3, .pl-other h3 { margin-top: 14px; font-size: 1.1rem; font-weight: 700; }
.pl-fit p, .pl-why p, .pl-other p { margin-top: 6px; font-size: .94rem; line-height: 1.5; color: var(--muted); }
.pl-fit .pl-fit-more { font-size: .88rem; color: var(--ink2); }
.pl-from { display: block; margin-top: 12px; font-size: .9rem; color: var(--muted); }
.pl-from b { font-size: 1.15rem; color: var(--g700); }

/* ---------- 5. Comparison table ---------- */
.pl-table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--c-d3eedd); border-radius: 14px; background: #fff; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; contain: paint; }
.pl-table-wrap:focus-visible { outline: 2px solid var(--g500); outline-offset: -2px; }
.pl-table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .95rem; }
.pl-table th, .pl-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: top; }
.pl-table thead th { border-bottom: 0; background: var(--g900); color: #fff; font-weight: 800; }
.pl-table thead th:first-child, .pl-table tbody th { text-align: left; }
.pl-table tbody th { width: 18%; font-weight: 700; color: var(--ink); background: var(--g50); }
.pl-table thead th.is-feat { background: var(--g600); }
.pl-table td.is-feat { background: var(--c-f1fbf5); }
.pl-table tbody tr:last-child th, .pl-table tbody tr:last-child td { border-bottom: 0; }
.pl-table td b { font-size: 1.15rem; color: var(--g700); }
.pl-table .pl-cmp-cta th, .pl-table .pl-cmp-cta td { vertical-align: middle; }
.pl-table .pl-cmp-cta .btn { width: 100%; max-width: 12rem; white-space: normal; height: auto; min-height: 40px; padding-block: 8px; line-height: 1.25; }
.pl-td-list ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; text-align: left; }
.pl-td-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; line-height: 1.35; }
.pl-td-list .chk { margin-top: .15rem; }

/* ---------- 7-9. Split sections ---------- */
.pl-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.pl-split-text { min-width: 0; }
.pl-split h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.pl-split-text > p { margin-top: 10px; font-size: 1.04rem; line-height: 1.55; color: var(--muted); }
.pl-split-text > .btn { margin-top: 20px; }
.pl-split-art { display: flex; align-items: center; justify-content: center; min-height: 12rem; border: 1px solid var(--c-d3eedd); border-radius: 22px; background: radial-gradient(18rem 12rem at 80% 0, var(--c-d6f7e3) 0, transparent 70%), linear-gradient(135deg, var(--c-e6f7ec), var(--c-f6fdf9)); }
.pl-split-art span { display: inline-flex; align-items: center; justify-content: center; width: 8.5rem; height: 8.5rem; border-radius: 50%; background: linear-gradient(135deg, var(--g800), var(--g600)); color: #fff; box-shadow: 0 18px 40px rgb(var(--g950-rgb) / .25); }

.pl-mig { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: mig; }
.pl-mig li { position: relative; display: grid; gap: 2px; padding-left: 46px; counter-increment: mig; }
.pl-mig li::before { content: counter(mig); position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--g700); color: #fff; font-size: .95rem; font-weight: 800; }
.pl-mig b { font-size: 1rem; color: var(--ink); }
.pl-mig span { font-size: .92rem; line-height: 1.45; color: var(--muted); }

.pl-ticks { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.pl-ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: .98rem; line-height: 1.45; color: var(--ink2); }
.pl-ticks .chk { margin-top: .2rem; }

/* ---------- 12. FAQ (no JavaScript needed) ---------- */
.pl-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.pl-faq-intro h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.pl-faq-intro p { margin: 8px 0 18px; color: var(--muted); }
.pl-faq { display: grid; gap: 10px; min-width: 0; }
.pl-faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.pl-faq details[open] { border-color: var(--c-b7e4c7); box-shadow: var(--shadow); }
.pl-faq summary { position: relative; display: block; min-height: 52px; padding: 14px 48px 14px 16px; border-radius: 12px; font-size: 1rem; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.pl-faq summary::-webkit-details-marker { display: none; }
.pl-faq summary::after { content: ""; position: absolute; top: 50%; right: 20px; width: 9px; height: 9px; border-right: 2px solid var(--g700); border-bottom: 2px solid var(--g700); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.pl-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.pl-ans { padding: 0 16px 16px; font-size: .98rem; line-height: 1.6; color: var(--ink2); }

/* ---------- 13. Final call to action ---------- */
.pl-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; padding: 30px 22px; border-radius: 20px; background: linear-gradient(135deg, var(--g900), var(--g700)); color: #fff; box-shadow: 0 18px 40px rgb(var(--g950-rgb) / .2); }
.pl-cta h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.pl-cta p { margin-top: 8px; font-size: 1rem; line-height: 1.5; color: var(--c-d7eadf); }
.pl-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 560px) {
  .pl-fit, .pl-why, .pl-other { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-grid--n2, .pc-grid--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
  .pc-grid--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pl-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .pl-hero:not(.pl-hero--solo) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
  .pl-why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pl-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .pl-split--rev .pl-split-art { order: -1; }
  .pl-faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; }
  .pl-cta { grid-template-columns: minmax(0, 1fr) auto; padding: 34px 34px; }
}

/* 4 cards in ONE line (also used for 1-3 plans, they just take fewer columns) */
@media (min-width: 1024px) {
  .pc-grid { gap: 28px 18px; }
  .pc-grid--n1 { grid-template-columns: minmax(0, 24rem); justify-content: center; }
  .pc-grid--n2 { grid-template-columns: repeat(2, minmax(0, 24rem)); justify-content: center; }
  .pc-grid--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pc-grid--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pl-fit { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pl-other { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Tight laptops: keep the 4 cards readable */
@media (min-width: 1024px) and (max-width: 1199px) {
  .pc { padding: 26px 16px 18px; }
  .pc-amt { font-size: 2.6rem; }
  .pc-feats li { font-size: .88rem; }
}

@media (max-width: 900px) {
  .pl-sec { padding-block: 30px; }
  .pl-sec--tint { padding-block: 36px; }
  .pl-sec--flush { padding-block: 6px 30px; }
}

/* Phones */
@media (max-width: 680px) {
  .plans-wrap { padding-block: 28px 14px; }
  .pc { padding: 26px 16px 18px; }
  .pl-trust li { font-size: .86rem; }
  .pl-hero-btns .btn { flex: 1 1 100%; }
  .pl-fit li, .pl-why li, .pl-other a { padding: 16px; }
  .pl-split-art { min-height: 9rem; }
  .pl-split-art span { width: 6.5rem; height: 6.5rem; }
  .pl-cta { padding: 26px 16px; }
  .pl-cta-btns .btn { flex: 1 1 100%; }
}

/* Small phones */
@media (max-width: 420px) {
  .pc-amt { font-size: 2.6rem; }
  .pl-ico { width: 32px; height: 32px; }
  .pl-faq summary { padding: 13px 42px 13px 14px; font-size: .96rem; }
  .pl-faq summary::after { right: 16px; }
  .pl-ans { padding: 0 14px 14px; font-size: .95rem; }
}

/* Very small phones (Galaxy Fold ~280px) */
@media (max-width: 340px) {
  .pc { padding: 24px 12px 16px; }
  .pc-amt { font-size: 2.3rem; }
  .pc-head h4 { font-size: 1.2rem; }
  .pl-trust { grid-template-columns: minmax(0, 1fr); }
  .pl-quick-info { white-space: normal; }
}

/* Large screens: keep content from looking stretched */
@media (min-width: 1600px) {
  .pc-grid--n3 { max-width: 80rem; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .pc, .pl-fit li, .pl-why li, .pl-other a, .pl-faq details, .pl-faq summary::after { transition: none; }
}

@media print {
  .pl-cta, .pl-quick { display: none; }
  .pc, .pl-why li, .pl-fit li { box-shadow: none; break-inside: avoid; }
  .pl-faq details { break-inside: avoid; }
  .pl-faq details:not([open]) .pl-ans { display: block; }
}

/* ==========================================================================
   Unmanaged VPS mode (plans.php switches to this automatically when the
   category name or slug contains "vps")
   ========================================================================== */
.pc-tag { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border: 1px solid var(--c-b7e4c7); border-radius: 999px; background: var(--g50); color: var(--g800); font-size: .74rem; font-weight: 700; line-height: 1.3; }
.pc.is-featured .pc-tag { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12); color: #fff; }

.pl-un { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 60rem; margin-inline: auto; }
.pl-un-card { min-width: 0; padding: 22px 20px; border: 1px solid var(--c-d3eedd); border-radius: 16px; background: #fff; }
.pl-un-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--g800); }
.pl-un-card--you { border-color: var(--g700); background: linear-gradient(160deg, var(--g900), var(--g700)); }
.pl-un-card--you h3, .pl-un-card--you .pl-ticks li { color: #fff; }

.pl-who-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pl-split-text > .pl-who-btns .btn { margin-top: 0; }

@media (min-width: 760px) {
  .pl-un { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 680px) {
  .pl-who-btns .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Currency + billing switch (shown by assets/js/plans.js)
   ========================================================================== */
.pl-switch { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin: 0 auto 28px; }
.pl-switch[hidden], .pc-was[hidden], [data-note][hidden] { display: none; }
.pl-seg { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
.pl-seg-label { padding: 0 6px 0 12px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.pl-seg button { appearance: none; min-height: 38px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink2); font: inherit; font-size: .9rem; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background-color .2s, color .2s; }
.pl-seg button:hover { background: var(--g100); }
.pl-seg button.is-on { background: var(--g700); color: #fff; }
.pl-seg button:focus-visible { outline: 2px solid var(--g500); outline-offset: 2px; }
.pl-save { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--c-d3f2df); color: var(--g800); font-size: .72rem; font-weight: 800; }
.pl-seg button.is-on .pl-save { background: rgba(255, 255, 255, .22); color: #fff; }

.pc-was { margin-left: 8px; font-size: 1rem; font-weight: 600; color: var(--muted); text-decoration: line-through; }
.pc.is-featured .pc-was { color: var(--c-e3f5ea); }

@media (max-width: 520px) {
  .pl-switch { gap: 10px; }
  .pl-seg { width: 100%; justify-content: center; }
  .pl-seg button { flex: 1 1 auto; padding-inline: 12px; }
}
@media (max-width: 420px) {
  .pl-seg-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-seg button { transition: none; }
}

/* hosting cards: equal header height so the prices line up across the row */
@media (min-width: 560px) {
  .pc-head { min-height: 4.6rem; }
}

/* hosting cards: the featured plan stands out a little on wide screens */
@media (min-width: 1100px) {
  .pc-grid { padding-block: 22px 10px; }
  .pc.is-featured { margin-block: -8px; padding-block: 36px 28px; }
}

/* ==========================================================================
   Feature showcase: "included" panel, tagged feature cards, art chips
   (keep at the END of the file)
   ========================================================================== */
.pl-incl { margin-top: 32px; padding: 22px 18px; border: 1px solid var(--c-d3eedd); border-radius: 18px; background: linear-gradient(135deg, var(--c-f1fbf5), #fff); }
.pl-incl-title { margin: 0 0 16px; text-align: center; font-size: 1.05rem; font-weight: 800; color: var(--ink); text-wrap: balance; }
.pl-incl-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.pl-incl-list li { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: .93rem; font-weight: 600; line-height: 1.35; color: var(--ink2); }
.pl-incl-ico { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--g100); color: var(--g700); }

.pl-why li { position: relative; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pl-why li:hover { transform: translateY(-3px); }
.pl-why-tag { position: absolute; top: 16px; right: 16px; max-width: 45%; padding: 3px 10px; overflow: hidden; border-radius: 999px; background: var(--g50); border: 1px solid var(--c-d3eedd); color: var(--g800); font-size: .72rem; font-weight: 700; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }

.pl-split-art--chips { flex-direction: column; gap: 22px; padding: 28px 18px; }
.pl-art-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pl-art-chips li { padding: 6px 14px; border: 1px solid var(--c-b7e4c7); border-radius: 999px; background: #fff; color: var(--g800); font-size: .82rem; font-weight: 700; line-height: 1.3; box-shadow: 0 4px 10px rgb(var(--g950-rgb) / .08); }

@media (min-width: 560px) {
  .pl-incl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .pl-incl { padding: 26px 30px; }
  .pl-incl-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; }
}
@media (max-width: 340px) {
  .pl-why-tag { position: static; display: inline-block; margin-bottom: 8px; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-why li { transition: none; }
  .pl-why li:hover { transform: none; }
}
@media print {
  .pl-incl { break-inside: avoid; }
}

/* ==========================================================================
   Pro page additions (plans.php v3): eyebrow, stats, use-case cards, comparison
   matrix, steps, fit boxes, reseller estimate, order bar for phones.
   Keep this block at the END of the file.
   ========================================================================== */

/* ---------- hero: eyebrow + stats ---------- */
.pl-eyebrow { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin: 12px 0 0; padding: 5px 14px 5px 6px; border: 1px solid var(--c-b7e4c7); border-radius: 999px; background: #fff; color: var(--g800); font-size: .82rem; font-weight: 700; line-height: 1.3; box-shadow: 0 4px 12px rgb(var(--g950-rgb) / .06); }
.pl-eyebrow-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--g700); color: #fff; }
.pl-eyebrow + h1 { margin-top: 12px; }

.pl-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.pl-stats li { display: grid; gap: 2px; min-width: 7.5rem; padding: 10px 16px; border: 1px solid var(--c-d3eedd); border-radius: 14px; background: rgba(255, 255, 255, .85); }
.pl-stat-k { font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pl-stat-v { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.pl-stat-v b { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--g800); }
.pl-stat-v small { font-size: .82rem; font-weight: 600; color: var(--muted); }

/* ---------- pricing extras ---------- */
.plan-group-sub { margin: -14px auto 20px; max-width: 40rem; text-align: center; font-size: .98rem; color: var(--muted); }
.pl-pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; font-size: .86rem; color: var(--muted); }
.pl-pay span { margin-right: 4px; font-weight: 600; }
.pl-pay b { padding: 4px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink2); font-size: .8rem; font-weight: 700; }

/* the plan you jumped to from a link is outlined */
.pc:target, .vps-card:target { outline: 3px solid var(--g400); outline-offset: 4px; }

/* ---------- use-case cards ---------- */
.pl-use { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pl-use a { display: flex; flex-direction: column; height: 100%; min-width: 0; padding: 20px; border: 1px solid var(--c-d3eedd); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pl-use a:hover { transform: translateY(-3px); border-color: var(--g500); box-shadow: var(--shadow); }
.pl-use h3 { margin-top: 14px; font-size: 1.1rem; font-weight: 700; }
.pl-use p { margin-top: 6px; font-size: .94rem; line-height: 1.5; color: var(--muted); }
.pl-reco { display: grid; gap: 2px; margin-top: auto; padding: 12px 14px; border-radius: 12px; background: var(--g50); border: 1px solid var(--c-d9efe2); }
.pl-use p + .pl-reco { margin-top: 16px; }
.pl-reco-k { font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--g700); }
.pl-reco-v { font-size: .95rem; color: var(--ink2); }
.pl-reco-v b { color: var(--ink); }
.pl-reco-p { margin-left: 4px; font-weight: 700; color: var(--g700); }

/* ---------- comparison matrix ---------- */
.pl-cmp-title { margin: 28px 0 12px; font-size: 1.2rem; font-weight: 800; text-align: center; }
.pl-sec .pl-table-wrap + .pl-cmp-title { margin-top: 36px; }
.pl-cmp-title:first-of-type { margin-top: 0; }
.pl-table thead th:first-child, .pl-table tbody th { position: sticky; left: 0; z-index: 1; }
.pl-table tbody th { box-shadow: 1px 0 0 var(--line); }
.pl-table tbody tr.pl-cmp-sub td { padding: 8px 16px; background: var(--g100); color: var(--g800); font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.pl-table td b { font-weight: 800; }
.pl-yes { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--g100); color: var(--g700); }
.pl-no { color: var(--c-9db0a5); }

/* ---------- steps ---------- */
.pl-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: stp; }
.pl-steps li { position: relative; min-width: 0; padding: 62px 20px 20px; border: 1px solid var(--c-d3eedd); border-radius: 16px; background: #fff; counter-increment: stp; }
.pl-steps li::before { content: counter(stp); position: absolute; top: 18px; left: 20px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--g700); color: #fff; font-size: 1rem; font-weight: 800; }
.pl-steps h3 { font-size: 1.05rem; font-weight: 700; }
.pl-steps p { margin-top: 6px; font-size: .94rem; line-height: 1.5; color: var(--muted); }

/* ---------- is it right for you ---------- */
.pl-fitbox { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 62rem; margin-inline: auto; }
.pl-fitbox-col { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 24px 22px; border: 1px solid var(--c-d3eedd); border-radius: 18px; background: #fff; }
.pl-fitbox-col h3 { font-size: 1.12rem; font-weight: 800; color: var(--g800); }
.pl-fitbox-col .pl-ticks { margin-bottom: auto; }
.pl-fitbox-col > .btn { margin-top: 22px; }
.pl-fitbox-col--yes { border-color: var(--g700); background: linear-gradient(160deg, var(--c-f1fbf5), #fff); }
.pl-fitbox-col--alt .chk { background: var(--c-eef2f0); color: var(--ink2); }

/* ---------- reseller estimate ---------- */
.pl-calc { max-width: 60rem; margin-inline: auto; padding: 22px 18px; border: 1px solid var(--c-d3eedd); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.pl-calc-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pl-field { display: grid; gap: 6px; min-width: 0; }
.pl-field label { font-size: .86rem; font-weight: 700; color: var(--ink2); }
.pl-field label span { font-weight: 600; color: var(--muted); }
.pl-field input, .pl-field select { width: 100%; min-height: 46px; padding: 8px 12px; border: 1.5px solid var(--c-cfe5d8); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; }
.pl-field input:focus, .pl-field select:focus { border-color: var(--g600); outline: 3px solid rgb(var(--g500-rgb) / .25); outline-offset: 0; }
.pl-calc-limit { margin-top: 12px; padding: 8px 12px; border-radius: 10px; background: #fff8e6; color: #6b4a00; font-size: .88rem; }
.pl-calc-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.pl-calc-out > div { min-width: 0; padding: 12px 14px; border: 1px solid var(--c-d9efe2); border-radius: 12px; background: var(--g50); }
.pl-calc-out dt { font-size: .78rem; font-weight: 700; line-height: 1.3; color: var(--muted); }
.pl-calc-out dd { margin: 4px 0 0; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); overflow-wrap: anywhere; }
.pl-calc-out .pl-calc-main { grid-column: 1 / -1; border-color: var(--g700); background: linear-gradient(135deg, var(--g900), var(--g700)); }
.pl-calc-out .pl-calc-main dt { color: var(--c-d7eadf); }
.pl-calc-out .pl-calc-main dd { font-size: 1.8rem; color: #fff; }
.pl-calc .pl-fine { margin-top: 14px; }

/* ---------- order bar for phones ---------- */
.pl-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .98); box-shadow: 0 -10px 30px rgb(var(--g950-rgb) / .12); }
.pl-bar-info { display: grid; min-width: 0; line-height: 1.25; }
.pl-bar-name { overflow: hidden; font-size: .82rem; font-weight: 700; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.pl-bar-price b { font-size: 1.3rem; font-weight: 800; color: var(--g800); }
.pl-bar-price small { margin-left: 3px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.pl-bar .btn { flex: none; min-height: 44px; }
html.pl-has-bar body { padding-bottom: 76px; }
@media (min-width: 761px) {
  .pl-bar { display: none !important; }
  html.pl-has-bar body { padding-bottom: 0; }
}

/* ---------- responsive for the additions ---------- */
@media (min-width: 560px) {
  .pl-use { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .pl-fitbox { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .pl-calc { padding: 28px; }
  .pl-calc-in { grid-template-columns: 1.3fr 1fr 1.3fr; gap: 16px; }
  .pl-calc-out { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pl-calc-out .pl-calc-main { grid-column: auto; }
}
@media (min-width: 1000px) {
  .pl-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .pl-use { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .pl-stats li { flex: 1 1 calc(50% - 10px); min-width: 0; }
  .pl-use a { padding: 16px; }
  .pl-fitbox-col { padding: 20px 16px; }
  .pl-fitbox-col > .btn { width: 100%; }
  .plan-group-sub { margin-top: -10px; }
}
@media (max-width: 420px) {
  .pl-stats li { flex: 1 1 100%; }
  .pl-calc { padding: 18px 14px; }
  .pl-calc-out { grid-template-columns: minmax(0, 1fr); }
  .pl-calc-out .pl-calc-main dd { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-use a { transition: none; }
  .pl-use a:hover { transform: none; }
}
@media print {
  .pl-bar { display: none !important; }
  .pl-use a, .pl-steps li, .pl-fitbox-col, .pl-calc { box-shadow: none; break-inside: avoid; }
}

/* comparison matrix: centre the cells vertically */
.pl-table tbody th, .pl-table tbody td { vertical-align: middle; }

/* blog guides block (includes/blog_suggest.php): keep one or two cards centred at a sensible width */
.pl-guides .post-grid.is-n1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.pl-guides .post-grid.is-n2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
@media (max-width: 760px) {
  .pl-guides .post-grid.is-n1, .pl-guides .post-grid.is-n2 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Discount (set per plan in myadmin) ---------- */
.pc-off { display: inline-flex; align-items: center; align-self: center; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: #ffe7d1; color: #b4410a; font-size: .74rem; font-weight: 800; letter-spacing: .02em; line-height: 1.3; white-space: nowrap; }
.pc.is-featured .pc-off { background: #fff; color: var(--g800); }
.pl-was { margin-left: 6px; font-size: .78em; font-weight: 600; color: var(--muted); text-decoration: line-through; white-space: nowrap; }
.pl-was[hidden] { display: none; }
.pl-table .pl-was, .pl-table .pc-off { display: block; margin: 2px 0 0; }
.pl-table .pc-off { width: fit-content; }

/* ==========================================================================
   Unmanaged VPS: one row per plan   [ name + badge | spec tiles | price + button ]
   Colours come from the theme tokens (--g50 ... --g950), so they follow myadmin > Theme colors.
   Keep at the END of the file.
   ========================================================================== */
.vps-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 22px; font-size: .92rem; font-weight: 600; line-height: 1.4; text-align: center; color: var(--ink2); }
.vps-note svg { flex: none; color: var(--g700); }

.vps-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 6px; }

.vps-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px 20px;
  align-items: center;
  min-width: 0;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(var(--g950-rgb) / .04), 0 10px 26px -16px rgb(var(--g950-rgb) / .22);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.vps-card:hover { transform: translateY(-2px); border-color: var(--c-b7e4c7); box-shadow: 0 2px 4px rgb(var(--g950-rgb) / .05), 0 20px 38px -18px rgb(var(--g950-rgb) / .34); }
.vps-card.is-featured {
  border-color: var(--g500);
  background: linear-gradient(180deg, var(--g50), #fff 75%);
  box-shadow: 0 0 0 3px rgb(var(--g500-rgb) / .14), 0 18px 38px -18px rgb(var(--g950-rgb) / .4);
}

/* name, badge, one-line description */
.vps-head { grid-row: 1; min-width: 0; }
.vps-tag { display: inline-block; max-width: 100%; margin-bottom: 4px; padding: 2px 10px; overflow: hidden; border-radius: 999px; background: var(--g100); color: var(--g800); font-size: .72rem; font-weight: 800; letter-spacing: .03em; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; }
.vps-card.is-featured .vps-tag { background: var(--g700); color: #fff; }
.vps-head h4 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.vps-head .pc-desc { margin-top: 3px; font-size: .85rem; line-height: 1.4; color: var(--muted); }

/* spec tiles: small capital label on top, bold value below */
.vps-specs { grid-row: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; border: 0; }
.vps-specs > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; padding: 7px 6px; border: 1px solid var(--c-e1f0e7); border-radius: 10px; background: var(--g50); text-align: center; }
.vps-specs > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.vps-specs dt { max-width: 100%; font-size: .66rem; font-weight: 700; letter-spacing: .06em; line-height: 1.3; text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }
.vps-specs dd { max-width: 100%; margin: 0; font-size: .96rem; font-weight: 800; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.vps-card.is-featured .vps-specs > div { border-color: var(--c-d3eedd); background: #fff; }

/* price + order button */
.vps-buy { grid-row: 2; display: grid; align-content: center; justify-items: center; gap: 2px; min-width: 0; text-align: center; }
.vps-buy .pc-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 2px; margin: 0; color: var(--ink); }
.vps-buy .pc-cur { align-self: flex-start; margin-top: .35rem; font-size: 1.05rem; font-weight: 800; color: var(--g700); }
.vps-buy .pc-amt { font-size: clamp(1.9rem, 5vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.vps-buy .pc-cents { align-self: flex-start; margin-top: .35rem; font-size: .95rem; font-weight: 700; }
.vps-buy .pc-per { margin-left: 3px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.vps-buy .pc-deal { display: flex; flex: 0 0 100%; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; order: -1; margin-bottom: 2px; }
.vps-buy .pc-deal .pc-was, .vps-buy .pc-deal .pc-off { margin: 0; }
.vps-buy .pc-bill { margin: 0 0 4px; font-size: .78rem; line-height: 1.3; color: var(--muted); }
.vps-buy .btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 40px; padding-block: 8px; border: 0; border-radius: 10px; background: linear-gradient(135deg, var(--g600), var(--g800)); color: #fff; font-weight: 800; letter-spacing: .01em; line-height: 1.25; text-align: center; box-shadow: 0 10px 20px -10px rgb(var(--g700-rgb) / .8); transition: transform .18s, box-shadow .18s, filter .18s; }
/* the older ".pc-price + .pc-bill + .btn { margin-top: 22px }" rule (plain plan cards) must not stretch the VPS row */
.vps-buy .pc-price + .pc-bill + .btn { margin-top: 0; }
.vps-buy .btn:hover { transform: translateY(-1px); filter: brightness(1.07); box-shadow: 0 14px 24px -10px rgb(var(--g700-rgb) / .85); }

/* what else is included */
.vps-extras { grid-row: 4; grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 10px 0 0; border-top: 1px dashed var(--c-d9efe2); list-style: none; }
.vps-extras li { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 7px; border-radius: 999px; background: var(--g50); font-size: .8rem; font-weight: 600; line-height: 1.35; color: var(--ink2); }
.vps-extras .chk { margin: 0; }
.vps-card.is-featured .vps-extras li { background: #fff; box-shadow: inset 0 0 0 1px var(--c-d3eedd); }

@media (min-width: 560px) {
  .vps-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vps-specs > div:last-child:nth-child(odd) { grid-column: auto; }
  .vps-card { padding: 16px 18px; }
}

/* tablet: name | price+button on the first line, specs full width below */
@media (min-width: 760px) {
  .vps-card { grid-template-columns: minmax(0, 1fr) 13rem; padding: 16px 20px; }
  .vps-head { grid-column: 1; grid-row: 1; }
  .vps-buy  { grid-column: 2; grid-row: 1 / span 2; }
  .vps-specs { grid-column: 1; grid-row: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vps-extras { grid-row: 3; }
}

/* desktop: one line  [ name | tiles | price + button ] */
@media (min-width: 1100px) {
  .vps-card { grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr) 12.5rem; align-items: center; padding: 14px 22px; }
  .vps-head  { grid-column: 1; grid-row: 1; }
  .vps-specs { grid-column: 2; grid-row: 1; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; gap: 8px; }
  .vps-buy   { grid-column: 3; grid-row: 1; }
  .vps-extras { grid-row: 2; }
}

@media (max-width: 380px) {
  .vps-card { padding: 14px 12px; }
  .vps-head h4 { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .vps-card, .vps-buy .btn { transition: none; }
  .vps-card:hover, .vps-buy .btn:hover { transform: none; }
}
@media print {
  .vps-card { box-shadow: none; break-inside: avoid; }
}

/* ==========================================================================
   Coupons (myadmin > Coupons & pricing; shown and filled by assets/js/plans.js)
   ========================================================================== */
.pl-cpn { display: grid; gap: 16px; max-width: 1000px; margin: -8px auto 30px; }
.pl-cpn[hidden], .pl-cpn [hidden] { display: none; }

/* offer cards */
.pl-cpn-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pl-cpn-list--n1 { max-width: 620px; width: 100%; margin-inline: auto; grid-template-columns: minmax(0, 1fr); }
.pl-ticket { display: grid; grid-template-columns: auto minmax(0, 1fr); min-width: 0; overflow: hidden; border: 1.5px dashed var(--c-86efac); border-radius: 16px; background: #fff; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.pl-ticket.is-applied { border-style: solid; border-color: var(--g600); box-shadow: 0 0 0 3px rgb(var(--g500-rgb) / .16), var(--shadow); }
.pl-ticket-val { grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 96px; padding: 16px 14px; background: linear-gradient(160deg, var(--g700), var(--g900)); color: #fff; text-align: center; }
.pl-ticket-val b { font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; overflow-wrap: anywhere; }
.pl-ticket-val span { font-size: .7rem; font-weight: 800; letter-spacing: .16em; opacity: .85; }
.pl-ticket-body { min-width: 0; padding: 14px 16px 0; }
.pl-ticket-title { margin: 0; font-size: 1rem; font-weight: 800; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.pl-ticket-desc { margin: 4px 0 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.pl-ticket-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.pl-ticket-meta li { padding: 2px 9px; border-radius: 999px; background: var(--g50); color: var(--g800); font-size: .72rem; font-weight: 700; line-height: 1.5; }
.pl-ticket-meta li.is-ends { background: #fff4e5; color: #9a3f07; }
.pl-ticket-act { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 12px 16px 14px; }
.pl-ticket-code { padding: 4px 10px; border: 1.5px dashed var(--g600); border-radius: 8px; background: var(--g50); color: var(--g800); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9rem; font-weight: 800; letter-spacing: .06em; overflow-wrap: anywhere; }
.pl-ticket-act .btn { min-height: 38px; }
.pl-ticket-act .btn:disabled { opacity: 1; cursor: default; background: var(--g100); color: var(--g800); box-shadow: none; }

/* coupon box */
.pl-cpn-box { display: grid; justify-items: center; gap: 8px; }
.pl-cpn-form { width: 100%; max-width: 520px; margin: 0; }
.pl-cpn-label { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 8px; font-size: .9rem; font-weight: 700; color: var(--ink2); }
.pl-cpn-label svg { color: var(--g700); }
.pl-cpn-row { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.pl-cpn-row:focus-within { border-color: var(--g500); box-shadow: 0 0 0 3px rgb(var(--g500-rgb) / .18), var(--shadow); }
.pl-cpn-row input { flex: 1 1 auto; min-width: 0; min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; outline: none; }
.pl-cpn-row input::placeholder { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.pl-cpn-row .btn { flex: none; border-radius: 999px; }
.pl-cpn-row .btn:disabled { opacity: .7; cursor: progress; }
.pl-cpn-on { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 680px; padding: 10px 10px 10px 14px; border: 1.5px solid var(--g500); border-radius: 14px; background: var(--g50); }
.pl-cpn-ok { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--g600); color: #fff; }
.pl-cpn-on-txt { flex: 1 1 auto; min-width: 0; margin: 0; font-size: .9rem; line-height: 1.45; color: var(--ink2); }
.pl-cpn-on-txt code { font-family: inherit; font-weight: 800; letter-spacing: .05em; color: var(--g800); }
.pl-cpn-x { flex: none; min-height: 38px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink2); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; transition: border-color .2s, color .2s; appearance: none; }
.pl-cpn-x:hover { border-color: #f3b4b4; color: #b42318; }
.pl-cpn-x:focus-visible, .pl-cpn-row .btn:focus-visible { outline: 2px solid var(--g500); outline-offset: 2px; }
.pl-cpn-msg { margin: 0; font-size: .86rem; font-weight: 600; text-align: center; color: var(--muted); }
.pl-cpn-msg.is-err { color: #b42318; }
.pl-cpn-msg.is-info { color: var(--g800); }

/* coupon line on every plan card */
.pc-cpn { margin: 10px 0 0; padding: 6px 10px; border: 1px solid transparent; border-radius: 10px; font-size: .8rem; font-weight: 700; line-height: 1.35; }
.pc-cpn.is-ok { border-color: var(--c-86efac); border-style: dashed; background: var(--g50); color: var(--g800); }
.pc-cpn.is-hint { background: #fff7e6; color: #8a4b00; }
.pc.is-featured .pc-cpn.is-ok { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .14); color: #fff; }
.pc.is-featured .pc-cpn.is-hint { background: rgba(255, 255, 255, .1); color: var(--c-e3f5ea); }
.pc-price + .pc-bill + .pc-cpn + .btn { margin-top: 22px; }
.vps-buy .pc-cpn { margin: 0 0 6px; text-align: center; }
.vps-buy .pc-price + .pc-bill + .pc-cpn + .btn { margin-top: 0; }

@media (max-width: 520px) {
  .pl-ticket { grid-template-columns: minmax(0, 1fr); }
  .pl-ticket-val { grid-row: auto; flex-direction: row; gap: 8px; min-width: 0; padding: 10px 14px; }
  .pl-ticket-val b { font-size: 1.35rem; }
  .pl-cpn-on { flex-wrap: wrap; }
  .pl-cpn-on-txt { flex-basis: calc(100% - 40px); }
  .pl-cpn-x { flex: 1 1 100%; }
}
@media (max-width: 360px) {
  .pl-cpn-row { flex-wrap: wrap; border-radius: 16px; }
  .pl-cpn-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-ticket, .pl-cpn-row, .pl-cpn-x { transition: none; }
}
