/* Homekeepr Warm-Editorial unified design system: local fonts, design tokens, global header/footer,
   realistic titanium iPhone 16 Pro frames (exact 1179:2556 aspect ratio), and shared editorial primitives. */

@font-face {
  font-family: "Mulish";
  src: url("/assets/fonts/mulish-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --cream: #f7f3e9;
  --paper: #fffdf7;
  --sage: #e9eddf;
  --sage-soft: #f1f4ea;
  --green: #123d2e;
  --green-hover: #1d523e;
  --mint: #c9e4ce;
  --mint-soft: #e3f0e5;
  --clay: #ab6e39;
  --clay-soft: #f6ebe0;
  --gold: #c98f1e;
  --ink: #172820;
  --muted: #536157;
  --line: #d4d9c9;
  --line-strong: #bcc4b0;
  --max: 1180px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 12px 32px rgba(18, 61, 46, 0.06);
  --shadow-phone: 0 28px 60px rgba(18, 61, 46, 0.16);
}

/* ── Shared Layout Container ── */
.hk-we-wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ── Skip Link ── */
.hk-we-skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 120;
  background: var(--green);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}
.hk-we-skip-link:focus {
  top: 12px;
}

/* ── Unified Button System ── */
.hk-we-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 13px 20px;
  font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.16s ease, transform 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.hk-we-btn:hover {
  transform: translateY(-1px);
}
.hk-we-btn:focus-visible {
  outline: 3px solid rgba(171, 110, 57, 0.45);
  outline-offset: 3px;
}
a.hk-we-btn.hk-we-btn--primary,
.hk-we-btn.hk-we-btn--primary {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
}
a.hk-we-btn.hk-we-btn--primary:hover,
.hk-we-btn.hk-we-btn--primary:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  color: var(--paper);
}
a.hk-we-btn.hk-we-btn--secondary,
.hk-we-btn.hk-we-btn--secondary {
  background: var(--paper);
  color: var(--green);
  border-color: var(--line-strong);
}
a.hk-we-btn.hk-we-btn--secondary:hover,
.hk-we-btn.hk-we-btn--secondary:hover {
  border-color: var(--green);
  background: var(--sage-soft);
  color: var(--green);
}
a.hk-we-btn.hk-we-btn--cream,
.hk-we-btn.hk-we-btn--cream {
  background: var(--cream);
  color: var(--green);
  border-color: var(--cream);
}
a.hk-we-btn.hk-we-btn--cream:hover,
.hk-we-btn.hk-we-btn--cream:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--green);
}
.hk-we-btn--sm {
  padding: 10px 16px;
  font-size: 13px;
}

/* ── Unified Global Sticky Header ── */
.hk-we-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 233, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.hk-we-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hk-we-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.hk-we-brand img {
  display: block;
  width: 148px;
  height: auto;
}
.hk-we-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hk-we-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.hk-we-links a:hover,
.hk-we-links a.is-current {
  color: var(--green);
}
.hk-we-links a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--clay);
  border-radius: 2px;
}
.hk-we-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hk-we-header .cta-short,
.hk-we-header .hk-site-header__action-short {
  display: none;
}

