/*
Theme Name: WP IQ Plugin Company
Theme URI: https://www.wpiq.org
Author: WP IQ
Author URI: https://www.wpiq.org
Description: A bright, product-led WordPress plugin company theme for WP IQ.
Version: 0.5.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpiq-sales
*/

@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@1,500&family=Poppins:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --teal: #08a6c4;
  --teal-dark: #087f9a;
  --teal-deep: #075d72;
  --pale: #edf9fc;
  --pale-2: #f6fbfc;
  --ink: #30343b;
  --muted: #67717b;
  --line: #dce6e9;
  --white: #ffffff;
  --yellow: #f8bf2d;
  --coral: #ef6170;
  --blue: #61c7e6;
  --purple: #a78ad7;
  --green: #55bd93;
  --shell: 1160px;
  --shadow: 0 24px 60px rgba(24, 78, 91, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Source Sans 3", Arial, sans-serif;
  margin: 0;
}

body,
button,
input,
select,
textarea {
  font-size: 17px;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Poppins", Arial, sans-serif;
  letter-spacing: 0;
}

.wpiq-store {
  overflow: hidden;
}

.site-shell {
  margin: 0 auto;
  max-width: var(--shell);
  width: calc(100% - 48px);
}

.promo-bar {
  background: #eaf7fa;
  border-bottom: 1px solid #d0e9ef;
}

.promo-bar .site-shell {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  min-height: 48px;
}

.promo-bar strong {
  background: #e21f3d;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  padding: 7px 10px;
  text-transform: uppercase;
}

.promo-bar p,
.promo-bar a {
  font-size: 14px;
  margin: 0;
}

.promo-bar p {
  font-family: "Lora", Georgia, serif;
  font-style: italic;
}

.promo-bar a {
  border: 2px solid var(--teal);
  border-radius: 999px;
  color: var(--teal-dark);
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
  padding: 8px 18px;
}

.hero-section {
  background: var(--teal);
  color: #ffffff;
  min-height: 660px;
  position: relative;
}

.hero-section::after {
  background: #ffffff;
  bottom: -1px;
  clip-path: polygon(0 58%, 23% 78%, 47% 86%, 70% 76%, 100% 42%, 100% 100%, 0 100%);
  content: "";
  height: 112px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 3;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  position: relative;
  z-index: 20;
}

.header-inner {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: auto 1fr auto;
  min-height: 82px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 600;
  gap: 12px;
  width: max-content;
}

.brand-mark {
  display: inline-block;
  height: 42px;
  position: relative;
  transform: rotate(-34deg);
  width: 42px;
}

.brand-mark i {
  border: 4px solid currentColor;
  border-radius: 6px;
  height: 13px;
  left: 3px;
  position: absolute;
  top: 7px;
  width: 31px;
}

.brand-mark i:last-child {
  left: 8px;
  top: 22px;
}

.primary-nav {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: flex-end;
}

.primary-nav a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.primary-nav a:hover {
  color: #d9f9ff;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.account-button {
  align-items: flex-end;
  background: var(--yellow);
  border: 3px solid #ffffff;
  border-radius: 50%;
  display: flex;
  height: 40px;
  justify-content: center;
  overflow: hidden;
  width: 40px;
}

.account-button span {
  background: #ffffff;
  border-radius: 50% 50% 0 0;
  height: 15px;
  margin-bottom: 3px;
  position: relative;
  width: 22px;
}

.account-button span::before {
  background: #ffffff;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 4px;
  position: absolute;
  top: -11px;
  width: 10px;
}

.menu-toggle {
  align-items: center;
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  display: none;
  flex-direction: column;
  gap: 4px;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}

.menu-toggle i {
  background: var(--teal-dark);
  display: block;
  height: 2px;
  transition: opacity 150ms ease, transform 150ms ease;
  width: 17px;
}

.menu-toggle[aria-expanded="true"] i:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] i:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.hero-inner {
  min-height: 578px;
  padding-top: 68px;
  position: relative;
}

.hero-copy {
  max-width: 610px;
  position: relative;
  z-index: 7;
}

.hero-kicker,
.section-kicker,
.product-category {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker {
  color: #d9f9ff;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(44px, 5.2vw, 67px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-signature {
  align-items: center;
  display: flex;
  font-family: "Lora", Georgia, serif;
  font-size: 18px;
  font-style: italic;
  gap: 15px;
  margin-bottom: 19px;
}

.hero-signature::before,
.hero-signature::after {
  background: rgba(255, 255, 255, 0.55);
  content: "";
  height: 1px;
  width: 74px;
}

.hero-lede {
  font-size: 19px;
  line-height: 1.55;
  margin-bottom: 27px;
  max-width: 540px;
}

.pill-button {
  align-items: center;
  background: var(--teal);
  border: 2px solid var(--teal);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.pill-button:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
}

.pill-button-light {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--teal-dark);
}

