/*----------------------------------------------------------------------------
 * Angels, Inc - /public/plans/plans.css
 * Version v0.2.3
 * Copyright(c) 2017-2026 Angels, Inc
 * Author: Jacques Deguest <jacques.deguest@angels-inc.com>
 * Created 2024/10/26
 * Modified 2026/08/01
 * All rights reserved.
 *
 * Styles for the Plans page at /plans.html
 * WARNINGS!
 * As of 2024-10-26, this file is also used in the /account section
 *
 * Permission to use, copy, modify,  and  distribute  this  software  and  its
 * documentation for any purpose is strictly forbidden. The name of the author
 * or the one of Angels, Inc may not  be  used  in  advertising  or  publicity
 * pertaining to distribution of the software without specific, written  prior
 * permission.
 *
 * THE AUTHOR AND ANGELS, INC DISCLAIMS ALL WARRANTIES  WITH  REGARD  TO  THIS
 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND  FITNESS;
 * IN NO EVENT SHALL AUTHOR  NOR  ANGELS,  INC  BE  LIABLE  FOR  ANY  SPECIAL,
 * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING  FROM
 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,  NEGLIGENCE
 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE  USE  OR
 * PERFORMANCE OF THIS SOFTWARE.
 *----------------------------------------------------------------------------*/
/* Aligning */
.pricing-tables.text-center,
.pricing-tables .text-center 
{
	text-align: center;
}

@media (max-width: 767px) 
{
	.pricing-tables .text-center-sm 
	{
		display: block;
	}
}

/* Text Style */
.pricing-tables .caps 
{
	text-transform: uppercase;
}

.pricing-tables .lspg1 
{
	letter-spacing: 1px;
}

.pricing-tables .lspg1-5 
{
	letter-spacing: 1.5px;
}

.pricing-tables .lspg2 
{
	letter-spacing: 2px;
}

.pricing-tables .lspg3 
{
	letter-spacing: 3px;
}

.pricing-tables .lspg-1 
{
	letter-spacing: -1px;
}

.pricing-tables .lspg-2 
{
	letter-spacing: -2px;
}

.pricing-tables .lspg-3 
{
	letter-spacing: -3px;
}

/* Headings */
.pricing-tables h1,
.pricing-tables h2,
.pricing-tables h3,
.pricing-tables h4,
.pricing-tables h5,
.pricing-tables h6 
{
/* 	color: #2c79ff; */
	color: #555;
}

.pricing-tables h2 
{
/* 	font-family: "Playfair Display", serif; */
	font-size: 48px;
	font-weight: 500;
}

.pricing-tables h3 
{
	font-size: 11px;
	font-weight: 600;
}

.pricing-tables button 
{
	border: 0;
	padding: 0;
}

.pricing-tables .btn 
{
	display: inline-block;
	min-width: auto;
	padding: .5rem .9rem;
	text-align: center;
	border-radius: 6px;
	cursor: pointer;
	transition: all 300ms ease;
}

.pricing-tables .btn:not([disabled]):active 
{
	position: relative;
	top: 1px;
	left: 1px;
	-webkit-transform: scale(0.99);
	        transform: scale(0.99);
}

.pricing-tables .btn:not([disabled]):focus 
{
	outline: 1px dotted #aaa;
}

.pricing-tables .btn.btn-sm 
{
	padding: .5rem 1.4rem !important;
	font-size: 13px !important;
}

.pricing-tables .btn.btn-md 
{
	padding: .5rem 1.7rem !important;
	font-size: 14px !important;
}

.pricing-tables .btn.btn-lg 
{
	padding: .7rem 1.7rem !important;
}

.pricing-tables .btn.btn-default 
{
	background: #0066cc;
	color: #fff;
}

.pricing-tables .btn.btn-default:not([disabled]):focus 
{
	outline: 1px dotted #0066cc !important;
}

.pricing-tables .btn.btn-default--outline 
{
	background: transparent;
	color: #0066cc;
	border: 1px solid #0066cc;
}

.pricing-tables .btn.btn-default--outline:not([disabled]):focus 
{
	outline: 1px dotted #0066cc !important;
}

.pricing-tables .btn.btn-danger 
{
	background: #f97f6f;
	color: #fff;
}

