/* ============================================================
   SILKERN — inner pages v2 (on top of styles.css + home.css)
   Page heroes, mega-nav, case studies, service pages, pricing
   tables, prose, galleries, filters, CTA bands, big footer.
   Scoped to body.hx like home.css.
   ============================================================ */

/* -- nav: services mega-dropdown -------------------------------- */
.hx .nav-links {
  gap: clamp(1rem, 1.8vw, 1.75rem);
}

.hx-dd {
  position: relative;
}

.hx-dd > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.hx-dd > a::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.7;
}

.hx-dd-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(640px, 80vw);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid var(--hx-line-2);
  background: rgba(14, 14, 18, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.35s var(--hx-ease), transform 0.35s var(--hx-ease), visibility 0s linear 0.35s;
  z-index: 1001;
}

/* hover bridge so the panel doesn't close on the gap */
.hx-dd-panel::before {
  content: '';
  position: absolute;
  inset: -16px 0 auto 0;
  height: 16px;
}

.hx-dd:hover .hx-dd-panel,
.hx-dd:focus-within .hx-dd-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.35s var(--hx-ease), transform 0.35s var(--hx-ease);
}

.hx-dd-panel a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  color: var(--ink);
  transition: background 0.3s var(--hx-ease);
}

.hx-dd-panel a:hover,
.hx-dd-panel a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
}

.hx-dd-panel svg {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 10px;
  color: var(--hx-gold);
  background: rgba(233, 199, 126, 0.1);
}

.hx-dd-panel b {
  font-size: 0.9rem;
  font-weight: 700;
}

.hx-dd-panel small {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink-3);
}

.hx .nav-links a.link[aria-current='page'] {
  color: var(--hx-gold);
}

/* language switch at the foot of the mobile menu */
.menu-links .hx-menu-lang {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-top: var(--s-4);
}

.menu-links .hx-menu-lang a,
.menu-links .hx-menu-lang span {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.menu-links .hx-menu-lang span {
  color: var(--hx-gold);
}

/* -- page hero --------------------------------------------------- */
.hx-phero {
  position: relative;
  padding-top: clamp(8rem, 18vh, 11rem);
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
  isolation: isolate;
  overflow: hidden;
}

.hx-phero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 85% 10%, rgba(233, 199, 126, 0.14), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(139, 92, 246, 0.14), transparent 70%);
}

.hx-phero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(60% 70% at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(60% 70% at 70% 30%, #000, transparent 75%);
}

.hx-phero-ai::before {
  background:
    radial-gradient(50% 60% at 85% 10%, rgba(53, 211, 242, 0.16), transparent 70%),
    radial-gradient(50% 60% at 5% 90%, rgba(139, 92, 246, 0.24), transparent 70%);
}

.hx-phero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hx-h1-page {
  font-size: clamp(2.5rem, 5.4vw, 5.2rem);
  line-height: 1;
  margin-top: 1.2rem;
}

.hx-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.8rem;
  color: var(--ink-3);
}

.hx-crumbs li + li::before {
  content: '/';
  margin-right: 0.5rem;
  opacity: 0.5;
}

.hx-crumbs a:hover {
  color: var(--ink);
}

.hx-crumbs [aria-current] {
  color: var(--ink-2);
}

.hx-crumbs + .hx-pill,
.hx-crumbs + .hx-eyebrow {
  margin-top: 1.4rem;
}

.hx-phero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.hx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45em 0.95em;
  border-radius: var(--r-pill);
  border: 1px solid var(--hx-line-2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
}

.hx-badge-gold {
  border-color: rgba(233, 199, 126, 0.4);
  background: rgba(233, 199, 126, 0.08);
  color: var(--hx-gold);
}

.hx-badge-live::before,
.hx-badge-build::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hx-green);
  box-shadow: 0 0 8px var(--hx-green);
}

.hx-badge-build::before {
  background: var(--hx-amber);
  box-shadow: 0 0 8px var(--hx-amber);
}

/* -- devices in flow -------------------------------------------- */
.hx-showcase {
  position: relative;
  padding-bottom: 8%;
}

.hx-showcase .hx-frame {
  width: 100%;
}

.hx-mobile {
  width: clamp(180px, 22vw, 290px);
  aspect-ratio: 9 / 19.5;
  border-radius: 34px;
  overflow: hidden;
  border: 6px solid #1b1b20;
  background: #000;
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hx-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.hx-showcase .hx-mobile {
  position: absolute;
  right: -3%;
  bottom: 0;
  width: 27%;
}

.hx-frame-tilt {
  transform: perspective(1600px) rotateY(-8deg) rotateX(3deg);
  transform-origin: left center;
}

/* -- generic layout blocks -------------------------------------- */
.hx-band {
  position: relative;
  background: #0b0b0f;
  border-block: 1px solid var(--hx-line);
}

.hx-section-tight {
  padding-block: clamp(3.5rem, 8vh, 5.5rem);
}

.hx-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hx-split-rev > :first-child {
  order: 2;
}

.hx-split .hx-h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
}

