/* Social Blade IT Services — Website development showcase */

:root {
  --navy-950: #06182d;
  --navy-900: #072b52;
  --navy-800: #083b75;
  --blue-700: #0756a5;
  --blue-600: #0a66c2;
  --blue-500: #258ddd;
  --cyan-400: #58c4ff;
  --cyan-200: #b9e7ff;
  --blue-100: #eaf6ff;
  --blue-050: #f5fbff;
  --yellow-500: #ffd24d;
  --yellow-300: #ffe58e;
  --green-600: #138c59;
  --green-100: #e7f7ef;
  --red-600: #bd3a35;
  --red-100: #ffefee;
  --ink: #10233d;
  --muted: #5a697a;
  --muted-2: #7d8996;
  --line: #dce8f2;
  --line-strong: #bfd1df;
  --surface: #ffffff;
  --surface-2: #f7fbff;
  --surface-3: #eef7ff;
  --shadow-sm: 0 8px 24px rgba(7, 43, 82, .08);
  --shadow: 0 22px 60px rgba(7, 43, 82, .13);
  --shadow-lg: 0 34px 90px rgba(7, 43, 82, .18);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shell: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-2);
  font-family: Verdana, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--blue-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .55em;
  color: var(--ink);
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.35rem);
  letter-spacing: -.055em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
  letter-spacing: -.038em;
}

h3 {
  font-size: clamp(1.24rem, 2vw, 1.58rem);
  letter-spacing: -.022em;
}

h4 {
  font-size: 1.05rem;
}

ul,
ol {
  padding-left: 1.2rem;
}

::selection {
  color: var(--navy-950);
  background: var(--yellow-300);
}

:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -100px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--navy-950);
  font-weight: 800;
}

.skip-link:focus {
  top: 18px;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(860px, 100%);
  margin-inline: auto;
}

.text-centre {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(10, 102, 194, .14);
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.kicker svg {
  width: 16px;
  height: 16px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.section {
  position: relative;
  padding: clamp(64px, 8vw, 110px) 0;
}

.section-white {
  background: var(--surface);
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(88, 196, 255, .22), transparent 28%),
    radial-gradient(circle at 9% 100%, rgba(255, 210, 77, .12), transparent 30%),
    var(--navy-950);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-dark .lead,
.section-dark p {
  color: #cfe0f2;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 850px;
  margin-bottom: 38px;
}

.section-heading-centred {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.section-heading p {
  margin: 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark .section-heading p {
  color: #cfe0f2;
}

.eyebrow-line {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--yellow-500);
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--blue-600);
  box-shadow: 0 11px 28px rgba(10, 102, 194, .22);
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(10, 102, 194, .28);
}

.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.button-large {
  min-height: 62px;
  padding: 16px 25px;
  font-size: 1.08rem;
}

.button-small {
  min-height: 44px;
  padding: 10px 15px;
  font-size: .9rem;
}

.button-yellow {
  color: #2e2700;
  background: var(--yellow-500);
  box-shadow: 0 11px 28px rgba(255, 210, 77, .27);
}

.button-yellow:hover {
  color: #2e2700;
  background: #ffda69;
  box-shadow: 0 15px 34px rgba(255, 210, 77, .34);
}

.button-dark {
  background: var(--navy-900);
  box-shadow: 0 11px 28px rgba(7, 43, 82, .24);
}

.button-ghost {
  color: var(--navy-800);
  background: #fff;
  border-color: var(--line);
  box-shadow: none;
}

.button-ghost:hover {
  color: var(--navy-800);
  background: var(--blue-050);
  border-color: var(--cyan-200);
  box-shadow: none;
}

.button-light {
  color: var(--navy-900);
  background: #fff;
  box-shadow: none;
}

.button-light:hover {
  color: var(--navy-900);
  background: var(--blue-050);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform .18s ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card-pad {
  padding: clamp(22px, 3vw, 32px);
}

.card-hover {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-200);
  box-shadow: var(--shadow);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 17px;
  border-radius: 17px;
  color: var(--blue-700);
  background: var(--blue-100);
}

.icon-box svg {
  width: 28px;
  height: 28px;
}

.icon-box-yellow {
  color: #635100;
  background: #fff5c9;
}

.icon-box-dark {
  color: #fff;
  background: var(--navy-900);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--navy-800);
  background: var(--blue-100);
  font-size: .78rem;
  font-weight: 800;
}

.pill svg {
  width: 15px;
  height: 15px;
}

.pill-yellow {
  color: #695600;
  background: #fff5c9;
}

.pill-green {
  color: #0b6840;
  background: var(--green-100);
}

.grid-2,
.grid-3,
.grid-4,
.grid-5,
.bento-grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Top bar and navigation */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: 4px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--yellow-500);
}

.site-topbar {
  position: relative;
  z-index: 80;
  color: #fff;
  background: var(--navy-950);
  font-size: .82rem;
}

.topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-inner p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-weight: 800;
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  color: #322a00;
  background: var(--yellow-500);
  box-shadow: none;
  font: inherit;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  vertical-align: middle;
  white-space: nowrap;
}

.preview-badge svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.preview-badge:hover {
  background: #ffe17a;
  text-decoration: none;
  transform: translateY(-1px);
}

.preview-badge:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.preview-status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(50, 42, 0, .12);
}

.preview-information-modal .modal-dialog {
  width: min(100%, 680px);
}

.preview-information-modal .kicker .preview-status-dot {
  width: 8px;
  height: 8px;
  flex-basis: 8px;
  color: var(--blue-700);
}

