/* Trang chủ HodaFace: landing thu lead, phong cách apple.com: chữ lớn đậm vừa, nhiều khoảng trắng,
   nền xen kẽ đen / xám nhạt #f5f5f7 / trắng, thẻ bo 18px không viền, nút bo tròn hẳn. Form dùng thử ngay đầu trang. */
:root {
	--hf-dark: #000;
	--hf-dark-2: #1d1d1f; /* Thẻ trên nền đen. */
	--hf-line: #d2d2d7;
	--hf-radius: 18px;
	--hf-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

/* ---------- Khung section ---------- */
.hf-section {
	padding: 100px 20px;
}
.wp-block-post-content > .hf-section {
	margin-block: 0;
	scroll-margin-top: 90px;
}
.hf-section.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 1080px;
}
/* Tiêu đề kiểu Apple: đậm 600, chữ khít. Dòng 1.12 (không xuống 1.07 như Apple) để dấu tiếng Việt chồng tầng không chạm dòng trên. */
.hf-section h2 {
	margin-bottom: 16px;
	font-size: clamp(32px, 4.6vw, 52px);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -.015em;
	text-wrap: balance;
}
.hf-section h3 {
	margin-bottom: 8px;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.01em;
}
.hf-section p {
	line-height: 1.5;
}
.hf-section h3 + p {
	margin-top: 8px;
}
.hf-center > h2,
.hf-center > .hf-eyebrow {
	text-align: center;
}
.hf-section .hf-intro {
	max-width: 720px;
	margin: 0 auto 56px;
	color: var(--hf-gray);
	font-size: 21px;
	line-height: 1.45;
	text-align: center;
}
/* Nhãn nhỏ trên tiêu đề: chữ thường đậm màu nhấn như "Mới" của Apple, không in hoa giãn chữ. */
.hf-eyebrow {
	margin-bottom: 8px;
	color: var(--hf-orange-ink);
	font-size: 17px;
	font-weight: 600;
}
.hf-note {
	color: var(--hf-gray);
	font-size: 14px;
}

/* Nền tối dùng chung (hero, khác biệt, kêu gọi cuối): đen tuyền như các khối sản phẩm Apple. */
.hf-dark {
	background: var(--hf-dark);
	color: #f5f5f7;
}
.hf-dark h1,
.hf-dark h2,
.hf-dark h3 {
	color: #f5f5f7;
}
.hf-dark .hf-eyebrow,
.hf-hl {
	color: var(--hf-orange);
}
.hf-dark .hf-intro,
.hf-dark .hf-note {
	color: #a1a1a6;
}
.hf-cream,
.hf-gray {
	background: var(--hf-surface);
}

/* ---------- Nút: bo tròn hẳn, phẳng, không bóng ---------- */
.hf-section .wp-block-button__link {
	min-height: 44px;
	padding: 11px 24px;
	border-radius: 980px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
	transition: background-color var(--hf-ease), color var(--hf-ease), border-color var(--hf-ease);
}
.hf-btn-primary .wp-block-button__link {
	background: var(--hf-orange);
	color: var(--hf-ink);
}
.hf-btn-primary .wp-block-button__link:hover {
	background: #ffb53d;
}
.hf-btn-ghost .wp-block-button__link {
	border: 1px solid currentColor;
	background: transparent;
	color: var(--hf-orange-ink);
}
.hf-btn-ghost .wp-block-button__link:hover {
	background: var(--hf-orange-ink);
	color: #fff;
}
.hf-dark .hf-btn-ghost .wp-block-button__link {
	color: var(--hf-orange);
}
.hf-dark .hf-btn-ghost .wp-block-button__link:hover {
	background: var(--hf-orange);
	color: var(--hf-ink);
}
.hf-section a:focus-visible,
.hf-section summary:focus-visible {
	outline: 3px solid var(--hf-orange);
	outline-offset: 2px;
}
.hf-actions {
	justify-content: center;
	margin-top: 48px;
}

