/*
Theme Name: Shenqi Tech
Theme URI: https://shenqikeji.top/
Template: twentytwentyfive
Author: Shenqi Tech
Description: A focused child theme for Shenqi Tech's service homepage.
Version: 1.0.0
Text Domain: shenqi-tech
*/

:root {
  --sq-ink: #111417;
  --sq-muted: #5c6570;
  --sq-line: #dfe5e2;
  --sq-paper: #f7f8f4;
  --sq-panel: #ffffff;
  --sq-blue: #1976d2;
  --sq-green: #168a5a;
  --sq-amber: #c77a09;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--sq-paper);
  color: var(--sq-ink);
  letter-spacing: 0;
}

body.home .wp-block-post-title {
  display: none;
}

body.home .wp-site-blocks {
  padding-top: 0;
}

body.home main {
  margin-block-start: 0;
}

body.home .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
}

body.home .wp-block-post-content > .sq-home {
  max-width: none !important;
}

.sq-home {
  width: 100%;
  max-width: none;
  margin-block-start: 0;
  font-size: 17px;
  line-height: 1.65;
}

.sq-home * {
  box-sizing: border-box;
}

.sq-home a {
  color: inherit;
}

.sq-site-header,
.sq-site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.sq-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.sq-brand {
  margin: 0;
  color: var(--sq-ink);
  font-size: 18px;
  font-weight: 900;
}

.sq-site-header nav {
  display: flex;
  gap: 22px;
  align-items: center;
  color: var(--sq-muted);
  font-size: 14px;
}

.sq-site-header a,
.sq-site-footer a {
  text-decoration: none;
}

.sq-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.sq-hero {
  min-height: 86vh;
  display: grid;
  align-items: center;
  padding: 42px 0 56px;
  border-bottom: 1px solid var(--sq-line);
}

.sq-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 42px;
  align-items: center;
}

.sq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--sq-green);
  font-size: 14px;
  font-weight: 700;
}

.sq-eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--sq-green);
  border-radius: 50%;
}

.sq-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--sq-ink);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

.sq-lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--sq-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}

.sq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.sq-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--sq-ink);
  border-radius: 6px;
  background: var(--sq-ink);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.sq-button.secondary {
  background: transparent;
  color: var(--sq-ink) !important;
}

.sq-button.ghost {
  border-color: var(--sq-line);
  background: #fff;
  color: var(--sq-ink) !important;
}

.sq-hero-media {
  margin: 0;
}

.sq-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #cfd7d2;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(17, 20, 23, 0.16);
}

.sq-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--sq-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--sq-line);
}

.sq-stat {
  padding: 18px;
  background: #fff;
}

.sq-stat strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
}

.sq-stat span {
  display: block;
  margin-top: 6px;
  color: var(--sq-muted);
  font-size: 13px;
}

.sq-section {
  padding: 86px 0;
  border-bottom: 1px solid var(--sq-line);
}

.sq-section.alt {
  background: #fff;
}

.sq-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(280px, 0.42fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.sq-kicker {
  margin: 0 0 12px;
  color: var(--sq-blue);
  font-size: 14px;
  font-weight: 800;
}

.sq-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.sq-section-head p {
  margin: 0;
  color: var(--sq-muted);
}

.sq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.sq-product {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--sq-line);
  border-radius: 8px;
  background: #fff;
}

.sq-product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.sq-product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ecf7f1;
  color: var(--sq-green);
  font-size: 12px;
  font-weight: 800;
}

.sq-product h3 {
  margin: 22px 0 12px;
  font-size: 28px;
  line-height: 1.18;
}

.sq-product p {
  margin: 0;
  color: var(--sq-muted);
}

.sq-product ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--sq-muted);
  list-style: none;
  font-size: 15px;
}

.sq-product li::before {
  content: "•";
  margin-right: 8px;
  color: var(--sq-green);
}

.sq-product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  padding: 0 14px;
  border: 1px solid var(--sq-ink);
  border-radius: 6px;
  background: var(--sq-ink);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

.sq-product-link.secondary-link {
  border-color: var(--sq-line);
  background: #fff;
  color: var(--sq-ink) !important;
}

