/*
Theme Name: RequestCrew
Theme URI: https://www.requestcrew.com
Author: RequestCrew
Description: The RequestCrew website. A block theme: every page is edited in the regular WordPress editor. Turning it on adds the Home, Features, Pricing, Demo, Guides, Contact, Get a quote, Terms of Service, Privacy Policy, Security, Status, and What's new pages if they aren't there yet. The contact and quote forms come from the RequestCrew Sales plugin.
Version: 1.3.41
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: requestcrew
*/

/* Most of the look is in theme.json. This is what theme.json can't say. */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Keyboard focus that's always easy to see. */
:where(a, button, input, select, textarea, summary, .wp-block-button__link):focus-visible {
	outline: 3px solid var(--wp--preset--color--amber);
	outline-offset: 2px;
	border-radius: 4px;
}

.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	padding: .75rem 1rem;
	z-index: 100000;
}

/* Header */
.rc-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.rc-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.rc-brand img { width: 40px; height: 40px; display: block; }
.rc-header .wp-block-site-title a { text-decoration: none; }
.rc-header .wp-block-navigation a { text-decoration: none; }
.rc-header .wp-block-navigation a:hover { text-decoration: underline; text-underline-offset: .25em; }
/* Six links and the button only just fit on small tablets, so they sit closer there. */
@media (min-width: 782px) and (max-width: 860px) { .rc-header .wp-block-navigation__container { gap: .7rem; } }
.rc-header .current-menu-item > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }

/* Screenshots look like screens. */
.rc-shot img {
	border-radius: 12px;
	border: 1px solid var(--wp--preset--color--line);
	box-shadow: 0 1px 2px rgba(20, 35, 27, .06), 0 12px 32px rgba(20, 35, 27, .12);
	background: #fff;
}
.rc-phone img {
	border-radius: 28px;
	border: 8px solid var(--wp--preset--color--ink);
	box-shadow: 0 12px 32px rgba(20, 35, 27, .18);
	background: #fff;
}

/* Cards: features, plans, guides. */
.rc-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	height: 100%;
}
.rc-card > :first-child { margin-top: 0; }
/* A short amber rule over each card's heading. */
.rc-card > h3:first-child::before { content: ""; display: block; width: 2.25rem; height: 4px; border-radius: 2px; background: var(--wp--preset--color--amber); margin-bottom: .9rem; }

/* Plans */
.rc-plans { align-items: stretch !important; }
.rc-plan { display: flex; flex-direction: column; }
.rc-plan .rc-price { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 2.6rem; line-height: 1; margin: .25rem 0 0; }
.rc-plan .rc-price span { font-family: var(--wp--preset--font-family--body); font-size: 1rem; font-weight: 400; color: var(--wp--preset--color--muted); }
.rc-plan .rc-yearly { color: var(--wp--preset--color--muted); margin-top: .35rem; }
.rc-plan ul { padding-left: 1.2rem; }
.rc-plan .wp-block-buttons { margin-top: auto; padding-top: 1rem; }
.rc-plan .rc-plan-after { color: var(--wp--preset--color--muted); margin-top: .6rem; margin-bottom: 0; }
.rc-plan-featured { border-color: var(--wp--preset--color--green); box-shadow: 0 0 0 1px var(--wp--preset--color--green); position: relative; }
.rc-badge {
	display: inline-block;
	width: fit-content;
	margin: 0 0 .25rem;
	background: var(--wp--preset--color--amber);
	color: var(--wp--preset--color--ink);
	font-size: .8rem;
	font-weight: 700;
	padding: .15rem .6rem;
	border-radius: 999px;
}

/* Lists with check marks. */
.rc-checks { list-style: none; padding-left: 0 !important; }
.rc-checks li { padding-left: 1.6rem; position: relative; margin: .4rem 0; }
.rc-checks li::before {
	content: "";
	position: absolute; left: 0; top: .35em;
	width: 1rem; height: .55rem;
	border-left: 3px solid var(--wp--preset--color--green);
	border-bottom: 3px solid var(--wp--preset--color--green);
	transform: rotate(-45deg);
}
.has-green-background-color .rc-checks li::before { border-color: var(--wp--preset--color--amber); }