.preview-mobile-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #e2b92c;
  border-radius: 999px;
  color: #322a00;
  background: var(--yellow-500);
  font-size: .76rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.preview-mobile-button:hover {
  color: #322a00;
  background: #ffe17a;
  text-decoration: none;
}

.preview-mobile-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.topbar-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
}

.topbar-actions svg {
  width: 15px;
  height: 15px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(220, 232, 242, .9);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 34px rgba(7, 43, 82, .1);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  flex: 0 0 auto;
}

.site-logo img {
  width: 218px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  margin-left: auto;
}

.primary-nav > a {
  padding: 10px 8px;
  border-radius: 999px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.primary-nav > a:hover,
.primary-nav > a[aria-current="page"] {
  color: var(--blue-700);
  background: var(--blue-100);
  text-decoration: none;
}

.primary-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding-inline: 14px;
  color: #2e2700;
  background: var(--yellow-500);
}

.primary-nav .nav-cta:hover {
  color: #2e2700;
  background: #ffdb69;
}

.primary-nav .nav-cta svg {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy-900);
  background: #fff;
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.menu-close-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-open-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-close-icon {
  display: block;
}

/* Hero */
.home-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 2%, rgba(88, 196, 255, .23), transparent 31%),
    radial-gradient(circle at 94% 18%, rgba(255, 210, 77, .17), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f3faff 100%);
}

.home-hero {
  padding: clamp(68px, 8vw, 116px) 0 clamp(62px, 8vw, 100px);
}

.page-hero {
  padding: clamp(60px, 7vw, 92px) 0;
}

.home-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  right: -250px;
  bottom: -270px;
  border: 1px solid rgba(10, 102, 194, .08);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(10, 102, 194, .025),
    0 0 0 110px rgba(10, 102, 194, .018);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(480px, 1.06fr);
  align-items: center;
  gap: clamp(38px, 6vw, 76px);
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.hero-copy h1,
.hero-copy p {
  margin: 0;
}

.hero-copy .button-row {
  margin-top: 10px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 17px;
  margin-top: 8px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 800;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(37, 141, 221, .12);
}

.hero-note {
  color: var(--muted-2);
  font-size: .78rem;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:minmax(0, .95fr) minmax(340px, .65fr);
  align-items: center;
  gap: 50px;
}

.page-hero-copy {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.page-hero-copy h1,
.page-hero-copy p {
  margin: 0;
}

.page-hero-art {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
}

.page-hero-orbit {
  position: relative;
  width: min(310px, 80vw);
  aspect-ratio: 1;
  border: 1px solid rgba(10, 102, 194, .13);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 44px rgba(10, 102, 194, .025),
    inset 0 0 0 88px rgba(10, 102, 194, .018);
}

.page-hero-orbit::before {
  content: "";
  position: absolute;
  inset: 25%;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--navy-900), var(--blue-600));
  box-shadow: var(--shadow);
  transform: rotate(8deg);
}

.page-hero-orbit > svg {
  position: absolute;
  inset: 37%;
  z-index: 1;
  width: 26%;
  height: 26%;
  color: #fff;
}

.orbit-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: .75rem;
  font-weight: 900;
}

.orbit-chip svg {
  width: 16px;
  height: 16px;
  color: var(--blue-600);
}

.orbit-chip:nth-of-type(1) {
  left: -6%;
  top: 20%;
}

.orbit-chip:nth-of-type(2) {
  right: -6%;
  top: 26%;
}

.orbit-chip:nth-of-type(3) {
  left: 7%;
  bottom: 12%;
}

.orbit-chip:nth-of-type(4) {
  right: 4%;
  bottom: 8%;
}

/* Hero showcase device */
.device-stage {
  position: relative;
  min-height: 560px;
  perspective: 1200px;
}

.device-browser {
  position: absolute;
  inset: 15px 20px 80px 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-3deg) rotateX(1deg);
}

.browser-chrome {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #f2f6fa;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c2ced8;
}

.browser-dot:first-child {
  background: #ff7b72;
}

.browser-dot:nth-child(2) {
  background: #ffd24d;
}

.browser-dot:nth-child(3) {
  background: #49c785;
}

.browser-address {
  flex: 1;
  margin-left: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #768391;
  background: #fff;
  font-size: .67rem;
}

.demo-site-nav {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 19px;
  border-bottom: 1px solid #edf2f6;
  font-size: .67rem;
}

.demo-site-nav strong {
  margin-right: auto;
  color: var(--navy-800);
  font-size: .82rem;
}

.demo-site-nav .demo-nav-cta {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue-600);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.demo-site-hero {
  min-height: 265px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 11px;
  padding: 40px 34px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(88, 196, 255, .5), transparent 34%),
    linear-gradient(135deg, var(--navy-900), var(--blue-600));
}

.demo-site-hero small {
  font-weight: 900;
  letter-spacing: .08em;
}

.demo-site-hero h2 {
  max-width: 430px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.demo-site-hero p {
  max-width: 450px;
  margin: 0;
  color: #e0effc;
  font-size: .86rem;
}

.demo-site-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.demo-site-actions a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--navy-900);
  background: #fff;
  font-size: .65rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.demo-site-actions a:first-child {
  color: #2d2600;
  background: var(--yellow-500);
}

