/* PortalHostTheme — landing host + hướng dẫn (/huong-dan) */
:root {
  --hd-primary: #0a4d8c;
  --hd-text: #1a2332;
  --hd-muted: #64748b;
  --hd-bg: #f8fafc;
  --hd-surface: #fff;
  --hd-border: #e2e8f0;
  --hd-font: "Be Vietnam Pro", system-ui, sans-serif;
  --ph-navy: #071525;
  --ph-ink: #e8eef6;
  --ph-muted: #9db0c7;
  --ph-accent: #e85d04;
  --ph-accent-2: #f48c06;
  --ph-cyan: #2ec4b6;
  --ph-display: "Be Vietnam Pro", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.ph-site,
body.hd-body {
  margin: 0;
  font-family: var(--hd-font);
  font-size: 15px;
  color: var(--hd-text);
  background: var(--hd-bg);
  line-height: 1.6;
}

.ph-shell {
  width: 100%;
  min-height: 100vh;
}

.ph-shell:has(.hd-list),
.ph-shell:has(.hd-detail) {
  padding: 1.5rem 1.5rem 2.5rem;
}

.hd-main {
  width: 100%;
  max-width: none;
  padding: 1.5rem 1.5rem 2.5rem;
}

.hd-list {
  width: 100%;
}

/* List page */
.hd-list__header {
  margin-bottom: 0.75rem;
}

.hd-list__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--hd-primary);
}

.hd-list__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--hd-border);
}

.hd-list__tab {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1rem;
  margin-bottom: -1px;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  border-radius: 8px 8px 0 0;
  color: var(--hd-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.hd-list__tab:hover {
  color: var(--hd-primary);
  background: rgba(10, 77, 140, 0.04);
}

.hd-list__tab.is-active {
  color: var(--hd-primary);
  border-bottom-color: var(--hd-primary);
  background: transparent;
}

.hd-list__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hd-list__search {
  flex: 1;
  min-width: 200px;
}

.hd-input,
.hd-select {
  width: 100%;
  padding: 0.5625rem 0.875rem;
  border: 1px solid var(--hd-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.875rem;
  background: var(--hd-surface);
}

.hd-input:focus,
.hd-select:focus {
  outline: none;
  border-color: var(--hd-primary);
  box-shadow: 0 0 0 3px rgba(10, 77, 140, 0.12);
}

.hd-list__tag-filter {
  min-width: 320px;
  flex: 0 1 440px;
}

.hd-tag-combo {
  position: relative;
}

.hd-tag-combo__field {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.375rem;
	min-height: 2.5rem;
	padding: 0.3125rem 2rem 0.3125rem 0.5rem;
	border: 1px solid var(--hd-border);
	border-radius: 8px;
	background: var(--hd-surface);
	overflow: hidden;
	cursor: text;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
}

.hd-tag-combo__field:focus-within {
  border-color: var(--hd-primary);
  box-shadow: 0 0 0 3px rgba(10, 77, 140, 0.12);
}

.hd-tag-combo__chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.375rem;
  min-width: 0;
  flex-shrink: 1;
}

.hd-tag-combo__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.35rem 0.15rem 0.5rem;
  background: rgba(10, 77, 140, 0.1);
  color: var(--hd-primary);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  min-width: 0;
  white-space: nowrap;
}

.hd-tag-combo__chip-label {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 9rem;
}

.hd-tag-combo__chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 0.875rem;
  line-height: 1;
  cursor: pointer;
}

.hd-tag-combo__chip-remove:hover {
  background: rgba(10, 77, 140, 0.15);
}

.hd-tag-combo__chip--count {
  padding: 0.15rem 0.5rem;
  background: var(--hd-primary);
  color: #fff;
  cursor: default;
  flex-shrink: 0;
}

.hd-tag-combo__input {
  flex: 1 1 60px;
  min-width: 60px;
  border: none;
  outline: none;
  padding: 0.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  background: transparent;
}

.hd-tag-combo__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow: auto;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  background: var(--hd-surface);
  border: 1px solid var(--hd-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.hd-tag-combo__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.hd-tag-combo__check {
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--hd-border);
  border-radius: 3px;
  flex-shrink: 0;
  background: var(--hd-surface);
}

.hd-tag-combo__option.is-selected .hd-tag-combo__check {
  background: var(--hd-primary);
  border-color: var(--hd-primary);
  box-shadow: inset 0 0 0 2px #fff;
}

.hd-tag-combo__option:hover,
.hd-tag-combo__option.is-active {
  background: rgba(10, 77, 140, 0.08);
  color: var(--hd-primary);
}

.hd-tag-combo__option[hidden] {
  display: none;
}

.hd-btn {
  padding: 0.5625rem 1rem;
  border: 1px solid var(--hd-primary);
  border-radius: 8px;
  background: var(--hd-primary);
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.hd-btn--primary:hover {
  filter: brightness(1.05);
}

.hd-list__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hd-tag-btn {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--hd-border);
  border-radius: 999px;
  background: var(--hd-surface);
  font-size: 0.8125rem;
  color: var(--hd-muted);
  text-decoration: none;
  transition: all 0.15s;
}

