:root {
  /* Global brand tokens. Update these first when changing the JGatsby color
     system across the static website. */
  --orange: #ff6a00;
  --orange-dark: #d94c00;
  --black: #050505;
  --charcoal: #111111;
  --graphite: #1d1d1d;
  --grey: #737373;
  --line: rgba(255, 255, 255, 0.14);
  --paper: #f4f4f2;
  --white: #ffffff;
  --ink: #101010;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--white);
  background: var(--black);
}
body.not-found {
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.site-header {
  /* Fixed header shared by every static page. */
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 5.6vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  height: 56px;
  color: var(--orange);
  font-size: clamp(1.08rem, 1vw + 0.8rem, 1.45rem);
  font-weight: 900;
  white-space: nowrap;
}

.brand .brand-mark {
  display: block;
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 700;
}
.nav-links a {
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}
.btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, #ff7a11, var(--orange));
  box-shadow: 0 14px 32px rgba(255, 106, 0, 0.28);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}
.btn-secondary.dark {
  border-color: #191919;
  color: #111;
  background: transparent;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  /* Home-page hero combines the sales message with the device/template mockup. */
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  background:
    radial-gradient(
      circle at 91% 28%,
      rgba(255, 106, 0, 0.44),
      transparent 23rem
    ),
    linear-gradient(120deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #070707 0%, #080808 53%, #2b1205 100%);
  background-size:
    auto,
    20px 20px,
    auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: 48px;
  width: min(1420px, 100%);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 56px 5.6vw 0;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1,
.page-hero h1,
.contact-page h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.3rem);
  line-height: 0.99;
  letter-spacing: 0;
}
.hero h1 {
  max-width: 680px;
}
.hero h1 span,
.section-heading span,
.split-copy h2 span {
  color: var(--orange);
}
.hero-intro {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.proof-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 610px;
  margin-top: 42px;
}
.proof-points div {
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.45;
}
.mini-icon,
.app-icon,
.service-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}
.mini-icon {
  width: 35px;
  height: 35px;
  color: var(--orange);
}
.mini-icon::before,
.mini-icon::after,
.app-icon::before,
.app-icon::after,
.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  border-color: currentColor;
}
.mini-icon.rocket::before {
  width: 22px;
  height: 13px;
  border: 3px solid var(--orange);
  border-radius: 20px 20px 20px 4px;
  transform: rotate(-45deg);
}
.mini-icon.rocket::after {
  width: 10px;
  height: 10px;
  border-left: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  transform: translate(-9px, 10px) rotate(0deg);
}
.mini-icon.chart::before {
  width: 25px;
  height: 22px;
  border-left: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
}
.mini-icon.chart::after {
  width: 22px;
  height: 16px;
  border-top: 3px solid var(--orange);
  border-right: 3px solid var(--orange);
  transform: rotate(-35deg) translate(3px, -1px);
}
.mini-icon.headset::before {
  width: 25px;
  height: 23px;
  border: 3px solid var(--orange);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
}
.mini-icon.headset::after {
  width: 7px;
  height: 13px;
  border: 3px solid var(--orange);
  border-radius: 8px;
  box-shadow:
    20px 0 0 -3px #050505,
    20px 0 0 0 var(--orange);
  transform: translate(-10px, 7px);
}

.hero-showcase {
  position: relative;
  min-height: 650px;
}
.storefront-preview {
  position: absolute;
  left: 0;
  top: 5%;
  width: min(680px, 82%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: #121212;
  box-shadow: var(--shadow);
}
.storefront-preview header {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 56px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.storefront-preview header strong {
  margin-right: auto;
}
.storefront-preview header nav {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
}
.store-icons {
  display: flex;
  gap: 10px;
}
.store-icons span {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
}
.store-hero {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #1b1b1b;
}
.store-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
}
.store-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.16));
}
.store-copy {
  position: relative;
  z-index: 1;
  max-width: 300px;
  padding: 60px 42px;
}
.store-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.5vw, 2.7rem);
  line-height: 1.02;
}
.store-copy p {
  margin: 16px 0 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}