.demo-site-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.demo-site-features > div {
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.demo-site-features > div:last-child {
  border-right: 0;
}

.demo-site-features strong,
.demo-site-features small {
  display: block;
}

.demo-site-features strong {
  font-size: .72rem;
}

.demo-site-features small {
  color: var(--muted-2);
  font-size: .62rem;
}

.device-phone {
  position: absolute;
  z-index: 3;
  right: -3px;
  bottom: 3px;
  width: 180px;
  min-height: 346px;
  padding: 38px 15px 18px;
  border: 9px solid #102238;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: rotate(-5deg);
}

.device-phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 68px;
  height: 11px;
  border-radius: 999px;
  background: #102238;
  transform: translateX(-50%);
}

.phone-logo {
  color: var(--blue-700);
  font-size: .65rem;
  font-weight: 900;
}

.device-phone h3 {
  margin-top: 24px;
  font-size: 1.42rem;
}

.device-phone p {
  color: var(--muted);
  font-size: .72rem;
}

.phone-cta {
  display: block;
  margin-top: 18px;
  padding: 9px;
  border-radius: 999px;
  color: #2d2600;
  background: var(--yellow-500);
  font-size: .65rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.demo-site-nav .demo-nav-cta,
.demo-site-actions a,
.phone-cta {
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.demo-site-nav .demo-nav-cta:hover,
.demo-site-actions a:hover,
.phone-cta:hover {
  transform: translateY(-1px);
  filter: brightness(.96);
  box-shadow: 0 5px 12px rgba(7, 43, 82, .18);
}

.demo-site-nav .demo-nav-cta:focus-visible,
.demo-site-actions a:focus-visible,
.phone-cta:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 3px;
}

.floating-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: .73rem;
  font-weight: 900;
  animation: float 4s ease-in-out infinite;
}

.floating-chip svg {
  width: 17px;
  height: 17px;
  color: var(--blue-600);
}

.floating-chip-one {
  left: -18px;
  bottom: 47px;
}

.floating-chip-two {
  right: 35px;
  top: -13px;
  animation-delay: -1.8s;
}

@keyframes float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Home page */
.trust-strip {
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item svg {
  width: 30px;
  height: 30px;
  color: var(--blue-600);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item span {
  color: var(--muted);
  font-size: .78rem;
}

.bento-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.bento-card {
  min-height: 280px;
  padding: clamp(24px, 3vw, 34px);
}

.bento-card p {
  color: var(--muted);
}

.bento-wide {
  grid-column: span 7;
}

.bento-narrow {
  grid-column: span 5;
}

.bento-half {
  grid-column: span 6;
}

.bento-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 26px;
}

.mini-ui {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.mini-ui-head {
  height: 30px;
  background: var(--blue-100);
  border-bottom: 1px solid var(--line);
}

.mini-ui-body {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.mini-line {
  height: 8px;
  border-radius: 999px;
  background: #d9e7f1;
}

.mini-line.short {
  width: 58%;
}

.mini-line.blue {
  width: 76%;
  background: var(--cyan-200);
}

.mini-button {
  width: 70px;
  height: 22px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--yellow-500);
}

.conversion-path {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.conversion-node {
  flex: 1;
  padding: 14px 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--blue-050);
  font-size: .75rem;
  font-weight: 900;
  text-align: center;
}

.conversion-arrow {
  width: 20px;
  color: var(--blue-500);
}

.feature-meter {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}

.meter-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 800;
}

.meter-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eef4;
}

.meter-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.skill-cloud span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #e5f3ff;
  background: rgba(255, 255, 255, .07);
  font-size: .74rem;
  font-weight: 800;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(230px, .95fr);
  min-height: 360px;
}

.work-card-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: 30px;
}

.work-card-copy p {
  color: var(--muted);
}

.work-card-preview {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  background: var(--preview-bg, linear-gradient(145deg, #0b315c, #1887c9));
}

.work-card-preview::before,
.work-card-preview::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.work-card-preview::before {
  width: 220px;
  height: 220px;
  top: -80px;
  right: -60px;
}

.work-card-preview::after {
  width: 170px;
  height: 170px;
  bottom: -80px;
  left: -45px;
}

.preview-browser-card {
  position: absolute;
  inset: 42px 24px 28px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 25px 45px rgba(0, 0, 0, .22);
  transform: rotate(-3deg);
}

.preview-browser-top {
  height: 28px;
  background: #eef4f8;
}

.preview-browser-content {
  display: grid;
  align-content: center;
  gap: 8px;
  height: calc(100% - 28px);
  padding: 24px;
  color: #fff;
  background: linear-gradient(145deg, var(--preview-a, #083b75), var(--preview-b, #0a66c2));
}

.preview-browser-content small {
  font-weight: 900;
}

.preview-browser-content strong {
  max-width: 210px;
  font-size: 1.5rem;
  line-height: 1.1;
}

.preview-browser-button {
  width: 90px;
  height: 25px;
  border-radius: 999px;
  background: var(--yellow-500);
}

.project-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  counter-reset: home-step;
}

.project-step {
  counter-increment: home-step;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.project-step::before {
  content: counter(home-step);
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 17px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-600);
  font-weight: 900;
}

.project-step p {
  color: var(--muted);
}

/* Reusable callouts */
.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(88, 196, 255, .28), transparent 34%),
    var(--navy-900);
  box-shadow: var(--shadow);
}

.cta-panel::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -120px;
  bottom: -140px;
  border: 35px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
}

.cta-panel h2 {
  color: #fff;
}

.cta-panel p {
  max-width: 720px;
  margin-bottom: 0;
  color: #d6e8f8;
}