.pill-button-light:hover {
  background: #e9f9fc;
  border-color: #e9f9fc;
  color: var(--teal-deep);
}

.hero-art {
  bottom: 96px;
  height: 410px;
  position: absolute;
  right: -18px;
  width: 570px;
  z-index: 5;
}

.hero-window {
  background: #ffffff;
  border: 1px solid rgba(24, 71, 83, 0.28);
  border-radius: 7px;
  box-shadow: var(--shadow);
  color: var(--ink);
  overflow: hidden;
  position: absolute;
}

.window-back {
  height: 280px;
  left: 0;
  opacity: 0.84;
  top: 14px;
  transform: rotate(-2deg);
  width: 420px;
}

.window-front {
  bottom: 0;
  height: 320px;
  right: 0;
  transform: rotate(1deg);
  width: 440px;
}

.window-bar {
  align-items: center;
  background: #2f3b44;
  display: flex;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
}

.window-bar i {
  background: #71818c;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.window-bar i:first-child {
  background: var(--coral);
}

.window-bar i:nth-child(2) {
  background: var(--yellow);
}

.window-bar i:nth-child(3) {
  background: var(--green);
}

.window-content {
  display: grid;
  grid-template-columns: 74px 1fr;
  height: calc(100% - 28px);
}

.window-content aside,
.demo-layout aside {
  align-items: center;
  background: var(--teal-dark);
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding-top: 24px;
}

.window-content aside b,
.demo-layout aside b {
  align-items: center;
  background: #ffffff;
  border-radius: 5px;
  color: var(--teal-dark);
  display: flex;
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  height: 30px;
  justify-content: center;
  margin-bottom: 7px;
  width: 30px;
}

.window-content aside span,
.demo-layout aside span {
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  height: 13px;
  width: 13px;
}

.window-content > div {
  background: #f5f9fa;
  padding: 30px 28px;
}

.window-content small {
  color: #7e8991;
  display: block;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.window-content strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 21px;
  margin-bottom: 22px;
}

.window-content p {
  background: #ffffff;
  border: 1px solid #dfe8eb;
  height: 34px;
  margin: 0 0 10px;
}

.window-content .big-score {
  color: var(--teal-dark);
  font-size: 66px;
  line-height: 1;
  margin-bottom: 12px;
}

.score-line {
  background: #dfeaec;
  height: 8px;
  margin-bottom: 26px;
}

.score-line i {
  background: var(--yellow);
  display: block;
  height: 100%;
  width: 92%;
}