.store-copy button,
.phone-preview button {
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--orange);
  font-weight: 800;
}
.store-copy button {
  padding: 10px 16px;
  font-size: 0.8rem;
}
.store-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px 24px;
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 22px 24px 28px;
}
.category-grid img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  border-radius: 6px;
  background: #ddd;
}
.phone-preview {
  position: absolute;
  right: 22%;
  top: 40%;
  width: 138px;
  min-height: 344px;
  overflow: hidden;
  padding: 32px 12px 18px;
  border: 4px solid #121212;
  border-radius: 28px;
  background: #171717;
  box-shadow: 0 0px 44px rgba(0, 0, 0, 0.5);
}
.phone-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.phone-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.76));
}
.phone-top,
.phone-preview h3,
.phone-preview p,
.phone-preview button {
  position: relative;
  z-index: 1;
}
.phone-top {
  position: absolute;
  top: 12px;
  left: 45%;
  width: 46px;
  height: 6px;
  border-radius: 99px;
  background: #050505;
  transform: translateX(-50%);
}
.phone-preview h3 {
  margin: 0 0 108px;
  font-size: 0.86rem;
}
.phone-preview p {
  margin: 0 0 14px;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.08;
}
.phone-preview button {
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.72rem;
}

.app-card {
  position: absolute;
  right: 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  width: 245px;
  min-height: 130px;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 8px;
  background: rgba(25, 25, 25, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}
.app-card-one {
  top: 16%;
}
.app-card-two {
  top: 38%;
}
.app-card-three {
  top: 60%;
}
.app-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}
.app-card small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.45;
}
.app-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 106, 0, 0.5);
  border-radius: 7px;
  color: var(--orange);
  background: linear-gradient(
    135deg,
    rgba(255, 106, 0, 0.3),
    rgba(255, 106, 0, 0.04)
  );
}
.app-icon.sliders::before {
  width: 25px;
  height: 16px;
  border-top: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
}
.app-icon.sliders::after {
  width: 7px;
  height: 7px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  box-shadow:
    -12px 11px 0 -2px #151515,
    -12px 11px 0 0 var(--orange),
    12px -11px 0 -2px #151515,
    12px -11px 0 0 var(--orange);
}
.app-icon.timer::before {
  width: 24px;
  height: 24px;
  border: 3px solid var(--orange);
  border-radius: 50%;
}
.app-icon.timer::after {
  width: 9px;
  height: 9px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: translate(3px, -3px);
}
.app-icon.tag::before {
  width: 22px;
  height: 22px;
  border: 3px solid var(--orange);
  transform: rotate(45deg);
}
.app-icon.tag::after {
  width: 5px;
  height: 5px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  transform: translate(-6px, -6px);
}
.app-icon.analytics::before {
  width: 26px;
  height: 26px;
  border: 3px solid var(--orange);
  border-radius: 50%;
}
.app-icon.analytics::after {
  width: 18px;
  height: 18px;
  border-right: 6px solid var(--orange);
  border-bottom: 6px solid var(--orange);
  border-radius: 0 0 22px 0;
  transform: rotate(24deg);
}