.hx-h3 {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* -- features ------------------------------------------------------ */
.hx-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.3vw, 1.25rem);
}

.hx-features-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hx-features-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hx-feature {
  position: relative;
  padding: clamp(1.35rem, 2vw, 1.8rem);
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  transition: border-color 0.6s var(--hx-ease), transform 0.6s var(--hx-ease);
}

.hx-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--px, 50%) var(--py, 50%), rgba(233, 199, 126, 0.12), transparent 42%);
  opacity: 0;
  transition: opacity 0.5s var(--hx-ease);
  pointer-events: none;
}

.hx-feature:hover {
  border-color: rgba(233, 199, 126, 0.3);
  transform: translateY(-3px);
}

.hx-feature:hover::after {
  opacity: 1;
}

.hx-feature > svg {
  width: 30px;
  height: 30px;
  color: var(--hx-gold);
  margin-bottom: 1rem;
}

.hx-feature h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.hx-feature p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.hx-feature-num {
  display: block;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--hx-gold);
  margin-bottom: 1rem;
}

/* -- checklist ---------------------------------------------------- */
.hx-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 2rem;
}

.hx-checklist-1 {
  grid-template-columns: minmax(0, 1fr);
}

.hx-checklist li {
  display: flex;
  gap: 0.75em;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.hx-checklist li::before {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.12em;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316130c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(180deg, #f6dc9f, #c8a96e);
}

.hx-checklist b {
  color: var(--ink);
}

/* -- key/value facts (case studies) -------------------------------- */
.hx-kv {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hx-line);
  border-bottom: 1px solid var(--hx-line);
}

.hx-kv > div {
  padding: 1.4rem 1.2rem 1.4rem 0;
}

.hx-kv > div + div {
  padding-left: 1.2rem;
  border-left: 1px solid var(--hx-line);
}

.hx-kv dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hx-kv dd {
  margin-top: 0.45rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
}

.hx-kv dd a {
  color: var(--hx-gold);
}

/* -- big numbers (facts only) --------------------------------------- */
.hx-bignums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.3vw, 1.25rem);
}

.hx-bignum {
  padding: clamp(1.3rem, 2vw, 1.8rem);
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
}

.hx-bignum b {
  display: block;
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
  background: var(--hx-gold-grad);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.hx-bignum span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-2);
}

/* -- gallery --------------------------------------------------------- */
.hx-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.hx-gallery figure {
  margin: 0;
}

.hx-gallery figcaption {
  margin-top: 0.8rem;
  font-size: 0.86rem;
  color: var(--ink-3);
}

.hx-gallery-wide {
  grid-column: 1 / -1;
}

/* -- prose ------------------------------------------------------------ */
.hx-prose {
  max-width: 46em;
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--ink-2);
}

.hx-prose > * + * {
  margin-top: 1.1em;
}

.hx-prose h2 {
  margin-top: 2.2em;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.hx-prose h3 {
  margin-top: 1.8em;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

.hx-prose ul,
.hx-prose ol {
  padding-left: 1.3em;
}

.hx-prose li + li {
  margin-top: 0.4em;
}

.hx-prose a {
  color: var(--hx-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.hx-prose strong {
  color: var(--ink);
}

/* -- callout ------------------------------------------------------------ */
.hx-callout {
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--hx-radius);
  border: 1px solid rgba(233, 199, 126, 0.35);
  background: radial-gradient(80% 120% at 0% 0%, rgba(233, 199, 126, 0.1), transparent 70%), #100f12;
}

.hx-callout p {
  color: var(--ink-2);
  line-height: 1.65;
}

.hx-callout b {
  color: var(--ink);
}

/* -- service rows (hub pages) ------------------------------------------ */
.hx-rows {
  border-top: 1px solid var(--hx-line);
}

.hx-row {
  position: relative;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.2fr) auto 48px;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.4rem, 2.6vw, 2.2rem) 0.5rem;
  border-bottom: 1px solid var(--hx-line);
  transition: background 0.5s var(--hx-ease), padding 0.5s var(--hx-ease);
}

.hx-row:hover {
  background: linear-gradient(90deg, rgba(233, 199, 126, 0.06), transparent 70%);
  padding-left: 1.2rem;
}

.hx-row-n {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--hx-gold);
}

.hx-row h3 {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hx-row p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.hx-row-price {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--hx-gold);
  white-space: nowrap;
}

.hx-row-go {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--hx-line-2);
  transition: background 0.5s var(--hx-ease), color 0.5s var(--hx-ease), transform 0.5s var(--hx-ease);
}

.hx-row-go svg {
  width: 18px;
  height: 18px;
}

.hx-row:hover .hx-row-go {
  background: var(--hx-gold);
  color: #16130c;
  transform: rotate(-45deg);
}

/* -- pricing table -------------------------------------------------------- */
.hx-table-wrap {
  overflow-x: auto;
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line);
}

.hx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hx-table th,
.hx-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--hx-line);
  vertical-align: top;
}