/* Unified Pure-HTML Mobile Drawer inside Global Header */
.hk-we-header .mobile-nav,
.hk-we-header .hk-mobile-nav,
.hk-we-header .hk-we-mobile-nav {
  display: none;
  position: relative;
}
.hk-we-header .mobile-nav summary,
.hk-we-header .hk-mobile-nav summary,
.hk-we-header .hk-we-mobile-nav summary {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--green);
  cursor: pointer;
  list-style: none;
  padding: 0;
}
.hk-we-header .mobile-nav summary::-webkit-details-marker,
.hk-we-header .hk-mobile-nav summary::-webkit-details-marker,
.hk-we-header .hk-we-mobile-nav summary::-webkit-details-marker {
  display: none;
}
.hk-we-header .mobile-nav summary:hover,
.hk-we-header .hk-mobile-nav summary:hover,
.hk-we-header .hk-we-mobile-nav summary:hover {
  border-color: var(--green);
  background: var(--sage-soft);
}
.hk-we-header .mobile-nav-icon,
.hk-we-header .mobile-nav-icon::before,
.hk-we-header .mobile-nav-icon::after,
.hk-we-header .hk-mobile-nav__icon,
.hk-we-header .hk-mobile-nav__icon::before,
.hk-we-header .hk-mobile-nav__icon::after,
.hk-we-header .hk-we-mobile-nav__icon,
.hk-we-header .hk-we-mobile-nav__icon::before,
.hk-we-header .hk-we-mobile-nav__icon::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--green);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hk-we-header .mobile-nav-icon,
.hk-we-header .hk-mobile-nav__icon,
.hk-we-header .hk-we-mobile-nav__icon {
  position: relative;
}
.hk-we-header .mobile-nav-icon::before,
.hk-we-header .mobile-nav-icon::after,
.hk-we-header .hk-mobile-nav__icon::before,
.hk-we-header .hk-mobile-nav__icon::after,
.hk-we-header .hk-we-mobile-nav__icon::before,
.hk-we-header .hk-we-mobile-nav__icon::after {
  position: absolute;
  left: 0;
  content: "";
}
.hk-we-header .mobile-nav-icon::before,
.hk-we-header .hk-mobile-nav__icon::before,
.hk-we-header .hk-we-mobile-nav__icon::before {
  top: -6px;
}
.hk-we-header .mobile-nav-icon::after,
.hk-we-header .hk-mobile-nav__icon::after,
.hk-we-header .hk-we-mobile-nav__icon::after {
  top: 6px;
}
.hk-we-header details[open] .mobile-nav-icon,
.hk-we-header details[open] .hk-mobile-nav__icon,
.hk-we-header details[open] .hk-we-mobile-nav__icon {
  background: transparent;
}
.hk-we-header details[open] .mobile-nav-icon::before,
.hk-we-header details[open] .hk-mobile-nav__icon::before,
.hk-we-header details[open] .hk-we-mobile-nav__icon::before {
  top: 0;
  transform: rotate(45deg);
}
.hk-we-header details[open] .mobile-nav-icon::after,
.hk-we-header details[open] .hk-mobile-nav__icon::after,
.hk-we-header details[open] .hk-we-mobile-nav__icon::after {
  top: 0;
  transform: rotate(-45deg);
}
.hk-we-header .mobile-nav-panel,
.hk-we-header .hk-mobile-nav__panel,
.hk-we-header .hk-we-mobile-nav__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 20px 50px rgba(18, 61, 46, 0.16);
  z-index: 60;
}
.hk-we-header .mobile-nav-panel a,
.hk-we-header .hk-mobile-nav__panel a,
.hk-we-header .hk-we-mobile-nav__panel a {
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.hk-we-header .mobile-nav-panel a:hover,
.hk-we-header .hk-mobile-nav__panel a:hover,
.hk-we-header .hk-we-mobile-nav__panel a:hover {
  background: var(--sage-soft);
  color: var(--green);
}

/* ── Unified Deep Forest Footer ── */
.hk-we-footer {
  background: var(--green);
  color: #d9e4db;
  padding: 56px 0 36px;
  margin-top: 0;
  font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hk-we-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.hk-we-footer-logo {
  display: block;
  width: 148px;
  height: auto;
  margin-bottom: 14px;
}
.hk-we-footer-mission {
  font-size: 14px;
  line-height: 1.6;
  color: #d9e4db;
  max-width: 300px;
  margin: 0 0 18px;
}
.hk-we-footer-col h4 {
  font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 12px;
}
.hk-we-footer-col a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #e6efe8;
  margin-bottom: 8px;
  line-height: 1.45;
}
.hk-we-footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hk-we-footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #a9bfb0;
}
.hk-we-store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.hk-we-store-badges a {
  display: inline-block;
  line-height: 0;
}
.hk-we-store-badges img {
  height: 38px;
  width: auto;
  display: block;
}