.services,
.catalog-preview,
.build-section {
  background: var(--paper);
  color: var(--ink);
}
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 40px 5.6vw 72px;
}
.services article,
.product-card,
.listing-card,
.pricing-grid article,
.resource-grid article,
.app-grid article,
.faq details,
.build-grid article {
  border: 1px solid #dededb;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}
.services article {
  min-height: 184px;
  padding: 28px;
}
.service-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border: 2px solid #111;
  border-radius: 7px;
  color: var(--orange);
  background: #ffe7d6;
}
.service-icon.layout::before {
  width: 26px;
  height: 30px;
  border: 3px solid #111;
}
.service-icon.layout::after {
  width: 17px;
  height: 3px;
  background: var(--orange);
  box-shadow:
    0 10px 0 var(--orange),
    11px 21px 0 var(--orange);
}
.service-icon.puzzle::before {
  width: 30px;
  height: 30px;
  background: #111;
  border-radius: 5px;
}
.service-icon.puzzle::after {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow:
    18px 0 0 var(--orange),
    0 18px 0 var(--orange);
  transform: translate(-9px, -9px);
}
.service-icon.speed::before {
  width: 33px;
  height: 33px;
  border: 3px solid #111;
  border-bottom-color: transparent;
  border-radius: 50%;
}
.service-icon.speed::after {
  width: 13px;
  height: 3px;
  background: var(--orange);
  transform: rotate(-42deg) translate(5px, 1px);
}
.service-icon.chat::before {
  width: 32px;
  height: 22px;
  border: 3px solid #111;
  border-radius: 5px;
}
.service-icon.chat::after {
  width: 20px;
  height: 16px;
  right: 7px;
  top: 8px;
  border-radius: 4px;
  background: var(--orange);
}
.services h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}
.services p {
  min-height: 58px;
  margin: 0 0 22px;
  color: #3a3a3a;
  font-size: 0.92rem;
  line-height: 1.55;
}
.services a,
.product-card span,
.listing-card a:not(.btn),
.resource-grid a,
.app-grid a {
  color: var(--orange);
  font-weight: 800;
}
.services a::after,
.resource-grid a::after,
.app-grid a::after {
  content: " ->";
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1.15fr);
  gap: 42px;
  align-items: center;
  padding: 90px 5.6vw;
  background: #0a0a0a;
}
.split-copy {
  max-width: 620px;
}
.split-copy h2,
.section-heading h2,
.contact-band h2,
.faq h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.08;
}
.split-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
  font-size: 1.05rem;
}
.image-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171717;
  box-shadow: var(--shadow);
}
.image-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.catalog-preview {
  padding: 76px 5.6vw 92px;
}
.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}
.preview-grid,
.build-grid,
.pricing-grid,
.resource-grid,
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1220px;
  margin: 0 auto;
}
.product-card {
  overflow: hidden;
  color: #111;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}
.product-card span,
.pill {
  display: inline-flex;
  margin: 22px 24px 0;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product-card h3 {
  margin: 10px 24px 8px;
  font-size: 1.35rem;
}
.product-card p {
  margin: 0 24px 26px;
  color: #3f3f3f;
  line-height: 1.55;
}

.contact-band {
  /* Reusable CTA strip that appears before footers on several pages. */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 76px 5.6vw;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 106, 0, 0.36),
      transparent 20rem
    ),
    #0a0a0a;
}
.contact-band.compact {
  padding-block: 58px;
}
.contact-band h2 {
  max-width: 820px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px 5.6vw;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  background: #050505;
}
.site-footer span {
  color: var(--white);
  font-weight: 900;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.site-footer a:hover {
  color: var(--orange);
}

.page-hero {
  padding: 92px 5.6vw 70px;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(255, 106, 0, 0.25),
      transparent 21rem
    ),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #080808;
  background-size:
    auto,
    20px 20px,
    auto;
}
.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.7rem, 5.8vw, 5.65rem);
}
.page-hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.1rem;
  line-height: 1.65;
}
.page-hero.with-media {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 44px;
}
.page-hero.with-media img {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5.6vw;
  background: #fff;
  color: #111;
}
.toolbar label {
  display: grid;
  gap: 8px;
  min-width: min(360px, 100%);
  font-weight: 800;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8d8d3;
  border-radius: 7px;
  padding: 13px 14px;
  color: #111;
  background: #fff;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}
.filter-buttons button {
  min-height: 44px;
  border: 1px solid #d2d2ce;
  border-radius: 7px;
  padding: 0 16px;
  background: #f7f7f4;
  cursor: pointer;
  font-weight: 800;
}
.filter-buttons button.is-active {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}

.listing-grid {
  display: grid;
  gap: 28px;
  padding: 26px 5.6vw 88px;
  background: var(--paper);
  color: #111;
}
.listing-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  overflow: hidden;
}
.listing-card[hidden] {
  display: none;
}
.listing-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}
.listing-card div {
  padding: 34px;
}
.listing-card .pill {
  margin: 0 0 14px;
}
.listing-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}
.listing-card p {
  color: #3c3c3c;
  line-height: 1.62;
}
.listing-card ul,
.pricing-grid ul {
  padding-left: 20px;
  color: #333;
  line-height: 1.8;
}