.mini-results {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-results span {
  background: #ffffff;
  border: 1px solid #dfe8eb;
  color: #748089;
  font-size: 9px;
  padding: 10px;
  text-align: center;
}

.mini-results b {
  color: var(--ink);
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
}

.quality-seal {
  align-items: center;
  background: var(--yellow);
  border: 5px solid #fff4c4;
  border-radius: 50%;
  bottom: 28px;
  color: #604600;
  display: flex;
  flex-direction: column;
  height: 104px;
  justify-content: center;
  position: absolute;
  right: -8px;
  text-align: center;
  transform: rotate(8deg);
  width: 104px;
}

.quality-seal strong {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  line-height: 1;
}

.quality-seal span {
  font-size: 8px;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 5px;
  max-width: 72px;
  text-transform: uppercase;
}

.facts-strip {
  background: #ffffff;
  padding: 20px 0 34px;
  position: relative;
  z-index: 6;
}

.facts-strip .site-shell {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.facts-strip .site-shell > div {
  align-items: center;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: center;
  min-height: 66px;
}

.facts-strip .site-shell > div:last-child {
  border-right: 0;
}

.fact-icon {
  align-items: center;
  background: var(--pale);
  border-radius: 50%;
  color: var(--teal-dark);
  display: flex;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.facts-strip p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  margin: 0;
}

.facts-strip p strong {
  color: var(--ink);
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}

.intro-section {
  background: var(--pale-2);
  padding: 96px 0 76px;
  text-align: center;
}

.narrow-copy {
  max-width: 780px;
}

.section-kicker,
.product-category {
  color: var(--teal-dark);
  margin-bottom: 14px;
}

.intro-section h2,
.product-copy h2,
.access-section h2,
.center-heading h2,
.newsletter-section h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  margin-bottom: 18px;
}

.intro-section .narrow-copy > p:last-child,
.center-heading > p:last-child {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  margin: 0;
}

.product-showcase {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 92px 0;
}

.product-showcase:nth-child(even) {
  background: #fbfdfe;
}

.product-inner {
  align-items: center;
  display: grid;
  gap: 84px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.product-reverse .product-visual {
  grid-column: 2;
}

.product-reverse .product-copy {
  grid-column: 1;
  grid-row: 1;
}

.product-visual {
  height: 430px;
  overflow: hidden;
  padding: 58px 42px 0;
  position: relative;
}

.product-visual::before {
  background: var(--pale);
  clip-path: polygon(11% 0, 100% 7%, 93% 93%, 0 100%, 4% 18%);
  content: "";
  inset: 0;
  position: absolute;
}

.visual-yellow::before {
  background: #fff6d9;
}

.visual-coral::before {
  background: #fff0f2;
}

.visual-blue::before {
  background: #edf8fc;
}

.visual-purple::before {
  background: #f4f0fb;
}

.visual-green::before {
  background: #ebf8f2;
}

.visual-code {
  align-items: center;
  background: var(--teal);
  border: 4px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  height: 62px;
  justify-content: center;
  left: 24px;
  position: absolute;
  top: 28px;
  width: 62px;
  z-index: 3;
}

.visual-yellow .visual-code {
  background: var(--yellow);
  color: #6d5000;
}

.visual-coral .visual-code {
  background: var(--coral);
}

.visual-blue .visual-code {
  background: var(--blue);
}

.visual-purple .visual-code {
  background: var(--purple);
}

.visual-green .visual-code {
  background: var(--green);
}

.visual-window {
  background: #ffffff;
  border: 1px solid #bed3d9;
  border-radius: 7px;
  box-shadow: 16px 20px 0 rgba(16, 112, 135, 0.11);
  height: 345px;
  overflow: hidden;
  position: relative;
  transform: rotate(-1deg);
  z-index: 2;
}

.product-reverse .visual-window {
  transform: rotate(1deg);
}

.demo-layout {
  display: grid;
  grid-template-columns: 72px 1fr;
  height: calc(100% - 28px);
}

.demo-main {
  background: #f6f9fa;
  padding: 34px 28px;
}

.demo-main small {
  color: #879198;
  display: block;
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.demo-main > strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  margin-bottom: 24px;
}

.demo-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.demo-metrics i {
  background: #ffffff;
  border: 1px solid #dfe8eb;
  height: 58px;
}

.demo-main p {
  background: #ffffff;
  border: 1px solid #dfe8eb;
  height: 29px;
  margin: 0 0 8px;
}

.product-copy h2 {
  font-size: clamp(34px, 4vw, 48px);
  text-transform: uppercase;
}

.product-copy > p:not(.product-category) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 23px;
}

.product-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.product-copy li {
  background: var(--pale);
  border-radius: 4px;
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 11px;
}

.product-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.product-actions > span {
  color: var(--muted);
  font-size: 14px;
}

.product-actions > span strong {
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 21px;
}

.access-section {
  background: var(--teal-dark);
  color: #ffffff;
  padding: 92px 0;
}

.access-inner {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.62fr);
}

.access-section .section-kicker {
  color: #bdeef8;
}

.access-section h2 {
  max-width: 690px;
}

.access-section .access-inner > div:first-child > p:not(.section-kicker) {
  color: #d0eef4;
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 650px;
}

.access-price {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding: 18px 0 18px 50px;
}

.access-price > span {
  color: #bdeef8;
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.access-price > strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 70px;
  line-height: 1;
  margin-top: 10px;
}

.access-price > small {
  color: #d2edf3;
  font-size: 14px;
}

.access-price ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.access-price li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
  padding-bottom: 8px;
}

.support-section {
  background: #ffffff;
  padding: 104px 0;
}

