.frontpage {
    --green: var(--front-primary);
    --ink: color-mix(in srgb, var(--front-primary) 48%, #101514);
    --lime: var(--front-accent);
    --cream: var(--front-bg);
    background: var(--front-bg);
    min-height: 100vh;
    font-family: var(--front-body), sans-serif;
}

.frontpage h1,
.frontpage h2,
.frontpage h3,
.frontpage .brand { font-family: var(--front-heading), sans-serif; }
.frontpage .nav { position: relative; z-index: 3; }
.front-hero-image { width: min(540px, 100%); height: 570px; object-fit: cover; border-radius: 42% 58% 48% 52% / 50% 42% 58% 50%; box-shadow: 0 35px 80px #0003; border: 12px solid #ffffff66; }

.infographic-section { padding-top: 90px; padding-bottom: 110px; }
.section-intro { max-width: 610px; margin-bottom: 42px; }
.section-intro.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-intro h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 13px 0; }
.section-intro p { color: var(--muted); font-size: 17px; }
.infographic-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.infographic-flow::before { content: ''; position: absolute; left: 16%; right: 16%; top: 48px; height: 2px; background: linear-gradient(90deg, var(--front-primary), var(--front-accent), var(--front-primary)); opacity: .35; }
.info-step { position: relative; background: #fff; border: 1px solid color-mix(in srgb, var(--front-primary) 15%, #ddd); border-radius: 26px; padding: 32px; min-height: 270px; box-shadow: 0 22px 55px #17251e10; transition: .25s; }
.info-step:hover { transform: translateY(-8px); box-shadow: 0 30px 70px #17251e20; }
.info-number { font: 800 11px var(--front-heading); letter-spacing: 2px; color: var(--front-primary); }
.info-icon { position: relative; z-index: 1; width: 74px; height: 74px; display: grid; place-items: center; margin: 20px 0; border-radius: 24px; background: var(--front-primary); color: var(--front-accent); font-size: 28px; box-shadow: 0 12px 25px color-mix(in srgb, var(--front-primary) 30%, transparent); }
.info-step:nth-child(2) .info-icon { background: var(--front-accent); color: var(--front-primary); }
.info-step h3 { font-size: 23px; margin: 14px 0 9px; }
.info-step p { color: var(--muted); line-height: 1.65; margin: 0; }

.pricing-section { background: color-mix(in srgb, var(--front-primary) 6%, #fff); padding: 100px 0; }
.pricing-grid { display: flex; justify-content: center; align-items: stretch; gap: 24px; flex-wrap: wrap; max-width: 920px; margin: auto; }
.pricing-card { width: min(390px, 100%); background: white; border: 1px solid color-mix(in srgb, var(--front-primary) 16%, #ddd); border-radius: 28px; padding: 35px; box-shadow: 0 22px 60px #17251e10; display: flex; flex-direction: column; }
.pricing-card.featured { background: var(--front-primary); color: white; transform: translateY(-12px); }
.plan-label { font: 800 13px var(--front-heading); text-transform: uppercase; letter-spacing: 2px; color: var(--front-primary); }
.featured .plan-label { color: var(--front-accent); }
.plan-price { display: flex; align-items: baseline; gap: 5px; margin: 20px 0 28px; }
.plan-price strong { font: 800 55px var(--front-heading); }
.plan-price small { opacity: .65; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 13px; flex: 1; }
.pricing-card li { display: flex; gap: 10px; align-items: flex-start; }
.pricing-card li span { display: grid; place-items: center; min-width: 23px; height: 23px; border-radius: 50%; background: var(--front-accent); color: var(--front-primary); font-weight: 900; }
.pricing-card .button { justify-content: center; }
.pricing-card.featured .button.primary { background: var(--front-accent); color: var(--front-primary); }

.faq-section { padding-top: 100px; padding-bottom: 100px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { font: 800 17px var(--front-heading); cursor: pointer; }
.faq-list p { color: var(--muted); line-height: 1.7; }
.cta.with-image { background-size: cover; background-position: center; }

.admin-settings-group { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 16px; overflow: hidden; }
.admin-settings-group > summary { cursor: pointer; padding: 18px 20px; font: 800 17px Manrope; background: #f7f8f4; }
.admin-settings-group > .form-grid { padding: 20px; }
.theme-color-control > span:first-child { font-weight: 800; }
.color-choice { display: grid; grid-template-columns: 96px minmax(120px, 1fr) minmax(170px, 1.3fr); align-items: center; gap: 16px; margin-top: 8px; padding: 14px; border: 3px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 30px #17251e0d; transition: border-color .2s; }
.color-choice input[type="color"] { width: 96px !important; height: 72px; border: 0 !important; padding: 0 !important; margin: 0 !important; background: none; cursor: pointer; }
.color-choice input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.color-choice input[type="color"]::-webkit-color-swatch { border: 4px solid white; border-radius: 13px; box-shadow: 0 0 0 1px #0002; }
.color-value { display: grid; gap: 5px; }
.color-value small { color: var(--muted); }
.color-choice output { font: 800 18px monospace; text-transform: uppercase; }
.theme-color-preview { min-height: 58px; border-radius: 13px; display: grid; place-items: center; padding: 12px 18px; font-weight: 800; text-align: center; box-shadow: 0 8px 20px #0002; }
.order-actions { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.danger { color: #a12626 !important; border-color: #e9b5b5 !important; }

@media (max-width: 800px) {
    .infographic-section,
    .pricing-section { padding-top: 65px; padding-bottom: 65px; }
    .infographic-flow { grid-template-columns: 1fr; }
    .infographic-flow::before { display: none; }
    .info-step { min-height: auto; padding: 24px; }
    .pricing-card.featured { transform: none; }
    .faq-section { grid-template-columns: 1fr; gap: 15px; padding-top: 65px; padding-bottom: 65px; }
    .front-hero-image { height: 420px; }
    .color-choice { grid-template-columns: 82px 1fr; }
    .color-choice input[type="color"] { width: 82px !important; height: 68px; }
    .theme-color-preview { grid-column: 1 / -1; }
    .order-actions { align-items: stretch; flex-direction: column; }
    .order-actions form,
    .order-actions select,
    .order-actions button { width: 100%; }
}