/* Questions and answers */
.rc-faq details { border-bottom: 1px solid var(--wp--preset--color--line); padding: 1rem 0; }
.rc-faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.rc-faq details p { margin-bottom: 0; }

/* Links inside text are always underlined, so they never rely on color alone. */
.entry-content p a, .wp-block-post-content p a, .rc-faq a, .rc-card p a, footer p a { text-decoration: underline; text-underline-offset: .15em; }

/* A small eyebrow line above headings. */
.rc-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--wp--preset--color--green); margin-bottom: .25rem; }
.has-green-background-color .rc-eyebrow { color: var(--wp--preset--color--amber); }

@media (max-width: 781px) {
	.rc-hide-small { display: none !important; }
	.rc-plan .rc-price { font-size: 2.2rem; }
}

/* Landing pages: the colored bands sit right against each other and the header and footer. */
.wp-site-blocks > main, .wp-site-blocks > footer { margin-block-start: 0; }
.rc-landing > * + * { margin-block-start: 0; }
.rc-logo img { width: 40px; height: 40px; }
.rc-logo { margin: 0; }

/* Text on green and ink: headings and links follow the band's text color. */
.has-green-background-color :where(h1, h2, h3, h4),
.has-ink-background-color :where(h1, h2, h3, h4) { color: inherit; }
.has-green-background-color a:where(:not(.wp-element-button)),
.has-ink-background-color a:where(:not(.wp-element-button)) { color: inherit; }
.has-green-background-color .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink); }
.has-green-background-color .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #f2b65c; }
.has-green-background-color .is-style-outline .wp-block-button__link { color: var(--wp--preset--color--white); border-color: var(--wp--preset--color--white); }
.has-green-background-color .is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); }
.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--sage); }
.rc-footer a { text-decoration: underline; text-underline-offset: .15em; }
.rc-footer p { line-height: 1.9; }
.rc-social { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.rc-social li { margin: 0; }
.rc-footer .rc-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--wp--preset--color--white); text-decoration: none; transition: background-color .15s ease; }
.rc-footer .rc-social a:hover { background: var(--wp--preset--color--green); }
.rc-footer .rc-social a:focus-visible { outline-offset: 2px; }
.rc-social svg { display: block; }
@media (prefers-reduced-motion: reduce) { .rc-footer .rc-social a { transition: none; } }

/* The phone menu */
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--ink); padding: 1.5rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.25rem; }

/* Contact: the cards beside the form stay their own height. */
.rc-contact-cols .rc-card { height: auto; }
.rc-contact-cols .rc-card + .rc-card { margin-top: 1.25rem; }