.app-grid {
  grid-template-columns: repeat(4, 1fr);
  padding: 70px 5.6vw;
  max-width: none;
  background: var(--paper);
  color: #111;
}
.app-grid article {
  padding: 28px;
}
.app-grid .app-icon {
  margin-bottom: 18px;
  background: #fff2e8;
}
.app-grid h2 {
  margin: 0 0 12px;
}
.app-grid p {
  min-height: 112px;
  color: #3c3c3c;
  line-height: 1.6;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(360px, 1.25fr);
  gap: 40px;
  padding: 82px 5.6vw;
  background: #0a0a0a;
}
.calculator h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.08;
}
.calculator p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}
.calculator form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151515;
}
.calculator label,
.project-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}
.calculator output {
  grid-column: 1 / -1;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #311103);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
}

.pricing-grid {
  padding: 70px 5.6vw 34px;
  max-width: none;
  background: var(--paper);
  color: #111;
}
.pricing-grid article {
  padding: 30px;
}
.pricing-grid article.featured {
  border-color: var(--orange);
  box-shadow: 0 22px 48px rgba(255, 106, 0, 0.16);
}
.pricing-grid span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pricing-grid h2 {
  margin: 12px 0;
  font-size: 1.8rem;
}
.pricing-grid strong {
  display: block;
  margin-bottom: 16px;
  font-size: 1.35rem;
}
.pricing-grid p {
  color: #3d3d3d;
  line-height: 1.6;
}
.faq {
  padding: 34px 5.6vw 88px;
  background: var(--paper);
  color: #111;
}
.faq h2 {
  max-width: 980px;
  margin: 0 auto 24px;
}
.faq details {
  max-width: 980px;
  margin: 12px auto;
  padding: 20px 24px;
}
.faq summary {
  cursor: pointer;
  font-weight: 900;
}
.faq p {
  color: #3d3d3d;
  line-height: 1.65;
}

.resource-grid {
  padding: 70px 5.6vw 90px;
  max-width: none;
  background: var(--paper);
  color: #111;
}
.resource-grid article {
  padding: 30px;
}
.resource-grid span {
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}
.resource-grid h2 {
  margin: 12px 0;
  font-size: 1.7rem;
}
.resource-grid p {
  color: #3d3d3d;
  line-height: 1.65;
}

.blog-shell {
  /* Customer-facing blog layout. Desktop keeps the list/search and selected post
     side by side; mobile stacks through the media queries below. */
  padding: 42px 5.6vw 92px;
  background: var(--paper);
  color: #111;
}

.blog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1220px;
  margin: 0 auto 28px;
}

.blog-toolbar label {
  display: grid;
  gap: 8px;
  min-width: min(360px, 100%);
  font-weight: 800;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(420px, 1.3fr);
  gap: 28px;
  max-width: 1220px;
  margin: 0 auto;
}

.blog-list {
  display: grid;
  gap: 14px;
  align-content: start;
}

.blog-card {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 22px;
  border: 1px solid #dededb;
  border-radius: 8px;
  color: #111;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.blog-card span,
.blog-card small {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-card strong {
  font-size: 1.25rem;
}

.blog-card p,
.blog-post-view p,
.empty-state {
  color: #3d3d3d;
  line-height: 1.65;
}

.blog-post-view {
  min-height: 520px;
  padding: 34px;
  border: 1px solid #dededb;
  border-radius: 8px;
  background: #fff;
}

.blog-post-view h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.08;
}

.editor-page {
  min-height: 100vh;
  padding: 70px 5.6vw;
  background:
    radial-gradient(
      circle at 88% 16%,
      rgba(255, 106, 0, 0.24),
      transparent 22rem
    ),
    #080808;
}

.admin-login {
  display: none;
  min-height: calc(100vh - 140px);
  place-items: center;
}

.editor-page.is-locked {
  display: grid;
}

.editor-page.is-locked .admin-login {
  display: grid;
}

.editor-page.is-locked .editor-panel,
.editor-page.is-locked .editor-output {
  display: none;
}

.admin-login-card {
  display: grid;
  gap: 18px;
  width: min(460px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.95);
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
}

.admin-login-card label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.editor-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1.15fr);
  gap: 46px;
  max-width: 1220px;
  margin: 0 auto 28px;
}

