/* Canbefun design (Traffic School Can Be Fun): Arizona highway hero, bold condensed headlines, cream, teal and yellow sections, traffic-light mascot logo. */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;0,900;1,700;1,800&family=Inter:wght@400;500;600;700&display=swap');

body.design-canbefun {
    --black: #101316;
    --charcoal: #1d2226;
    --asphalt: #30373c;
    --yellow: #ffd600;
    --amber: #ffb627;
    --white: #f7f7f5;
    --muted: #b9bec2;
    --green: #54c838;
    --sunset: #e65f30;
    --sky: #9bd4df;
    --sand: #fff3dc;
    --deep-blue: #13262e;
    min-width: 320px;
    margin: 0;
    padding: 0;
    background: #101316;
    color: #f7f7f5;
    font: normal 16px/1.5 'Inter', Arial, sans-serif;
    font-synthesis: none;
}
body.design-canbefun:not(.design-home) { padding-top: 76px; }
.design-canbefun:not(.design-home) #page { font-size: 14px; }
.design-canbefun #page { box-sizing: border-box; width: calc(100% - 32px); max-width: 1024px; margin: 32px auto 48px; border-top: 6px solid #e65f30; color: #333333; }
.design-canbefun.design-home #page { width: auto; max-width: none; padding: 0; margin: 0; border: 0; background: transparent; color: inherit; }
.design-canbefun .BEF_Container { box-sizing: border-box; max-width: 100%; }
/* The home page's admin login ends the footer links (FooterInfo's liAdminLogin) and looks like one of them. */
.cf-footer .footer-admin .content { width: auto; }
.cf-footer ul#affiliate-links { display: block; margin: 0; padding: 0; border: 0; list-style: none; }
.cf-footer ul#affiliate-links li { display: block; padding: 0; font-weight: inherit; text-transform: none; }
.cf-footer ul#affiliate-links li:first-child { display: none; }
.cf-footer ul#affiliate-links li.admin-login { float: none; padding: 0; background: none; }
.cf-footer ul#affiliate-links li.admin-login a { display: block; margin: 0 0 13px; color: #cbd0d1; font-size: 11px; transition: color .2s; cursor: pointer; text-decoration: none; }
.cf-footer ul#affiliate-links li.admin-login a:hover { color: var(--yellow); }

/* Resets (the old main.css styles headings, paragraphs and links globally) */
.cf-header, .cf-header *, .cf-home, .cf-home *, .cf-footer, .cf-footer * { box-sizing: border-box; }
.cf-price-sheet .RadComboBox, .cf-price-sheet .RadComboBox * { box-sizing: content-box; }
.cf-header :where(ul, li, p), .cf-home :where(h1, h2, h3, p, ul, ol, li, small), .cf-footer :where(ul, li, p) { margin: 0; padding: 0; }
.cf-header :where(ul), .cf-home :where(ul, ol), .cf-footer :where(ul) { list-style: none; }
.cf-home :where(h1, h2, h3) { font-size: inherit; font-weight: 600; line-height: inherit; }
.cf-home :where(p), .cf-footer :where(p) { font: inherit; color: inherit; }
.cf-header :where(a), .cf-home :where(a), .cf-footer :where(a) { color: inherit; font: inherit; text-decoration: none; }
.cf-header :where(img, svg), .cf-home :where(img, svg, video), .cf-footer :where(img) { display: block; max-width: 100%; }
.cf-home h1, .cf-home h2, .cf-home h3 { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: -.035em; color: inherit; text-shadow: none; }
.cf-home h2 { margin-bottom: 28px; font-size: clamp(54px, 6.2vw, 96px); line-height: .85; }
.cf-home h1 em, .cf-home h2 em { color: var(--yellow); font-style: normal; }