/* Support: cards in a grid, so search can hide one and the rest close up. */
.rc-support-search { margin-top: 1.75rem; text-align: left; }
.rc-support-search[hidden], .rc-support-item[hidden], .rc-support-topic[hidden], .rc-support-group[hidden], .rc-support-links li[hidden] { display: none; }
.rc-support-search label { display: block; font-weight: 700; margin-bottom: .4rem; }
.rc-support-search input { box-sizing: border-box; width: 100%; min-height: 48px; padding: .6rem .9rem; font: inherit; color: var(--wp--preset--color--ink); background: #fff; border: 1px solid var(--wp--preset--color--muted); border-radius: 8px; }
.rc-support-search input:focus-visible { outline: 3px solid var(--wp--preset--color--amber); outline-offset: 1px; }
.rc-support-found { min-height: 1.6em; margin: .5rem 0 0; color: var(--wp--preset--color--muted); }
.rc-support-group + .rc-support-group { margin-top: 3rem; }
.rc-support-group > h2 { margin-bottom: .4rem; }
.rc-support-group > p { margin-top: 0; }
.rc-support-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.rc-support-grid > .rc-support-item { margin: 0; }
.rc-support-item h3 { font-size: 1.15rem; }
.rc-support-item h3 a { text-underline-offset: .15em; }
.rc-support-grid > .rc-support-topic { margin: 0; }
.rc-support-topic h3 { font-size: 1.15rem; }
.rc-support-links { list-style: none; padding-left: 0; margin-bottom: 0; }
.rc-support-links li { margin: .45rem 0; }
.rc-support-links a { text-decoration: underline; text-underline-offset: .15em; }

/* A guide's page */
.rc-guide-crumb a { color: inherit; }
.rc-guide h2 { font-size: 1.6rem; margin-top: 2.4rem; margin-bottom: .6rem; }
.rc-guide h3 { font-size: 1.2rem; margin-top: 1.8rem; margin-bottom: .4rem; }
.rc-guide p, .rc-guide li { line-height: 1.65; overflow-wrap: anywhere; }
.rc-guide ul, .rc-guide ol { padding-left: 1.4rem; }
.rc-guide li { margin-bottom: .45rem; }
.rc-guide li a, .rc-guide-more a { text-decoration: underline; text-underline-offset: .15em; }
.rc-guide :not(pre) > code { font-size: .92em; padding: .1em .3em; border-radius: 4px; background: var(--wp--preset--color--sage); overflow-wrap: anywhere; }
.rc-guide .wp-block-code { margin: 1rem 0; padding: .9rem 1rem; border: 1px solid var(--wp--preset--color--line); border-radius: 8px; background: #fff; font-size: .9rem; line-height: 1.5; }
.rc-guide .wp-block-code code { white-space: pre-wrap; overflow-wrap: anywhere; }
.rc-tip { padding: .8rem 1rem; border-left: 4px solid var(--wp--preset--color--amber); border-radius: 0 8px 8px 0; background: var(--wp--preset--color--white, #fff); }
.rc-guide .rc-shot { margin: 1.25rem 0; }
.rc-guide-more { padding-left: 1.2rem; }
.rc-guide-more + h2 { margin-top: 2.2rem; }

/* Terms of Service and Privacy Policy */
.rc-legal h2 { font-size: 1.45rem; margin-top: 2.4rem; margin-bottom: .6rem; }
.rc-legal .rc-legal-summary { margin: 1.5rem 0 1rem; }
.rc-legal .rc-legal-summary h2 { margin-top: 0; font-size: 1.25rem; }
.rc-legal ul { padding-left: 1.3rem; }
.rc-legal li { margin-bottom: .55rem; }
.rc-legal p, .rc-legal li { line-height: 1.65; }

/* What's new */
.rc-release { border-top: 1px solid var(--wp--preset--color--line); padding-top: 1.6rem; margin-top: 1.6rem; }
.rc-release:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.rc-release h2 { font-size: 1.45rem; margin: 0 0 .6rem; }
.rc-release-list { padding-left: 1.3rem; }
.rc-release-list li { margin-bottom: .55rem; line-height: 1.65; }
.rc-release h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.rc-release-earlier { border-top: 1px solid var(--wp--preset--color--line); padding-top: 1.6rem; margin-top: 1.6rem; }
.rc-release-earlier summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.rc-release-earlier details[open] summary { margin-bottom: 1.2rem; }
.rc-release-earlier .rc-release:first-child { border-top: 0; margin-top: 0; padding-top: 0; }

/* Status: the RequestCrew Console plugin styles the box; this matches it to the site. */
.rc-landing .rqc-status { --rqc-ok: var(--wp--preset--color--green); --rqc-line: var(--wp--preset--color--line); --rqc-card: var(--wp--preset--color--white); --rqc-muted: var(--wp--preset--color--muted); }

/* Pilot program page (1.3.13) */
.rc-signoff { font-weight: 600; margin-top: .25rem; }
.rc-pilot-form { display: block; width: 100%; height: 1800px; border: 0; border-radius: 8px; background: #fff; margin-top: 1rem; }
.rc-pilot-note { color: var(--wp--preset--color--muted); font-size: .95rem; }
@media (max-width: 600px) { .rc-pilot-form { height: 2300px; } }

/* Comparison tables (1.3.14) */
.rc-compare { margin: 1.25rem 0; overflow-x: auto; }
.rc-compare table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 8px; min-width: 560px; }
.rc-compare th, .rc-compare td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--wp--preset--color--line); }
.rc-compare thead th { background: var(--wp--preset--color--sage); font-family: var(--wp--preset--font-family--heading, inherit); }
.rc-compare thead th:nth-child(2), .rc-compare td:nth-child(2) { background: #f3f9f5; }
.rc-compare tbody tr:last-child td { border-bottom: 0; }
.rc-compare td:first-child { width: 30%; }

/* The tour video: the theme's own thumbnail until someone presses play (inc/video.php). */
.rc-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	box-shadow: 0 1px 2px rgba(20, 35, 27, .06), 0 12px 32px rgba(20, 35, 27, .12);
	background: var(--wp--preset--color--ink);
}
.rc-video-play, .rc-video iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.rc-video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rc-video-button {
	position: absolute; left: 75%; top: 56%; /* over the screenshot, clear of the thumbnail's words */
	width: 84px; height: 84px; margin: -42px 0 0 -42px;
	border-radius: 50%;
	background: rgba(20, 35, 27, .88);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
	transition: transform .15s ease, background-color .15s ease;
}
.rc-video-button::before {
	content: ""; position: absolute; left: 33px; top: 26px;
	border-style: solid; border-width: 16px 0 16px 26px;
	border-color: transparent transparent transparent #fff;
}
.rc-video-play:hover .rc-video-button, .rc-video-play:focus-visible .rc-video-button { background: var(--wp--preset--color--green); transform: scale(1.06); }
.rc-video-play:focus-visible { outline: 3px solid var(--wp--preset--color--amber); outline-offset: -3px; }
.rc-video-note { margin-top: .6rem; font-size: .85rem; color: var(--wp--preset--color--muted); text-align: center; }
@media (max-width: 600px) { .rc-video-button { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .rc-video-button::before { left: 25px; top: 19px; border-width: 13px 0 13px 21px; } }
@media (prefers-reduced-motion: reduce) { .rc-video-button { transition: none; } }

/* The blog: the list of posts on /blog/. */
.rc-blog-list .wp-block-post-template { list-style: none; padding: 0; margin: 0; }
.rc-blog-list .wp-block-post { padding: 1.75rem 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.rc-blog-list .wp-block-post:first-child { padding-top: 0; }
.rc-blog-list .wp-block-post-title { margin: 0; font-size: var(--wp--preset--font-size--x-large); }
.rc-blog-list .wp-block-post-title a { text-decoration: none; }
.rc-blog-list .wp-block-post-title a:hover { text-decoration: underline; text-underline-offset: .15em; }
.rc-blog-list .wp-block-post-date { margin-top: .35rem; }
.rc-blog-list .wp-block-post-excerpt { margin-top: .6rem; }
.rc-blog-list .wp-block-post-excerpt__excerpt { margin: 0; }
.rc-blog-list .wp-block-query-pagination { margin-top: 1.75rem; }

/* The blog: one post. */
.rc-post .rc-eyebrow a { color: inherit; text-decoration: none; }
.rc-post .rc-eyebrow a:hover { text-decoration: underline; text-underline-offset: .2em; }
.rc-post .wp-block-post-title { margin-top: .25rem; }
.rc-post-date { margin-top: .75rem; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.rc-post-byline > p:first-child::after { content: "\00B7"; margin-left: .5rem; }
.rc-post .wp-block-post-featured-image { margin-top: 1.75rem; }
.rc-post .wp-block-post-featured-image img { border-radius: 12px; }
.rc-post .wp-block-post-content { margin-top: 1.75rem; }
.rc-post .wp-block-post-content h2 { margin-top: 2.5rem; font-size: 1.6rem; }
.rc-post .wp-block-post-content h3 { margin-top: 1.75rem; }
.rc-post .wp-block-post-content li { margin: .4rem 0; }
.rc-post .wp-block-post-content li a { text-decoration: underline; text-underline-offset: .15em; }
.rc-post-end { margin-top: 3rem; background: var(--wp--preset--color--sage); border-radius: 12px; }
.rc-post-end > :first-child { margin-top: 0; }
.rc-post-end > :last-child { margin-bottom: 0; }
.rc-post-end h2 { font-size: 1.35rem; }
.rc-post-end p a { text-decoration: underline; text-underline-offset: .15em; }