.sq-link-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.sq-mini-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--sq-line);
  border-radius: 8px;
  background: #fff;
  color: var(--sq-ink) !important;
  font-weight: 800;
  text-decoration: none;
}

.sq-mini-link span {
  color: var(--sq-muted);
  font-size: 13px;
  font-weight: 600;
}

.sq-topology {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 20px;
  align-items: stretch;
}

.sq-topology-map {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--sq-line);
  border-radius: 8px;
  background: #111417;
  color: #fff;
}

.sq-node {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.sq-node strong {
  color: #fff;
}

.sq-node span {
  color: #cbd5e1;
  font-size: 14px;
}

.sq-node.main {
  background: #f7f8f4;
  color: var(--sq-ink);
}

.sq-node.main strong {
  color: var(--sq-ink);
}

.sq-node.main span {
  color: var(--sq-muted);
}

.sq-service-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sq-service-list li {
  padding: 18px;
  border: 1px solid var(--sq-line);
  border-radius: 8px;
  background: #fff;
}

.sq-service-list strong {
  display: block;
  margin-bottom: 6px;
}

.sq-service-list span {
  color: var(--sq-muted);
}

.sq-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--sq-line);
  border-radius: 8px;
  background: var(--sq-panel);
}

.sq-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.sq-card p {
  margin: 0;
  color: var(--sq-muted);
}

.sq-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #ecf7f1;
  color: var(--sq-green);
  font-weight: 800;
}

.sq-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--sq-line);
  border-radius: 8px;
  overflow: hidden;
}

.sq-step {
  min-height: 178px;
  padding: 24px;
  background: #fff;
  border-right: 1px solid var(--sq-line);
}

.sq-step:last-child {
  border-right: 0;
}

.sq-step span {
  color: var(--sq-amber);
  font-weight: 800;
}

.sq-step h3 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.sq-step p {
  margin: 0;
  color: var(--sq-muted);
}

.sq-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.58fr);
  gap: 36px;
  align-items: start;
}

.sq-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sq-list li {
  padding: 18px 18px 18px 46px;
  position: relative;
  border: 1px solid var(--sq-line);
  border-radius: 8px;
  background: #fff;
}

.sq-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--sq-green);
  font-weight: 900;
}

.sq-panel {
  padding: 28px;
  border: 1px solid var(--sq-line);
  border-radius: 8px;
  background: #111417;
  color: #fff;
}

.sq-panel h3 {
  margin: 0 0 16px;
  font-size: 26px;
}

.sq-panel p,
.sq-panel li {
  color: #d8dee4;
}

.sq-panel ul {
  margin: 0;
  padding-left: 20px;
}

.sq-contact {
  padding: 64px 0;
  background: var(--sq-ink);
  color: #fff;
}

.sq-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 30px;
  align-items: center;
}

.sq-contact h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: 0;
}

.sq-contact p {
  max-width: 620px;
  margin: 16px 0 0;
  color: #d8dee4;
}

.sq-contact .sq-button {
  border-color: #fff;
  background: #fff;
  color: var(--sq-ink) !important;
}

.sq-site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  padding: 56px 0;
  color: var(--sq-muted);
  font-size: 14px;
}

.sq-site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sq-ink);
  font-size: 20px;
}

.sq-site-footer strong img {
  width: 26px;
  height: 26px;
  margin-right: 8px;
  vertical-align: -7px;
}

body.home {
  background: #f7f8f4;
}

.sq-site-header {
  width: min(1280px, calc(100% - 48px));
  padding: 34px 0 22px;
}

.sq-brand {
  display: inline-grid;
  grid-template-columns: 42px auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  color: var(--sq-ink);
  text-decoration: none;
}

.sq-brand img {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.sq-brand span {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.sq-brand small {
  margin-top: 3px;
  color: var(--sq-muted);
  font-size: 13px;
  font-weight: 700;
}

.sq-site-header nav {
  gap: 10px;
}

.sq-site-header nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--sq-ink);
  font-weight: 800;
  text-decoration: none;
}

.sq-site-header nav a:last-child {
  border-color: var(--sq-ink);
}

.sq-enterprise-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.sq-enterprise-hero {
  padding: clamp(70px, 10vw, 150px) 0 42px;
  border-bottom: 1px solid var(--sq-line);
}

.sq-logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--sq-green);
  font-size: 14px;
  font-weight: 900;
}