/* Seamless styling for sync-site-seo.mjs generated blocks inside .hk-we-footer */
.hk-we-footer .hk-app-badges {
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  text-align: left;
  max-width: none;
}
.hk-we-footer .hk-app-badges p {
  display: none;
}
.hk-we-footer .hk-app-badges__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}
.hk-we-footer .hk-app-badges__links img {
  height: 36px;
  width: auto;
}
.hk-we-footer .hk-site-footer__topics {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
.hk-we-footer .hk-site-footer__topics > span {
  display: none;
}
.hk-we-footer .hk-site-footer__topics a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #e6efe8;
  margin-bottom: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}
.hk-we-footer .hk-site-footer__topics a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hk-we-footer .ww-app-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.hk-we-footer .ww-app-links > span {
  display: none;
}
.hk-we-footer .ww-store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hk-we-footer .ww-store-badges img {
  height: 36px;
  width: auto;
}

/* ── Realistic Titanium iPhone 16 Pro Hardware Frame (Exact 1179:2556 Native Ratio) ── */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
}
.iphone-pro {
  position: relative;
  width: min(296px, 100%);
  padding: 9px;
  border-radius: 47px;
  border: 2px solid #595d64;
  background: linear-gradient(155deg, #32353b 0%, #141619 22%, #090a0c 58%, #22252a 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 0 0 3px #0a0b0d,
    0 34px 68px rgba(18, 61, 46, 0.24),
    0 6px 18px rgba(18, 61, 46, 0.12);
  overflow: visible;
}
.iphone-pro::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 17.5%;
  width: 3px;
  height: 142px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(
    180deg,
    #686d75 0%, #3d4047 16%,
    transparent 16%, transparent 28%,
    #686d75 28%, #3d4047 59%,
    transparent 59%, transparent 69%,
    #686d75 69%, #3d4047 100%
  );
  pointer-events: none;
}
.iphone-pro::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 26%;
  width: 3px;
  height: 70px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #686d75 0%, #3d4047 100%);
  pointer-events: none;
}
.iphone-pro__screen {
  width: 100%;
  aspect-ratio: 1179 / 2556;
  background: #000000;
  border-radius: 38px;
  clip-path: inset(0 round 38px);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transform: translateZ(0);
}
.iphone-pro__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  pointer-events: none;
  z-index: 15;
}
.iphone-pro__screen > img,
.iphone-pro__screen > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}
.iphone-pro--card {
  width: 222px;
  padding: 7px;
  border-radius: 36px;
  border-width: 1.5px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.26),
    inset 0 0 0 2.5px #0a0b0d,
    0 20px 44px rgba(18, 61, 46, 0.2),
    0 4px 12px rgba(18, 61, 46, 0.1);
}
.iphone-pro--card::before {
  left: -3.5px;
  height: 106px;
  width: 2.5px;
}
.iphone-pro--card::after {
  right: -3.5px;
  height: 52px;
  width: 2.5px;
}
.iphone-pro--card .iphone-pro__screen {
  border-radius: 29px;
  clip-path: inset(0 round 29px);
}