.pricing-tables .btn.btn-danger:not([disabled]):hover 
{
	background: #fa9083;
}

.pricing-tables .btn.btn-danger:not([disabled]):focus 
{
	outline: 1px dotted #f97f6f !important;
}

.pricing-tables .btn.btn-danger-outline 
{
	background: transparent;
	color: #f97f6f;
	border: 1px solid #f97f6f;
}

.pricing-tables .btn.btn-danger-outline:not([disabled]):focus 
{
	outline: 1px dotted #f97f6f !important;
}

.pricing-tables .btn.btn-disabled,
.pricing-tables .btn[disabled]
{
	cursor: not-allowed;
}

.pricing-tables .btn.btn-disabled:active 
{
	position: relative;
	top: 0px;
	left: 0px;
	-webkit-transform: scale(1);
	        transform: scale(1);
}

.pricing-tables .btn.btn-disabled:focus 
{
	outline: 1px dotted #abb9ba !important;
}

.pricing-tables .btn 
{
	font-size: 14px;
	font-weight: 600;
}

.pricing-tables .btn:not([disabled]):focus 
{
	outline: 0;
}

.pricing-tables .btn.btn-default--outline.plan__btn--start 
{
	border-radius: 50px;
	border: 1px solid #555;
	box-shadow: 0 0 1px rgba(44, 121, 255, 0.8);
	padding: .470rem 0 !important;
}

.pricing-tables .btn.btn-default--outline.plan__btn--start i
{
	position: absolute;
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
}

.pricing-tables .btn.btn-default--outline.plan__btn--start span 
{
	display: block;
	padding: 0rem 0;
	color: #555;
	font-weight: 400;
	transition: all 250ms ease;
}

.pricing-tables .btn.btn-default--outline.plan__btn--start:not([disabled]):hover 
{
	background: #555;
	color: #FFFFFF;
	border: 1px solid transparent;
	box-shadow: 0 7px 10px rgba(57, 59, 60, 0.6);
}

.pricing-tables .btn.btn-default--outline.plan__btn--start:not([disabled]):hover span 
{
	color: #FFFFFF;
}

.pricing-tables .btn.btn-default--outline.plan__btn--start:not([disabled]):focus 
{
	outline: 0 !important;
}

.pricing-tables .btn.btn-default--outline.plan--bussiness__price-btn 
{
	background: #db3827;
	border: 1px solid transparent;
	box-shadow: 0 0.5px 9.3px rgba(219, 56, 39, 0.875);
}

.pricing-tables .btn.btn-default--outline.plan--bussiness__price-btn span 
{
	color: #FFFFFF;
}

.pricing-tables .btn.btn-default--outline.plan--bussiness__price-btn:not([disabled]):hover 
{
	background: transparent;
	border: 1px solid #db3827;
	box-shadow: 0 7px 10px rgba(219, 56, 39, 0.35);
}

.pricing-tables .btn.btn-default--outline.plan--bussiness__price-btn:not([disabled]):hover span 
{
	color: #db3827;
}

.pricing-tables .container 
{
	position: relative;
	width: 90%;
	max-width: 1200px;
	margin: auto;
}

@media only screen and (max-width: 991px) 
{
	.pricing-tables .container 
	{
		width: 85%;
	}
}

@media only screen and (max-width: 420px) 
{
	.pricing-tables .container 
	{
		width: 90%;
	}
}

.pricing-tables .flex-wrapper 
{
	display: flex;
}

.pricing-tables .grid-wrapper 
{
	display: -ms-grid;
	display: grid;
}

.pricing-tables 
{
	background: #fff;
	padding: 3rem 0 4.5rem;
	box-shadow: 0 5px 127px 0 rgba(0, 0, 0, 0.07);
	transition: background-color .4s ease-in-out;
	border-radius: 4px;
}

@media only screen and (max-width: 991px) 
{
	.pricing-tables 
	{
		margin-bottom: 10rem;
	}
}

.pricing-tables .section__title 
{
	margin: 0 0 2rem 0;
	position: relative;
}

.pricing-tables .section__title::after 
{
	position: absolute;
	display: block;
	content: "";
	left: 0;
	right: 0;
	width: 30px;
	height: 2px;
	border-radius: 15px;
/* 	background: #2c79ff; */
	background: rgb(57, 59, 60);
	margin: 0 auto;
	bottom: -14px;
}