.sq-logo-mark img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.sq-enterprise-hero h1 {
  max-width: 1040px;
  margin: 0;
  color: #050607;
  font-size: clamp(72px, 14vw, 176px);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
}

.sq-hero-meta {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.28fr);
  gap: 32px;
  align-items: end;
  margin-top: 46px;
}

.sq-hero-copy {
  max-width: 760px;
  margin: 0;
  color: var(--sq-muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.75;
}

.sq-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.sq-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 2px solid var(--sq-ink);
  border-radius: 999px;
  background: #fff;
  color: var(--sq-ink);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.sq-pill.green {
  border-color: transparent;
  background: #b9ff6a;
}

.sq-pill.dark {
  border-color: var(--sq-ink);
  background: var(--sq-ink);
  color: #fff;
}

.sq-alert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.sq-alert {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff2d4, #c7ff7e);
  color: #21310f;
  font-weight: 900;
}

.sq-filter-board {
  padding: 50px 0 32px;
}

.sq-filter-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.sq-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sq-filter {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: #e8e9e6;
  color: var(--sq-ink);
  font-size: 14px;
  font-weight: 900;
}

.sq-filter.active {
  background: #b9ff6a;
}

.sq-search-fake {
  display: inline-flex;
  min-width: 260px;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 16px 0 20px;
  border-radius: 999px;
  background: #fff;
  color: #8b929a;
  box-shadow: 0 12px 34px rgba(17, 20, 23, 0.08);
}

.sq-enterprise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 72px;
}

.sq-enterprise-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--sq-ink);
  border-radius: 18px;
  background: #fff;
}

.sq-card-visual {
  min-height: 170px;
  position: relative;
  margin: 14px 14px 0;
  overflow: hidden;
  border-radius: 14px;
  background: #111417;
}

.sq-card-visual::before {
  content: "HOT";
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ff6b35;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  line-height: 28px;
}

.sq-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(167, 243, 90, .95), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, .75), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,0));
}

.sq-card-visual.network::after {
  background:
    linear-gradient(90deg, transparent 24%, rgba(255,255,255,.08) 25%, transparent 26%),
    linear-gradient(0deg, transparent 24%, rgba(255,255,255,.08) 25%, transparent 26%),
    radial-gradient(circle at 76% 70%, rgba(56, 189, 248, .8), transparent 28%),
    radial-gradient(circle at 24% 30%, rgba(167, 243, 90, .9), transparent 28%);
}

.sq-card-visual.api::after {
  background:
    radial-gradient(circle at 30% 65%, rgba(245, 158, 11, .9), transparent 25%),
    radial-gradient(circle at 70% 30%, rgba(167, 243, 90, .85), transparent 27%),
    linear-gradient(135deg, rgba(56,189,248,.35), transparent);
}

.sq-card-visual.deploy::after {
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.75), transparent 14%),
    linear-gradient(135deg, rgba(167,243,90,.9), rgba(17,20,23,.1) 45%, rgba(56,189,248,.75));
}

.sq-card-visual strong {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  color: #fff;
  font-size: 28px;
  line-height: 1.05;
}

.sq-enterprise-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.sq-enterprise-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.sq-enterprise-card p {
  margin: 0;
  color: var(--sq-muted);
}

.sq-card-action {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding: 12px;
  border-radius: 14px;
  background: #f7f8f4;
  color: var(--sq-ink) !important;
  text-decoration: none;
}

.sq-card-action img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.sq-card-action span {
  display: block;
  color: var(--sq-muted);
  font-size: 13px;
}

.sq-enterprise-section {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0;
  border-top: 1px solid var(--sq-line);
}

.sq-enterprise-head {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 0.36fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.sq-enterprise-head h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 82px);
  line-height: .98;
}

.sq-enterprise-head p {
  margin: 0;
  color: var(--sq-muted);
}

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

.sq-solution {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--sq-line);
  border-radius: 16px;
  background: #fff;
}

.sq-solution b {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaffd8;
  color: var(--sq-green);
}

.sq-solution h3 {
  margin: 24px 0 10px;
  font-size: 26px;
}

.sq-solution p {
  margin: 0;
  color: var(--sq-muted);
}