.center-heading {
  margin: 0 auto 58px;
  max-width: 770px;
  text-align: center;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-grid > div {
  border-right: 1px solid var(--line);
  padding: 0 45px;
  text-align: center;
}

.support-grid > div:last-child {
  border-right: 0;
}

.support-icon {
  align-items: center;
  background: var(--pale);
  border-radius: 50%;
  color: var(--teal-dark);
  display: flex;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  height: 88px;
  justify-content: center;
  margin: 0 auto 24px;
  outline: 1px solid #d6eef3;
  outline-offset: 7px;
  width: 88px;
}

.support-grid h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.support-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.promise-section {
  background: var(--pale);
  padding: 82px 0;
  text-align: center;
}

.promise-inner {
  max-width: 930px;
}

.quote-mark {
  color: var(--teal);
  display: block;
  font-family: Georgia, serif;
  font-size: 70px;
  height: 52px;
  line-height: 1;
}

.promise-section blockquote {
  color: #4d5b64;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(23px, 3vw, 33px);
  font-style: italic;
  line-height: 1.55;
  margin: 10px 0 24px;
}

.promise-section p {
  color: var(--teal-dark);
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.resources-section {
  background: #ffffff;
  padding: 102px 0;
}

.resource-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 450px;
  overflow: hidden;
}

.resource-image {
  background: var(--pale);
  height: 215px;
  padding: 35px;
}

.resource-yellow {
  background: #fff6da;
}

.resource-coral {
  background: #fff0f2;
}

.resource-image > div {
  background: #ffffff;
  border: 1px solid #bfd5da;
  border-radius: 5px;
  box-shadow: 9px 11px 0 rgba(8, 127, 154, 0.1);
  height: 148px;
  padding: 28px;
}

.resource-image span,
.resource-image i {
  background: var(--teal);
  display: block;
  height: 8px;
  margin-bottom: 14px;
  width: 48%;
}

.resource-image i {
  background: #d6e2e5;
  width: 78%;
}

.resource-image i:nth-of-type(2) {
  width: 67%;
}

.resource-image i:nth-of-type(3) {
  width: 73%;
}

.resource-yellow span {
  background: var(--yellow);
}

.resource-coral span {
  background: var(--coral);
}

.resource-card > p,
.resource-card h3,
.resource-card > a {
  margin-left: 25px;
  margin-right: 25px;
}

.resource-card > p {
  color: var(--teal-dark);
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 9px;
  margin-top: 24px;
  text-transform: uppercase;
}

.resource-card h3 {
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 18px;
}

.resource-card > a {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
}

.newsletter-section {
  background: var(--teal);
  color: #ffffff;
  padding: 74px 0;
}

.newsletter-inner {
  align-items: center;
  display: flex;
  gap: 50px;
  justify-content: space-between;
}

.newsletter-inner > div {
  max-width: 740px;
}

.newsletter-section .section-kicker {
  color: #d7f8ff;
}

.newsletter-section h2 {
  font-size: clamp(34px, 4vw, 49px);
  margin-bottom: 10px;
}

.newsletter-section p:not(.section-kicker) {
  font-size: 18px;
  margin: 0;
}

.site-footer {
  background: var(--teal-deep);
  color: #ffffff;
}

.footer-main {
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(120px, 0.7fr));
  padding-bottom: 72px;
  padding-top: 72px;
}

.footer-brand {
  color: #ffffff;
}

.footer-about p {
  color: #b9dbe3;
  font-size: 15px;
  line-height: 1.65;
  margin: 22px 0 14px;
  max-width: 360px;
}

