/* AdSpike's public site (app/front.php and app/front/). --brand (navy) and --accent (lime) are set in the page from
   Global settings and App settings. The chart colours match the dashboard's */
body.front {
	--ink: #0e1630;
	--muted: #5b6478;
	--line: #e3e7ef;
	--tint: #f4f6fb;
	--card: #ffffff;
	--blue: #3b82f6;
	--purple: #8b5cf6;
	--teal: #14b8a6;
	--orange: #f59e0b;
	--pink: #ec4899;
	--green: #22c55e;
	--red: #ef4444;
	margin: 0;
	background: #ffffff;
	color: var(--ink);
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
}
.front h1, .front h2, .front h3 { color: var(--ink); font-family: inherit; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.front a { color: var(--brand); }
.front a:hover { color: var(--brand); text-decoration: underline; }
.front-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.front-narrow { max-width: 820px; }
.front-skip { position: absolute; left: -9999px; }
.front-skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* buttons */
.front-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: 10px; border: 2px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.front-btn:hover { transform: translateY(-1px); }
.front-btn-lg { padding: 14px 28px; font-size: 17px; border-radius: 12px; }
.front-btn-block { display: flex; width: 100%; }
.front-btn-accent { background: var(--accent); color: var(--brand) !important; box-shadow: 0 4px 14px rgba(150, 190, 0, 0.3); }
.front-btn-primary { background: var(--brand); color: #fff !important; }
.front-btn-ghost { background: transparent; color: var(--brand) !important; border-color: var(--brand); }
.front-btn-light { background: rgba(255, 255, 255, 0.1); color: #fff !important; border-color: rgba(255, 255, 255, 0.35); }
.front-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }

/* header */
.front-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.front-header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.front-logo img { height: 38px; width: auto; display: block; }
.front-nav { display: flex; align-items: center; gap: 26px; }
.front-nav a { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.front-nav a:hover, .front-nav a.active { color: var(--brand); text-decoration: none; }
.front-nav a.active { box-shadow: inset 0 -2px 0 var(--accent); }
.front-nav .front-btn { color: var(--brand); }
.front-menu-toggle, .front-menu-button { display: none; }

/* home: hero */
.front-hero { background: var(--brand); background-image: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.09), transparent 45%), radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.06), transparent 40%); color: #fff; padding: 72px 0 84px; overflow: hidden; }
.front-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.front-hero h1 { color: #fff; font-size: 52px; margin: 0 0 20px; }
.front-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); margin: 0 0 14px; }
.front-hero .front-kicker { color: var(--accent); }
.front-lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; }
.front-hero .front-lead { color: rgba(255, 255, 255, 0.8); }
.front-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.front-hero-note { margin: 16px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.65); }

