/* Website page: /pricing (plan cards as on the home page, what every plan includes, payment, questions). */
.prhead { padding-block: 52px 64px; position: relative; max-width: 860px; }
.prhead h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; margin: 14px 0 14px; }
.prhead p { font-size: 18px; color: rgba(255,255,255,.85); margin: 0; max-width: 680px; }
section.block { padding: 80px 0; } .soft { background: var(--soft); }
h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 10px; line-height: 1.15; }
.sub { color: var(--muted); max-width: 640px; margin: 0 0 38px; font-size: 17px; }
.center { text-align: center; } .center .sub { margin-left: auto; margin-right: auto; }

/* Plan cards (same look as the home page). */
.plans { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.plan { padding: 28px 24px; border-left: 1px solid var(--line); position: relative; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.plan:first-child { border-left: 0; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(18,35,42,.5); z-index: 1; }
.plan.best { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, var(--green-d), #34d399, #2563eb, var(--green-d)) border-box; background-size: 100% 100%, 300% 300%; animation: pr-edge 6s linear infinite; }
.plan .ribbon { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--green-d), #2563eb); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 0 0 8px 8px; }
.plan h3 { margin: 6px 0 10px; font-size: 20px; text-align: center; }
.plan .price { text-align: center; font: 800 38px "Plus Jakarta Sans", sans-serif; } .plan .price small { font: 500 15px Inter, sans-serif; color: var(--muted); }
.plan .per { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 14.5px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; } .plan li svg { color: var(--green); flex: none; margin-top: 3px; }
.plan li.key { font-weight: 700; }
.note { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 16px; }
@keyframes pr-edge { to { background-position: 0 0, 300% 0; } }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan { border-left: 0; border-top: 1px solid var(--line); } .plan:first-child { border-top: 0; } }



/* How paying works. */
.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pay div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.pay b { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 8px; } .pay b svg { color: var(--green); }
.pay p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 860px) { .pay { grid-template-columns: 1fr; } }

.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); } .faq summary { list-style: none; cursor: pointer; padding: 20px 4px; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--green-d); } .faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 4px 20px; color: var(--muted); line-height: 1.65; }
.final { background: var(--green-d); color: #fff; border-radius: 24px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.final h2 { color: #fff; margin: 0 0 6px; } .final p { margin: 0; color: rgba(255,255,255,.85); }
@media (max-width: 600px) { .final { padding: 34px 24px; } section.block { padding: 60px 0; } .fit th, .fit td { padding: 12px; } }

/* Mobile app strip. */
.appbar { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 18px 22px; border-radius: 18px; background: linear-gradient(110deg, #eff6ff, #ecfdf5); border: 1px solid #cfe3f7; }
.appbar-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: #1d4ed8; color: #fff; display: flex; align-items: center; justify-content: center; }
.appbar b { display: block; font-size: 17px; } .appbar div span { color: var(--muted); font-size: 15px; }
.appbar > a { margin-left: auto; white-space: nowrap; color: #1d4ed8; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 700px) { .appbar { flex-wrap: wrap; } .appbar > a { margin-left: 64px; } }

/* Find your price. */
.finder { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.finder-in { padding: 26px; display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--line); }
.finder-in > label:first-child { font-weight: 600; }
.finder-in input[type=number] { font: 700 30px "Plus Jakarta Sans", sans-serif; width: 100%; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; }
.finder-in input[type=number]:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--mint); }
.finder-app { display: flex; gap: 8px; align-items: center; font-size: 15px; cursor: pointer; } .finder-app input { width: 18px; height: 18px; accent-color: var(--green); }
.finder-out { padding: 26px; display: grid; gap: 14px; align-content: start; }
.f-plan small { display: block; color: var(--muted); font-size: 13px; } .f-plan b { font: 800 28px "Plus Jakarta Sans", sans-serif; display: block; } .f-plan span { color: var(--muted); font-size: 14px; }
.f-lines { display: grid; gap: 8px; font-size: 15px; } .f-lines div { display: flex; justify-content: space-between; gap: 12px; }
.f-total { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 800; font-size: 18px; color: var(--green-d); }
.f-hint { margin: 0; color: var(--muted); font-size: 14.5px; } .finder-out .btn { justify-self: start; }
@media (max-width: 700px) { .finder { grid-template-columns: 1fr; } .finder-in { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Compare the plans. */
.cmp { position: relative; max-width: 980px; margin: 0 auto; border: 1px solid var(--line); border-radius: 18px; overflow-x: auto; background: #fff; }
.cmp table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.cmp th, .cmp td { padding: 13px 16px; border-top: 1px solid var(--line); text-align: center; }
.cmp thead th { border-top: 0; background: var(--soft); font-size: 14px; } .cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp td a { color: var(--ink); font-weight: 600; } .cmp td a:hover { color: var(--green-d); }
.cmp td svg { color: var(--green); vertical-align: middle; } .cmp .no { color: #b6c0c6; font-weight: 700; }
.cmp tr.app td { color: #1d4ed8; font-weight: 600; background: #f5f9ff; } .cmp tr.lim td { font-weight: 600; background: var(--soft); }
.tip { position: relative; display: inline-flex; margin-left: 6px; color: var(--muted); font-size: 13px; cursor: help; }
.tip:hover::after, .tip:focus::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: 240px; background: var(--dark); color: #fff; font-size: 12.5px; font-weight: 500; line-height: 1.45; padding: 8px 10px; border-radius: 8px; z-index: 5; white-space: normal; text-align: left; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Build your plan. */
.custom-form { max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 22px; }
.custom-form fieldset { border: 0; padding: 0; margin: 0; } .custom-form legend { font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.mods label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.mods label:has(input:checked) { border-color: var(--green); background: #f3fbf8; }
.mods label.fixed { cursor: default; } .mods label.appmod:has(input:checked) { border-color: #1d4ed8; background: #f5f9ff; }
.mods input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex: none; }
.mods b { display: block; font-size: 15px; } .mods small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.fields label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; } .fields label.wide { grid-column: 1 / -1; }
.fields input, .fields textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; }
.fields input:focus, .fields textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--mint); }
.custom-form .btn { justify-self: start; display: inline-flex; gap: 8px; align-items: center; }
.form-err { margin: 0; color: #b91c1c; font-weight: 600; font-size: 14.5px; }
.custom-done { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; background: #ecfdf5; color: var(--green-d); }
.custom-done b { display: block; color: var(--ink); font-size: 17px; } .custom-done span { color: var(--muted); }
.custom-done[hidden], .custom-form [hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