.pricing-tables .switch 
{
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}

.pricing-tables .switch span 
{
	font-size: 15px;
	font-family: "Raleway", sans-serif;
	font-weight: 800;
	transition: all .3s ease-in-out;
}

.pricing-tables .switch span.annually 
{
	opacity: .35;
	position: relative;
}

.pricing-tables .switch span.annually .save 
{
	position: absolute;
	top: 21px;
	left: 1px;
	color: darkslategray;
	font-size: 11px;
	font-weight: 500;
	font-family: "Montserrat", sans-serif;
}

.pricing-tables .switch .custom-switch 
{
	position: relative;
	display: inline-block;
	margin: 0 1rem;
}

.pricing-tables .plans 
{
	min-height: 0;
	margin-top: 3.6rem;
	grid-template-columns: 1fr;
	grid-gap: 1rem;
}

@media only screen and (max-width: 767px) 
{
	.pricing-tables .plans 
	{
		grid-template-columns: 1fr;
	}
}

@media only screen and (min-width: 768px) and (max-width: 991px) 
{
	.pricing-tables .plans 
	{
		grid-template-columns: 1fr 1fr;
	}

	.pricing-tables .plans .plan--starter 
	{
		grid-column: 1 / -1;
		grid-row: 1;
	}
}

@media only screen and (min-width: 992px) 
{
	.pricing-tables .plans 
	{
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}

.pricing-tables .plans .plan 
{
	padding: 0 0 1.8rem;
	flex-flow: nowrap column;
	justify-content: space-between;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
	border-radius: 15px;
	overflow: hidden;
	transition: box-shadow 300ms ease, -webkit-transform 300ms ease;
	transition: box-shadow 300ms ease, transform 300ms ease;
	transition: box-shadow 300ms ease, transform 300ms ease, -webkit-transform 300ms ease;
}

.pricing-tables .plans .plan .plan__head 
{
	position: relative;
	z-index: 1;
	transition: all .4s ease-in-out;
	background: linear-gradient(45deg, #555, rgba(57, 59, 60, 0.5));
/* 	background: #2c79ff; */
	background: rgb(57, 59, 60);
	color: #FFFFFF;
	padding: 2rem 0;
	overflow: hidden;
}

.pricing-tables .plans .plan .plan__head::after 
{
	position: absolute;
	display: block;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: -1;
	background: #0e090b;
	background: linear-gradient(-45deg, #eeaeca 0%, #94bbe9 100%);
	transition: all .4s ease-in-out;
}

.pricing-tables .plans .plan .plan__head .plan__title 
{
	margin: 0;
	color: #FFFFFF;
	font-size: 16px;
}

.pricing-tables .plans .plan .plan__head .plan__price .price
{
	position: relative;
	display: inline-block;
	font-size: 22px;
	font-family: "Futura", cursive;
	transition: opacity 0.2s ease 0s, -webkit-transform .4s ease 0s;
	transition: transform .4s ease 0s, opacity 0.2s ease 0s;
	transition: transform .4s ease 0s, opacity 0.2s ease 0s, -webkit-transform .4s ease 0s;
}

.pricing-tables .plans .plan .plan__head .plan__price .price .plan-amount
{
    font-size: 22px;
    font-family: "Futura", cursive;
}

.pricing-tables .plans .plan .plan__head .plan__price .price .plan__type 
{
	position: absolute;
	left: 0px;
	right: 0;
	bottom: -36px;
	font-size: 11px;
	font-family: "Montserrat", sans-serif;
	font-weight: 500;
	margin: 0 auto;
}

.pricing-tables .plans .plan .plan__head .plan__price .price.price--annually 
{
	position: relative;
	left: 0;
	right: 0;
	opacity: 0;
	transition: opacity 1s ease 0s, -webkit-transform .4s ease 0s;
	transition: transform .4s ease 0s, opacity 1s ease 0s;
	transition: transform .4s ease 0s, opacity 1s ease 0s, -webkit-transform .4s ease 0s;
	margin: 0 auto;
	-webkit-transform: translateY(100px);
	        transform: translateY(100px);
}

/*
.snip1255 .plan-features {
  padding: 0;
  margin: 0;
  text-align: center;
  list-style: outside none none;
  font-size: 0.8em;
}
.snip1255 .plan-features li {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding: 10px 5%;
  font-weight: 500;
}
.snip1255 .plan-features li:nth-child(even) {
  background: rgba(0, 0, 0, 0.08);
}
.snip1255 .plan-features i {
  margin-right: 8px;
  opacity: 0.4;
}
*/

.pricing-tables .plans .plan .plan__features 
{
/* 	padding: 2.4rem 2rem 2.1rem; */
    padding: 0;
    margin: 0;
	text-align: left;
    list-style: outside none none;
}

/* .pricing-tables .plans .plan .plan__features p  */
.pricing-tables .plans .plan .plan__features li
{
    display: inline-block;
    width: 100%;
    height: 2.5rem;
/* 	margin: 0; */
    margin-bottom: 0px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px 5%;
	font-size: 15px;
	font-weight: 500;
}

.pricing-tables .plans .plan .plan__features li:nth-child(even)
{
    background: rgba(0, 0, 0, 0.08);
}

.pricing-tables .plans .plan .plan__features i
{
    margin-right: 8px;
    opacity: 0.4;
}

/*
.pricing-tables .plans .plan .plan__features p span 
{
	display: block;
	margin-bottom: .2rem;
}
*/

.pricing-tables .plans .plan .plan_buttons
{
    padding-top: 12px;
}

.pricing-tables .plans .plan .plan__btn--start 
{
    position: relative;
	width: 40%;
	margin: auto;
}

.pricing-tables .plans .plan:hover 
{
	box-shadow: 0 10px 11px 0px rgba(57, 59, 60, 0.6);
	-webkit-transform: translateY(-3px);
	        transform: translateY(-3px);
}

/* .pricing-tables .switch .custom-switch input  */
input.custom-switch__input
{
	display: none;
}

/* .pricing-tables .switch .custom-switch label */
.pricing-tables .custom-switch > label
{
	position: relative;
	display: block;
	width: 66px;
	height: 26px;
	border-radius: 50px;
	background: #d3e3f7;
	transition: all .4s ease-in-out;
	cursor: pointer;
}

/* .pricing-tables .switch .custom-switch label::after */
.pricing-tables .custom-switch > label::after
{
	position: relative;
	display: block;
	content: '';
	top: 3px;
	left: 5px;
	width: 20px;
	height: 20px;
	border-radius: 19px;
/* 	background: #2c79ff; */
	background: #555;
	pointer-events: none;
	transition: all .4s ease-in-out;
}

/* .pricing-tables .switch .custom-switch label:active:after */
.pricing-tables .custom-switch > label:active:after
{
	width: 36px;
}

/* .pricing-tables .switch .custom-switch input:checked + label:active:after  */
input.custom-switch__input:checked + .pricing-tables .custom-switch > label:active:after
{
	left: 25px;
}

/* .pricing-tables .switch .custom-switch input:checked + label:after  */
input.custom-switch__input:checked + .pricing-tables .custom-switch > label:after
{
	left: 41px;
/* 	background: #2c79ff; */
	background: #555;
}

/* .pricing-tables.plans--annually .switch .monthly */
input.custom-switch__input:checked + .pricing-tables .switch .monthly
{
	opacity: .35;
}

/* .pricing-tables.plans--annually .switch .annually */
input.custom-switch__input:checked + .pricing-tables .switch .annually
{
	opacity: 1;
}

/* .pricing-tables.plans--annually .switch .annually .save */
input.custom-switch__input:checked + .pricing-tables .switch .annually .save
{
	color: #eeaeca;
}

/* .pricing-tables.plans--annually .plans .plan .plan__head::after */
/* 
input.custom-switch__input:checked + .pricing-tables .plans .plan .plan__head::after
{
	opacity: .5;
}
 */

input.custom-switch__input:checked + .pricing-tables .plans .plan .plan__head
{
	-webkit-filter: brightness(110%);
	        filter: brightness(110%);
}

/* .pricing-tables.plans--annually .plans .plan .plan__price .price.price--monthly  */
input.custom-switch__input:checked + .pricing-tables .plans .plan .plan__price .price.price--monthly
{
	opacity: 0;
	-webkit-transform: translateY(100px);
	        transform: translateY(100px);
}

/* .pricing-tables.plans--annually .plans .plan .plan__price .price.price--annually */
input.custom-switch__input:checked + .pricing-tables .plans .plan .plan__price .price.price--annually
{
	opacity: 1 !important;
	-webkit-transform: translateY(0px) !important;
	        transform: translateY(0px) !important;
}

/* NOTE: Public Plans page additions.
 * This block is scoped through .plans-page because this stylesheet is also
 * loaded in the account section.
 */
.plans-page
{
    --plans-background: var(--secondary-bg, #FFFFFF);
    --plans-muted-background: var(--input-bg, #f7f7f7);
    --plans-text: var(--text-color, #555555);
    --plans-text-focus: var(--text-focus-color, #444444);
    --plans-muted-text: var(--text-color-lighter, #888888);
    --plans-border: rgba(0, 0, 0, 0.14);
    --plans-border-strong: rgba(0, 0, 0, 0.20);
    --plans-row-alternate: rgba(0, 0, 0, 0.08);
    --plans-shadow: rgba(0, 0, 0, 0.16);
    --plans-shadow-soft: rgba(0, 0, 0, 0.08);
    --plans-shadow-hover: rgba(57, 59, 60, 0.60);
    --plans-accent: #0066cc;
    --plans-accent-soft: rgba(0, 102, 204, 0.18);
    --plans-header-background: rgb(57, 59, 60);
    --plans-header-text: #FFFFFF;
}

@media (prefers-color-scheme: dark)
{
    :root:not([data-theme="light"]) .plans-page
    {
        --plans-border: rgba(255, 255, 255, 0.16);
        --plans-border-strong: rgba(255, 255, 255, 0.24);
        --plans-row-alternate: rgba(255, 255, 255, 0.07);
        --plans-shadow: rgba(0, 0, 0, 0.42);
        --plans-shadow-soft: rgba(0, 0, 0, 0.32);
        --plans-shadow-hover: rgba(0, 0, 0, 0.58);
        --plans-accent: #4fc3f7;
        --plans-accent-soft: rgba(79, 195, 247, 0.20);
        --plans-header-background: #2c2d2e;
    }
}

:root[data-theme="dark"] .plans-page
{
    --plans-border: rgba(255, 255, 255, 0.16);
    --plans-border-strong: rgba(255, 255, 255, 0.24);
    --plans-row-alternate: rgba(255, 255, 255, 0.07);
    --plans-shadow: rgba(0, 0, 0, 0.42);
    --plans-shadow-soft: rgba(0, 0, 0, 0.32);
    --plans-shadow-hover: rgba(0, 0, 0, 0.58);
    --plans-accent: #4fc3f7;
    --plans-accent-soft: rgba(79, 195, 247, 0.20);
    --plans-header-background: #2c2d2e;
}

.plans-page > .pricing-tables
{
    background: var(--plans-background);
    box-shadow: 0 5px 127px 0 var(--plans-shadow-soft);
}

.plans-page .pricing-tables h1,
.plans-page .pricing-tables h2,
.plans-page .pricing-tables h3,
.plans-page .pricing-tables h4,
.plans-page .pricing-tables h5,
.plans-page .pricing-tables h6
{
    color: var(--plans-text);
}

.plans-page .pricing-tables .section__title::after
{
    background: var(--plans-text);
}

.plans-page .pricing-tables .plans .plan
{
    position: relative;
    padding-bottom: 0;
    justify-content: flex-start;
    background: var(--plans-background);
    box-shadow: 0 1px 3px var(--plans-shadow);
    scroll-margin-top: 90px;
}

.plans-page .pricing-tables .plans .plan:hover
{
    box-shadow: 0 10px 11px 0 var(--plans-shadow-hover);
}

/* Selected plan state. The pseudo-element draws the marker inside the card,
 * so the selection does not alter the card dimensions or the grid layout.
 */
.plans-page .pricing-tables .plans .plan::before
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    box-sizing: border-box;
    border: 3px solid transparent;
    border-radius: inherit;
    content: "";
    pointer-events: none;
    transition: border-color 250ms ease, box-shadow 250ms ease;
}

.plans-page .pricing-tables .plans .plan.plan--selected::before
{
    border-color: var(--plans-accent);
    box-shadow: inset 0 0 0 1px var(--plans-background);
}

.plans-page .pricing-tables .plans .plan.plan--selected,
.plans-page .pricing-tables .plans .plan.plan--selected:hover
{
    box-shadow: 0 12px 28px var(--plans-accent-soft);
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
}

.plans-page .pricing-tables .plans .plan .plan__head
{
    background: var(--plans-header-background);
}

.plans-page .pricing-tables .plans .plan .plan__features
{
    flex: 1 1 auto;
}

.plans-page .pricing-tables .plans .plan .plan__features li
{
    box-sizing: border-box;
    height: auto;
    min-height: 2.75rem;
    border-top-color: var(--plans-border-strong);
    color: var(--plans-text);
    overflow-wrap: break-word;
}

.plans-page .pricing-tables .plans .plan .plan__features li:nth-child(even)
{
    background: var(--plans-row-alternate);
}

.plans-page .pricing-tables .plans .plan .plan_buttons
{
    margin-top: auto;
    padding: 12px 0 18px;
}

.plans-page .pricing-tables .btn.btn-default--outline.plan__btn--start
{
    border-color: var(--plans-text);
    color: var(--plans-text);
    box-shadow: 0 0 1px var(--plans-accent-soft);
}

.plans-page .pricing-tables .btn.btn-default--outline.plan__btn--start span
{
    color: var(--plans-text);
}

.plans-page .pricing-tables .btn.btn-default--outline.plan__btn--start:not([disabled]):hover
{
    border-color: transparent;
    background: var(--plans-text);
    color: var(--plans-background);
    box-shadow: 0 7px 10px var(--plans-shadow-hover);
}

.plans-page .pricing-tables .btn.btn-default--outline.plan__btn--start:not([disabled]):hover span
{
    color: var(--plans-background);
}

/* "Learn more" action integrated into the footer of each pricing card */
.plans-page a.plan-detail-link[href],
.plans-page a.plan-detail-link[href]:visited
{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 16px;
    border-top: 1px solid var(--plans-border);
    background: var(--plans-muted-background);
    color: var(--plans-text);
    font-size: 0.86em;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 250ms ease, color 250ms ease;
}

.plans-page a.plan-detail-link[href]::after
{
    display: block;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin: -4px 0 0 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg);
    transition: transform 250ms ease;
}

.plans-page a.plan-detail-link[href]:hover
{
    background: var(--plans-header-background);
    color: var(--plans-header-text);
    text-decoration: none;
}

.plans-page a.plan-detail-link[href]:hover::after
{
    transform: translateY(2px) rotate(45deg);
}

.plans-page a.plan-detail-link[href]:focus
{
    outline: 2px solid var(--plans-accent);
    outline-offset: -4px;
}

/* Detailed plan cards below the pricing grid */
.plans-page .plan-details
{
    width: 90%;
    max-width: 1200px;
    margin: 56px auto 0;
}

.plans-page .plan-detail
{
    position: relative;
    overflow: hidden;
    margin: 0 0 30px;
    padding: 0;
    border: 1px solid var(--plans-border);
    border-radius: 15px;
    background: var(--plans-background);
    box-shadow: 0 5px 24px var(--plans-shadow-soft);
    scroll-margin-top: 90px;
    transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.plans-page .plan-detail::before
{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 3px;
    background: var(--plans-accent);
    content: "";
}

.plans-page .plan-detail:target
{
    border-color: var(--plans-accent);
    box-shadow: 0 12px 32px var(--plans-accent-soft);
    transform: translateY(-2px);
}

.plans-page .pricing-tables .plans .plan:target
{
    box-shadow: 0 10px 18px var(--plans-accent-soft);
}

.plans-page .plan-detail-header
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px 23px;
    background: var(--plans-header-background);
}

.plans-page .plan-detail-heading
{
    min-width: 0;
}

.plans-page .plan-detail-header h3
{
    margin: 0 0 5px;
    color: var(--plans-header-text);
    font-size: 1.55em;
    font-weight: 700;
    line-height: 1.2;
}

.plans-page .plan-detail-price
{
    margin: 0;
    color: var(--plans-header-text);
    font-size: 1.05em;
    font-weight: 600;
    line-height: 1.3;
    opacity: 0.86;
}

.plans-page a.plan-detail-back[href],
.plans-page a.plan-detail-back[href]:visited
{
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    margin: 0 0 0 24px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50px;
    color: var(--plans-header-text);
    font-size: 0.82em;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease;
}

.plans-page a.plan-detail-back[href] i
{
    margin-right: 7px;
}

.plans-page a.plan-detail-back[href]:hover
{
    border-color: var(--plans-header-text);
    background: var(--plans-header-text);
    color: var(--plans-header-background);
    text-decoration: none;
}

.plans-page a.plan-detail-back[href]:focus
{
    outline: 2px solid var(--plans-header-text);
    outline-offset: 3px;
}

.plans-page .plan-detail-body
{
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    align-items: start;
    column-gap: 36px;
    padding: 30px;
}

.plans-page .plan-detail-summary,
.plans-page .plan-detail-included
{
    min-width: 0;
}

.plans-page .plan-detail-summary p
{
    max-width: 72ch;
    margin: 0;
    color: var(--plans-text);
    font-size: 0.97em;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.plans-page .plan-detail-included
{
    padding: 22px 24px;
    border: 1px solid var(--plans-border);
    border-radius: 10px;
    background: var(--plans-muted-background);
}

.plans-page .plan-detail-included h4
{
    margin: 0 0 14px;
    color: var(--plans-text-focus);
    font-size: 1em;
    font-weight: 700;
    line-height: 1.3;
}

.plans-page .plan-detail-included ul
{
    margin: 0;
    padding: 0;
    list-style: none;
}

.plans-page .plan-detail-included li
{
    position: relative;
    margin: 0;
    padding: 6px 0 6px 21px;
    color: var(--plans-text);
    font-size: 0.94em;
    line-height: 1.55;
    overflow-wrap: break-word;
}

.plans-page .plan-detail-included li::before
{
    position: absolute;
    top: 14px;
    left: 1px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--plans-accent);
    box-shadow: 0 0 0 3px var(--plans-accent-soft);
    content: "";
}

@media only screen and (max-width: 991px)
{
    .plans-page > .pricing-tables
    {
        margin-bottom: 0;
    }

    .plans-page .plan-details
    {
        width: 85%;
    }

    .plans-page .plan-detail-body
    {
        column-gap: 28px;
        padding: 26px;
    }
}


@media only screen and (min-width: 992px)
{
    .plans-page .pricing-tables .plans .plan .plan__features li
    {
        min-height: 4.125rem;
    }
}

@media only screen and (max-width: 840px)
{
    .plans-page .plan-detail-body
    {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }
}

@media only screen and (max-width: 767px)
{
    .plans-page > .pricing-tables
    {
        padding: 2.5rem 0 3rem;
    }

    .plans-page .pricing-tables h2
    {
        font-size: 40px;
        line-height: 1.15;
    }

    .plans-page .plan-details
    {
        margin-top: 34px;
    }

    .plans-page .plan-detail
    {
        margin-bottom: 22px;
        border-radius: 12px;
    }

    .plans-page .plan-detail-header
    {
        display: block;
        padding: 23px 20px 21px;
    }

    .plans-page a.plan-detail-back[href]
    {
        margin: 17px 0 0;
    }

    .plans-page .plan-detail-body
    {
        grid-template-columns: 1fr;
        row-gap: 24px;
        padding: 22px 20px;
    }

    .plans-page .plan-detail-included
    {
        padding: 19px 20px;
    }
}

@media only screen and (max-width: 420px)
{
    .plans-page .plan-details
    {
        width: 90%;
    }

    .plans-page .pricing-tables h2
    {
        font-size: 34px;
    }

    .plans-page .plan-detail-header
    {
        padding: 21px 17px 19px;
    }

    .plans-page .plan-detail-header h3
    {
        font-size: 1.35em;
    }

    .plans-page a.plan-detail-back[href]
    {
        box-sizing: border-box;
        justify-content: center;
        width: 100%;
    }

    .plans-page .plan-detail-body
    {
        padding: 19px 17px;
    }

    .plans-page .plan-detail-included
    {
        padding: 17px;
    }
}