.cta-panel .button-row {
  position: relative;
  z-index: 1;
  justify-content: flex-end;
}

/* Services */
.goal-tabs {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
}

.tab-list {
  display: grid;
  align-content: start;
  gap: 9px;
}

.tab-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.tab-button:hover,
.tab-button[aria-selected="true"] {
  color: var(--blue-700);
  border-color: var(--cyan-200);
  background: var(--blue-100);
}

.tab-button svg {
  width: 22px;
  height: 22px;
}

.tab-panel {
  min-height: 450px;
}

.goal-panel {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
  gap: 24px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.goal-panel-copy {
  align-self: center;
}

.goal-panel-copy p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check-list li svg {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex: 0 0 auto;
  color: var(--green-600);
}

.goal-panel-art {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 0, rgba(255, 210, 77, .22), transparent 31%),
    var(--blue-050);
}

.interface-stack {
  position: relative;
  width: 82%;
  height: 74%;
}

.interface-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.interface-card:nth-child(1) {
  inset: 0 12% 22% 0;
  transform: rotate(-4deg);
}

.interface-card:nth-child(2) {
  inset: 18% 0 0 18%;
  transform: rotate(4deg);
}

.interface-top {
  height: 34px;
  background: var(--blue-100);
}

.interface-lines {
  display: grid;
  gap: 9px;
  padding: 17px;
}

.interface-lines i {
  height: 8px;
  border-radius: 999px;
  background: #dbe8f1;
}

.interface-lines i:nth-child(2) {
  width: 68%;
}

.interface-lines i:nth-child(3) {
  width: 82%;
  background: var(--cyan-200);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
}

.service-card p {
  color: var(--muted);
}

.service-card .text-link {
  margin-top: auto;
}

.integration-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.integration-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: .84rem;
  font-weight: 900;
}

.integration-chip svg {
  width: 20px;
  height: 20px;
  color: var(--blue-600);
}

.quality-matrix {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.quality-matrix table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.quality-matrix th,
.quality-matrix td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.quality-matrix th {
  color: var(--navy-800);
  background: var(--blue-100);
  font-size: .83rem;
}

.quality-matrix tr:last-child td {
  border-bottom: 0;
}

/* Packages */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 590px;
  padding: 30px;
}

.package-card-featured {
  border: 3px solid var(--blue-600);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.package-card p {
  color: var(--muted);
}

.package-card .check-list {
  margin: 18px 0 28px;
}

.package-card .button {
  margin-top: auto;
}

.package-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 15px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.package-fit {
  margin-top: -4px;
  color: var(--blue-700);
  font-size: .82rem;
  font-weight: 900;
}

.scope-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 24px;
  align-items: start;
}

.scope-options {
  display: grid;
  gap: 16px;
}

.option-group {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.option-group h3 {
  margin-bottom: 16px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.option-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 72px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
}

.option-card:hover {
  border-color: var(--cyan-200);
}

.option-card:has(input:checked) {
  border-color: var(--blue-600);
  background: var(--blue-100);
}

.option-card input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--blue-600);
}

.option-card strong,
.option-card small {
  display: block;
}

.option-card small {
  color: var(--muted);
  font-size: .75rem;
}

.scope-result {
  position: sticky;
  top: 115px;
  padding: 28px;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(88, 196, 255, .25), transparent 34%),
    var(--navy-900);
  box-shadow: var(--shadow);
}

.scope-result h3 {
  color: #fff;
}

.scope-result p {
  color: #d8e9f8;
}

.scope-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0;
}

.scope-score strong {
  font-size: 2.5rem;
  line-height: 1;
}

.scope-score span {
  color: #cbdff0;
  font-size: .8rem;
}

.result-package {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
}

.result-package strong {
  display: block;
  color: var(--yellow-500);
  font-size: 1.25rem;
}

.comparison-table {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.comparison-table table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 17px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
}

.comparison-table th {
  color: var(--navy-800);
  background: var(--blue-100);
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.table-check {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--green-600);
}

.table-check svg {
  width: 16px;
  height: 16px;
}

/* Work */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  color: var(--blue-700);
  border-color: var(--cyan-200);
  background: var(--blue-100);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-card {
  display: grid;
  grid-template-rows: 310px auto;
}

.portfolio-card[hidden] {
  display: none;
}

.portfolio-preview {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--portfolio-a, #083b75), var(--portfolio-b, #0a66c2));
}

.portfolio-preview::before {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  right: -90px;
  top: -120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.portfolio-browser {
  position: absolute;
  inset: 38px 48px 28px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 25px 55px rgba(0, 0, 0, .24);
  transform: rotate(-2deg);
}

.portfolio-browser-bar {
  height: 30px;
  background: #edf3f7;
}

.portfolio-browser-hero {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  height: calc(100% - 30px);
  padding: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(255, 255, 255, .22), transparent 32%),
    linear-gradient(145deg, var(--portfolio-a, #083b75), var(--portfolio-b, #0a66c2));
}

.portfolio-browser-hero small {
  font-weight: 900;
}

.portfolio-browser-hero strong {
  max-width: 280px;
  font-size: 1.75rem;
  line-height: 1.08;
}

.portfolio-browser-hero span {
  width: 90px;
  height: 26px;
  border-radius: 999px;
  background: var(--yellow-500);
}

.portfolio-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 27px;
}

.portfolio-copy p {
  color: var(--muted);
}

.portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(2, 17, 34, .74);
}