/* Hero Lock-Screen → Snow Notification → Tap → My Home Animation */
.iphone-pro__screen--hero-anim .screen-app {
  position: relative;
  z-index: 1;
  object-position: top center;
}
.iphone-pro__screen--hero-anim .screen-lock {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  animation: hk-lock-fade 11s ease-in-out infinite;
}
.iphone-pro__screen--hero-anim .notification-banner {
  position: absolute;
  bottom: 92px;
  left: 10px;
  right: 10px;
  background: rgba(24, 28, 34, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 10px 11px;
  display: flex;
  gap: 9px;
  align-items: center;
  color: #f4f7fb;
  z-index: 3;
  animation: hk-notif-slide 11s ease-in-out infinite;
  transform: translateY(120%);
  opacity: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
}
.iphone-pro__screen--hero-anim .notification-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 7px;
  object-fit: contain;
}
.iphone-pro__screen--hero-anim .notification-text {
  font-size: 10.5px;
  line-height: 1.32;
  color: rgba(244, 247, 251, 0.9);
  min-width: 0;
  flex: 1;
}
.iphone-pro__screen--hero-anim .notification-text strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1px;
}
.iphone-pro__screen--hero-anim .notification-time {
  font-size: 9.5px;
  color: rgba(244, 247, 251, 0.65);
  align-self: flex-start;
  flex-shrink: 0;
}
.iphone-pro__screen--hero-anim .tap-circle {
  position: absolute;
  bottom: 112px;
  left: 50%;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.85);
  z-index: 4;
  opacity: 0;
  transform: scale(0);
  animation: hk-tap-ripple 11s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hk-lock-fade {
  0%, 30% { opacity: 1; }
  37%, 92% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes hk-notif-slide {
  0%, 5% { transform: translateY(120%); opacity: 0; }
  11%, 24% { transform: translateY(0); opacity: 1; }
  27% { transform: translateY(0) scale(0.96); opacity: 1; }
  29% { transform: translateY(0) scale(1); opacity: 1; }
  35% { transform: translateY(0); opacity: 0; }
  36%, 100% { transform: translateY(120%); opacity: 0; }
}
@keyframes hk-tap-ripple {
  0%, 25% { opacity: 0; transform: scale(0.2); }
  28% { opacity: 0.85; transform: scale(1); }
  33% { opacity: 0; transform: scale(1.9); }
  34%, 100% { opacity: 0; transform: scale(0.2); }
}

/* ── Card 1 (AMH): 2s search → staggered task cards pop in → tap ripple on top task ── */
.iphone-pro__screen--amh-anim .amh-base {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.iphone-pro__screen--amh-anim .amh-thinking-mask {
  position: absolute;
  left: 0;
  right: 0;
  top: 22.5%;
  bottom: 26%;
  background: #10151f;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  padding: 12px 14px;
  pointer-events: none;
  animation: hk-amh-mask-reply 10s ease-in-out infinite;
}
.iphone-pro__screen--amh-anim .amh-thinking-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 12px;
  background: #171e2c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(236, 241, 248, 0.78);
  font-size: 9px;
  font-weight: 700;
}
.iphone-pro__screen--amh-anim .amh-dots {
  display: inline-flex;
  gap: 3px;
}
.iphone-pro__screen--amh-anim .amh-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #63a4ff;
  animation: hk-amh-dot 1s ease-in-out infinite;
}
.iphone-pro__screen--amh-anim .amh-dots i:nth-child(2) {
  animation-delay: 0.16s;
}
.iphone-pro__screen--amh-anim .amh-dots i:nth-child(3) {
  animation-delay: 0.32s;
}
.iphone-pro__screen--amh-anim .amh-tasks-mask {
  position: absolute;
  left: 0;
  right: 0;
  top: 40.5%;
  bottom: 26%;
  background: #10151f;
  z-index: 3;
  pointer-events: none;
  animation: hk-amh-mask-tasks 10s ease-in-out infinite;
}
.iphone-pro__screen--amh-anim .amh-task-highlight {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 41.8%;
  height: 14.5%;
  border-radius: 10px;
  border: 1.5px solid rgba(96, 165, 250, 0.9);
  background: rgba(96, 165, 250, 0.14);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  animation: hk-amh-task-focus 10s ease-in-out infinite;
}
.iphone-pro__screen--amh-anim .amh-tap {
  position: absolute;
  top: 48%;
  left: 74%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.9);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  animation: hk-amh-tap 10s ease-in-out infinite;
}
.iphone-pro__screen--amh-anim .amh-detail-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 6;
  transform: translateX(100%);
  box-shadow: -10px 0 24px rgba(0, 0, 0, 0.45);
  animation: hk-amh-slide-detail 10s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes hk-amh-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}