.hx-table th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0.02);
}

.hx-table td {
  color: var(--ink-2);
}

.hx-table td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.hx-table tr:last-child td {
  border-bottom: 0;
}

.hx-table .hx-price-cell {
  font-weight: 800;
  color: var(--hx-gold);
  white-space: nowrap;
}

/* -- filters (projects index) ---------------------------------------------- */
.hx-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hx-filter {
  padding: 0.6em 1.15em;
  border-radius: var(--r-pill);
  border: 1px solid var(--hx-line-2);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.3s var(--hx-ease), color 0.3s var(--hx-ease), border-color 0.3s var(--hx-ease);
}

.hx-filter:hover {
  border-color: var(--hx-gold);
  color: var(--ink);
}

.hx-filter[aria-pressed='true'] {
  background: linear-gradient(180deg, #f6dc9f, #c8a96e);
  border-color: transparent;
  color: #16130c;
}

.hx-case.is-hidden {
  display: none;
}

/* -- next project / related ------------------------------------------------- */
.hx-next {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 28px;
  border: 1px solid var(--hx-line);
  background: #0d0d11;
  overflow: hidden;
  transition: border-color 0.6s var(--hx-ease);
}

.hx-next:hover {
  border-color: rgba(233, 199, 126, 0.4);
}

.hx-next img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 0;
  transition: transform 1.2s var(--hx-ease);
}

.hx-next:hover img {
  transform: scale(1.03);
}

.hx-next small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hx-next h3 {
  margin-top: 0.6rem;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

/* -- CTA band ---------------------------------------------------------------- */
.hx-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 4.5vw, 4rem);
  border-radius: 30px;
  border: 1px solid rgba(233, 199, 126, 0.32);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(233, 199, 126, 0.16), transparent 70%),
    radial-gradient(50% 100% at 0% 100%, rgba(139, 92, 246, 0.16), transparent 70%),
    #0e0d11;
  overflow: hidden;
  isolation: isolate;
}

.hx-cta .hx-h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.hx-cta .hx-ctas {
  margin-top: 0;
  justify-content: flex-end;
}

/* -- big footer ----------------------------------------------------------------- */
.hx .footer-grid {
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.hx .footer-col a {
  width: fit-content;
}

.hx-footer-cta {
  margin-top: 1.4rem;
}

/* -- landing pages: compact hero with the form beside it ------------------------- */
.hx-lhero {
  position: relative;
  padding-top: clamp(7.5rem, 15vh, 9.5rem);
  padding-bottom: clamp(3rem, 7vh, 5rem);
  isolation: isolate;
  overflow: hidden;
}

.hx-lhero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 90% 20%, rgba(233, 199, 126, 0.15), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(139, 92, 246, 0.15), transparent 70%);
}

.hx-lhero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.hx-lhero .hx-form-card {
  position: sticky;
  top: 6rem;
}

/* -- responsive -------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hx-features-4,
  .hx-bignums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hx .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .hx-row {
    grid-template-columns: 3rem minmax(0, 1fr) auto 48px;
  }

  .hx-row > p {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hx-phero-grid,
  .hx-split,
  .hx-lhero-grid,
  .hx-next,
  .hx-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .hx-split-rev > :first-child {
    order: 0;
  }

  .hx-lhero .hx-form-card {
    position: relative;
    top: 0;
  }

  .hx-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hx-kv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hx-kv > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hx-kv > div:nth-child(n + 3) {
    border-top: 1px solid var(--hx-line);
  }

  .hx-cta .hx-ctas {
    justify-content: flex-start;
  }

  .hx-frame-tilt {
    transform: none;
  }
}

@media (max-width: 800px) {
  .hx-dd-panel {
    display: none;
  }

  .hx-dd > a::after {
    display: none;
  }
}

/* the smallest phones: header must fit 360px with its right gutter */
@media (max-width: 380px) {
  .hx .nav-inner,
  .hx .nav-links {
    gap: var(--s-2);
  }

  .hx .nav .btn {
    padding: 0.75em 1em;
    font-size: 0.78rem;
  }
}

@media (max-width: 640px) {
  .hx-features,
  .hx-features-2,
  .hx-features-4,
  .hx-checklist,
  .hx-gallery,
  .hx-bignums {
    grid-template-columns: minmax(0, 1fr);
  }

  .hx-kv {
    grid-template-columns: minmax(0, 1fr);
  }

  .hx-kv > div,
  .hx-kv > div + div {
    padding-left: 0;
    border-left: 0;
  }

  .hx-kv > div + div {
    border-top: 1px solid var(--hx-line);
  }

  .hx .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hx-row {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 0.6rem 1rem;
  }

  .hx-row-n {
    display: none;
  }

  .hx-row-price {
    grid-row: 2;
    font-size: 0.95rem;
  }

  .hx-row-go {
    grid-row: 1 / span 2;
    grid-column: 2;
    width: 44px;
    height: 44px;
  }

  .hx-showcase .hx-mobile {
    width: 32%;
    right: -2%;
  }
}