.modal.is-open {
  display: grid;
}

.modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -10px -10px 5px 15px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.modal-close svg {
  width: 22px;
  height: 22px;
}

.modal-section {
  margin-top: 25px;
}

.before-after {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.before-layer,
.after-layer {
  position: absolute;
  inset: 0;
}

.before-layer {
  background: #dfe5e9;
}

.after-layer {
  width: 55%;
  overflow: hidden;
  border-right: 4px solid var(--yellow-500);
  background: var(--blue-050);
}

.site-comparison {
  position: absolute;
  inset: 48px;
  display: grid;
  grid-template-rows: 48px 1fr;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.site-comparison-old {
  filter: grayscale(1);
  opacity: .83;
}

.comparison-nav {
  background: #29323a;
}

.site-comparison-new .comparison-nav {
  background: var(--navy-900);
}

.comparison-content {
  display: grid;
  align-content: center;
  gap: 15px;
  padding: 36px;
}

.comparison-content i {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: #b9c3ca;
}

.comparison-content i:nth-child(1) {
  width: 67%;
  height: 28px;
}

.comparison-content i:nth-child(2) {
  width: 88%;
}

.comparison-content i:nth-child(3) {
  width: 75%;
}

.site-comparison-new .comparison-content {
  color: #fff;
  background: linear-gradient(145deg, var(--navy-900), var(--blue-600));
}

.site-comparison-new .comparison-content i {
  background: rgba(255, 255, 255, .58);
}

.site-comparison-new .comparison-content i:nth-child(1) {
  background: #fff;
}

.site-comparison-new .comparison-content::after {
  content: "";
  width: 120px;
  height: 40px;
  border-radius: 999px;
  background: var(--yellow-500);
}

.comparison-range {
  position: absolute;
  inset: auto 28px 24px;
  width: calc(100% - 56px);
  accent-color: var(--yellow-500);
}

/* Process */
.process-timeline {
  position: relative;
  display: grid;
  gap: 22px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 35px;
  bottom: 35px;
  width: 2px;
  background: linear-gradient(var(--blue-600), var(--cyan-200));
}

.process-stage {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 20px;
}

.stage-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 8px solid var(--surface-2);
  border-radius: 50%;
  color: #fff;
  background: var(--blue-600);
  font-size: 1.25rem;
  font-weight: 900;
}

.section-white .stage-number {
  border-color: #fff;
}

.stage-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .6fr);
  gap: 24px;
  padding: 28px;
}

.stage-card p {
  color: var(--muted);
}

.deliverable-list {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 17px;
  border-radius: 17px;
  background: var(--blue-050);
}

.deliverable-list strong {
  color: var(--navy-800);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.deliverable-list span {
  display: flex;
  gap: 7px;
  font-size: .8rem;
}

.deliverable-list svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--green-600);
}

.project-room {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  overflow: hidden;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.project-room-sidebar {
  padding: 28px 18px;
  color: #fff;
  background: var(--navy-950);
}

.project-room-sidebar h3 {
  color: #fff;
}

.project-room-nav {
  display: grid;
  gap: 7px;
  margin-top: 24px;
}

.project-room-nav span {
  padding: 10px 12px;
  border-radius: 12px;
  color: #bdd2e5;
  font-size: .8rem;
  font-weight: 800;
}

.project-room-nav span:first-child {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.project-room-main {
  padding: 28px;
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.dashboard-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #0a6740;
  background: var(--green-100);
  font-size: .75rem;
  font-weight: 900;
}

.dashboard-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-600);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}

.dashboard-panel {
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}

.progress-list {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.progress-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: .78rem;
  font-weight: 800;
}

.progress-bar {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e1e9ef;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue-600);
}

.checklist-demo {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.checklist-demo label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 800;
}

.checklist-demo input {
  width: auto;
  accent-color: var(--blue-600);
}

/* Capabilities */
.capability-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.capability-card {
  min-height: 250px;
  padding: 28px;
}

.capability-card p {
  color: var(--muted);
}

.capability-card.span-4 {
  grid-column: span 4;
}

.capability-card.span-5 {
  grid-column: span 5;
}

.capability-card.span-7 {
  grid-column: span 7;
}

.capability-card.span-8 {
  grid-column: span 8;
}

.gauge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.gauge {
  position: relative;
  width: 98px;
  height: 98px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--blue-600) calc(var(--value) * 1%), #e4edf3 0);
}

.gauge::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #fff;
}

.gauge-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.gauge-content strong,
.gauge-content small {
  display: block;
}

.gauge-content strong {
  font-size: 1.22rem;
}

.gauge-content small {
  color: var(--muted);
  font-size: .6rem;
}

.target-note {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: .73rem;
}

.security-stack {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.security-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border-radius: 14px;
  background: var(--blue-050);
  font-size: .78rem;
  font-weight: 900;
}

.security-row svg {
  width: 20px;
  height: 20px;
  color: var(--green-600);
}

.responsive-lab {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.lab-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.device-switcher,
.palette-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lab-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
}

.lab-button:hover,
.lab-button[aria-pressed="true"] {
  color: var(--blue-700);
  border-color: var(--cyan-200);
  background: var(--blue-100);
}

.lab-button svg {
  width: 18px;
  height: 18px;
}

.palette-dot {
  width: 17px;
  height: 17px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-strong);
  background: var(--swatch);
}

.preview-stage {
  min-height: 570px;
  display: grid;
  place-items: start center;
  overflow: hidden;
  padding: 25px;
  border-radius: 22px;
  background: #e9f0f5;
}