/* ---------- Icon trong thẻ: nét icon màu cam, không ô nền (kiểu icon tính năng của Apple) ---------- */
.hf-ico {
	position: relative;
	/* flow-root giữ margin của icon (::before) trong thẻ tiêu đề, không lọt ra ngoài. */
	display: flow-root;
}
.hf-ico::before {
	content: "";
	display: block;
	width: 36px;
	height: 36px;
	margin: 0 0 18px;
	background: var(--hf-orange);
}

/* ---------- Hero: lời hứa + form dùng thử cạnh nhau ---------- */
.hf-hero {
	padding-top: 88px;
	padding-bottom: 96px;
}
.hf-hero-cols {
	gap: 64px;
}
.hf-section.hf-hero h1 {
	margin: 0 0 20px;
	font-size: clamp(36px, 5vw, 60px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -.02em;
	text-wrap: balance;
}
.hf-hero .hf-lead {
	margin-bottom: 28px;
	color: #a1a1a6;
	font-size: 21px;
	line-height: 1.45;
}
.hf-checks {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.hf-checks li {
	position: relative;
	margin-bottom: 12px;
	padding-left: 32px;
	font-size: 17px;
	font-weight: 500;
}
.hf-checks li::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--hf-orange);
}
.hf-checks li::after {
	content: "";
	position: absolute;
	top: 7px;
	left: 4px;
	width: 12px;
	height: 12px;
	background: var(--hf-ink);
	-webkit-mask: var(--hf-icon) center / contain no-repeat;
	mask: var(--hf-icon) center / contain no-repeat;
}
.hf-trust {
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .16);
	color: #a1a1a6;
	font-size: 14px;
}
.hf-trust strong {
	color: #f5f5f7;
}
/* Nút trong hero: "Xem demo" mọi màn hình; "Dùng thử" chỉ trên điện thoại, nơi form nằm dưới phần chữ. */
.hf-hero-actions {
	gap: 16px;
	margin-top: 28px;
}
.hf-mobile-only {
	display: none;
}

/* ---------- Khách thấy gì: ảnh chụp giao diện thật trong khung điện thoại ---------- */
.hf-showcase-cols {
	display: grid !important;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	gap: 80px;
}
.hf-showcase .hf-phone-col {
	display: flex;
	justify-content: center;
}
.hf-showcase .hf-phone {
	margin: 0;
}
.hf-showcase .hf-phone img {
	display: block;
	width: 300px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 300 / 580;
	object-fit: cover;
	object-position: top;
	border: 10px solid #1d1d1f;
	border-radius: 44px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .16);
}
.hf-showcase .hf-lead {
	margin-bottom: 28px;
	color: var(--hf-gray);
	font-size: 21px;
	line-height: 1.45;
}
.hf-showcase .wp-block-buttons {
	gap: 16px;
}

.hf-form-card {
	padding: 32px;
	border-radius: var(--hf-radius);
	background: #fff;
	color: var(--hf-ink);
	scroll-margin-top: 100px;
}
.hf-section .hf-form-card h2 {
	margin-bottom: 6px;
	color: var(--hf-ink);
	font-size: 28px;
}
.hf-form-card .hf-form-note {
	margin-bottom: 20px;
	color: var(--hf-gray);
	font-size: 14px;
}

/* ---------- Dải số liệu: nối tiếp hero trên nền đen, số lớn trắng, nhãn xám ---------- */
.hf-stats {
	padding-top: 48px;
	padding-bottom: 56px;
	background: var(--hf-dark);
	color: #f5f5f7;
}
.hf-stats > * {
	padding-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, .16);
}
.hf-stat-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}
.hf-section .hf-stat {
	margin: 0;
	font-size: clamp(32px, 3.6vw, 48px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -.015em;
	font-variant-numeric: tabular-nums;
}
.hf-section .hf-stat-label {
	margin: 6px 0 0;
	color: #a1a1a6;
	font-size: 14px;
}

/* Bấm menu cuộn mượt tới từng phần của trang chủ (tắt khi người dùng giảm chuyển động). */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