.editor-panel h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.7vw, 5.7rem);
  line-height: 0.99;
}

.editor-panel p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.editor-panel code {
  color: var(--white);
}

.editor-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.9);
}

.editor-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.editor-form .full,
.editor-form button {
  grid-column: 1 / -1;
}

.editor-form button + button {
  margin-top: -8px;
}

.editor-output {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(360px, 1.3fr);
  gap: 22px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
}

.editor-output h2 {
  margin: 0 0 18px;
}

.editor-output p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.editor-output pre {
  overflow: auto;
  margin: 0;
  padding: 18px;
  border-radius: 8px;
  color: #f7f7f7;
  background: #050505;
  line-height: 1.5;
}

.admin-post-list {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow: auto;
}

.admin-post-item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-post-item span,
.admin-post-item small {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-post-item strong {
  color: var(--white);
}

.admin-post-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.admin-post-actions .btn {
  min-height: 38px;
  padding: 9px 14px;
}

.contact-page {
  /* Dedicated contact-page layout. The form posts to contact.php and JavaScript
     displays the JSON response without opening an email application. */
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1.15fr);
  gap: 46px;
  padding: 92px 5.6vw;
  background:
    radial-gradient(
      circle at 88% 16%,
      rgba(255, 106, 0, 0.28),
      transparent 22rem
    ),
    #080808;
}
.contact-page h1 {
  font-size: clamp(2.7rem, 5.7vw, 5.7rem);
}
.contact-page p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}
.contact-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}
.contact-note span {
  color: rgba(255, 255, 255, 0.72);
  text-align: right;
}
.project-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.9);
}
.project-form .full,
.project-form button,
.form-status {
  grid-column: 1 / -1;
}
.form-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}

.modal[aria-hidden="true"] {
  display: none;
}

.modal-card {
  width: min(520px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background: #111;
  box-shadow: var(--shadow);
  text-align: center;
}

.modal-card h2 {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.12;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 56px;
  }
  .hero-showcase {
    min-height: 620px;
  }
  .storefront-preview {
    width: 76%;
  }
  .services,
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1181px) {
  .phone-preview {
    right: 5%;
  }

  .app-card {
    right: -220px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
  }
  .site-header.is-open .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 5.6vw 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.96);
  }
  .site-header.is-open .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hero-showcase {
    min-height: auto;
    display: grid;
    gap: 18px;
  }
  .storefront-preview,
  .phone-preview,
  .app-card {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
  }
  .phone-preview {
    display: none;
  }
  .app-card {
    min-height: auto;
  }
  .services,
  .preview-grid,
  .build-grid,
  .pricing-grid,
  .resource-grid,
  .app-grid,
  .split-section,
  .calculator,
  .contact-page,
  .page-hero.with-media,
  .listing-card,
  .blog-layout,
  .editor-panel,
  .editor-output {
    grid-template-columns: 1fr;
  }
  .toolbar,
  .blog-toolbar {
    flex-direction: column;
  }
  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
    height: 44px;
    font-size: 1rem;
  }
  .brand .brand-mark {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
  }
  .hero {
    min-height: 0;
  }
  .hero-grid {
    min-height: 0;
    padding-top: 42px;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
  }
  .hero-actions,
  .btn {
    width: 100%;
  }
  .proof-points {
    grid-template-columns: 1fr;
  }
  .storefront-preview header nav,
  .store-icons,
  .store-benefits {
    display: none;
  }
  .store-copy {
    padding: 34px 24px 210px;
  }
  .store-hero {
    min-height: 430px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services {
    padding-top: 26px;
  }
  .page-hero,
  .contact-page {
    padding-top: 64px;
  }
  .page-hero h1,
  .contact-page h1 {
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }
  .calculator form,
  .project-form,
  .editor-form {
    grid-template-columns: 1fr;
  }
  .contact-note {
    flex-direction: column;
  }
  .contact-note span {
    text-align: left;
  }
}