.responsive-frame {
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border: 8px solid #15263a;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: width .35s ease, border-radius .35s ease;
}

.responsive-frame.is-tablet {
  width: 70%;
  border-radius: 28px;
}

.responsive-frame.is-mobile {
  width: 38%;
  min-width: 300px;
  border-radius: 36px;
}

.frame-site {
  --frame-primary: #0a66c2;
  --frame-dark: #083b75;
  --frame-accent: #ffd24d;
  min-height: 520px;
  background: #fff;
}

.frame-site[data-palette="forest"] {
  --frame-primary: #1f7a55;
  --frame-dark: #124a35;
  --frame-accent: #f2c66d;
}

.frame-site[data-palette="plum"] {
  --frame-primary: #7b3fa1;
  --frame-dark: #40205b;
  --frame-accent: #ffcc77;
}

.frame-nav {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 18px;
  border-bottom: 1px solid #edf1f4;
  font-size: .7rem;
  font-weight: 800;
}

.frame-nav strong {
  margin-right: auto;
  color: var(--frame-dark);
}

.frame-nav b {
  padding: 7px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--frame-primary);
}

.frame-hero {
  min-height: 300px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 11px;
  padding: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(255, 255, 255, .22), transparent 31%),
    linear-gradient(145deg, var(--frame-dark), var(--frame-primary));
}

.frame-hero h3 {
  max-width: 470px;
  margin: 0;
  color: #fff;
  font-size: 2.2rem;
}

.frame-hero p {
  max-width: 470px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

.frame-hero span {
  margin-top: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  color: #312800;
  background: var(--frame-accent);
  font-size: .72rem;
  font-weight: 900;
}

.frame-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px;
}

.frame-cards i {
  height: 90px;
  border-radius: 14px;
  background: #f1f6f9;
}

.responsive-frame.is-mobile .frame-nav span,
.responsive-frame.is-mobile .frame-nav b {
  display: none;
}

.responsive-frame.is-mobile .frame-hero {
  min-height: 330px;
  padding: 26px 20px;
}

.responsive-frame.is-mobile .frame-hero h3 {
  font-size: 1.8rem;
}

.responsive-frame.is-mobile .frame-cards {
  grid-template-columns: 1fr;
}

.code-tabs {
  overflow: hidden;
  border: 1px solid #17385c;
  border-radius: var(--radius);
  background: var(--navy-950);
  box-shadow: var(--shadow);
}

.code-tab-list {
  display: flex;
  gap: 2px;
  padding: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.code-tab {
  padding: 8px 11px;
  border: 0;
  border-radius: 10px;
  color: #bcd1e5;
  background: transparent;
  font-size: .75rem;
  font-weight: 900;
  cursor: pointer;
}

.code-tab[aria-selected="true"] {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.code-panel {
  min-height: 300px;
  padding: 22px;
}

.code-panel pre {
  margin: 0;
  overflow: auto;
  color: #d9ecff;
  font: 13px/1.7 Consolas, Monaco, monospace;
  white-space: pre-wrap;
}

.code-panel .code-key {
  color: #79d5ff;
}

.code-panel .code-value {
  color: #ffe089;
}

.code-panel .code-comment {
  color: #7fa0bf;
}

/* Website care */
.status-dashboard {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  color: #fff;
  background: var(--navy-950);
}

.status-head h3 {
  margin: 0;
  color: #fff;
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 900;
}

.status-live::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #48cf8a;
  box-shadow: 0 0 0 5px rgba(72, 207, 138, .16);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.status-card {
  padding: 25px;
  border-right: 1px solid var(--line);
}

.status-card:last-child {
  border-right: 0;
}

.status-card strong,
.status-card span {
  display: block;
}

.status-card strong {
  margin: 8px 0 2px;
  font-size: 1.6rem;
}

.status-card span {
  color: var(--muted);
  font-size: .76rem;
}

.status-card svg {
  width: 28px;
  height: 28px;
  color: var(--blue-600);
}

.activity-log {
  display: grid;
  gap: 0;
  padding: 0 28px 24px;
}

.activity-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: .82rem;
}

.activity-row time {
  color: var(--muted);
}

.activity-row b {
  color: var(--green-600);
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.care-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.care-card p {
  color: var(--muted);
}

.care-card .check-list {
  margin: 18px 0 26px;
}

.care-card .button {
  margin-top: auto;
}

.maintenance-wheel {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 26%, transparent 27%),
    conic-gradient(
      var(--blue-100) 0 25%,
      #fff7d7 25% 50%,
      #eaf8f1 50% 75%,
      #f1eaff 75% 100%
    );
  box-shadow: var(--shadow-sm);
}

.maintenance-wheel::before {
  content: "Website care";
  position: absolute;
  inset: 38%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-900);
  background: #fff;
  font-weight: 900;
  text-align: center;
}

.wheel-label {
  position: absolute;
  max-width: 110px;
  font-size: .75rem;
  font-weight: 900;
  text-align: center;
}

.wheel-label:nth-child(1) { top: 12%; left: 50%; transform: translateX(-50%); }
.wheel-label:nth-child(2) { right: 7%; top: 50%; transform: translateY(-50%); }
.wheel-label:nth-child(3) { bottom: 12%; left: 50%; transform: translateX(-50%); }
.wheel-label:nth-child(4) { left: 7%; top: 50%; transform: translateY(-50%); }