@keyframes hk-amh-mask-reply {
  0%, 19% { opacity: 1; }
  25%, 94% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes hk-amh-mask-tasks {
  0%, 27% { opacity: 1; transform: translateY(0); }
  36%, 94% { opacity: 0; transform: translateY(8%); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes hk-amh-tap {
  0%, 51% { opacity: 0; transform: scale(0.2); }
  54% { opacity: 0.9; transform: scale(1); }
  59% { opacity: 0; transform: scale(1.85); }
  60%, 100% { opacity: 0; transform: scale(0.2); }
}
@keyframes hk-amh-task-focus {
  0%, 52% { opacity: 0; }
  55%, 61% { opacity: 1; }
  65%, 100% { opacity: 0; }
}
@keyframes hk-amh-slide-detail {
  0%, 57% { transform: translateX(100%); }
  65%, 91% { transform: translateX(0); }
  97%, 100% { transform: translateX(100%); }
}

/* ── Card 2 (Inspection Findings): select checkboxes → tap Add to Home Plan → Home Plan ── */
.iphone-pro__screen--inspection-anim .insp-base {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.iphone-pro__screen--inspection-anim .insp-uncheck {
  position: absolute;
  right: 9.2%;
  width: 7.4%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  background: #171e2b;
  border: 1.5px solid #4c5870;
  z-index: 2;
  pointer-events: none;
}
.iphone-pro__screen--inspection-anim .insp-uncheck--1 {
  top: 51.6%;
  animation: hk-insp-check-1 10s ease-in-out infinite;
}
.iphone-pro__screen--inspection-anim .insp-uncheck--2 {
  top: 60.8%;
  animation: hk-insp-check-2 10s ease-in-out infinite;
}
.iphone-pro__screen--inspection-anim .insp-uncheck--3 {
  top: 70%;
  animation: hk-insp-check-3 10s ease-in-out infinite;
}
.iphone-pro__screen--inspection-anim .insp-tap {
  position: absolute;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.9);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}
.iphone-pro__screen--inspection-anim .insp-tap--1 {
  top: 53.2%;
  left: 87.5%;
  animation: hk-insp-tap-1 10s ease-in-out infinite;
}
.iphone-pro__screen--inspection-anim .insp-tap--2 {
  top: 62.4%;
  left: 87.5%;
  animation: hk-insp-tap-2 10s ease-in-out infinite;
}
.iphone-pro__screen--inspection-anim .insp-tap--3 {
  top: 71.6%;
  left: 87.5%;
  animation: hk-insp-tap-3 10s ease-in-out infinite;
}
.iphone-pro__screen--inspection-anim .insp-tap--cta {
  top: 91.5%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  animation: hk-insp-tap-cta 10s ease-in-out infinite;
}
.iphone-pro__screen--inspection-anim .insp-plan-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 5;
  opacity: 0;
  transform: translateY(10%);
  animation: hk-insp-plan-in 10s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.iphone-pro__screen--inspection-anim .insp-toast {
  position: absolute;
  top: 9.5%;
  left: 10%;
  right: 10%;
  background: rgba(18, 61, 46, 0.94);
  border: 1px solid rgba(201, 228, 206, 0.45);
  color: #f7f3e9;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  padding: 6px 10px;
  border-radius: 999px;
  z-index: 6;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
  animation: hk-insp-toast 10s ease-in-out infinite;
}
@keyframes hk-insp-check-1 {
  0%, 15% { opacity: 1; }
  18%, 94% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes hk-insp-check-2 {
  0%, 27% { opacity: 1; }
  30%, 94% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes hk-insp-check-3 {
  0%, 39% { opacity: 1; }
  42%, 94% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes hk-insp-tap-1 {
  0%, 13% { opacity: 0; transform: scale(0.2); }
  16% { opacity: 0.9; transform: scale(1); }
  21% { opacity: 0; transform: scale(1.75); }
  22%, 100% { opacity: 0; transform: scale(0.2); }
}
@keyframes hk-insp-tap-2 {
  0%, 25% { opacity: 0; transform: scale(0.2); }
  28% { opacity: 0.9; transform: scale(1); }
  33% { opacity: 0; transform: scale(1.75); }
  34%, 100% { opacity: 0; transform: scale(0.2); }
}
@keyframes hk-insp-tap-3 {
  0%, 37% { opacity: 0; transform: scale(0.2); }
  40% { opacity: 0.9; transform: scale(1); }
  45% { opacity: 0; transform: scale(1.75); }
  46%, 100% { opacity: 0; transform: scale(0.2); }
}
@keyframes hk-insp-tap-cta {
  0%, 49% { opacity: 0; transform: scale(0.2); }
  52% { opacity: 0.95; transform: scale(1); }
  57% { opacity: 0; transform: scale(1.9); }
  58%, 100% { opacity: 0; transform: scale(0.2); }
}
@keyframes hk-insp-plan-in {
  0%, 56% { opacity: 0; transform: translateY(10%); }
  63%, 91% { opacity: 1; transform: translateY(0); }
  97%, 100% { opacity: 0; transform: translateY(6%); }
}
@keyframes hk-insp-toast {
  0%, 60% { opacity: 0; transform: translateY(-12px); }
  65%, 86% { opacity: 1; transform: translateY(0); }
  92%, 100% { opacity: 0; transform: translateY(-12px); }
}

/* ── Card 3 (Replacements & Lifecycle): Basement water heater card → tap → Appliance Details push-in ── */
.iphone-pro__screen--lifecycle-anim .life-overview {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.iphone-pro__screen--lifecycle-anim .life-card-focus {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 51.4%;
  height: 22.8%;
  border-radius: 14px;
  border: 1.5px solid rgba(96, 165, 250, 0.9);
  background: rgba(96, 165, 250, 0.14);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  animation: hk-life-focus 10s ease-in-out infinite;
}
.iphone-pro__screen--lifecycle-anim .life-tap {
  position: absolute;
  top: 57%;
  left: 52%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.9);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  animation: hk-life-tap 10s ease-in-out infinite;
}
.iphone-pro__screen--lifecycle-anim .life-detail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 4;
  transform: translateX(100%);
  box-shadow: -10px 0 24px rgba(0, 0, 0, 0.45);
  animation: hk-life-push 10s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes hk-life-focus {
  0%, 35% { opacity: 0; }
  38%, 45% { opacity: 1; }
  49%, 100% { opacity: 0; }
}
@keyframes hk-life-tap {
  0%, 36% { opacity: 0; transform: scale(0.2); }
  39% { opacity: 0.9; transform: scale(1); }
  44% { opacity: 0; transform: scale(1.85); }
  45%, 100% { opacity: 0; transform: scale(0.2); }
}
@keyframes hk-life-push {
  0%, 44% { transform: translateX(100%); }
  52%, 91% { transform: translateX(0); }
  97%, 100% { transform: translateX(100%); }
}

/* ── Shared Warm-Editorial Typography & Surface Primitives ── */
.hk-we-eyebrow {
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--clay);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hk-we-eyebrow--green {
  color: var(--green);
}
.hk-we-accent-word {
  position: relative;
  display: inline-block;
}
.hk-we-accent-word svg {
  position: absolute;
  left: -2%;
  bottom: -10px;
  width: 104%;
  height: 14px;
  fill: none;
  stroke: var(--clay);
  stroke-width: 4;
  stroke-linecap: round;
}
.hk-we-section {
  padding: 72px 0;
}
.hk-we-section--paper {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.hk-we-section--sage {
  background: var(--sage);
  border-block: 1px solid var(--line);
}
.hk-we-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 40px;
  margin-bottom: 40px;
}
.hk-we-section-head p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.hk-we-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.hk-we-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.hk-we-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--mint-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hk-we-check-list {
  list-style: none;
  padding: 16px 0 0;
  margin: 16px 0 0;
  border-top: 1px solid #e6eadf;
  display: grid;
  gap: 9px;
  font-size: 14px;
  color: var(--ink);
}
.hk-we-check-list li {
  position: relative;
  padding-left: 22px;
}
.hk-we-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

/* ── Scoped Warm-Editorial Overrides for Blog & Pricing Pages (body.hk-blog.hk-editorial) ── */
body.hk-blog.hk-editorial {
  --hk-ink: var(--ink);
  --hk-muted: var(--muted);
  --hk-line: var(--line);
  --hk-paper: var(--cream);
  --hk-white: var(--paper);
  --hk-night: var(--green);
  --hk-night-soft: var(--green-hover);
  --hk-teal: var(--green);
  --hk-teal-soft: var(--mint-soft);
  --hk-orange: var(--clay);
  --hk-orange-dark: #8c5323;
  --hk-wide: var(--max);
  background: var(--cream);
  color: var(--ink);
  font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.hk-blog.hk-editorial h1,
body.hk-blog.hk-editorial h2 {
  font-family: "Archivo", Arial, sans-serif;
  color: var(--green);
  letter-spacing: -0.04em;
}
body.hk-blog.hk-editorial .hk-eyebrow,
body.hk-blog.hk-editorial .hk-kicker {
  color: var(--clay);
  letter-spacing: 0.11em;
}
body.hk-blog.hk-editorial .hk-editorial-hero,
body.hk-blog.hk-editorial .hk-editorial-hero--index {
  min-height: 0;
  background: var(--cream);
  background-image: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 56px max(24px, calc((100vw - var(--max)) / 2)) 44px;
  text-align: left;
}
body.hk-blog.hk-editorial .hk-editorial-hero--index::before {
  display: none;
  content: none;
}
body.hk-blog.hk-editorial .hk-editorial-hero h1,
body.hk-blog.hk-editorial .hk-editorial-hero--index h1 {
  color: var(--green);
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.06;
  max-width: 780px;
  margin: 0 0 14px;
}
body.hk-blog.hk-editorial .hk-editorial-hero__dek,
body.hk-blog.hk-editorial .hk-editorial-hero--index .hk-editorial-hero__dek {
  color: #293e31;
  font-size: 18px;
  line-height: 1.55;
  max-width: 640px;
  margin-inline: 0;
}
body.hk-blog.hk-editorial .hk-article-rail {
  top: 100px;
}
body.hk-blog.hk-editorial .hk-we-footer-col a {
  color: #e6efe8;
}
body.hk-blog.hk-editorial .hk-we-footer-col a:hover {
  color: #ffffff;
}
body.hk-blog.hk-editorial .hk-action--primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper);
  border-radius: 8px;
  font-weight: 800;
}
body.hk-blog.hk-editorial .hk-action--primary:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
}
body.hk-blog.hk-editorial .hk-action--outline-light {
  border-color: rgba(247, 243, 233, 0.45);
  color: var(--cream);
  border-radius: 8px;
}
body.hk-blog.hk-editorial .hk-action--outline-light:hover {
  background: rgba(247, 243, 233, 0.12);
  border-color: var(--cream);
}
body.hk-blog.hk-editorial .hk-post-card,
body.hk-blog.hk-editorial .hk-topic-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
body.hk-blog.hk-editorial .hk-post-card__meta {
  color: var(--clay);
}
body.hk-blog.hk-editorial .hk-post-card__media--portrait img {
  object-position: 50% 10%;
}
body.hk-blog.hk-editorial .hk-post-card__link,
body.hk-blog.hk-editorial .hk-topic-card strong {
  color: var(--green);
}
body.hk-blog.hk-editorial .hk-filter-pill {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 700;
}
body.hk-blog.hk-editorial .hk-filter-pill.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper);
}
body.hk-blog.hk-editorial .hk-blog-search input {
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
}
body.hk-blog.hk-editorial .hk-newsletter-cta {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
body.hk-blog.hk-editorial .hk-final-cta {
  background: var(--green);
  color: var(--cream);
  border-radius: var(--radius-lg);
}
body.hk-blog.hk-editorial .hk-final-cta h2 {
  color: var(--paper);
}
body.hk-blog.hk-editorial .hk-final-cta p {
  color: #d9e4db;
}
body.hk-blog.hk-editorial .hk-final-cta .hk-kicker {
  color: var(--mint);
}
body.hk-blog.hk-editorial .hk-final-cta .hk-action--primary {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--green);
}
body.hk-blog.hk-editorial .hk-final-cta .hk-action--primary:hover {
  background: var(--mint);
  border-color: var(--mint);
}
body.hk-blog.hk-editorial .hk-article-rail a {
  color: var(--muted);
}
body.hk-blog.hk-editorial .hk-article-rail a:hover {
  color: var(--green);
}
body.hk-blog.hk-editorial .hk-faq-list details {
  background: var(--paper);
  border-color: var(--line);
  border-radius: var(--radius-sm);
}
body.hk-blog.hk-editorial .hk-faq-list summary {
  color: var(--green);
}
body.hk-blog.hk-editorial .hk-article-body a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.hk-blog.hk-editorial .hk-article-body a:hover {
  color: var(--clay);
}
body.hk-blog.hk-editorial .hk-number-grid,
body.hk-blog.hk-editorial .hk-step-grid {
  border-radius: var(--radius-md);
  overflow: hidden;
  border-color: var(--line);
  background: var(--line);
  box-shadow: var(--shadow-card);
}
body.hk-blog.hk-editorial .hk-number-grid > section,
body.hk-blog.hk-editorial .hk-step-grid > section {
  background: var(--paper);
}
body.hk-blog.hk-editorial .hk-number-grid > section > span,
body.hk-blog.hk-editorial .hk-step-grid > section > span {
  color: var(--clay);
  letter-spacing: 0.08em;
}
body.hk-blog.hk-editorial .hk-number-grid h3,
body.hk-blog.hk-editorial .hk-step-grid h3 {
  color: var(--green);
}
body.hk-blog.hk-editorial .hk-number-grid p,
body.hk-blog.hk-editorial .hk-step-grid p {
  color: var(--muted);
}
body.hk-blog.hk-editorial .hk-comparison {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
body.hk-blog.hk-editorial .hk-comparison thead th {
  background: var(--sage-soft);
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line);
}
body.hk-blog.hk-editorial .hk-comparison th,
body.hk-blog.hk-editorial .hk-comparison td {
  padding: 15px 16px;
  font-size: 13.5px;
  color: var(--muted);
  border-bottom-color: #e6eadf;
}
body.hk-blog.hk-editorial .hk-comparison tbody th {
  color: var(--ink);
}
body.hk-blog.hk-editorial .hk-comparison tbody tr:last-child th,
body.hk-blog.hk-editorial .hk-comparison tbody tr:last-child td {
  border-bottom: 0;
}

/* ── Responsive Breakpoints ── */
@media (max-width: 960px) {
  .hk-we-links {
    display: none;
  }
  .hk-we-header .mobile-nav,
  .hk-we-header .hk-mobile-nav,
  .hk-we-header .hk-we-mobile-nav {
    display: block;
  }
  .hk-we-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hk-we-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hk-we-wrap {
    width: calc(100% - 32px);
  }
  .hk-we-nav {
    min-height: 68px;
    gap: 12px;
  }
  .hk-we-brand img {
    width: 126px;
  }
  .hk-we-header .cta-full,
  .hk-we-header .hk-site-header__action-full {
    display: none;
  }
  .hk-we-header .cta-short,
  .hk-we-header .hk-site-header__action-short {
    display: inline;
  }
  .hk-we-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hk-we-section {
    padding: 52px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iphone-pro__screen--hero-anim .screen-lock,
  .iphone-pro__screen--hero-anim .notification-banner,
  .iphone-pro__screen--hero-anim .tap-circle,
  .iphone-pro__screen--amh-anim .amh-thinking-mask,
  .iphone-pro__screen--amh-anim .amh-tasks-mask,
  .iphone-pro__screen--amh-anim .amh-task-highlight,
  .iphone-pro__screen--amh-anim .amh-tap,
  .iphone-pro__screen--amh-anim .amh-detail-screen,
  .iphone-pro__screen--inspection-anim .insp-uncheck,
  .iphone-pro__screen--inspection-anim .insp-tap,
  .iphone-pro__screen--inspection-anim .insp-plan-screen,
  .iphone-pro__screen--inspection-anim .insp-toast,
  .iphone-pro__screen--lifecycle-anim .life-card-focus,
  .iphone-pro__screen--lifecycle-anim .life-tap {
    display: none;
    animation: none;
  }
  .iphone-pro__screen--lifecycle-anim .life-detail {
    transform: translateX(0);
    animation: none;
  }
  .hk-we-btn {
    transition: none;
  }
}