/* home: the dashboard picture */
.front-picture { background: #fff; color: var(--ink); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); transform: rotate(1deg); }
.front-picture-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.front-picture-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.front-picture-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.front-tile { border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 0; overflow: hidden; }
.front-tile-label { font-size: 12px; color: var(--muted); }
.front-tile-figure { font-size: 22px; font-weight: 800; }
.front-tile svg { display: block; width: calc(100% + 24px); height: 42px; margin: 4px -12px 0; }
.front-tile-line { fill: none; stroke-width: 2.5; stroke: var(--c); }
.front-tile-fill { fill: var(--c); opacity: 0.14; stroke: none; }
.front-tile-blue { --c: var(--blue); }
.front-tile-purple { --c: var(--purple); }
.front-tile-green { --c: var(--green); }
.front-tile-orange { --c: var(--orange); }
.front-picture-alert { margin: 12px 0; padding: 10px 12px; border-radius: 10px; background: #fff4e5; color: #8a4b00; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.front-picture-alert i { font-size: 18px; }
.front-picture-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.front-picture-table th { color: var(--muted); font-weight: 600; text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.front-picture-table td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.front-picture-table tr:last-child td { border-bottom: 0; }
.front-meter { display: inline-block; width: 70px; height: 7px; border-radius: 4px; background: var(--tint); overflow: hidden; vertical-align: middle; }
.front-meter span { display: block; height: 100%; background: var(--purple); border-radius: 4px; }
.front-meter-bad span { background: var(--red); }

/* home: the band under the hero */
.front-band { background: var(--tint); border-bottom: 1px solid var(--line); }
.front-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; padding-bottom: 20px; font-weight: 600; font-size: 14px; }
.front-band-grid div { display: flex; align-items: center; gap: 8px; }
.front-band-grid i { font-size: 22px; color: var(--brand); }

/* sections */
.front-section { padding: 80px 0; }
.front-section-tint { background: var(--tint); }
.front-section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.front-section-head h2 { font-size: 36px; margin: 0 0 12px; }
.front-section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.front-page-head { background: var(--tint); border-bottom: 1px solid var(--line); padding: 56px 0 44px; text-align: center; }
.front-page-head h1 { font-size: 44px; margin: 0 0 12px; }
.front-page-head .front-lead { margin: 0; }

/* coloured icons */
.front-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; font-size: 24px; margin-bottom: 16px; color: var(--c); background: var(--cbg); }
.front-icon-blue { --c: var(--blue); --cbg: #e8f0fe; }
.front-icon-purple { --c: var(--purple); --cbg: #f1ebfe; }
.front-icon-teal { --c: var(--teal); --cbg: #e3f7f4; }
.front-icon-orange { --c: var(--orange); --cbg: #fef3e2; }
.front-icon-pink { --c: var(--pink); --cbg: #fde9f3; }
.front-icon-green { --c: var(--green); --cbg: #e6f8ec; }

/* features */
.front-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.front-feature, .front-detail { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.front-feature h3 { font-size: 19px; margin: 0 0 8px; }
.front-feature p { color: var(--muted); margin: 0; font-size: 15px; }
.front-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.front-detail h2 { font-size: 22px; margin: 0 0 12px; }
.front-detail ul { margin: 0; padding-left: 20px; color: var(--muted); }
.front-detail li { margin-bottom: 6px; }

/* home: impression share */
.front-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.front-split h2 { font-size: 34px; margin: 0 0 16px; }
.front-split p { color: var(--muted); font-size: 17px; }
.front-share { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.front-share-bar { display: flex; height: 56px; border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.front-share-bar span { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 15px; }
.front-share-shown { background: var(--green); }
.front-share-rank { background: var(--purple); }
.front-share-budget { background: var(--orange); }
.front-share-key { list-style: none; margin: 0; padding: 0; }
.front-share-key li { display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; font-size: 15px; color: var(--muted); }
.front-share-key li strong { color: var(--ink); }
.front-share-key li span { flex: 0 0 14px; height: 14px; border-radius: 4px; position: relative; top: 2px; }

/* home: steps */
.front-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.front-steps li { text-align: center; padding: 10px 20px; }
.front-steps span { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: var(--accent); font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.front-steps h3 { font-size: 20px; margin: 0 0 8px; }
.front-steps p { color: var(--muted); margin: 0; }

/* pricing */
.front-billing-input { position: absolute; opacity: 0; pointer-events: none; }
.front-billing { display: flex; width: max-content; margin: 0 auto 32px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.front-billing label { margin: 0; padding: 8px 20px; border-radius: 9px; font-weight: 700; cursor: pointer; color: var(--muted); }
#front-billing-month:checked ~ .front-billing label[for="front-billing-month"],
#front-billing-year:checked ~ .front-billing label[for="front-billing-year"] { background: var(--brand); color: #fff; }
#front-billing-month:focus-visible ~ .front-billing label[for="front-billing-month"],
#front-billing-year:focus-visible ~ .front-billing label[for="front-billing-year"] { outline: 3px solid var(--accent); }
.front-save { background: var(--accent); color: var(--brand); border-radius: 6px; padding: 1px 6px; font-size: 12px; margin-left: 4px; }
.front-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 24px; justify-content: center; }
.front-plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; }
.front-plan h3 { font-size: 24px; margin: 0 0 4px; }
.front-plan-for { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.front-price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; }
.front-price span { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.front-plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.front-plan li { display: flex; gap: 8px; margin-bottom: 10px; font-size: 15px; }
.front-plan li i { color: var(--green); font-size: 20px; flex: 0 0 auto; }
.front-plan-note { text-align: center; color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.front-plan-pro { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 20px 40px rgba(0, 19, 88, 0.25); }
.front-plan-pro h3, .front-plan-pro .front-price { color: #fff; }
.front-plan-pro .front-plan-for, .front-plan-pro .front-price span, .front-plan-pro .front-plan-note { color: rgba(255, 255, 255, 0.7); }
.front-plan-pro li i { color: var(--accent); }
.front-plan-tag { position: absolute; top: -13px; right: 24px; background: var(--accent); color: var(--brand); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 20px; }
.front-price-year { display: none; }
#front-billing-year:checked ~ .front-plans .front-price-year { display: block; }
#front-billing-year:checked ~ .front-plans .front-price-month { display: none; }

/* questions */
.front-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; }
.front-faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.front-faq summary::-webkit-details-marker { display: none; }
.front-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
.front-faq details[open] summary::after { content: "−"; }
.front-faq details p { color: var(--muted); margin: 0 0 18px; }

/* the closing call to action */
.front-cta { background: var(--brand); color: #fff; text-align: center; padding: 72px 0; }
.front-cta h2 { color: #fff; font-size: 36px; margin: 0 0 10px; }
.front-cta p { color: rgba(255, 255, 255, 0.75); font-size: 18px; margin: 0 0 26px; }

/* metrics explained */
.front-glossary { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.front-glossary-nav { position: sticky; top: 96px; font-size: 14px; }
.front-glossary-nav h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 20px 0 6px; }
.front-glossary-nav h2:first-child { margin-top: 0; }
.front-glossary-nav a { display: block; color: var(--ink); text-decoration: none; padding: 3px 0; }
.front-glossary-nav a:hover { color: var(--brand); }
.front-glossary-group { font-size: 26px; margin: 40px 0 16px; }
.front-glossary-group:first-child { margin-top: 0; }
.front-metric { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin-bottom: 14px; scroll-margin-top: 96px; }
.front-metric:target { border-color: var(--brand); box-shadow: 0 0 0 3px var(--accent); }
.front-metric h3 { font-size: 20px; margin: 0 0 6px; }
.front-metric p { color: var(--muted); margin: 0 0 10px; }
.front-metric .front-metric-short { color: var(--ink); font-weight: 600; font-size: 17px; }
.front-metric .front-metric-do { background: var(--tint); border-radius: 10px; padding: 10px 14px; margin: 0; color: var(--ink); display: flex; gap: 8px; }
.front-metric-do i { color: var(--orange); font-size: 20px; }

/* text pages (privacy, terms) and contact, framework markup from front-pages.php */
.front-text-page { padding-top: 56px; padding-bottom: 80px; }
.front .front-page h1 { font-size: 40px; margin: 0 0 24px; }
.front .front-page h2 { font-size: 22px; margin: 36px 0 10px; }
.front .front-page h3 { font-size: 18px; margin: 24px 0 8px; }
.front .front-page-text p, .front .front-page-text li { color: #374056; }
.front .front-page-text ul { padding-left: 22px; }
.front .front-page-text li { margin-bottom: 6px; }
.front .contact-form .form-control { border-radius: 10px; border-color: var(--line); padding: 10px 14px; height: auto; font-size: 16px; }
.front .contact-form label { font-weight: 600; }
.front .contact-form .btn { background: var(--brand); border-color: var(--brand); color: #fff; border-radius: 10px; padding: 12px 26px; font-weight: 700; }
.front .required { color: var(--red); }

/* pricing: the Pro button for the billing chosen */
.front-show-year { display: none; }
#front-billing-year:checked ~ .front-plans .front-show-year { display: flex; }
#front-billing-year:checked ~ .front-plans .front-show-month { display: none; }

/* forms on the public site (sign up, contact) */
.front .form-group { margin-bottom: 18px; }
.front .form-group label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.front .form-control { display: block; width: 100%; height: auto; border: 1px solid #d5dbe5; border-radius: 10px; padding: 12px 14px; font-size: 16px; font-family: inherit; color: var(--ink); background: #fff; }
.front .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 19, 88, 0.12); outline: 0; }
.front textarea.form-control { resize: vertical; }
.signup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.signup-help, .contact-optional { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; }
.contact-optional { display: inline; font-weight: 400; margin: 0 0 0 4px; }
.signup-problem { background: #fdecec; color: #9b1c1c; border: 1px solid #f6c9c9; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; }
.signup-notice { background: var(--tint); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }

/* the sign up checkout, like SecurePress's: plans and details on the left, the navy summary on the right */
.signup { padding: 48px 0 88px; }
.signup-title { font-size: 46px; margin: 0 0 28px; }
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.signup-plans { border: 0; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.signup-plans legend { font-weight: 700; font-size: 16px; margin-bottom: 12px; padding: 0; }
.signup-plan { position: relative; margin: 0; cursor: pointer; }
.signup-plan input { position: absolute; top: 20px; left: 18px; accent-color: var(--brand); width: 16px; height: 16px; }
.signup-plan-body { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 16px 44px; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.signup-plan input:checked + .signup-plan-body { border-color: var(--brand); box-shadow: inset 0 -3px 0 var(--accent), 0 0 0 1px var(--brand); }
.signup-plan input:focus-visible + .signup-plan-body { outline: 3px solid var(--accent); outline-offset: 2px; }
.signup-plan.is-disabled { cursor: not-allowed; opacity: 0.55; }
.signup-plan-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.signup-plan-head strong { font-size: 16px; }
.signup-plan-price { font-weight: 800; font-size: 18px; white-space: nowrap; }
.signup-plan-price small { font-size: 12px; color: var(--muted); font-weight: 600; }
.signup-plan-text { color: var(--muted); font-size: 14px; margin-top: 4px; }
.signup-plan-tag { align-self: flex-start; margin-top: 10px; background: var(--accent); color: var(--brand); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 6px; }
.signup-plan-tag-muted { background: var(--tint); color: var(--muted); }
.signup-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; margin-bottom: 16px; }
.signup-card h2 { font-size: 20px; margin: 0 0 18px; }
.signup-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 4px 0 18px; cursor: pointer; }
.signup-terms input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--brand); flex: 0 0 auto; }
.signup-signin { color: var(--muted); font-size: 15px; }
.signup-summary { position: sticky; top: 96px; background: var(--brand); color: rgba(255, 255, 255, 0.78); border-radius: 18px; border-top: 4px solid var(--accent); padding: 26px; box-shadow: 0 30px 60px -28px rgba(0, 19, 88, 0.6); }
.signup-summary h2 { color: #fff; font-size: 19px; margin: 0 0 6px; }
.signup-summary-plan { font-size: 14px; margin-bottom: 14px; }
.signup-summary-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.signup-summary-row strong { color: #fff; font-size: 16px; text-align: right; }
.signup-summary-due strong { font-size: 34px; letter-spacing: -0.02em; }
.signup-discount { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 16px 0 4px; }
.signup-discount[hidden] { display: none; }
.signup-discount label { color: #fff; font-weight: 700; display: block; margin-bottom: 8px; }
.signup-discount-row { display: flex; gap: 8px; }
.signup-discount-row .form-control { flex: 1; min-width: 0; }
.signup-apply { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, 0.4); }
.signup-discount-note { font-size: 13px; min-height: 18px; margin-top: 6px; }
.signup-discount-note.is-ok { color: var(--accent); }
.signup-discount-note.is-bad { color: #ffb3b3; }
.signup-submit { margin-top: 16px; }
.signup-summary-note { font-size: 13px; margin: 12px 0 0; }
.signup-summary-note[hidden] { display: none; }
.signup-summary-small { font-size: 13px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.6); }

/* after signing up, and the steps that follow (also on the contact page) */
.signup-done { text-align: center; }
.signup-done h1 { font-size: 40px; margin: 0 0 12px; }
.signup-done-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--tint); color: var(--brand); font-size: 36px; margin-bottom: 18px; }
.signup-done-ok { background: var(--accent); color: var(--brand); }
.signup-next { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 18px; text-align: left; }
.signup-done .signup-next { max-width: 520px; margin: 32px auto; }
.signup-next li { display: flex; gap: 16px; align-items: flex-start; }
.signup-next li > span { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--accent); font-weight: 800; box-shadow: 0 0 0 4px rgba(198, 243, 27, 0.25); }
.signup-next strong { display: block; color: var(--ink); }
.signup-next li div { color: var(--muted); font-size: 15px; }

/* the contact page, like SecurePress's: text on one side, the form in a card on the other */
.contact-section { background: var(--tint); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-side h1 { font-size: 40px; margin: 0 0 14px; }
.contact-lead p { font-size: 18px; color: var(--muted); }
.contact-direct { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.contact-direct li { display: flex; gap: 12px; align-items: center; }
.contact-direct i { font-size: 20px; color: var(--brand); }
.contact-direct a { color: var(--ink); font-weight: 600; }
.contact-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 18px; padding: 32px; box-shadow: 0 30px 60px -32px rgba(0, 19, 88, 0.35); scroll-margin-top: 110px; }
.contact-done { text-align: center; padding: 24px 0; }
.contact-done h2 { font-size: 24px; margin: 0 0 8px; }
.contact-done p { color: var(--muted); margin: 0; }
.contact-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.front-footer { background: #0b1023; color: rgba(255, 255, 255, 0.7); padding: 56px 0 28px; font-size: 15px; }
.front-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.front-footer .front-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; }
.front-footer .front-logo img { height: 30px; }
.front-footer-about { margin: 14px 0 0; max-width: 340px; }
.front-footer h2 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; }
.front-footer-grid a { display: block; color: rgba(255, 255, 255, 0.75); text-decoration: none; padding: 3px 0; }
.front-footer-grid a:hover { color: var(--accent); text-decoration: none; }
.front-footer-small { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 20px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.front-footer-small p { margin: 0 0 4px; }

/* cookie question, only when tracking is set */
.front-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); padding: 16px 18px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 14px; }
.front-cookies[hidden] { display: none; }
.front-cookies p { margin: 0; flex: 1 1 260px; }

/* tablets */
@media (max-width: 1020px) {
	.front-hero-grid, .front-split { grid-template-columns: 1fr; gap: 44px; }
	.front-hero h1 { font-size: 42px; }
	.front-picture { transform: none; }
	.front-features { grid-template-columns: repeat(2, 1fr); }
	.front-band-grid { grid-template-columns: repeat(2, 1fr); }
	.front-glossary { grid-template-columns: 1fr; }
	.front-glossary-nav { display: none; }
	.signup-grid, .contact-grid { grid-template-columns: 1fr; }
	.signup-summary { position: static; }
	/* the menu folds behind a button */
	.front-menu-button { display: flex; align-items: center; font-size: 30px; color: var(--brand); cursor: pointer; margin: 0; }
	.front-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08); }
	.front-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
	.front-nav a.active { box-shadow: none; }
	.front-nav .front-btn { margin-top: 12px; border-bottom: 0; }
	.front-menu-toggle:checked ~ .front-nav { display: flex; }
	.front-menu-toggle:focus-visible ~ .front-menu-button { outline: 3px solid var(--accent); }
	.front-menu-toggle { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; }
}

/* phones */
@media (max-width: 640px) {
	.front-wrap { padding: 0 16px; }
	.front-hero { padding: 48px 0 56px; }
	.front-hero h1 { font-size: 34px; }
	.front-lead { font-size: 17px; }
	.front-section { padding: 56px 0; }
	.front-section-head h2, .front-split h2, .front-cta h2 { font-size: 28px; }
	.front-page-head h1, .front .front-page h1 { font-size: 32px; }
	.front-features, .front-detail-grid, .front-steps, .front-band-grid, .front-footer-grid { grid-template-columns: 1fr; }
	.front-plans { grid-template-columns: 1fr; }
	.signup-title, .contact-side h1, .signup-done h1 { font-size: 32px; }
	.signup-plans, .signup-row { grid-template-columns: 1fr; }
	.signup-card, .contact-card { padding: 20px; }
	.front-picture { padding: 12px; }
	.front-tile-figure { font-size: 18px; }
	.front-picture-table th:nth-child(4), .front-picture-table td:nth-child(4) { display: none; }
	.front-logo img { height: 32px; }
}