.footer-about > a:last-child {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-main nav h3 {
  font-size: 14px;
  margin: 0 0 9px;
}

.footer-main nav a {
  color: #b9dbe3;
  font-size: 14px;
}

.footer-main nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom .site-shell {
  align-items: center;
  color: #9ecbd5;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  min-height: 60px;
}

@media (max-width: 1050px) {
  .primary-nav {
    gap: 18px;
  }

  .hero-copy {
    max-width: 540px;
  }

  .hero-art {
    right: -120px;
  }

  .product-inner {
    gap: 48px;
  }

  .product-visual {
    height: 390px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .visual-window {
    height: 315px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 72px;
    position: relative;
  }

  .menu-toggle {
    display: flex;
  }

  .primary-nav {
    align-items: stretch;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 18px 45px rgba(3, 76, 94, 0.22);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 64px;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    min-height: 45px;
    padding: 12px;
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .hero-section {
    min-height: 780px;
  }

  .hero-inner {
    min-height: 706px;
    padding-top: 48px;
  }

  .hero-copy {
    max-width: 600px;
  }

  .hero-art {
    bottom: 80px;
    height: 285px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 540px;
  }

  .window-back {
    height: 210px;
    width: 350px;
  }

  .window-front {
    height: 245px;
    width: 380px;
  }

  .window-content .big-score {
    font-size: 48px;
  }

  .window-content > div {
    padding: 20px;
  }

  .quality-seal {
    height: 84px;
    width: 84px;
  }

  .facts-strip .site-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts-strip .site-shell > div:nth-child(2) {
    border-right: 0;
  }

  .facts-strip .site-shell > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .product-inner,
  .access-inner {
    grid-template-columns: 1fr;
  }

  .product-reverse .product-visual,
  .product-reverse .product-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .product-copy {
    max-width: 680px;
  }

  .access-price {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    padding: 35px 0 0;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-grid > div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 34px 12px;
  }

  .support-grid > div:last-child {
    border-bottom: 0;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 0;
  }

  .footer-main {
    gap: 38px;
    grid-template-columns: 1.4fr repeat(3, 0.7fr);
  }
}

@media (max-width: 640px) {
  body,
  button,
  input,
  select,
  textarea {
    font-size: 16px;
  }

  .site-shell {
    width: calc(100% - 32px);
  }

  .promo-bar .site-shell {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 7px 10px;
    justify-content: flex-start;
    min-height: 72px;
    padding: 10px 0;
  }

  .promo-bar p {
    flex: 1;
    font-size: 13px;
  }

  .promo-bar a {
    margin-left: 0;
    padding: 6px 13px;
  }

  .hero-section {
    min-height: 756px;
  }

  .hero-section::after {
    height: 70px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-mark {
    height: 34px;
    width: 34px;
  }

  .brand-mark i {
    border-width: 3px;
    width: 26px;
  }

  .brand-mark i:last-child {
    top: 19px;
  }

  .hero-inner {
    min-height: 684px;
    padding-top: 40px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 11vw, 49px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-art {
    bottom: 56px;
    height: 240px;
    width: 420px;
  }

  .window-back {
    height: 170px;
    left: 12px;
    width: 290px;
  }

  .window-front {
    height: 205px;
    right: 8px;
    width: 315px;
  }

  .window-content {
    grid-template-columns: 50px 1fr;
  }

  .window-content aside {
    gap: 11px;
    padding-top: 15px;
  }

  .window-content aside b {
    height: 24px;
    width: 24px;
  }

  .window-content > div {
    padding: 13px 15px;
  }

  .window-content .big-score {
    font-size: 38px;
    margin-bottom: 5px;
  }

  .score-line {
    margin-bottom: 10px;
  }

  .quality-seal {
    bottom: 8px;
    height: 67px;
    right: 0;
    width: 67px;
  }

  .quality-seal strong {
    font-size: 18px;
  }

  .quality-seal span {
    font-size: 6px;
  }

  .facts-strip {
    padding-top: 10px;
  }

  .facts-strip .site-shell {
    width: 100%;
  }

  .facts-strip .site-shell > div {
    gap: 9px;
    justify-content: flex-start;
    min-height: 66px;
    padding: 0 14px;
  }

  .fact-icon {
    height: 38px;
    width: 38px;
  }

  .facts-strip p {
    font-size: 11px;
  }

  .facts-strip p strong {
    font-size: 13px;
  }

  .intro-section,
  .support-section,
  .resources-section {
    padding: 72px 0;
  }

  .intro-section h2,
  .product-copy h2,
  .access-section h2,
  .center-heading h2,
  .newsletter-section h2 {
    font-size: clamp(33px, 10vw, 43px);
  }

  .intro-section .narrow-copy > p:last-child,
  .center-heading > p:last-child {
    font-size: 17px;
  }

  .product-showcase {
    padding: 66px 0;
  }

  .product-inner {
    gap: 34px;
  }

  .product-visual {
    height: 310px;
    padding: 45px 20px 0;
  }

  .visual-code {
    height: 50px;
    left: 12px;
    top: 20px;
    width: 50px;
  }

  .visual-window {
    height: 255px;
  }

  .demo-layout {
    grid-template-columns: 52px 1fr;
  }

  .demo-layout aside {
    gap: 11px;
    padding-top: 15px;
  }

  .demo-main {
    padding: 22px 17px;
  }

  .demo-main > strong {
    font-size: 16px;
  }

  .product-copy > p:not(.product-category) {
    font-size: 17px;
  }

  .access-section {
    padding: 72px 0;
  }

  .access-price > strong {
    font-size: 58px;
  }

  .support-icon {
    height: 72px;
    width: 72px;
  }

  .promise-section {
    padding: 66px 0;
  }

  .promise-section blockquote {
    font-size: 22px;
  }

  .resource-image {
    height: 185px;
    padding: 28px;
  }

  .resource-image > div {
    height: 128px;
  }

  .newsletter-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-bottom: 56px;
    padding-top: 58px;
  }

  .footer-bottom .site-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
  }
}