.hd-tag-btn:hover,
.hd-tag-btn.is-active {
  border-color: var(--hd-primary);
  color: var(--hd-primary);
  background: rgba(10, 77, 140, 0.06);
}

.hd-list__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hd-card {
  display: block;
  padding: 1rem 1.125rem;
  background: var(--hd-surface);
  border: 1px solid var(--hd-border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.hd-card:hover {
  border-color: var(--hd-primary);
  box-shadow: 0 4px 12px rgba(10, 77, 140, 0.08);
}

.hd-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 1.25rem;
  margin-bottom: 0.25rem;
}

.hd-card__type {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hd-primary);
}

.hd-card__featured {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #b45309;
}

.hd-card__title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.hd-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.hd-tag {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  background: var(--hd-bg);
  border-radius: 999px;
  color: var(--hd-muted);
}

.hd-list__status,
.hd-list__empty {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  color: var(--hd-muted);
  background: var(--hd-surface);
  border: 1px dashed var(--hd-border);
  border-radius: 10px;
}

.hd-list__pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.hd-page-btn {
  display: inline-block;
  padding: 0.4375rem 0.75rem;
  border: 1px solid var(--hd-border);
  border-radius: 8px;
  background: var(--hd-surface);
  font-size: 0.8125rem;
  color: var(--hd-text);
  text-decoration: none;
}

.hd-page-btn:hover:not(:disabled) {
  border-color: var(--hd-primary);
  color: var(--hd-primary);
}

.hd-page-btn.is-active {
  background: var(--hd-primary);
  border-color: var(--hd-primary);
  color: #fff;
}

.hd-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.hd-detail {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--hd-surface);
  border: 1px solid var(--hd-border);
  border-radius: 10px;
  overflow: hidden;
}

.hd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.25rem 0;
  font-size: 0.8125rem;
  color: var(--hd-muted);
}

.hd-breadcrumb a {
  color: var(--hd-primary);
  text-decoration: none;
  font-weight: 500;
}

.hd-breadcrumb a:hover {
  text-decoration: underline;
}

.hd-detail__header {
  padding: 0.75rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--hd-border);
}

.hd-detail__title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.hd-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.hd-detail__body {
  padding: 1.25rem;
}

.hd-detail__body--guide {
  padding: 0;
}

.hd-detail__body--guide .topbar,
.hd-detail__body--guide footer.doc-footer {
  display: none;
}

.hd-detail__body--guide .layout {
  height: calc(100dvh - 12rem);
  max-height: calc(100dvh - 12rem);
  min-height: 20rem;
  overflow: hidden;
}

.hd-detail__body--guide .sidebar {
  position: relative;
  top: auto;
  height: 100%;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hd-detail__body--guide .content {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  padding: 1.25rem 1.5rem 2rem;
  position: relative; /* abspos trong guide không kéo dài scroll trang host */
}

@media (max-width: 900px) {
  .hd-detail__body--guide .layout {
    display: block;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .hd-detail__body--guide .sidebar,
  .hd-detail__body--guide .content {
    height: auto;
    overflow: visible;
  }
}

.hd-detail__footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--hd-border);
  background: var(--hd-bg);
}

.hd-link-back {
  color: var(--hd-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.hd-link-back:hover {
  text-decoration: underline;
}

.hd-prose {
  line-height: 1.75;
  font-size: 0.9375rem;
}

.hd-prose h2,
.hd-prose h3 {
  margin: 1.5rem 0 0.625rem;
  color: var(--hd-primary);
}
.hd-prose p {
  margin: 0 0 1rem;
}
.hd-prose ul,
.hd-prose ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.hd-prose img {
  max-width: 100%;
  border-radius: 8px;
}
.hd-prose a {
  color: var(--hd-primary);
}

.hd-video-stage {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hd-video {
  position: relative;
  width: 100%;
  max-width: min(960px, 100%);
  padding-bottom: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.hd-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hd-video-native {
  display: block;
  width: auto;
  max-width: min(960px, 100%);
  max-height: min(75vh, 960px);
  height: auto;
  border-radius: 8px;
  background: #000;
}

.hd-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.hd-gallery__item {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--hd-border);
}

.hd-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
}

.hd-gallery--solo {
  grid-template-columns: 1fr;
}

.hd-gallery--solo .hd-gallery__item {
  border: none;
  border-radius: 8px;
}

@media (max-width: 1200px) {
  .hd-list__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .hd-list__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hd-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .hd-list__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hd-main {
    padding: 1.25rem 1rem 2rem;
  }

  .ph-shell:has(.hd-list),
  .ph-shell:has(.hd-detail) {
    padding: 1.25rem 1rem 2rem;
  }
}

/* —— Landing trang chủ host —— */
.ph-landing {
  color: var(--ph-ink);
  background: var(--ph-navy);
}

.ph-landing__nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
}

.ph-landing__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.ph-landing__brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.ph-landing__brand-text {
  font-family: var(--ph-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.ph-landing__nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
}

.ph-landing__nav-links a {
  color: var(--ph-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ph-landing__nav-links a:hover {
  color: #fff;
}

.ph-landing__nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--ph-accent), var(--ph-accent-2));
  color: #fff !important;
}

.ph-landing__hero {
  position: relative;
  overflow: hidden;
  min-height: min(78vh, 42rem);
  display: flex;
  align-items: flex-end;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 4.5rem;
}

.ph-landing__hero-glow {
  position: absolute;
  inset: -20% 20% auto -10%;
  height: 70%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(46, 196, 182, 0.28), transparent 55%),
    radial-gradient(ellipse at 75% 20%, rgba(232, 93, 4, 0.22), transparent 50%);
  pointer-events: none;
  animation: ph-glow 8s ease-in-out infinite alternate;
}