/* FAQ */
.faq-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
}

.search-field {
  position: relative;
}

.search-field svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 21px;
  height: 21px;
  color: var(--muted);
  transform: translateY(-50%);
}

.search-field input {
  width: 100%;
  min-height: 56px;
  padding: 13px 16px 13px 48px;
  border: 2px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
}

.search-field input:focus {
  border-color: var(--blue-500);
}

.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq-item[hidden] {
  display: none;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  padding: 18px 58px 18px 21px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  color: var(--blue-600);
}

.faq-answer {
  padding: 0 22px 22px 58px;
  color: var(--muted);
}

.faq-empty {
  display: none;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.faq-empty.is-visible {
  display: block;
}

/* Quote planner */
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.quote-card {
  padding: clamp(24px, 4vw, 38px);
}

.quote-progress {
  margin-bottom: 30px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4edf3;
}

.progress-track span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  transition: width .3s ease;
}

.quote-step {
  border: 0;
  padding: 0;
  margin: 0;
}

.quote-step legend {
  width: 100%;
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.15;
}

.step-intro {
  margin-bottom: 25px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 900;
}

.form-field small {
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 14px;
  border: 2px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue-500);
  outline: none;
  box-shadow: 0 0 0 4px rgba(10, 102, 194, .1);
}

.form-field [aria-invalid="true"] {
  border-color: var(--red-600);
  background: var(--red-100);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  min-height: 92px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.choice-card:hover {
  border-color: var(--cyan-200);
}

.choice-card:has(input:checked) {
  border-color: var(--blue-600);
  background: var(--blue-100);
}

.choice-card input {
  width: auto;
  margin-top: 5px;
  accent-color: var(--blue-600);
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card small {
  color: var(--muted);
  font-size: .76rem;
}

.quote-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.quote-summary {
  position: sticky;
  top: 115px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(88, 196, 255, .26), transparent 32%),
    var(--navy-900);
  box-shadow: var(--shadow);
}

.quote-summary-head {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.quote-summary h2,
.quote-summary h3 {
  color: #fff;
}

.quote-summary p {
  color: #d5e7f6;
}

.quote-recommendation {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.quote-recommendation strong {
  display: block;
  color: var(--yellow-500);
  font-size: 1.25rem;
}

.summary-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 20px 24px;
  list-style: none;
}

.summary-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 9px;
  font-size: .78rem;
}

.summary-list b {
  color: #a9c5dc;
}

.summary-list span {
  overflow-wrap: anywhere;
}

.summary-actions {
  display: grid;
  gap: 9px;
  padding: 0 24px 24px;
}

.summary-actions .button {
  width: 100%;
}

.form-note {
  margin-top: 17px;
  padding: 14px;
  border-radius: 14px;
  color: var(--muted);
  background: var(--blue-050);
  font-size: .75rem;
}

.validation-message {
  display: none;
  margin: 0 0 18px;
  padding: 13px 14px;
  border-left: 5px solid var(--red-600);
  border-radius: 12px;
  color: #772622;
  background: var(--red-100);
  font-weight: 800;
}

.validation-message.is-visible {
  display: block;
}

.success-panel {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 38px 20px;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: #fff;
  background: var(--green-600);
}

.success-icon svg {
  width: 38px;
  height: 38px;
}

/* Toast */
.toast {
  position: fixed;
  z-index: 700;
  right: 18px;
  bottom: 18px;
  max-width: min(380px, calc(100% - 36px));
  padding: 13px 16px;
  border-radius: 14px;
  color: #fff;
  background: var(--navy-950);
  box-shadow: var(--shadow);
  font-size: .82rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  padding: 70px 0 26px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 0, rgba(88, 196, 255, .13), transparent 26%),
    var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.05fr;
  gap: 34px;
}

.footer-brand p {
  max-width: 430px;
  color: #bcd1e5;
}

.footer-logo {
  margin-bottom: 17px;
}

.footer-logo img {
  width: 205px;
  padding: 7px;
  border-radius: 13px;
  background: #fff;
}

.site-footer h2 {
  color: #fff;
  font-size: 1rem;
}

.site-footer section > a:not(.site-logo):not(.button) {
  display: block;
  margin: 7px 0;
  color: #cfe1f1;
  font-size: .82rem;
}

.site-footer section > p {
  color: #bcd1e5;
  font-size: .82rem;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 16px;
  margin-top: 18px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
}

.footer-main-site {
  margin-top: 14px !important;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 45px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #98b0c5;
}