.sq-floating-order {
  position: fixed;
  right: 38px;
  bottom: 34px;
  z-index: 40;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  background: #111417;
  color: #fff !important;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(17, 20, 23, .24);
}

@media (max-width: 920px) {
  .sq-hero {
    min-height: auto;
  }

  .sq-hero-grid,
  .sq-section-head,
  .sq-split,
  .sq-contact-grid {
    grid-template-columns: 1fr;
  }

  .sq-grid,
  .sq-process,
  .sq-products,
  .sq-link-row,
  .sq-topology {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sq-topology {
    grid-template-columns: 1fr;
  }

  .sq-step:nth-child(2) {
    border-right: 0;
  }
}

/* Apple-inspired enterprise homepage */
body.home {
  background: #f5f5f7;
}

body.home .wp-site-blocks {
  background: #f5f5f7;
}

body.home .sq-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 0 28px;
  min-height: 52px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(251, 251, 253, .86);
  backdrop-filter: saturate(180%) blur(18px);
}

body.home .sq-site-header .sq-brand {
  grid-template-columns: 26px auto;
  column-gap: 8px;
}

body.home .sq-site-header .sq-brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

body.home .sq-site-header .sq-brand span {
  font-size: 15px;
  font-weight: 800;
}

body.home .sq-site-header .sq-brand small {
  display: none;
}

body.home .sq-site-header nav {
  gap: 6px;
}

body.home .sq-site-header nav a {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
}

body.home .sq-site-header nav a:last-child {
  border: 0;
}

body.home .sq-site-footer {
  display: none;
}

.sq-apple {
  width: 100%;
  max-width: none;
  margin-block-start: 0;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.sq-apple * {
  box-sizing: border-box;
}

.sq-apple a {
  color: inherit;
}

.sq-apple-wrap {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.sq-apple-hero {
  min-height: calc(100vh - 52px);
  display: grid;
  place-items: center;
  padding: 84px 0 74px;
  text-align: center;
}

.sq-apple-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #6e6e73;
  font-size: 17px;
  font-weight: 700;
}

.sq-apple-logo img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.sq-apple-kicker {
  margin: 0 0 10px;
  color: #6e6e73;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
}

.sq-apple-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  color: #1d1d1f;
  font-size: clamp(58px, 10vw, 118px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: 0;
}

.sq-apple-lede {
  max-width: 760px;
  margin: 28px auto 0;
  color: #6e6e73;
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.35;
}

.sq-apple-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.sq-apple-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  background: #0071e3;
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.sq-apple-button.secondary {
  background: transparent;
  color: #0066cc !important;
}

.sq-apple-device {
  width: min(900px, 100%);
  margin: 58px auto 0;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.12);
}

.sq-apple-screen {
  min-height: 330px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: #111;
}

.sq-apple-screen-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 22px;
  background: #f5f5f7;
  text-align: left;
}

.sq-apple-screen-card.dark {
  background: #1d1d1f;
  color: #f5f5f7;
}

.sq-apple-screen-card b {
  color: #86868b;
  font-size: 13px;
}

.sq-apple-screen-card strong {
  display: block;
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.05;
}

.sq-apple-screen-card span {
  color: #0071e3;
  font-weight: 700;
}

.sq-apple-section {
  padding: 92px 0;
}

.sq-apple-section.white {
  background: #fff;
}

.sq-apple-head {
  max-width: 880px;
  margin: 0 auto 42px;
  text-align: center;
}

.sq-apple-eyebrow {
  margin: 0 0 10px;
  color: #86868b;
  font-size: 18px;
  font-weight: 800;
}

.sq-apple-head h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.sq-apple-head p {
  margin: 18px auto 0;
  color: #6e6e73;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.45;
}

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

.sq-apple-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 2px 18px rgba(0,0,0,.05);
}

.sq-apple-section.white .sq-apple-card {
  background: #f5f5f7;
}

.sq-apple-card h3 {
  margin: 0;
  color: #1d1d1f;
  font-size: 32px;
  line-height: 1.08;
}

.sq-apple-card p {
  margin: 14px 0 0;
  color: #6e6e73;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.sq-apple-card a {
  margin-top: 18px;
  color: #0066cc !important;
  font-weight: 700;
  text-decoration: none;
}