/* Shared */
.cf-home { overflow: clip; }
.cf-page-width { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.cf-section { padding: 128px 0; scroll-margin-top: 90px; }
.cf-section-index, .cf-eyebrow { color: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.cf-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cf-btn { min-height: 58px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 24px; color: var(--black); background: var(--yellow); border: 1px solid var(--yellow); border-radius: 3px; font-size: 13px; font-weight: 700; transition: transform .25s, background .25s, color .25s; }
.cf-btn svg, .cf-text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cf-btn:hover { transform: translateY(-3px); color: var(--black); background: #ffe23f; }
.cf-btn--secondary { color: var(--white); background: rgba(10,12,14,.18); border-color: rgba(255,255,255,.45); backdrop-filter: blur(8px); }
.cf-btn--secondary:hover { color: var(--black); background: var(--white); }
.cf-text-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 7px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; }
.cf-text-link:hover { color: inherit; opacity: .75; }

/* Header */
.cf-header { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; height: 76px; display: flex; align-items: center; gap: 40px; padding: 0 max(28px, calc((100vw - 1370px) / 2)); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(10,12,14,.94); backdrop-filter: blur(18px); color: #f7f7f5; font: normal 16px/1.5 'Inter', Arial, sans-serif; }
.design-home .cf-header { height: 92px; }
@supports (animation-timeline: scroll()) {
    .design-home .cf-header { background-color: transparent; background-image: linear-gradient(180deg, rgba(8,10,11,.78), rgba(8,10,11,.18)); backdrop-filter: blur(0); animation: cf-header-solid linear both; animation-timeline: scroll(root); animation-range: 0 120px; }
}
@keyframes cf-header-solid {
    to { height: 76px; background-color: rgba(10,12,14,.94); backdrop-filter: blur(18px); }
}
.cf-brand { width: 185px; flex: 0 0 185px; }
.cf-brand img { width: 100%; height: 70px; object-fit: contain; }
.cf-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cf-nav-center, .cf-nav-actions { display: flex; align-items: center; gap: 27px; }
.cf-nav a { font-size: 12px; font-weight: 600; white-space: nowrap; }
.cf-nav-center a { color: rgba(247,247,245,.78); transition: color .2s; }
.cf-nav-center a:hover { color: var(--yellow); }
.cf-nav-register, .cf-nav-register:hover { padding: 13px 18px; color: #15191b; background: var(--yellow); border-radius: 3px; }
.cf-menu-toggle { display: none; }

/* Hero */
.cf-hero { position: relative; min-height: 900px; height: 100svh; max-height: 1080px; display: flex; align-items: center; }
.cf-hero-bg { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(7,9,10,.82) 0%, rgba(7,9,10,.5) 38%, rgba(7,9,10,.02) 70%), linear-gradient(0deg, rgba(16,19,22,.88) 0%, transparent 18%), url(img/arizona-highway-hero.jpg); background-size: cover; background-position: center 56%; transform: scale(1.025); animation: cf-hero-in 1.6s cubic-bezier(.2,.7,.2,1) both; }
.cf-hero-content { position: relative; z-index: 2; padding-top: 96px; }
.cf-hero .cf-eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.cf-hero .cf-eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--yellow); }
.cf-home h1 { margin: 0; max-width: 780px; font-size: clamp(74px, 7.3vw, 116px); font-weight: 900; line-height: .79; }
.cf-hero-copy { max-width: 590px; margin: 30px 0 34px; color: #d7dadb; font-size: 17px; line-height: 1.65; }
.cf-hero-benefits { display: flex; margin-top: 46px; color: #e2e4e3; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.cf-hero-benefits span { padding: 0 28px; border-left: 1px solid rgba(255,255,255,.25); }
.cf-hero-benefits span:first-child { padding-left: 0; border: 0; }
.cf-hero-scroll { position: absolute; z-index: 2; bottom: 46px; left: 38px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.54); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; transform: rotate(-90deg); transform-origin: left center; }
.cf-hero-scroll span { width: 34px; height: 1px; background: var(--yellow); }
.cf-hero-mascot { position: absolute; z-index: 2; right: clamp(12px, 3vw, 58px); bottom: 30px; width: clamp(82px, 8vw, 125px); filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
@keyframes cf-hero-in {
    from { opacity: .4; transform: scale(1.08); }
    to { opacity: 1; transform: scale(1.025); }
}

/* Experience */
.cf-experience { position: relative; overflow: hidden; background: #fff3dc; color: var(--black); }
.cf-experience::before { content: ''; position: absolute; width: 460px; height: 460px; left: -270px; bottom: -250px; border: 90px solid rgba(255,182,39,.22); border-radius: 50%; }
.cf-experience::after { content: 'WATCH \2022  LEARN \2022  DONE \2022'; position: absolute; right: -58px; top: 60px; color: rgba(189,72,38,.12); font: 900 78px/1 'Barlow Condensed', sans-serif; letter-spacing: .03em; writing-mode: vertical-rl; }
.cf-experience-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 9vw; }
.cf-experience .cf-section-index { color: #b64d2d; }
.cf-accent-line { width: 74px; height: 7px; margin: 34px 0 36px; background: linear-gradient(90deg, #f06434 0 64%, var(--yellow) 64%); }
.cf-experience h2 span { color: #e65f30; }
.cf-experience-copy > p { max-width: 470px; color: #5e514a; font-size: 16px; line-height: 1.75; }
.cf-experience-tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 9px; }
.cf-experience-tags span { padding: 9px 13px; color: #702f1c; border: 1px solid rgba(182,77,45,.3); border-radius: 999px; background: rgba(255,255,255,.55); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cf-course-visual { position: relative; padding: 24px 24px 0 0; }
.cf-course-visual::before { content: ''; position: absolute; inset: 48px 0 44px 30px; border: 2px solid #e65f30; transform: translate(16px, 16px); }
.cf-sun-shape { position: absolute; z-index: -1; width: 210px; height: 210px; top: -52px; right: -52px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 24px rgba(255,214,0,.16); }
.cf-visual-kicker { position: absolute; z-index: 2; top: 0; right: -12px; padding: 12px 18px; color: var(--white); background: #e65f30; font: 700 15px/1 'Barlow Condensed', sans-serif; letter-spacing: .08em; text-transform: uppercase; transform: rotate(2deg); box-shadow: 5px 6px 0 var(--yellow); }
.cf-course-photo { position: relative; aspect-ratio: 1.3; display: flex; align-items: center; justify-content: center; background: linear-gradient(rgba(255,182,39,.06), rgba(69,28,14,.3)), url(img/online-course-laptop.jpg) center / cover; }
.cf-screen-card { width: 48%; min-width: 250px; padding: 28px; color: var(--black); background: rgba(255,247,229,.92); box-shadow: 0 24px 60px rgba(60,29,14,.28); backdrop-filter: blur(10px); }
.cf-screen-card span, .cf-screen-card small { display: block; color: #75655c; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.cf-screen-card strong { display: block; margin: 9px 0 22px; font: 700 36px/1 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.cf-progress { height: 4px; margin-bottom: 12px; background: #dccfc3; }
.cf-progress i { display: block; width: 62%; height: 100%; background: #e65f30; }
.cf-course-meta { width: 78%; margin: -44px 0 0 -38px; position: relative; display: grid; grid-template-columns: 1fr 1fr; color: #10272d; background: #9bd4df; box-shadow: 0 18px 42px rgba(91,54,31,.2); }
.cf-course-meta > div { padding: 24px 30px; }
.cf-course-meta > div + div { border-left: 1px solid rgba(16,39,45,.18); background: #ffd447; }
.cf-course-meta strong, .cf-course-meta span { display: block; }
.cf-course-meta strong { color: #10272d; font: 800 42px/1 'Barlow Condensed', sans-serif; }
.cf-course-meta span { margin-top: 5px; color: #345158; font-size: 11px; }
.cf-photo-credit, .cf-final-credit { margin: 12px 0 0; color: #8b9295; font-size: 9px; }

/* Promo video (in place of the laptop screen mock) */
.cf-course-visual .promo-video { position: relative; box-shadow: 0 24px 60px rgba(60,29,14,.28); }
.promo-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #101316; }
.cf-course-visual .promo-video + .cf-course-meta { width: 100%; margin: 0; }

/* How it works */
.cf-journey { position: relative; overflow: hidden; background: #13262e; }
.cf-journey::after { content: ''; position: absolute; width: 380px; height: 380px; right: -190px; bottom: -210px; border: 75px solid rgba(155,212,223,.08); border-radius: 50%; }
.cf-journey .cf-page-width { position: relative; z-index: 1; }
.cf-journey .cf-section-index { color: var(--sky); }
.cf-section-heading { display: grid; grid-template-columns: 1.25fr .55fr; align-items: end; gap: 50px; }
.cf-section-heading > p { margin-bottom: 30px; color: #c5d6da; line-height: 1.8; }
.cf-roadmap { position: relative; margin: 55px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.cf-roadmap::before { content: ''; position: absolute; top: 77px; left: 10%; right: 10%; border-top: 2px dashed #4a5054; }
.cf-roadmap li { position: relative; padding: 0 12% 0 0; }
.cf-step-number { color: rgba(155,212,223,.2); font: 800 74px/1 'Barlow Condensed', sans-serif; }
.cf-roadmap li:nth-child(2) .cf-step-number { color: rgba(230,95,48,.28); }
.cf-roadmap li:nth-child(3) .cf-step-number { color: rgba(255,214,0,.22); }
.cf-road-dot { position: relative; z-index: 1; width: 15px; height: 15px; display: block; margin: 1px 0 29px 5px; border: 4px solid var(--yellow); border-radius: 50%; background: var(--deep-blue); box-shadow: 0 0 0 7px var(--deep-blue); }
.cf-roadmap li:nth-child(2) .cf-road-dot { border-color: var(--sunset); }
.cf-roadmap li:nth-child(3) .cf-road-dot { border-color: var(--sky); }
.cf-roadmap h3 { margin: 0 0 10px; font-size: 30px; }
.cf-roadmap p { color: #aebfc3; font-size: 13px; line-height: 1.7; }

/* Highlights */
.cf-highlights { color: var(--black); background: #f5ecdf; }
.cf-highlights .cf-section-index { color: #6f777a; margin-bottom: 45px; }
.cf-highlights-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; }
.cf-highlight { min-height: 320px; padding: 38px; border-left: 1px solid rgba(70,63,54,.18); border-top: 1px solid rgba(70,63,54,.18); display: flex; flex-direction: column; justify-content: flex-end; }
.cf-highlight--feature { grid-row: span 2; min-height: 640px; padding: 54px; background: var(--yellow); border: 0; }
.cf-highlight:nth-child(2) { background: #b9dfe6; }
.cf-highlight:nth-child(3) { background: #f7c0a7; }
.cf-highlight > span { margin-bottom: auto; color: #22282b; font: 800 clamp(70px, 8vw, 130px)/.8 'Barlow Condensed', sans-serif; letter-spacing: -.06em; }
.cf-highlight .cf-symbol { font-size: 30px; letter-spacing: .03em; }
.cf-highlight h3 { margin: 0 0 10px; font-size: 33px; line-height: 1; }
.cf-highlight p { max-width: 330px; margin: 0; color: #61686b; font-size: 13px; line-height: 1.65; }
.cf-highlight--feature p { color: #373b3d; }
.cf-highlight--wide { grid-column: span 2; min-height: 320px; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; background: #dceecf; }
.cf-highlight--wide sup { position: relative; top: -.5em; color: var(--green); font-size: 25px; line-height: 0; vertical-align: baseline; }

/* Pricing and the cost estimator */
.cf-pricing { position: relative; background: #27323a; }
.cf-pricing::before { content: ''; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(115deg, transparent 49.5%, #ffb627 50%, transparent 50.5%); background-size: 26px 26px; }
.cf-pricing .cf-section-index { color: #ffc86c; }
.cf-pricing-grid { position: relative; display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 10vw; }
.cf-home .cf-pricing h2 { font-size: clamp(58px, 6vw, 92px); }
.cf-pricing-intro { max-width: 570px; margin-bottom: 34px; color: var(--muted); line-height: 1.75; }
.cf-price-sheet { padding: 12px 44px 32px; background: #10242c; border-top: 6px solid var(--sunset); box-shadow: 0 30px 80px rgba(0,0,0,.32); scroll-margin-top: 110px; }
.cf-home .cf-price-sheet h2.price-box-title { display: none; }
.cf-price-sheet table { width: 100%; border-collapse: collapse; border-spacing: 0; }
.cf-price-sheet td, .cf-price-sheet th { padding: 0; }
/* The court picker, then each fee on one line, then the court's fee and the total beside its label */
.cf-price-sheet .tblCostEstimator, .cf-price-sheet .tblCostEstimator > tbody { display: block; }
.cf-price-sheet .tblCostEstimator > tbody { display: grid; grid-template-columns: minmax(max-content, 1fr) auto; }
.cf-price-sheet .tblCostEstimator tr { display: contents; }
.cf-price-sheet .tblCostEstimator th, .cf-price-sheet .tblCostEstimator td { display: flex; flex-direction: column; justify-content: center; padding: 22px 0; border: 0; border-bottom: 1px solid #30363a; }
.cf-price-sheet .tblCostEstimator th { color: var(--muted); font-size: 13px; font-weight: 400; }
.cf-price-sheet .tblCostEstimator td { align-items: flex-end; text-align: right; padding-left: 20px; color: var(--white); font: 700 28px/1 'Barlow Condensed', sans-serif; }
.cf-price-sheet .tblCostEstimatorSelectCourt { padding: 22px 0 14px; border: 0; }
.cf-price-sheet .tblCostEstimatorSelectCourt span { color: var(--sky) !important; font: 700 22px/1.1 'Barlow Condensed', sans-serif !important; }
.cf-price-sheet .ceCourtPicker { margin: 0 0 10px; }
.cf-price-sheet .tblCostEstimator .amtDue { margin-top: 10px; padding-top: 16px; padding-bottom: 16px; border: 0; color: var(--black); background: var(--yellow); }
.cf-price-sheet .tblCostEstimator th.amtDue { padding-left: 16px; color: #363a3b; font-size: 13px; font-weight: 700; }
.cf-price-sheet .tblCostEstimator td.amtDue { padding-right: 16px; font-size: 32px; }
/* The court picker (main.css) in the sheet's yellow, square like the buttons */
body.design { --ce-accent: #ffd600; --ce-accent-text: #101316; --ce-radius: 0; }
.cf-price-sheet .cf-btn { display: flex; width: 100%; box-sizing: border-box; margin-top: 24px; }
.cf-price-sheet small { display: block; margin-top: 14px; color: #7f878b; font-size: 10px; line-height: 1.5; }

/* Important information */
.cf-important { position: relative; color: var(--black); background: #edf7f7; }
.cf-important::before { content: ''; position: absolute; top: 0; left: 0; width: 31%; height: 10px; background: linear-gradient(90deg, var(--sunset), var(--amber), var(--yellow)); }
.cf-important-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 9vw; }
.cf-important .cf-section-index { color: #b64d2d; }
.cf-home .cf-important h2 { font-size: clamp(58px, 5.4vw, 82px); }
.cf-important li { padding: 24px 0; display: grid; grid-template-columns: 52px 1fr; align-items: start; border-top: 1px solid #c8dada; color: #40565c; font-size: 14px; line-height: 1.7; }
.cf-important li span { width: 27px; height: 27px; display: grid; place-items: center; color: #ffffff; border-radius: 50%; background: var(--sunset); font: 700 11px 'Barlow Condensed', sans-serif; }
.cf-important li:nth-child(2) span { color: #10272d; background: var(--yellow); }
.cf-important li:nth-child(3) span { color: #10272d; background: var(--sky); }
.cf-important li:nth-child(4) span { background: var(--green); }

/* FAQs */
.cf-faqs { background: #182a32; }
.cf-faqs .cf-section-index { color: var(--sky); }
.cf-faq-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: 9vw; }
.cf-faq-heading { position: sticky; top: 125px; align-self: start; }
.cf-home .cf-faq-heading h2 { font-size: clamp(55px, 5.2vw, 80px); }
.cf-faq-heading .cf-text-link { margin-top: 16px; }
.cf-faq-item { border-top: 1px solid #39505a; transition: background .25s; }
.cf-faq-item:last-child { border-bottom: 1px solid #39505a; }
.cf-faq-item[open]:not(.faq-closing) { margin-inline: -18px; padding-inline: 18px; background: rgba(155,212,223,.08); }
.cf-faq-item summary { padding: 27px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--white); list-style: none; cursor: pointer; }
.cf-faq-item summary::-webkit-details-marker { display: none; }
.cf-faq-item summary span { font: 600 22px/1.2 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.cf-faq-item summary i { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.cf-faq-item summary i::before, .cf-faq-item summary i::after { content: ''; position: absolute; top: 8px; left: 0; width: 18px; height: 2px; background: var(--sunset); transition: transform .25s; }
.cf-faq-item summary i::after { transform: rotate(90deg); }
.cf-faq-item[open]:not(.faq-closing) summary i::after { transform: rotate(0); }
.cf-faq-item p { padding: 0 48px 25px 0; color: #bcd0d5; font-size: 13px; line-height: 1.75; }

/* Final call to action */
.cf-final-cta { position: relative; min-height: 680px; display: flex; align-items: center; background: linear-gradient(90deg, rgba(7,9,10,.93), rgba(7,9,10,.32)), url(img/highway-sunset.jpg) center / cover fixed; }
.cf-final-content { position: relative; z-index: 1; }
.cf-home .cf-final-cta h2 { font-size: clamp(66px, 7vw, 108px); }
.cf-final-cta .cf-final-content > p:not(.cf-eyebrow) { max-width: 540px; margin-bottom: 34px; color: #d3d6d7; }
.cf-final-credit { position: absolute; right: 18px; bottom: 14px; color: rgba(255,255,255,.55); }

/* Footer */
.cf-footer { position: relative; padding: 80px 0 26px; background: #0d1b20; color: #cbd0d1; font: normal 16px/1.5 'Inter', Arial, sans-serif; }
.cf-footer::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--sunset) 0 25%, var(--amber) 25% 50%, var(--sky) 50% 75%, var(--green) 75%); }
.cf-footer-grid { display: grid; grid-template-columns: 1.6fr 2.3fr .8fr; gap: 0 55px; }
.cf-footer-brand img { width: 220px; height: 110px; object-fit: contain; margin-top: -25px; }
.cf-footer-brand p { max-width: 280px; color: #777f82; font-size: 12px; }
.cf-footer-label, .cf-footer .footer-links::before { margin-bottom: 23px; color: #697174; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cf-footer .footer-links { display: grid; grid-template-columns: 1fr 1.3fr; align-content: start; gap: 0 55px; }
.cf-footer .footer-links::before { content: 'Course & Information'; display: block; grid-column: 1 / -1; }
.cf-footer a { display: block; margin: 0 0 13px; color: #cbd0d1; font-size: 11px; transition: color .2s; }
.cf-footer a:hover { color: var(--yellow); }
.cf-phone { font-size: 0; }
.cf-phone span { display: block; margin-bottom: 13px; color: #cbd0d1; font: 600 22px/1.2 'Barlow Condensed', sans-serif; }
.cf-phone strong { font-weight: inherit; }
.cf-footer .footer-details { grid-column: 1 / -1; grid-row: 2; margin-top: 62px; padding: 23px 140px 0 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid #222629; color: #60676a; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.cf-footer .footer-details a { display: inline; margin: 0; color: inherit; font-size: inherit; }
.cf-footer .footer-details a:hover { color: var(--yellow); }
.cf-footer .cf-top-link { grid-column: -2 / -1; grid-row: 2; justify-self: end; align-self: start; margin: 62px 0 0; padding-top: 23px; color: #60676a; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.cf-footer .cf-top-link:hover { color: var(--yellow); }

/* Header: tighter at laptop widths, the menu button once the six links and the button no longer fit */
@media (max-width: 1240px) {
    .cf-header { gap: 20px; padding-inline: 28px; }
    .cf-brand { width: 150px; flex-basis: 150px; }
    .cf-nav { gap: 18px; }
    .cf-nav-center { gap: 15px; }
    .cf-nav-actions { gap: 14px; }
}
@media (max-width: 1060px) {
    body.design-canbefun:not(.design-home) { padding-top: 74px; }
    .cf-header, .design-home .cf-header { height: 74px; padding-inline: 20px; background: rgba(10,12,14,.88); backdrop-filter: none; animation: none; }
    .cf-brand { width: 140px; flex-basis: 140px; }
    .cf-brand img { height: 62px; }
    .cf-menu-toggle { margin-left: auto; width: 42px; height: 42px; display: grid; place-content: center; gap: 7px; padding: 0; color: inherit; border: 1px solid rgba(255,255,255,.3); border-radius: 0; background: rgba(0,0,0,.25); cursor: pointer; }
    .cf-menu-toggle span { width: 18px; height: 1px; display: block; background: var(--white); }
    .cf-nav { position: absolute; top: 74px; left: 0; right: 0; padding: 30px 20px 35px; display: none; background: rgba(10,12,14,.98); border-top: 1px solid #272c2f; }
    .cf-menu-open .cf-nav { display: block; }
    .cf-nav-center, .cf-nav-actions { display: grid; gap: 0; }
    .cf-nav-center a, .cf-nav-actions a { display: block; padding: 13px 0; border-bottom: 1px solid #282d30; font-size: 14px; }
    .cf-nav-actions { margin-top: 15px; }
    .cf-nav-actions .cf-nav-register { margin-top: 8px; text-align: center; border: 0; }
}

/* Responsive page */
@media (max-width: 1100px) {
    .cf-page-width { width: min(100% - 56px, 1000px); }
    .cf-hero { min-height: 820px; }
    .cf-experience-grid, .cf-pricing-grid { gap: 6vw; }
    .cf-course-meta { margin-left: -20px; }
    .cf-highlight { padding: 28px; }
}
@media (max-width: 820px) {
    .cf-page-width { width: calc(100% - 40px); }
    .cf-section { padding: 90px 0; }
    .cf-hero { min-height: 790px; height: 100svh; max-height: 880px; align-items: flex-end; padding-bottom: 78px; }
    .cf-hero-bg { background-image: linear-gradient(0deg, rgba(7,9,10,.9) 5%, rgba(7,9,10,.4) 60%, rgba(7,9,10,.12)), url(img/arizona-highway-hero.jpg); background-position: 56% center; }
    .cf-hero-content { padding-top: 100px; }
    .cf-home h1 { font-size: clamp(61px, 16.4vw, 88px); }
    .cf-hero-copy { margin: 24px 0; font-size: 14px; line-height: 1.55; }
    .cf-hero-benefits { margin-top: 31px; }
    .cf-hero-benefits span { padding: 0 12px; font-size: 9px; }
    .cf-hero-scroll { display: none; }
    .cf-hero-mascot { width: 75px; right: 14px; bottom: 19px; opacity: .85; }
    .cf-experience-grid, .cf-section-heading, .cf-pricing-grid, .cf-important-grid, .cf-faq-grid { grid-template-columns: 1fr; }
    .cf-experience-grid { gap: 58px; }
    .cf-experience::after { display: none; }
    .cf-course-visual { padding-right: 14px; }
    .cf-sun-shape { width: 150px; height: 150px; top: -34px; right: -20px; }
    .cf-visual-kicker { right: 0; }
    .cf-course-meta { width: calc(100% - 24px); margin: -30px auto 0; }
    .cf-section-heading { gap: 0; }
    .cf-section-heading > p { max-width: 480px; }
    .cf-roadmap { grid-template-columns: 1fr; gap: 48px; }
    .cf-roadmap::before { top: 20px; bottom: 20px; left: 65px; right: auto; height: auto; border-top: 0; border-left: 2px dashed #4a5054; }
    .cf-roadmap li { padding: 0 0 0 100px; min-height: 130px; }
    .cf-step-number { position: absolute; left: 0; font-size: 54px; }
    .cf-road-dot { position: absolute; left: 59px; top: 19px; margin: 0; }
    .cf-highlights-grid { grid-template-columns: 1fr 1fr; }
    .cf-highlight--feature { grid-row: span 1; min-height: 360px; }
    .cf-highlight--wide { grid-column: span 2; }
    .cf-pricing-grid { gap: 60px; }
    .cf-important-grid, .cf-faq-grid { gap: 65px; }
    .cf-faq-heading { position: static; }
    .cf-final-cta { min-height: 620px; background-attachment: scroll; }
    .cf-footer-grid { grid-template-columns: 1.3fr 1fr; gap: 35px 55px; }
    .cf-footer .footer-details { grid-row: auto; margin-top: 27px; padding-right: 0; }
    .cf-footer .cf-top-link { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin: 0; padding: 0; }
}
@media (max-width: 540px) {
    .cf-page-width { width: calc(100% - 32px); }
    .cf-section { padding: 76px 0; }
    .cf-home h2 { font-size: 53px; }
    .cf-hero { min-height: 760px; padding-bottom: 60px; }
    .cf-home h1 { font-size: 59px; line-height: .82; }
    .cf-btn-row { align-items: stretch; flex-direction: column; }
    .cf-btn { width: 100%; min-height: 52px; }
    .cf-hero .cf-btn-row { max-width: 330px; }
    .cf-hero-benefits { max-width: 340px; justify-content: space-between; }
    .cf-hero-benefits span { padding: 0 8px; font-size: 8px; text-align: center; }
    .cf-accent-line { margin: 24px 0 29px; }
    .cf-experience-tags { margin-top: 24px; }
    .cf-experience-tags span { padding: 8px 10px; font-size: 9px; }
    .cf-course-visual { padding-top: 18px; }
    .cf-visual-kicker { top: 0; padding: 10px 12px; font-size: 12px; }
    .cf-course-photo { aspect-ratio: .95; }
    .cf-screen-card { min-width: 220px; padding: 22px; }
    .cf-course-meta > div { padding: 19px; }
    .cf-course-meta strong { font-size: 34px; }
    .cf-highlights-grid { display: block; }
    .cf-highlight, .cf-highlight--feature, .cf-highlight--wide { min-height: 310px; display: flex; padding: 30px; border-left: 0; border-top: 1px solid #c5c8c5; }
    .cf-price-sheet { padding-inline: 24px; }
    .cf-important li { grid-template-columns: 38px 1fr; }
    .cf-faq-item summary span { font-size: 19px; }
    .cf-home .cf-final-cta h2 { font-size: 59px; }
    .cf-footer-grid { grid-template-columns: 1fr; }
    .cf-footer-brand img { width: 190px; height: 90px; }
    .cf-footer .footer-links { gap: 0 24px; }
    /* The fee labels wrap where a label and its amount don't fit side by side, and a changing
       court fee's before and after lines shrink with the screen, so each stays on one line. */
    .cf-price-sheet .tblCostEstimator > tbody { grid-template-columns: minmax(0, 1fr) auto; }
    .cf-price-sheet .tblCostEstimator td:not(.amtDue):has(br) { font-size: min(28px, calc((100vw - 100px) / 13)); }
}
@media (prefers-reduced-motion: reduce) {
    .cf-hero-bg { animation: none; }
    .cf-btn, .cf-nav-center a, .cf-footer a, .cf-faq-item, .cf-faq-item summary i::before, .cf-faq-item summary i::after { transition: none; }
    .cf-btn:hover { transform: none; }
    .cf-final-cta { background-attachment: scroll; }
}

/* BBB seal: in the brand column, under the logo and tagline. */
.cf-footer-brand > .bbb-seal { display: block; width: max-content; max-width: 100%; margin-top: 26px; }