.ph-landing__hero-grid {
  position: absolute;
  inset: 0;
  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: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.ph-landing__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  animation: ph-rise 0.85s ease-out both;
}

.ph-landing__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ph-cyan);
}

.ph-landing__title {
  margin: 0 0 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.ph-landing__title-brand {
  font-family: var(--ph-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
}

.ph-landing__title-line {
  font-family: var(--ph-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: #d7e3f2;
}

.ph-landing__lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: 1.05rem;
  color: var(--ph-muted);
}

.ph-landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ph-landing__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ph-landing__btn:hover {
  transform: translateY(-1px);
}

.ph-landing__btn--primary {
  background: linear-gradient(120deg, var(--ph-accent), var(--ph-accent-2));
  color: #fff;
  box-shadow: 0 10px 28px rgba(232, 93, 4, 0.28);
}

.ph-landing__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.ph-landing__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ph-landing__section {
  padding: 4rem clamp(1.25rem, 4vw, 3rem);
  background: #0b1d30;
}

.ph-landing__section--products {
  background:
    linear-gradient(180deg, #0b1d30 0%, #0a2238 100%);
}

.ph-landing__section-inner {
  max-width: 68rem;
  margin: 0 auto;
}

.ph-landing__section-title {
  margin: 0 0 0.65rem;
  font-family: var(--ph-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #fff;
}

.ph-landing__section-lead {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: var(--ph-muted);
}

.ph-landing__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.ph-landing__feature {
  padding: 0.25rem 0 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ph-landing__feature h3 {
  margin: 0.9rem 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.ph-landing__feature p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 0.95rem;
}

.ph-landing__feature a {
  color: var(--ph-cyan);
}

.ph-landing__products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.ph-landing__product {
  position: relative;
  display: grid;
  gap: 0.4rem;
  align-content: start;
  min-height: 15rem;
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: ph-rise 0.7s ease-out both;
}

.ph-landing__product:nth-child(2) {
  animation-delay: 0.08s;
}

.ph-landing__product:nth-child(3) {
  animation-delay: 0.16s;
}

.ph-landing__product:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.ph-landing__product--etp {
  background:
    linear-gradient(160deg, rgba(10, 77, 140, 0.55), rgba(7, 21, 37, 0.92)),
    linear-gradient(120deg, #0a4d8c, #071525);
}

.ph-landing__product--ga {
  background:
    linear-gradient(160deg, rgba(46, 196, 182, 0.28), rgba(7, 21, 37, 0.94)),
    linear-gradient(120deg, #14532d, #071525);
}

.ph-landing__product--ga2 {
  background:
    linear-gradient(160deg, rgba(232, 93, 4, 0.28), rgba(7, 21, 37, 0.94)),
    linear-gradient(120deg, #7c2d12, #071525);
}

.ph-landing__product-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ph-landing__product-name {
  font-family: var(--ph-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.ph-landing__product-url {
  font-size: 0.85rem;
  color: var(--ph-cyan);
}

.ph-landing__product-desc {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: var(--ph-muted);
}

.ph-landing__product-go {
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.ph-landing__cta-band {
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232, 93, 4, 0.18), transparent 50%),
    #071525;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ph-landing__cta-band-inner {
  display: grid;
  gap: 0.75rem;
}

.ph-landing__cta-band-title {
  margin: 0;
  font-family: var(--ph-display);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  color: #fff;
}

.ph-landing__cta-band-text {
  margin: 0 0 0.5rem;
  color: var(--ph-muted);
  max-width: 34rem;
}

.ph-landing__footer {
  padding: 1.35rem clamp(1.25rem, 4vw, 3rem) 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050e18;
}

.ph-landing__footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  max-width: 68rem;
  margin: 0 auto;
}

.ph-landing__footer-brand {
  font-family: var(--ph-display);
  font-weight: 700;
  color: #fff;
}

.ph-landing__footer-note {
  color: var(--ph-muted);
  font-size: 0.88rem;
}

@keyframes ph-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ph-glow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 3%, 0) scale(1.06);
  }
}

@media (max-width: 900px) {
  .ph-landing__features,
  .ph-landing__products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ph-landing__nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .ph-landing__nav-links {
    justify-content: flex-start;
  }

  .ph-landing__hero {
    min-height: auto;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }
}