.sq-apple-card-visual {
  min-height: 180px;
  margin-top: auto;
  border-radius: 24px;
  background: #1d1d1f;
  position: relative;
  overflow: hidden;
}

.sq-apple-card-visual::before,
.sq-apple-card-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.sq-apple-card-visual::before {
  width: 170px;
  height: 170px;
  right: -42px;
  top: -36px;
  background: #2997ff;
}

.sq-apple-card-visual::after {
  width: 120px;
  height: 120px;
  left: 28px;
  bottom: -22px;
  background: #a7f35a;
}

.sq-apple-card-visual.green::before {
  background: #a7f35a;
}

.sq-apple-card-visual.green::after {
  background: #0071e3;
}

.sq-apple-card-visual.orange::before {
  background: #ff9f0a;
}

.sq-apple-card-visual.orange::after {
  background: #2997ff;
}

.sq-apple-band {
  padding: 96px 0;
  background: #000;
  color: #f5f5f7;
}

.sq-apple-band-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .5fr);
  gap: 42px;
  align-items: center;
}

.sq-apple-band h2 {
  margin: 0;
  color: #f5f5f7;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1;
}

.sq-apple-band p {
  max-width: 720px;
  color: #a1a1a6;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
}

.sq-apple-stack {
  display: grid;
  gap: 12px;
}

.sq-apple-stack div {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}

.sq-apple-stack strong {
  display: block;
  margin-bottom: 6px;
}

.sq-apple-stack span {
  color: #a1a1a6;
}

.sq-apple-footer {
  padding: 44px 0 60px;
  background: #f5f5f7;
  color: #6e6e73;
  font-size: 13px;
}

.sq-apple-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .7fr);
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.12);
}

.sq-apple-footer strong {
  display: block;
  margin-bottom: 10px;
  color: #1d1d1f;
  font-size: 14px;
}

.sq-apple-footer a {
  display: block;
  margin-top: 8px;
  color: #424245;
  text-decoration: none;
}

.sq-apple-footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #1d1d1f;
  font-weight: 800;
}

.sq-apple-footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  body.home .sq-site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
  }

  body.home .sq-site-header nav {
    flex-wrap: wrap;
  }

  .sq-apple-wrap {
    width: min(100% - 28px, 1180px);
  }

  .sq-apple-hero {
    min-height: auto;
    padding-top: 64px;
  }

  .sq-apple-screen,
  .sq-apple-grid,
  .sq-apple-band-grid,
  .sq-apple-footer-grid {
    grid-template-columns: 1fr;
  }

  .sq-apple-device {
    border-radius: 24px;
  }

  .sq-apple-screen {
    padding: 14px;
  }

  .sq-apple-card {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .sq-wrap {
    width: min(100% - 24px, 1180px);
  }

  .sq-hero {
    padding-top: 20px;
  }

  .sq-grid,
  .sq-process,
  .sq-stats,
  .sq-products,
  .sq-link-row {
    grid-template-columns: 1fr;
  }

  .sq-node {
    grid-template-columns: 1fr;
  }

  .sq-step {
    border-right: 0;
    border-bottom: 1px solid var(--sq-line);
  }

  .sq-step:last-child {
    border-bottom: 0;
  }

  .sq-actions {
    flex-direction: column;
  }

  .sq-button {
    width: 100%;
  }

  .sq-site-header,
  .sq-site-footer {
    width: min(100% - 24px, 1180px);
  }

  .sq-site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .sq-site-header nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .sq-enterprise-shell,
  .sq-enterprise-section {
    width: min(100% - 24px, 1280px);
  }

  .sq-enterprise-hero h1 {
    font-size: clamp(58px, 19vw, 92px);
  }

  .sq-hero-meta,
  .sq-filter-line,
  .sq-enterprise-head {
    grid-template-columns: 1fr;
  }

  .sq-alert-row {
    justify-content: flex-start;
  }

  .sq-enterprise-grid,
  .sq-solution-grid {
    grid-template-columns: 1fr;
  }

  .sq-search-fake {
    min-width: 0;
    width: 100%;
  }

  .sq-floating-order {
    right: 16px;
    bottom: 18px;
  }

  .sq-site-footer {
    grid-template-columns: 1fr;
  }
}