/* Reveal animation */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1160px) {
  .site-logo img {
    width: 196px;
  }

  .primary-nav > a {
    padding-inline: 7px;
    font-size: .77rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(410px, .9fr);
    gap: 40px;
  }

  .device-stage {
    min-height: 520px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .status-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .status-card:nth-child(2) {
    border-right: 0;
  }

  .status-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 1020px) {
  html {
    scroll-padding-top: 92px;
  }

  body.is-locked::before {
    content: "";
    position: fixed;
    z-index: 60;
    inset: 75px 0 0;
    background: rgba(7, 43, 82, .34);
    backdrop-filter: blur(2px);
  }

  h1 {
    font-size: clamp(2.6rem, 5.8vw, 3rem);
    letter-spacing: -.045em;
  }

  h2 {
    font-size: clamp(1.9rem, 4.8vw, 2.65rem);
  }

  .site-topbar {
    display: none;
  }

  .header-inner {
    min-height: 75px;
  }

  .preview-mobile-button {
    display: inline-flex;
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
    margin-left: 0;
  }

  .primary-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 9px);
    display: none;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav > a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: .95rem;
    white-space: normal;
  }

  .primary-nav .nav-cta {
    margin: 6px 0 0;
  }

  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .device-stage {
    width: min(780px, 100%);
    margin-inline: auto;
  }

  .page-hero-art {
    min-height: 250px;
  }

  .work-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .goal-tabs {
    grid-template-columns: 1fr;
  }

  .tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .tab-button {
    width: 100%;
    min-height: 54px;
  }

  .lab-button,
  .code-tab {
    min-height: 44px;
  }

  .package-grid,
  .care-grid {
    grid-template-columns: 1fr;
  }

  .package-card {
    min-height: auto;
  }

  .package-card-featured {
    transform: none;
  }

  .scope-builder,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .scope-result,
  .quote-summary {
    position: static;
  }

  .project-room {
    grid-template-columns: 190px 1fr;
  }

  .capability-card.span-4,
  .capability-card.span-5,
  .capability-card.span-7,
  .capability-card.span-8 {
    grid-column: span 6;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .shell {
    width: min(100% - 24px, var(--shell));
  }

  body {
    font-size: 15.5px;
  }

  h1 {
    font-size: clamp(2.2rem, 9.5vw, 2.65rem);
    letter-spacing: -.038em;
  }

  h2 {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
  }

  .section {
    padding: 52px 0;
  }

  .button-row {
    display: grid;
    width: 100%;
  }

  .button-row .button {
    width: 100%;
  }

  .device-stage {
    min-height: 465px;
  }

  .device-browser {
    inset: 12px 8px 70px 0;
    transform: none;
  }

  .device-phone {
    width: 145px;
    min-height: 285px;
    right: 2px;
    border-width: 7px;
  }

  .floating-chip-one {
    left: 3px;
    bottom: 27px;
  }

  .floating-chip-two {
    right: 12px;
  }

  .demo-site-nav span {
    display: none;
  }

  .demo-site-hero {
    min-height: 235px;
    padding: 30px 22px;
  }

  .demo-site-features > div {
    padding: 13px 8px;
  }

  .trust-strip-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .project-steps {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .bento-wide,
  .bento-narrow,
  .bento-half {
    grid-column: 1 / -1;
  }

  .work-card {
    grid-template-columns: 1fr;
  }

  .work-card-preview {
    min-height: 285px;
    grid-row: 1;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel .button-row {
    justify-content: start;
  }

  .goal-panel {
    grid-template-columns: 1fr;
  }

  .goal-panel-art {
    min-height: 260px;
  }

  .option-grid,
  .choice-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }

  .portfolio-card {
    grid-template-rows: 260px auto;
  }

  .portfolio-browser {
    inset: 30px 25px 24px;
  }

  .before-after {
    min-height: 400px;
  }

  .site-comparison {
    inset: 34px 22px 70px;
  }

  .stage-card {
    grid-template-columns: 1fr;
  }

  .project-room {
    grid-template-columns: 1fr;
  }

  .project-room-sidebar {
    display: none;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .capability-card.span-4,
  .capability-card.span-5,
  .capability-card.span-7,
  .capability-card.span-8 {
    grid-column: 1 / -1;
  }

  .lab-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-stage {
    min-height: 520px;
    padding: 14px;
  }

  .responsive-frame.is-tablet {
    width: 88%;
  }

  .responsive-frame.is-mobile {
    width: 58%;
    min-width: 270px;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .status-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-card:last-child {
    border-bottom: 0;
  }

  .activity-row {
    grid-template-columns: 1fr auto;
  }

  .activity-row time {
    grid-column: 1 / -1;
  }

  .faq-tools {
    grid-template-columns: 1fr;
  }

  .summary-list li {
    grid-template-columns: 80px 1fr;
  }

  .site-footer section > a:not(.site-logo):not(.button),
  .footer-contact a {
    min-height: 44px;
    padding-block: 8px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
  }

  .footer-brand,
  .footer-grid > section:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .preview-mobile-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 14px;
  }

  .preview-mobile-label {
    display: none;
  }
}

@media (max-width: 480px) {
  .shell {
    width: calc(100% - 20px);
    max-width: var(--shell);
  }

  .site-logo img {
    width: 170px;
  }

  .home-hero,
  .page-hero {
    padding-top: 46px;
  }

  .device-stage {
    min-height: 530px;
  }

  .device-browser {
    inset-inline: 0;
    bottom: 118px;
  }

  .device-phone {
    width: 132px;
    min-height: 260px;
    bottom: 0;
  }

  .demo-site-features {
    grid-template-columns: 1fr;
  }

  .demo-site-features > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .floating-chip {
    font-size: .65rem;
  }

  .bento-visual {
    grid-template-columns: 1fr;
  }

  .conversion-path {
    align-items: stretch;
    flex-direction: column;
  }

  .conversion-arrow {
    margin-inline: auto;
    transform: rotate(90deg);
  }

  .meter-row {
    grid-template-columns: 90px 1fr;
  }

  .meter-row > strong:last-child {
    grid-column: 2;
  }

  .portfolio-preview {
    min-height: 230px;
  }

  .responsive-frame.is-mobile {
    width: 82%;
    min-width: 0;
  }

  .frame-hero h3 {
    font-size: 1.55rem;
  }

  .quote-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .quote-actions .button {
    width: 100%;
  }

  .maintenance-wheel {
    width: 100%;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

